mirror of
https://github.com/robertvokac/time-calc.git
synced 2025-03-25 07:27:49 +01:00
ConfigWindow IX
This commit is contained in:
parent
6e92cf26fd
commit
42f19ad7ba
@ -18,16 +18,16 @@ public enum TimeCalcProperty {
|
|||||||
VISIBILITY_DEFAULT("visibility.default", "Default Visibility"),
|
VISIBILITY_DEFAULT("visibility.default", "Default Visibility"),
|
||||||
VISIBILITY_SUPPORTED_COLORED("visibility.supported.colored", "Visibility : Supported : Colored"),
|
VISIBILITY_SUPPORTED_COLORED("visibility.supported.colored", "Visibility : Supported : Colored"),
|
||||||
//
|
//
|
||||||
CLOCK_HANDS_LONG_VISIBLE("clock.hands.long.visible", "Visibility : Clock : Hands are long"),
|
CLOCK_HANDS_LONG_VISIBLE("clock.hands.long.visible", "Clock : Hands are long"),
|
||||||
CLOCK_HANDS_MINUTE_VISIBLE("clock.hands.minute.visible", "Visibility : Clock : Minute hand"),
|
CLOCK_HANDS_MINUTE_VISIBLE("clock.hands.minute.visible", "Clock : Minute hand"),
|
||||||
CLOCK_HANDS_SECOND_VISIBLE("clock.hands.second.visible", "Visibility : Clock : Second hand"),
|
CLOCK_HANDS_SECOND_VISIBLE("clock.hands.second.visible", "Clock : Second hand"),
|
||||||
CLOCK_HANDS_MILLISECOND_VISIBLE("clock.hands.millisecond.visible", "Visibility : Clock : Millisecond hand"),
|
CLOCK_HANDS_MILLISECOND_VISIBLE("clock.hands.millisecond.visible", "Clock : Millisecond hand"),
|
||||||
//
|
//
|
||||||
BATTERY_WAVES_VISIBLE("battery.waves.visible", "Visibility : Battery : Waves"),
|
BATTERY_WAVES_VISIBLE("battery.waves.visible", "Battery : Waves"),
|
||||||
JOKES_VISIBLE("jokes.visible", "Visibility : Jokes"),
|
JOKES_VISIBLE("jokes.visible", "Jokes"),
|
||||||
COMMANDS_VISIBLE("commands.visible", "Visibility : Commands"),
|
COMMANDS_VISIBLE("commands.visible", "Commands"),
|
||||||
NOTIFICATIONS_VISIBLE("notifications.visible", "Visibility : Toasts"),
|
NOTIFICATIONS_VISIBLE("notifications.visible", "Notifications"),
|
||||||
SMILEYS_COLORED("smileys.colored", "Visibility : Smileys");
|
SMILEYS_COLORED("smileys.colored", "Smileys : Colored");
|
||||||
|
|
||||||
@Getter
|
@Getter
|
||||||
private final String key;
|
private final String key;
|
||||||
|
@ -311,7 +311,7 @@ public class MainWindow extends TimeCalcWindow{
|
|||||||
//System.out.println("timeCalcConfiguration.handsLongProperty=" + timeCalcConfiguration.clockHandLongProperty.isEnabled());
|
//System.out.println("timeCalcConfiguration.handsLongProperty=" + timeCalcConfiguration.clockHandLongProperty.isEnabled());
|
||||||
Visibility currentVisibility = Visibility
|
Visibility currentVisibility = Visibility
|
||||||
.valueOf(timeCalcApp.visibilityProperty.getValue());
|
.valueOf(timeCalcApp.visibilityProperty.getValue());
|
||||||
if(timeCalcConfiguration.visibilitySupportedColoredProperty.isEnabled() && currentVisibility.isColored() ){
|
if(!timeCalcConfiguration.visibilitySupportedColoredProperty.isEnabled() && currentVisibility.isColored() ){
|
||||||
timeCalcApp.visibilityProperty.setValue(Visibility.GRAY.name());
|
timeCalcApp.visibilityProperty.setValue(Visibility.GRAY.name());
|
||||||
}
|
}
|
||||||
if (stopBeforeEnd) {
|
if (stopBeforeEnd) {
|
||||||
|
@ -11,7 +11,7 @@ battery.waves.visible=true
|
|||||||
jokes.visible=true
|
jokes.visible=true
|
||||||
commands.visible=true
|
commands.visible=true
|
||||||
notifications.visible=true
|
notifications.visible=true
|
||||||
smileys.colored=false
|
smileys.colored=true
|
||||||
|
|
||||||
#todo
|
#todo
|
||||||
logs.detailed=false
|
logs.detailed=false
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
#Wed Feb 28 12:20:58 CET 2024
|
#Wed Feb 28 14:01:26 CET 2024
|
||||||
battery.charging-unicode-character.visible=true
|
battery.charging-unicode-character.visible=true
|
||||||
battery.week.visible=true
|
battery.week.visible=true
|
||||||
smileys.colored=false
|
smileys.colored=true
|
||||||
circle.smileys.visible=true
|
circle.smileys.visible=true
|
||||||
notifications.visible=true
|
notifications.visible=false
|
||||||
clock.hands.second.visible=true
|
clock.hands.second.visible=true
|
||||||
battery.hour.visible=true
|
battery.hour.visible=true
|
||||||
widgets.clock.visible=true
|
widgets.clock.visible=true
|
||||||
@ -11,19 +11,19 @@ battery.visible=true
|
|||||||
clock.hands.millisecond.visible=false
|
clock.hands.millisecond.visible=false
|
||||||
commands.visible=true
|
commands.visible=true
|
||||||
battery.percent-precision.count-of-decimal-points=5
|
battery.percent-precision.count-of-decimal-points=5
|
||||||
visibility.supported.colored=false
|
visibility.supported.colored=true
|
||||||
jokes.visible=true
|
jokes.visible=true
|
||||||
visibility.default=GRAY
|
visibility.default=STRONGLY_COLORED
|
||||||
square.smileys.visible=true
|
square.smileys.visible=true
|
||||||
battery.month.visible=true
|
battery.month.visible=true
|
||||||
battery.waves.visible=true
|
|
||||||
battery.day.visible=true
|
battery.day.visible=true
|
||||||
battery.smileys.visible=true
|
battery.waves.visible=true
|
||||||
clock.hands.minute.visible=true
|
clock.hands.minute.visible=true
|
||||||
|
battery.smileys.visible=true
|
||||||
circle.visible=true
|
circle.visible=true
|
||||||
logs.detailed=false
|
|
||||||
clock.hands.long.visible=true
|
|
||||||
square.visible=true
|
square.visible=true
|
||||||
|
clock.hands.long.visible=true
|
||||||
|
logs.detailed=false
|
||||||
walking-human.visible=true
|
walking-human.visible=true
|
||||||
battery.label.finished-from-total.visible=true
|
battery.label.finished-from-total.visible=true
|
||||||
smileys.visible=true
|
smileys.visible=true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user