mirror of
https://github.com/godotengine/godot.git
synced 2025-12-07 22:00:10 +00:00
parent
8b4b93a82e
commit
2ef3ebf934
2 changed files with 23 additions and 0 deletions
|
|
@ -521,6 +521,7 @@ class ColorPickerButton : public Button {
|
|||
Color color;
|
||||
bool edit_alpha = true;
|
||||
bool edit_intensity = true;
|
||||
bool popup_was_open = false;
|
||||
|
||||
struct ThemeCache {
|
||||
Ref<StyleBox> normal_style;
|
||||
|
|
@ -540,6 +541,7 @@ class ColorPickerButton : public Button {
|
|||
protected:
|
||||
void _notification(int);
|
||||
static void _bind_methods();
|
||||
virtual void gui_input(const Ref<InputEvent> &p_event) override;
|
||||
|
||||
public:
|
||||
void set_pick_color(const Color &p_color);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue