📄 cinputdlg.h
字号:
/*
Crazy Eggs Remade By Kevin Lynx
File : CInputDlg.h
Desc : create an input dialog, to get the player's name
Aurhor : Kevin Lynx
Date : 2007.1.25
*/
#ifndef CINPUT_DLG_H
#define CINPUT_DLG_H
#include <SexyAppBase.h>
#include <EditWidget.h>
#include <EditListener.h>
#include <Graphics.h>
#include <ImageFont.h>
#include <Dialog.h>
using namespace Sexy;
class CInputDlg : public Dialog, public EditListener
{
public:
enum
{
DLG_ID = 1,
EDIT_ID
};
public:
CInputDlg( int id = DLG_ID );
~CInputDlg();
void Draw( Graphics *g );
void AddedToManager( WidgetManager *theWidgetManager );
void RemovedFromManager( WidgetManager *theWidgetManager );
void ButtonDepress( int theId );
void MouseDrag( int x, int y );
public:
EditWidget *m_editor;
};
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -