CrossFramework Library

XBase/DisplayContext.hpp

説明を見る。
00001 
00006 #if defined(XBASE_INCLUDED_DISPLAYCONTEXT_HPP)
00007 #else
00008 #define XBASE_INCLUDED_DISPLAYCONTEXT_HPP
00009 
00010 //------------------------------------------------------------
00011 #include <XBase/BuiltInTypes.hpp>
00012 #include <XBase/OSType.hpp>
00013 
00014 //------------------------------------------------------------
00015 namespace XBase {
00017 
00018 
00019     class DisplayContext
00020     {
00021     public:
00023         DisplayContext();
00024         
00025 #if defined(XBASE_OSTYPE_WINDOWSYSTEM)
00026 
00027 
00028         void setLocationToCenter(); 
00029         uint locationX()const;
00030         uint locationY()const;
00031         uint width()const;
00032         uint height()const;
00033         bool isScreenDoubleBuffer()const;
00035 #endif
00036 
00037     private:
00038 #if defined(XBASE_OSTYPE_WINDOWSYSTEM)
00039         uint mLocationX;
00040         uint mLocationY;
00041         uint mWidth;
00042         uint mHeight;
00043         bool mIsScreenDoubleBuffer;
00044 #endif
00045     };
00047 }
00048 //------------------------------------------------------------
00049 #endif
00050 // EOF
 全て クラス ネームスペース ファイル 関数 変数 型定義 列挙型 列挙型の値 マクロ定義