plugin development - Mud-H/TorqueLab GitHub Wiki
Very incompleted documentation at this stage. Mostly a bunch of random stuff related to plugin development which would get more completed over time.
TorqueLab support different type of GUIs that can be added to the editors for various purpose
- Toolbar - Set of Icons and Boxes to add to toolbar
- Dialog - Plugin specific dialog window
- EditorGui - Replace the default WorldEditor view
- Palette - Set of button for palette
- Tool - The Plugin tools panel
Each plugin can have it own toolbar which is only shown when plugin is active. You can also add common Toolbar for plugin related action that can be called from other plugins. By default the toolbar is divided in 3 parts: BeginArea, PluginsArea and EndArea. There's some simple guideline to follow if you want to use TorqueLab toolbar system which simplify the task.
To create a toolbar for a plugin, simply save a .gui containing a root container with superClass = "TBPlugin" (Anything would work as TorqueLab will create it's own container). Inside that container, you add your toolbar items which would be shown in your plugin toolbar.