1 Star 0 Fork 0

yoyojacky/CSMoE

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Panel.h 1.65 KB
一键复制 编辑 原始数据 按行查看 历史
#ifndef PANEL_H
#define PANEL_H
#include "vgui/IClientPanel.h"
namespace vgui2 {
class Panel : public IClientPanel {
public:
Panel();
~Panel();
VPANEL GetVPanel();
void Think();
void PerformApplySchemeSettings();
void PaintTraverse(bool, bool);
void Repaint();
VPANEL IsWithinTraverse(int, int, bool);
void GetInset(int &, int &, int &, int &);
void GetClipRect(int &, int &, int &, int &);
void OnChildAdded(VPANEL);
void OnSizeChanged(int, int);
void InternalFocusChanged(bool);
bool RequestInfo(class KeyValues *);
void RequestFocus(int);
bool RequestFocusPrev(VPANEL);
bool RequestFocusNext(VPANEL);
void OnMessage(const class KeyValues *, VPANEL);
VPANEL GetCurrentKeyFocus();
int GetTabPosition();
const char * GetName();
const char * GetClassName();
HScheme GetScheme();
bool IsProportional();
bool IsAutoDeleteSet();
void DeletePanel();
void * QueryInterface(enum EInterfaceID);
class Panel * GetPanel();
const char * GetModuleName();
//
void SetScheme(const char *tag);
void SetScheme(HScheme scheme);
bool IsWithin(int x, int y);
bool IsVisible();
bool IsMouseInputEnabled();
bool IsMouseInputDisabledForThisPanel();
int GetChildCount();
VPANEL GetChild(int childId);
void InvalidateLayout(bool layoutNow = false, bool reloadScheme = false);
void SetVisible(bool state);
void SetZPos(int zpos);
void SetBounds(int x, int y, int wide, int tall);
private:
VPANEL _vpanel;
HScheme _scheme;
bool _needsRepaint;
bool _mouseInputDisabledForThisPanelOnly;
bool _isPropotional;
bool _autoDeleteEnabled;
int _tabPosition;
const char *_panelName;
};
}
#endif // PANEL_H
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/yoyojacky/CSMoE.git
git@gitee.com:yoyojacky/CSMoE.git
yoyojacky
CSMoE
CSMoE
master

搜索帮助