Commit graph

6 commits

Author SHA1 Message Date
tfuxu
def149a76f frontend/main: extract show_unsaved_dialog function into two smaller
* show 'preset unsaved' dialog when selecting a preset from quick switcher menu
    * make `on_save_preset_entry_change` function global
    * change `save_preset` function name to `on_save_dialog_response`
2023-01-06 16:36:40 +01:00
tfuxu
3d2f16c4e2
frontend/main: rename show_exit_dialog to show_unsaved_dialog
* add new `discard` parameter to GradienceSaveDialog
    * clean some placeholder functions in main module
2023-01-04 21:00:48 +01:00
tfuxu
4107c60c2b
frontend: move dialogs to external modules
* move action helper functions to new `utils/actions` helper module
2023-01-03 19:35:21 +01:00
tfuxu
fa12fa5560
frontend/views: move no_plugin_window to views
* directly define some properties in views
    * general refactor in some frontend modules
2023-01-03 19:20:21 +01:00
tfuxu
bf341d7b82
frontend/main: use external globals where possible 2023-01-03 17:21:20 +01:00
tfuxu
30a9fdb613
move modules to new backend/frontend directories 2022-12-02 22:52:47 +01:00