]> ruin.nu Git - hbs.git/blobdiff - bs/ui/resourceview.ui.h
added functionallity to show the cost for each roid.
[hbs.git] / bs / ui / resourceview.ui.h
index 5e8f9ded76bc97f220a97c1e6f94909e08763aca..485c4e59866db7a75ca779650ddabf2657578441 100644 (file)
@@ -8,7 +8,7 @@
 
 //test
 
-void ResourceView::setLines( QString type, int i )
+void ResourceView::setLines( QString type, float i )
 {
     if (type == tr("metal"))
        MetalEdit->setText(QString("%1").arg(i));
@@ -22,4 +22,6 @@ void ResourceView::setLines( QString type, int i )
        ScoreEdit->setText(QString("%1").arg(i));
     else if (type == tr("lost"))
        ScoreLostEdit->setText(QString("%1").arg(i));
+     else if (type == tr("cost"))
+       CostEdit->setText(QString("%1").arg(i));
 }
\ No newline at end of file