Increase settings apply speed and added deferred color apply

This commit is contained in:
Chaosus
2018-05-29 15:21:06 +03:00
parent 46bab3abc7
commit cf38270ef7
6 changed files with 34 additions and 5 deletions
+4
View File
@@ -67,6 +67,7 @@ private:
Color color;
bool raw_mode_enabled;
bool deferred_mode_enabled;
bool updating;
bool changing_color;
float h, s, v;
@@ -107,6 +108,9 @@ public:
void set_raw_mode(bool p_enabled);
bool is_raw_mode() const;
void set_deferred_mode(bool p_enabled);
bool is_deferred_mode() const;
void set_focus_on_line_edit();
ColorPicker();