Merge pull request #62581 from Guh-Feng/Color-Picker-Update
This commit is contained in:
commit
e5df1e65f9
10 changed files with 22 additions and 23 deletions
|
|
@ -437,6 +437,10 @@ ColorPicker *GradientEdit::get_picker() {
|
|||
return picker;
|
||||
}
|
||||
|
||||
PopupPanel *GradientEdit::get_popup() {
|
||||
return popup;
|
||||
}
|
||||
|
||||
void GradientEdit::_bind_methods() {
|
||||
ADD_SIGNAL(MethodInfo("ramp_changed"));
|
||||
}
|
||||
|
|
|
|||
|
|
@ -75,6 +75,7 @@ public:
|
|||
void set_interpolation_mode(Gradient::InterpolationMode p_interp_mode);
|
||||
Gradient::InterpolationMode get_interpolation_mode();
|
||||
ColorPicker *get_picker();
|
||||
PopupPanel *get_popup();
|
||||
|
||||
virtual Size2 get_minimum_size() const override;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue