CMGDK r49-rc2
|
名字空间 | |
namespace | hgl |
__MAKE_HGL__&&!__MAKE_PLUGIN__ | |
宏定义 | |
#define | PROCFUNC(name) |
#define | PROCFUNC(name, type) |
函数 | |
hgl::PROCFUNC (LeftDown) | |
hgl::PROCFUNC (LeftUp) | |
hgl::PROCFUNC (LeftDoubleClick) | |
hgl::PROCFUNC (RightDown) | |
hgl::PROCFUNC (RightUp) | |
hgl::PROCFUNC (RightDoubleClick) | |
hgl::PROCFUNC (MidDown) | |
hgl::PROCFUNC (MidUp) | |
hgl::PROCFUNC (MidDoubleClick) | |
hgl::PROCFUNC (JoystickPress, uint) | |
hgl::PROCFUNC (JoystickUp, uint) | |
hgl::PROCFUNC (KeyDown, uint) | |
hgl::PROCFUNC (KeyPress, uint) | |
hgl::PROCFUNC (KeyUp, uint) | |
hgl::PROCFUNC (Char, wchar_t) |
#define PROCFUNC | ( | name | ) |
bool FlowObject::Proc_##name(type key) \ { \ if(KeyPreview) \ { \ if(On##name!=NULL) \ if(CallEvent(On##name,(key)))return(true); \ \ return Control.Proc_##name(key); \ } \ else \ { \ if(Control.Proc_##name(key))return(true); \ \ if(On##name!=NULL) \ return CallEvent(On##name,(key)); \ } \ \ return(false); \ }