Content


NTL
Core
IScreen

IScreen


Describes platform screen. You may access it via application getScreen().

You can find more information in comments below.

class IScreen
{
public:
    virtual int getWidth() = 0; // Return screen resolution width. On some platforms, like Android, this will return 0 always because the platform has no api to get this value. 
    virtual int getHeight() = 0; // Return screen resolution height. On some platforms, like Android, this will return 0 always because the platform has no api to get this value. 
    virtual Point getDPI() = 0; // Return screen DPI 
};
Namespace: nitisa
Include: Nitisa/Interfaces/IScreen.h