Default CTOR. sW and sH set the screen width and height. rW and rH set the raster width and height. ISpriteLayer sets the SpriteLayer, that will display the windows and popups as sprites.
Adds a background.
Adds a popup element and moves it to the current cursor position.
Adds a window to the handler.
Called when an axis is being operated. The id should be generated from a string, usually the name of the binding. code is a duplicate of the code used for fast lookup of the binding, which also contains other info (deviceID, etc). timestamp is the time lapsed since the start of the program, can be used to measure time between keypresses. value is the current position of the axis normalized between -1.0 and +1.0 for joysticks, and 0.0 and +1.0 for analog triggers.
Closes the given window.
Returns the current cursor type.
Returns the default stylesheet.
Initializes drag event. Used to avoid issues from stray mouse release, etc.
Called when a keybinding event is generated. The id should be generated from a string, usually the name of the binding. code is a duplicate of the code used for fast lookup of the binding, which also contains other info (deviceID, etc). timestamp is the time lapsed since the start of the program, can be used to measure time between keypresses. NOTE: Hat events on joysticks don't generate keyReleased events, instead they generate keyPressed events on release.
Adds a DefaultDialog as a message box
Called on mouse click events.
Called on mouse motion events.
Called on mouse wheel events.
Replaces the window's old sprite in the spritelayer's display list with the new one.
Sets the BaseWindow to the given object.
Sets the cursor to the given type.
Sets sender to be top priority.
Updates the sprite order by removing everything, then putting them back again.
Updates the sender's coordinates.
A window that is used for top-level stuff, like elements in the background, or an integrated window.
The type of the current cursor
Sets the default style for the windowhandler. If null, the global default will be used instead.
SDL cursor pointer to operate it
Handles windows as well as PopUpElements.