Application

The purpose of this class is to allow the application to provide app-specific information to the framework.

Constructors

this
this()
Undocumented in source.

Members

Functions

getCompanyName
string getCompanyName()

Returns the company name (used for Windows registry paths).

getDefaultShellSettings
ShellSettings getDefaultShellSettings()
Undocumented in source. Be warned that the author may not have intended to support it.
getName
string getName()

Returns a string containing the application name, as visible in the window caption and taskbar, and used in filesystem/registry paths.

getShellSettings
ShellSettings getShellSettings()
Undocumented in source. Be warned that the author may not have intended to support it.
handleInit
void handleInit()

Called after video initialization. Video initialization currently also happens when the window is resized. The window size can be accessed via shell.video.getScreenSize.

handleJoyAxisMotion
void handleJoyAxisMotion(int axis, short value)
Undocumented in source. Be warned that the author may not have intended to support it.
handleJoyButtonDown
void handleJoyButtonDown(int button)
Undocumented in source. Be warned that the author may not have intended to support it.
handleJoyButtonUp
void handleJoyButtonUp(int button)
Undocumented in source. Be warned that the author may not have intended to support it.
handleJoyHatMotion
void handleJoyHatMotion(int hat, JoystickHatState state)
Undocumented in source. Be warned that the author may not have intended to support it.
handleKeyDown
void handleKeyDown(Key key, dchar character)
Undocumented in source. Be warned that the author may not have intended to support it.
handleKeyUp
void handleKeyUp(Key key)
Undocumented in source. Be warned that the author may not have intended to support it.
handleMouseDown
void handleMouseDown(uint x, uint y, MouseButton button)
Undocumented in source. Be warned that the author may not have intended to support it.
handleMouseMove
void handleMouseMove(uint x, uint y, MouseButtons buttons)
Undocumented in source. Be warned that the author may not have intended to support it.
handleMouseUp
void handleMouseUp(uint x, uint y, MouseButton button)
Undocumented in source. Be warned that the author may not have intended to support it.
handleQuit
void handleQuit()
Undocumented in source. Be warned that the author may not have intended to support it.
isResizable
bool isResizable()
Undocumented in source. Be warned that the author may not have intended to support it.
needJoystick
bool needJoystick()
Undocumented in source. Be warned that the author may not have intended to support it.
needSound
bool needSound()
Undocumented in source. Be warned that the author may not have intended to support it.
render
void render(Renderer r)
Undocumented in source. Be warned that the author may not have intended to support it.
run
int run(string[] args)

The application "main" function. The application can create a shell here.

setShellSettings
void setShellSettings(ShellSettings settings)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

config
Config config;
Undocumented in source.

Meta