Catchea
Topographic Data Browser
Public Member Functions | Public Attributes | List of all members
App Struct Reference
Collaboration diagram for App:
Collaboration graph
[legend]

Public Member Functions

App * App__create ()
 
bool App__init (App *app)
 
void App__run (App *app)
 
void App__render (App *app)
 
bool App__terminate (App *app)
 
void App__destroy (App *app)
 

Public Attributes

GLFWwindow * window
 
RealTile * realTile
 
MenuWidget * menuWidget
 
MapWidget * mapWidget
 
ControlWidget * controlWidget
 
FooterWidget * footerWidget
 

Member Function Documentation

App * App__create ( )

Create new App instance

Returns
NULL if memory allocation was impossible, otherwise a valid pointer to App
void App__destroy ( App *  app)

Destroy application

Parameters
[in]appApp to be destroyed
bool App__init ( App *  app)

Initialize application

Parameters
appApp to be initialized
Returns
true if initialization was successful
void App__render ( App *  app)

Render application

Parameters
appApp to be rendered
void App__run ( App *  app)

Start application

Parameters
appApp to be started
bool App__terminate ( App *  app)

Terminate application

Parameters
appApp to be terminated
Returns
true if termination was successful

The documentation for this struct was generated from the following file: