mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-16 09:04:38 +00:00
Add type of Children in SimGroup and GuiControl
This commit is contained in:
parent
55f459cf2d
commit
763c205451
4 changed files with 4 additions and 2 deletions
|
|
@ -37,7 +37,7 @@
|
||||||
#include "math/mMathFn.h"
|
#include "math/mMathFn.h"
|
||||||
|
|
||||||
|
|
||||||
IMPLEMENT_CONOBJECT( SimSet );
|
IMPLEMENT_CONOBJECT_CHILDREN( SimSet );
|
||||||
IMPLEMENT_CONOBJECT( SimGroup );
|
IMPLEMENT_CONOBJECT( SimGroup );
|
||||||
|
|
||||||
ConsoleDocClass( SimSet,
|
ConsoleDocClass( SimSet,
|
||||||
|
|
|
||||||
|
|
@ -95,6 +95,7 @@ class SimSet : public SimObject, public TamlChildren
|
||||||
public:
|
public:
|
||||||
|
|
||||||
typedef SimObject Parent;
|
typedef SimObject Parent;
|
||||||
|
typedef SimObject Children;
|
||||||
|
|
||||||
enum SetModification
|
enum SetModification
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -44,7 +44,7 @@
|
||||||
//#define DEBUG_SPEW
|
//#define DEBUG_SPEW
|
||||||
|
|
||||||
|
|
||||||
IMPLEMENT_CONOBJECT( GuiControl );
|
IMPLEMENT_CONOBJECT_CHILDREN( GuiControl );
|
||||||
|
|
||||||
ConsoleDocClass( GuiControl,
|
ConsoleDocClass( GuiControl,
|
||||||
"@brief Base class for all Gui control objects.\n\n"
|
"@brief Base class for all Gui control objects.\n\n"
|
||||||
|
|
|
||||||
|
|
@ -107,6 +107,7 @@ class GuiControl : public SimGroup
|
||||||
public:
|
public:
|
||||||
|
|
||||||
typedef SimGroup Parent;
|
typedef SimGroup Parent;
|
||||||
|
typedef GuiControl Children;
|
||||||
|
|
||||||
friend class GuiWindowCtrl; // mCollapseGroupVec
|
friend class GuiWindowCtrl; // mCollapseGroupVec
|
||||||
friend class GuiCanvas;
|
friend class GuiCanvas;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue