Drag[en]gine Script Module DragonScript
1.23
|
WindowSettingsSheet editing input bindings. More...
Public Member Functions | |
Widget | createWidget () |
Create widget. More... | |
BindingManager | getBindingManager () |
Binding manager to use. More... | |
CommandManager | getCommandManager () |
Command manager to use. More... | |
WSSEditBindings | new () |
Create window settings sheet. More... | |
WSSEditBindings | new (BindingManager bindingManager, CommandManager commandManager) |
Create window settings sheet. More... | |
WSSEditBindings | new (BindingManager bindingManager, CommandManager commandManager, String identifier, String title) |
WSSEditBindings | new (String identifier, String title) |
Create DefaultWindowSettingsSheet. More... | |
void | resetSettings (Widget widget) |
void | saveSettings (Widget widget) |
Public Member Functions inherited from Dragengine.Gui.DefaultWindowSettingsSheet | |
String | getIdentifier () |
Unique identifier of sheet. More... | |
String | getTitle () |
Title shown in toggle button. More... | |
void | setTitle (String title) |
Set title shown in toggle button. More... | |
Public Attributes | |
BindingManager | pBindingManager |
CommandManager | pCommandManager |
Public Attributes inherited from Dragengine.Gui.DefaultWindowSettingsSheet | |
String | pIdentifier |
String | pTitle |
Protected Member Functions | |
void | addCommands (EditBindingsPanel editBindings) |
Add commands to edit bindings panel. More... | |
void | modelAddAxis (Array list, String name) |
If command is present add EditBindingsListModelEntry for axis use. More... | |
void | modelAddButton (Array list, String name) |
If command is present add EditBindingsListModelEntry for button use. More... | |
WindowSettingsSheet editing input bindings.
|
protected |
Add commands to edit bindings panel.
Default implementation adds all commands defined by the DragonScript module if present in the binding manager.
Widget Dragengine.Gui.WSSEditBindings.createWidget | ( | ) |
Create widget.
Creates instance of EditBindingsPanel.
Implements Dragengine.Gui.WindowSettingsSheet.
BindingManager Dragengine.Gui.WSSEditBindings.getBindingManager | ( | ) |
Binding manager to use.
CommandManager Dragengine.Gui.WSSEditBindings.getCommandManager | ( | ) |
Command manager to use.
|
protected |
If command is present add EditBindingsListModelEntry for axis use.
|
protected |
If command is present add EditBindingsListModelEntry for button use.
WSSEditBindings Dragengine.Gui.WSSEditBindings.new | ( | ) |
Create window settings sheet.
Uses binding manager from BaseGameWorld.
WSSEditBindings Dragengine.Gui.WSSEditBindings.new | ( | BindingManager | bindingManager, |
CommandManager | commandManager | ||
) |
Create window settings sheet.
WSSEditBindings Dragengine.Gui.WSSEditBindings.new | ( | BindingManager | bindingManager, |
CommandManager | commandManager, | ||
String | identifier, | ||
String | title | ||
) |
WSSEditBindings Dragengine.Gui.WSSEditBindings.new | ( | String | identifier, |
String | title | ||
) |
Create DefaultWindowSettingsSheet.
Reimplemented from Dragengine.Gui.DefaultWindowSettingsSheet.
void Dragengine.Gui.WSSEditBindings.resetSettings | ( | Widget | widget | ) |
Reset settings.
Implements Dragengine.Gui.WindowSettingsSheet.
void Dragengine.Gui.WSSEditBindings.saveSettings | ( | Widget | widget | ) |
Save settings.
Implements Dragengine.Gui.WindowSettingsSheet.
BindingManager Dragengine.Gui.WSSEditBindings.pBindingManager |
CommandManager Dragengine.Gui.WSSEditBindings.pCommandManager |