Add optional constructor arguments to more Control nodes
This can be used to make editor code more compact. However, as of writing, these constructor arguments cannot be used from the scripting API. This was already provided for Label and CheckBox, but it was missing for other Control nodes where it made sense to provide a default value.
This commit is contained in:
parent
d0c3094da8
commit
a06f82ca4d
17 changed files with 31 additions and 17 deletions
|
|
@ -94,7 +94,7 @@ public:
|
|||
|
||||
virtual void get_translatable_strings(List<String> *p_strings) const override;
|
||||
|
||||
OptionButton();
|
||||
OptionButton(const String &p_text = String());
|
||||
~OptionButton();
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue