Public Member Functions | Public Attributes

Tiny2D::App::StartupParams Struct Reference

Applicationn startup parameters. More...

#include <Tiny2D.h>

Inheritance diagram for Tiny2D::App::StartupParams:
Tiny2D::App::DisplaySettings

List of all members.

Public Member Functions

 StartupParams ()
 Constructs default startup parameters.

Public Attributes

std::string name
 Application name.
std::vector< std::string > rootDataDirs
 Root data directories listed in order from the highest to lowest priority.
std::string languageSymbol
 Language symbol (used for text localization); defaults to "EN".
std::string defaultMaterialName
 Name of the default material to be loaded at app startup; defaults to "common/default".
std::string defaultFontName
 Name of the default font to be loaded at app startup; defaults to "common/courbd.ttf".
int defaultFontSize
 Default font size; defaults to 16.
std::string defaultCursorName
 Default cursor texture (or sprite) name; defaults to "common/cursor.png".
bool showMessageBoxOnWarning
 Show message box on every warning?; defaults to false.
bool showMessageBoxOnError
 Show message box on every error?; defaults to false in release and true in debug.
bool exitOnError
 Exit app on error?; defaults to false in release and true in debug.
bool emulateTouchpadWithMouse
 Emulate touchpad with mouse? Only used on desktop platforms; defaults to true on desktop platforms.
bool supportAsynchronousResourceLoading
 Support asynchronous resource loading?; defaults to true.

Detailed Description

Applicationn startup parameters.


Constructor & Destructor Documentation

Tiny2D::App::StartupParams::StartupParams (  )

Constructs default startup parameters.


Member Data Documentation

Default cursor texture (or sprite) name; defaults to "common/cursor.png".

Name of the default font to be loaded at app startup; defaults to "common/courbd.ttf".

Default font size; defaults to 16.

Name of the default material to be loaded at app startup; defaults to "common/default".

Emulate touchpad with mouse? Only used on desktop platforms; defaults to true on desktop platforms.

Exit app on error?; defaults to false in release and true in debug.

Language symbol (used for text localization); defaults to "EN".

Application name.

std::vector<std::string> Tiny2D::App::StartupParams::rootDataDirs

Root data directories listed in order from the highest to lowest priority.

Show message box on every error?; defaults to false in release and true in debug.

Show message box on every warning?; defaults to false.

Support asynchronous resource loading?; defaults to true.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines