]> ruin.nu Git - hbs.git/blobdiff - bs/ui/resourceview.ui.h
now distributes and shows captured roids..
[hbs.git] / bs / ui / resourceview.ui.h
index a794cb3ae449c35ba2b0beeea8a27ad8f983bdb7..5e8f9ded76bc97f220a97c1e6f94909e08763aca 100644 (file)
@@ -6,4 +6,20 @@
 ** a constructor, and a destroy() slot in place of a destructor.
 *****************************************************************************/
 
-//test
\ No newline at end of file
+//test
+
+void ResourceView::setLines( QString type, int i )
+{
+    if (type == tr("metal"))
+       MetalEdit->setText(QString("%1").arg(i));
+    else if (type == tr("crystal"))
+       CrystalEdit->setText(QString("%1").arg(i));
+    else if (type == tr("eonium"))
+       EoniumEdit->setText(QString("%1").arg(i));
+    else if (type == tr("uninit"))
+       UninitEdit->setText(QString("%1").arg(i));
+    else if (type == tr("score"))
+       ScoreEdit->setText(QString("%1").arg(i));
+    else if (type == tr("lost"))
+       ScoreLostEdit->setText(QString("%1").arg(i));
+}
\ No newline at end of file