Improved color temperature in script editor

This commit is contained in:
Daniel J. Ramirez 2017-09-03 02:44:59 -05:00
parent ce28452109
commit 215b110cd3
3 changed files with 23 additions and 5 deletions

View file

@ -61,6 +61,7 @@ private:
bool tooltip_enabled;
Variant metadata;
String tooltip;
Color custom_fg;
Color custom_bg;
Rect2 rect_cache;
@ -150,6 +151,9 @@ public:
void set_item_custom_bg_color(int p_idx, const Color &p_custom_bg_color);
Color get_item_custom_bg_color(int p_idx) const;
void set_item_custom_fg_color(int p_idx, const Color &p_custom_fg_color);
Color get_item_custom_fg_color(int p_idx) const;
void select(int p_idx, bool p_single = true);
void unselect(int p_idx);
bool is_selected(int p_idx) const;