Module druid
Druid UI Library.
Component based UI library to make your life easier. Contains a lot of base components and give API to create your own rich components.
Functions
register(name, module) | Register external module |
new(component_script) | Create UI instance for ui elements |
_fct_metatable.on_message(self, message_id, message, sender) | Called on_message |
_fct_metatable.on_input(self, action_id, action) | Called ON_INPUT |
_fct_metatable.update(self, dt) | Called on_update |
Tables
comps | Basic components |
Functions
- register(name, module)
-
Register external module
Parameters:
- new(component_script)
-
Create UI instance for ui elements
Parameters:
- component_script
Returns:
-
instance with all ui components
- _fct_metatable.on_message(self, message_id, message, sender)
-
Called on_message
Parameters:
- self
- message_id
- message
- sender
- _fct_metatable.on_input(self, action_id, action)
-
Called ON_INPUT
Parameters:
- self
- action_id
- action
- _fct_metatable.update(self, dt)
-
Called on_update
Parameters:
- self
- dt