You.i Engine
CYIScriptAppFactory Class Reference

Detailed Description

An app factory for a script only application.

This app factory implementation is provided for applications that are written only in a scripting language. It enables script only applications to start without writing any C++ code.

#include <binding/YiScriptAppFactory.h>

Static Public Member Functions

static std::unique_ptr< CYIAppCreate ()
 
static int32_t GetWindowWidth ()
 
static int32_t GetWindowHeight ()
 
static int32_t GetScreenDensity ()
 
static const char * GetWindowName ()
 

Member Function Documentation

static std::unique_ptr<CYIApp> CYIScriptAppFactory::Create ( )
static

Creates a new script application instance.

static int32_t CYIScriptAppFactory::GetScreenDensity ( )
static

Returns the pixel density for the application.

static int32_t CYIScriptAppFactory::GetWindowHeight ( )
static

Returns teh window height of the application, in pixels.

static const char* CYIScriptAppFactory::GetWindowName ( )
static

Returns the window name for the application. For a script application this is blank.

static int32_t CYIScriptAppFactory::GetWindowWidth ( )
static

Returns the window width of the application, in pixels.


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