improve quick panel switch state
This commit is contained in:
@@ -41,12 +41,12 @@ public:
|
||||
|
||||
void set_color(glm::vec3 color);
|
||||
int get_selected_brush_index() const;
|
||||
void set_selected_brush_index(int idx);
|
||||
void set_selected_brush_index(int idx, bool fire_event = false);
|
||||
int get_selected_color_index() const;
|
||||
void set_selected_color_index(int idx);
|
||||
void set_selected_color_index(int idx, bool fire_event = false);
|
||||
MiniState get_state() const;
|
||||
void set_state(const MiniState& state);
|
||||
void reset_state();
|
||||
void set_state(const MiniState& state, bool fire_event = false);
|
||||
void reset_state(bool fire_events = false);
|
||||
|
||||
private:
|
||||
void init_controls();
|
||||
|
||||
Reference in New Issue
Block a user