mirror of
https://gitee.com/idea4good/GuiLite.git
synced 2025-12-21 19:09:58 +08:00
refactor wnd, display;rename macros
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
#ifndef _BUTTON_H_
|
||||
#define _BUTTON_H_
|
||||
|
||||
#define GLT_BN_CLICKED 0x1111
|
||||
#define ON_GLT_BN_CLICKED(ctrlId, func) \
|
||||
{MSG_TYPE_WND, GLT_BN_CLICKED, (c_cmd_target*)ctrlId, MSG_CALLBACK_VWV, (MsgFuncVV)(static_cast<void (c_cmd_target::*)(unsigned int)>(&func))},
|
||||
#define GL_BN_CLICKED 0x1111
|
||||
#define ON_GL_BN_CLICKED(ctrlId, func) \
|
||||
{MSG_TYPE_WND, GL_BN_CLICKED, (c_cmd_target*)ctrlId, MSG_CALLBACK_VWV, (MsgFuncVV)(static_cast<void (c_cmd_target::*)(unsigned int)>(&func))},
|
||||
|
||||
typedef struct struct_bitmap_info BITMAP_INFO;
|
||||
class c_button : public c_wnd
|
||||
|
||||
Reference in New Issue
Block a user