guictrlarrayctrl.h

来自「五行MMORPG引擎系统V1.0」· C头文件 代码 · 共 36 行

H
36
字号
#ifndef _GUICTRLARRAYCTRL_H_
#define _GUICTRLARRAYCTRL_H_

#ifndef _GUICONTROL_H_
#include "gui/core/guiControl.h"
#endif

#include "dgl/dgl.h"
#include "console/console.h"
#include "console/consoleTypes.h"

class GuiControlArrayControl : public GuiControl
{
private:
   typedef GuiControl Parent;

   S32 mCols;
   Vector<S32> mColumnSizes;
   S32 mRowSize;
   S32 mRowSpacing;
   S32 mColSpacing;

public:
   GuiControlArrayControl();

   void resize(const Point2I &newPosition, const Point2I &newExtent);

   bool onWake();
   void onSleep();
   void inspectPostApply();

   static void initPersistFields();
   DECLARE_CONOBJECT(GuiControlArrayControl);
};

#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?