mirror of
https://github.com/jwinterm/LightWallet2.git
synced 2026-10-17 05:21:26 +02:00
Got icon working on windows at least.
This commit is contained in:
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 |
@@ -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 +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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user