OutputScreen

Output window, uses SDL to output the graphics on screen. TODO: Add borderless window support for better concreteUI integration. NOTE: Once the iota library gets raster output support, this subsystem will get refactored.

Constructors

this
this(char* title, ushort x, ushort y, uint flags, SDL_Rect* outputArea)

Constructor. x , y : resolution of the window

Destructor

~this
~this()
Undocumented in source.

Members

Functions

refreshFinished
void refreshFinished()

Displays the output from the raster when invoked.

setMainRaster
void setMainRaster(IRaster r)

Sets the main raster. Useful for changing rendering resolutions.

setToFullscreen
void setToFullscreen(SDL_DisplayMode* videoMode)

Enters into fullscreen mode.

setToWindowed
void setToWindowed()

Exits fullscreen mode.

setVideoMode
void setVideoMode(SDL_DisplayMode* videoMode)

Changes video mode.

Static functions

setDriver
void setDriver(string drv)

Sets the used video driver.

setScalingQuality
void setScalingQuality(string q)

Sets the scaling quality of the program, affects all output screens.

Variables

renderer
SDL_Renderer* renderer;
Undocumented in source.

Inherited Members

From RefreshListener

refreshFinished
void refreshFinished()
Undocumented in source.

Meta