CMGDK r49-rc2
组合类型 | 名字空间 | 宏定义 | 函数
K:/CMGDKv18/SDK/Source/WinGame/WinMessage.cpp文件参考
#include <wchar.h>
#include <windows.h>
#include <hgl/platform/WinWindow.H>
#include <hgl/platform/GraphicsApplication.H>
#include <hgl/Other.H>
#include <hgl/PlugIn.H>
#include <hgl/thread/Thread.H>
#include <hgl/InputState.H>
#include <hgl/object/FlowControl.H>

组合类型

struct  hgl::JoystickInterface

名字空间

namespace  hgl
 

__MAKE_HGL__&&!__MAKE_PLUGIN__


宏定义

#define WMEF(name)   long name(uint32,uint32)
#define WMEF1(name)   long name(uint32 wParam,uint32)
#define WMEF2(name)   long name(uint32 wParam,uint32 lParam)
#define WMEF_MOUSE(name)
#define WM_MAP(wm, func)   WMProc[wm]=func;

函数

uint32 hgl::GetKeyFlags (uint32 wflags)
void hgl::InitKeyConvert ()
KeyButton hgl::ConvertOSKey (uint key)
 hgl::WMEF (WMProcDestroy)
 hgl::WMEF_MOUSE (LeftDown)
 hgl::WMEF_MOUSE (LeftUp)
 hgl::WMEF_MOUSE (LeftDoubleClick)
 hgl::WMEF_MOUSE (MidDown)
 hgl::WMEF_MOUSE (MidUp)
 hgl::WMEF_MOUSE (MidDoubleClick)
 hgl::WMEF_MOUSE (RightDown)
 hgl::WMEF_MOUSE (RightUp)
 hgl::WMEF_MOUSE (RightDoubleClick)
 hgl::WMEF_MOUSE (Move)
 hgl::WMEF2 (WMProcMouseWheel)
 hgl::WMEF1 (WMProcKeyDown)
 hgl::WMEF1 (WMProcKeyUp)
 hgl::WMEF1 (WMProcChar)
 hgl::WMEF1 (WMProcActive)
 hgl::WMEF2 (WMProcSize)
bool hgl::GetKeyState (KeyButton)
void __cdecl hgl::JoyDown (uint key)
void __cdecl hgl::JoyPress (uint key)
void __cdecl hgl::JoyUp (uint key)
bool hgl::GetJoyState (JoyButton key)
void hgl::LoadJoystick (HINSTANCE hInstance, HWND hWnd)
void hgl::InitMessageProc (GraphicsApplication *app, WinWindow *win, bool joy)
bool hgl::MessageProc (WinWindow *win)
void hgl::CloseMessageProc ()
LRESULT CALLBACK hgl::WindowProc (HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)

宏定义文档

#define WM_MAP (   wm,
  func 
)    WMProc[wm]=func;
#define WMEF (   name)    long name(uint32,uint32)
#define WMEF1 (   name)    long name(uint32 wParam,uint32)
#define WMEF2 (   name)    long name(uint32 wParam,uint32 lParam)
#define WMEF_MOUSE (   name)
值:
long WMProcMouse##name(uint32 wParam,uint32 lParam) \
    {   \
        int x=LOWORD(lParam);   \
        int y=HIWORD(lParam);   \
        \
        CurWin->SetMouseCoord(x,y); \
        \
        CurApp->Proc_Mouse##name(x,y,is##name|GetKeyFlags(wParam)); \
        \
        return(true);   \
    }
 全部  名字空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义