📄 guiapplabel.h
字号:
#ifndef __GUIAPPLABEL_H__
#define __GUIAPPLABEL_H__
#include "guiappobj.h"
#include "m_str.h"
class GUIAppLabel : public GUIAppObject {
public:
GUIAppLabel(int id, float x, float y, hgeFont *fnt, char* text, DWORD color = 0xFFFFFFFF, int align = HGETEXT_LEFT);
void SetAlign(int align);
void SetVisible(bool yesno);
void SetText(char *text);
void SetText(int value);
void SetColor(DWORD col);
virtual void Render();
virtual void Move( float dx, float dy);
private:
hgeFont* m_Font;
hgeVector m_Pos;
int m_Align;
TStr m_Text;
DWORD m_Color;
};
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -