Added controllerflags and primary parts
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
#include "PVInstance.h"
|
#include "PartInstance.h"
|
||||||
|
|
||||||
class GroupInstance :
|
class GroupInstance :
|
||||||
public PVInstance
|
public PVInstance
|
||||||
@@ -11,4 +11,5 @@ public:
|
|||||||
virtual std::vector<PROPGRIDITEM> getProperties();
|
virtual std::vector<PROPGRIDITEM> getProperties();
|
||||||
virtual void PropUpdate(LPPROPGRIDITEM &pItem);
|
virtual void PropUpdate(LPPROPGRIDITEM &pItem);
|
||||||
std::vector<Instance *> unGroup();
|
std::vector<Instance *> unGroup();
|
||||||
|
PartInstance * primaryPart;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -4,6 +4,7 @@ PVInstance::PVInstance(void)
|
|||||||
{
|
{
|
||||||
Instance::Instance();
|
Instance::Instance();
|
||||||
nameShown = false;
|
nameShown = false;
|
||||||
|
controllerFlagShown = true;
|
||||||
className = "PVInstance";
|
className = "PVInstance";
|
||||||
listicon = 0;
|
listicon = 0;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -12,4 +12,5 @@ public:
|
|||||||
virtual std::vector<PROPGRIDITEM> getProperties();
|
virtual std::vector<PROPGRIDITEM> getProperties();
|
||||||
virtual void PropUpdate(LPPROPGRIDITEM &pItem);
|
virtual void PropUpdate(LPPROPGRIDITEM &pItem);
|
||||||
bool nameShown;
|
bool nameShown;
|
||||||
|
bool controllerFlagShown;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user