EditorHelp, makerst: Improve enum ref resolving and constant ref support
Enum reference resolving will now search in the @GlobalScope if no class is specified and the enum cannot be resolved in the current class. Added support for constant references in EditorHelp, e.g.: [constant KEY_ENTER] or [constant Control.FOCUS_CLICK]. It supports enum constants (the enum name must not be included).
This commit is contained in:
parent
e453934824
commit
c8aa85189a
12 changed files with 178 additions and 33 deletions
|
|
@ -15,7 +15,7 @@
|
|||
</methods>
|
||||
<members>
|
||||
<member name="button_index" type="int" setter="set_button_index" getter="get_button_index">
|
||||
Button identifier. One of the [code]JOY_BUTTON_*[/code] constants from [@GlobalScope].
|
||||
Button identifier. One of the [enum JoystickList] button constants.
|
||||
</member>
|
||||
<member name="pressed" type="bool" setter="set_pressed" getter="is_pressed">
|
||||
If [code]true[/code], the button's state is pressed. If [code]false[/code], the button's state is released.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue