AppEasy Core SDK  1.5.0
Cross platform mobile and desktop app and game development SDK - The easy way to make apps
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines
CzUtils Class Reference

CzUtils - Pure static utility class. More...

#include <CzUtil.h>

List of all members.

Static Public Member Functions

static const char * GetGraphicModeName (int width, int height)
 Gets graphic mode name from the supplied width and height.
static int GetGraphicModeIndex (int width, int height)
 Gets graphic mode index from the supplied width and height.
static int CountDigits (int number)
 Count how many didgits an integer has.

Detailed Description

CzUtils - Pure static utility class.


Member Function Documentation

int CzUtils::CountDigits ( int  number) [static]

Count how many didgits an integer has.

Parameters:
numberThe number.
Returns:
The total number of digits.
int CzUtils::GetGraphicModeIndex ( int  width,
int  height 
) [static]

Gets graphic mode index from the supplied width and height.

See g_CzUtils_GraphicsModeNames for list of available modes.

Parameters:
widthThe width.
heightThe height.
Returns:
The graphic mode index, -1 for none matched.
const char * CzUtils::GetGraphicModeName ( int  width,
int  height 
) [static]

Gets graphic mode name from the supplied width and height.

See g_CzUtils_GraphicsModeNames for list of available modes.

Parameters:
widthThe width.
heightThe height.
Returns:
null if it fails, else the graphic mode name.

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