DesApp

windows handler

class DesApp : ExternalMemoryManager {
SDL_GLContext context;
DesWindow[uint] windows;
DesWindow current;
bool is_running;
}

Constructors

this
this()

create app

Members

Functions

addWindow
DesWindow addWindow(DesWindow delegate() winFunc)

create and return window from create function winFunc

isRunning
bool isRunning()
procEvents
bool procEvents()

process all events with SDL_PollEvent

quit
void quit()
setCurrent
void setCurrent(uint winID)
step
bool step()

single processing step

Meta