CrossFramework Library

XBase/Display_Windows.hpp

説明を見る。
00001 
00006 #if defined(XBASE_INCLUDED_DISPLAY_WINDOWS_HPP)
00007 #else
00008 #define XBASE_INCLUDED_DISPLAY_WINDOWS_HPP
00009 
00010 //------------------------------------------------------------
00011 #include <XBase/DisplayContext.hpp>
00012 #include <XBase/Placement.hpp>
00013 #include <XBase/Screen.hpp>
00014 #include <XBase/SDKHeader.hpp>
00015 
00016 //------------------------------------------------------------
00017 namespace XBase {
00018     class Application;
00019 }
00020 
00021 //------------------------------------------------------------
00022 namespace XBase {
00024 
00025     // Windows環境でのDisplayの拡張。
00026     class Display_EXT
00027     {
00028     public:
00029         //============================================================
00030         static LRESULT CALLBACK WindowProcess( HWND , UINT , WPARAM , LPARAM );
00031 
00032         //============================================================
00033         HWND window;
00034         WNDCLASSEX windowClass;
00035         MSG  message;
00036         Placement< Screen > mainScreen;
00037         bool isClosed;
00038 
00039         //============================================================
00040         Display_EXT( const DisplayContext& );
00041 
00042         //============================================================
00043         void    pollEvent( Application& );
00044         LRESULT windowProcess( HWND , UINT , WPARAM , LPARAM );
00045     };
00047 }
00048 //------------------------------------------------------------
00049 #endif
00050 // EOF
 全て クラス ネームスペース ファイル 関数 変数 型定義 列挙型 列挙型の値 マクロ定義