BryanChi / BryanChi-FX-Devices

6 stars 3 forks source link

Added general setttings menu and improved scroll behavior #37

Closed Suzuki-Re closed 6 months ago

Suzuki-Re commented 6 months ago

Added general settings menu which handle all settings e.g. Pro-C gr, Pro-Q3 analyzer, ctrl scroll and reverse scroll. Maybe we can add a tooltip later. StoreSettings function saves them as extstate "FXDEVICES" "Settings" and stored extstate is converted back to table with stringToTable function. So you don't need to add a new extstate each time you add a new settings and you can just add it to StoreSettings function.

When focused_window is 'FX Devices' (via GetFocusedWindow function), window will have focus automatically, and Horizontal_Scroll function deals with reverse scroll and scroll value (shift+ scroll to scroll slightly for example). The second bug is fixed accordingly.

Bringing back modifications below because they are not related to the format change refactoring. move attachImagesAndFonts() and TrashIcon() outside of for loop https://github.com/BryanChi/BryanChi-FX-Devices/pull/28