📄 wxsevent.cpp
字号:
#include "wxsheaders.h"
#include "wxsevent.h"
#include "wxsmith.h"
#include "wxsglobals.h"
const wxEventType wxEVT_SELECT_RES = wxNewEventType();
const wxEventType wxEVT_UNSELECT_RES = wxNewEventType();
const wxEventType wxEVT_SELECT_WIDGET = wxNewEventType();
const wxEventType wxEVT_UNSELECT_WIDGET = wxNewEventType();
void wxsSelectWidget(wxsWidget* Widget)
{
wxsEvent SelectEvent(wxEVT_SELECT_WIDGET,0,NULL,Widget);
wxsPLUGIN()->ProcessEvent(SelectEvent);
}
void wxsUnselectWidget(wxsWidget* Widget)
{
wxsEvent UnselectEvent(wxEVT_UNSELECT_WIDGET,0,NULL,Widget);
wxsPLUGIN()->ProcessEvent(UnselectEvent);
}
void wxsSelectRes(wxsResource* Res)
{
wxsEvent SelectEvent(wxEVT_SELECT_RES,0,Res);
wxsPLUGIN()->ProcessEvent(SelectEvent);
}
void wxsUnselectRes(wxsResource* Res)
{
wxsEvent UnselectEvent(wxEVT_UNSELECT_RES,0,Res);
wxsPLUGIN()->ProcessEvent(UnselectEvent);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -