Got icon working on windows at least.

This commit is contained in:
jw
2015-12-13 14:07:53 -08:00
parent 0b1c93bb0d
commit e35465a111
8 changed files with 8 additions and 4 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 71 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 835 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

+1 -1
View File
@@ -11,4 +11,4 @@
#proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt
# Project target.
target=android-21
target=android-19
-1
View File
@@ -1 +0,0 @@
bitmonerod.exe --data-dir=D:\wallets\monero\data
@@ -8,6 +8,8 @@ import com.badlogic.gdx.scenes.scene2d.ui.Skin;
import com.badlogic.gdx.scenes.scene2d.ui.Table;
import com.jw.lightwallet.utils.Constants;
import com.jw.lightwallet.utils.DaemonValues;
import java.text.DecimalFormat;
import java.util.Date;
public class DaemonView {
@@ -73,9 +75,9 @@ public class DaemonView {
nodevalue.setText(Constants.moneroclub);
statusvalue.setText(daemonvalues.getStatus());
heightvalue.setText(String.valueOf(daemonvalues.getBlockheight()));
hashratevalue.setText(String.valueOf(daemonvalues.getHashrate() + " Mh/s"));
hashratevalue.setText(new DecimalFormat("##.##").format(daemonvalues.getHashrate()) + " Mh/s");
timevalue.setText(String.valueOf(new java.util.Date(daemonvalues.getLastblocktime()*1000)));
rewardvalue.setText(String.valueOf(daemonvalues.getLastblockreward()/1e12 + " XMR"));
rewardvalue.setText(new DecimalFormat("##.##").format(daemonvalues.getLastblockreward()/1e12) + " XMR");
}
}
@@ -1,5 +1,6 @@
package com.jw.lightwallet.desktop;
import com.badlogic.gdx.Files.FileType;
import com.badlogic.gdx.backends.lwjgl.LwjglApplication;
import com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfiguration;
import com.jw.lightwallet.LightWallet;
@@ -10,6 +11,8 @@ public class DesktopLauncher {
LwjglApplicationConfiguration config = new LwjglApplicationConfiguration();
config.width = Constants.DESKTOP_WIDTH;
config.height = Constants.DESKTOP_HEIGHT;
config.title = "Monero LightWallet";
config.addIcon("icon32.png", FileType.Internal);
new LwjglApplication(new LightWallet(), config);
}
}