Added several improvements
This commit is contained in:
parent
564256e96a
commit
a92ff1837d
@ -164,6 +164,9 @@ Smileys can be colored or white-black (can be set in configuration)
|
||||
* L - hide or show progress circle
|
||||
* M - hide or show walking human
|
||||
* Y - hide or show smileys
|
||||
* LEFT - switch to previous profile
|
||||
* RIGHT - switch to next profile
|
||||
* K - hide or show clock
|
||||
|
||||
## Command button
|
||||
|
||||
|
@ -247,6 +247,31 @@ public class TimeCalcKeyAdapter extends KeyAdapter {
|
||||
switchProfile(false, true);
|
||||
break;
|
||||
}
|
||||
|
||||
case KeyEvent.VK_K: {
|
||||
if(timeCalcConfiguration.clockVisibleProperty.isEnabled()) {
|
||||
timeCalcConfiguration.clockVisibleProperty.disable();
|
||||
} else {
|
||||
timeCalcConfiguration.clockVisibleProperty.enable();
|
||||
timeCalcConfiguration. clockHandsLongVisibleProperty.enable();
|
||||
timeCalcConfiguration.clockHandsColoredProperty.enable();
|
||||
timeCalcConfiguration.clockHandsHourVisibleProperty.enable();
|
||||
timeCalcConfiguration.clockHandsMinuteVisibleProperty.enable();
|
||||
timeCalcConfiguration.clockHandsSecondVisibleProperty.enable();
|
||||
timeCalcConfiguration.clockHandsMillisecondVisibleProperty.enable();
|
||||
timeCalcConfiguration.clockBorderVisibleProperty.enable();
|
||||
timeCalcConfiguration.clockBorderOnlyHoursProperty.disable();
|
||||
timeCalcConfiguration.clockNumbersVisibleProperty.enable();
|
||||
timeCalcConfiguration.clockCircleVisibleProperty.enable();
|
||||
timeCalcConfiguration.clockCircleStrongBorderProperty.disable();
|
||||
timeCalcConfiguration.clockCircleBorderColorProperty.setValue("0,0,255");
|
||||
timeCalcConfiguration.clockCentreCircleVisibleProperty.enable();
|
||||
timeCalcConfiguration.clockCentreCircleBlackProperty.disable();
|
||||
timeCalcConfiguration.clockProgressVisibleOnlyIfMouseMovingOverProperty.disable();
|
||||
timeCalcConfiguration.clockDateVisibleOnlyIfMouseMovingOverProperty.disable();
|
||||
}
|
||||
break;
|
||||
}
|
||||
default:
|
||||
if(!numberKeyWasPressed) {
|
||||
Utils.showNotification(
|
||||
@ -310,6 +335,7 @@ public class TimeCalcKeyAdapter extends KeyAdapter {
|
||||
Utils.showNotification("Info: Changing profile to: #" + profileNumber + " " + ((
|
||||
profileName.isEmpty() ? "{Default profile}" :
|
||||
profileName)), 5000);
|
||||
timeCalcConfiguration.saveToTimeCalcProperties();
|
||||
TimeCalcProperties.getInstance().loadProfile(profileName);
|
||||
timeCalcConfiguration.loadFromTimeCalcProperties(
|
||||
TimeCalcProperties.getInstance());
|
||||
|
@ -172,6 +172,7 @@ public class WalkingHumanProgress extends Widget implements
|
||||
toasterManager.showToaster(new ImageIcon(image),
|
||||
"Progress: " + (percentInt) + "%");
|
||||
} else {
|
||||
toasterManager.setToasterHeight(200);
|
||||
toasterManager.showToaster("Progress: " + (percentInt) + "%");
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user