Closed SomeSourceCode closed 3 months ago
This pull request adds several new events as requested in #18, such as
Gui#onClick
Gui#onGuiClick
Gui#onOutsideClick
Gui#onClose
Gui#onRender
Existing events are further enhanced, so that
RenderContext
GuiRenderContext
PixelRenderContext
NodeClickContext
target
source
Description
This pull request adds several new events as requested in #18, such as
Gui#onClick
- when a click occursGui#onGuiClick
- for clicks inside the GUIGui#onOutsideClick
- for clicks outside the GUIGui#onClose
- when the GUI is closedGui#onRender
- fired every render cycleExisting events are further enhanced, so that
RenderContext
is split intoGuiRenderContext
andPixelRenderContext
NodeClickContext
contains atarget
and asource
nodeRenderContext
contains information about render timePixelRenderContext
holds the slot