Discern between virtual and abstract class bindings
* Previous "virtual" classes (which can't be instantiated) are not corretly named "abstract". * Added a new "virtual" category for classes, they can't be instantiated from the editor, but can be inherited from script and extensions. * Converted a large amount of classes from "abstract" to "virtual" where it makes sense. Most classes that make sense have been converted. Missing: * Physics servers * VideoStream * Script* classes. which will go in a separate PR due to the complexity involved.
This commit is contained in:
parent
741bbb9d7c
commit
6f51eca1e3
90 changed files with 1075 additions and 272 deletions
|
|
@ -62,12 +62,14 @@ class Range : public Control {
|
|||
void _validate_values();
|
||||
|
||||
protected:
|
||||
virtual void _value_changed(double) {}
|
||||
virtual void _value_changed(double p_value);
|
||||
|
||||
static void _bind_methods();
|
||||
|
||||
bool _rounded_values = false;
|
||||
|
||||
GDVIRTUAL1(_value_changed, double)
|
||||
|
||||
public:
|
||||
void set_value(double p_val);
|
||||
void set_min(double p_min);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue