Commit graph

14 commits

Author SHA1 Message Date
Kamil Trzciński 2ff2864f23 PowerControl: Expose all settings and apply them in order
Since some settings impact others, the application will
apply them in a correct order with a fixed delay.

This additionally exposes all settings, just some of them
are not persisted on create, only on change.
2023-01-10 12:01:33 +01:00
Kamil Trzciński 2d5f8c498f PowerControl: Update and expose UserProfiles that can persist per-game settings 2023-01-09 20:32:05 +01:00
maniman303 3252e799cb PowerControl: Base Profiles Implementation (#38)
Small refactor of menu with options

Fix protection error on menuwithoptions

Make profiles controller non static

Dynamicall set and load options

Use IsOSDForeground when retriveing current game name

Better alt-tab functionality

Get rid off thread.sleep

Merged #38
2023-01-09 20:32:05 +01:00
Kamil Trzciński 49b94e274c PowerControl: Provide ValueChanged event 2023-01-03 11:39:27 +01:00
Kamil Trzciński f6dbf3c199 PowerControl: Update MenuItem on Opening 2023-01-03 11:39:27 +01:00
Kamil Trzciński 81d4be30ce PowerControl: All options accept String 2023-01-03 11:39:27 +01:00
Kamil Trzciński 29e373d169 PowerControl: Update usage of ContextMenu to use events 2023-01-03 11:39:27 +01:00
Kamil Trzciński b67a961f8e PowerControl: Fix MenuItemWithOptions delayTimer 2023-01-03 11:39:27 +01:00
Kamil Trzciński 1ff7bed567 PowerControl: Improve null handling 2023-01-03 11:39:27 +01:00
Kamil Trzciński a30ef2c400 PowerControl: Remove delegates from MenuItemWithOptions 2023-01-03 11:39:27 +01:00
Kamil Trzciński ebe1cdba87 PowerControl: Improve nulls in MenuItems 2023-01-03 11:39:26 +01:00
Kamil Trzciński 06f2d9a702 PowerControl: Simplify Next, Select and SelectNext 2023-01-03 11:39:26 +01:00
Kamil Trzciński 130a6fb745 PowerControl: MenuRoot update VisibleChanged and Render() to accept nulls 2023-01-03 11:39:26 +01:00
Kamil Trzciński bbc4cf8200 PowerControl: Move Menu.cs into Menu/ 2023-01-03 11:39:26 +01:00