mirror of
https://github.com/obsqrbtz/clrsync.git
synced 2026-04-09 12:37:41 +03:00
chore: cleanup the ui
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
#ifndef CLRSYNC_GUI_SETTINGS_WINDOW_HPP
|
||||
#define CLRSYNC_GUI_SETTINGS_WINDOW_HPP
|
||||
|
||||
#include "core/palette/palette.hpp"
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
@@ -17,6 +18,17 @@ private:
|
||||
void load_settings();
|
||||
void save_settings();
|
||||
void apply_settings();
|
||||
void render_general_tab();
|
||||
void render_appearance_tab();
|
||||
void render_status_messages();
|
||||
void render_action_buttons();
|
||||
void show_help_marker(const char* desc);
|
||||
void reset_to_defaults();
|
||||
|
||||
public:
|
||||
void set_palette(const clrsync::core::palette& palette) {
|
||||
m_current_palette = palette;
|
||||
}
|
||||
|
||||
bool m_visible{false};
|
||||
|
||||
@@ -29,6 +41,10 @@ private:
|
||||
int m_selected_font_idx;
|
||||
|
||||
std::string m_error_message;
|
||||
bool m_settings_changed;
|
||||
int m_current_tab;
|
||||
|
||||
clrsync::core::palette m_current_palette;
|
||||
};
|
||||
|
||||
#endif // CLRSYNC_GUI_SETTINGS_WINDOW_HPP
|
||||
Reference in New Issue
Block a user