Added controllerflags and primary parts

This commit is contained in:
andreja6
2020-03-08 20:06:13 -07:00
parent 4ff4d54f09
commit 9c76bf6956
3 changed files with 4 additions and 1 deletions

View File

@@ -1,5 +1,5 @@
#pragma once
#include "PVInstance.h"
#include "PartInstance.h"
class GroupInstance :
public PVInstance
@@ -11,4 +11,5 @@ public:
virtual std::vector<PROPGRIDITEM> getProperties();
virtual void PropUpdate(LPPROPGRIDITEM &pItem);
std::vector<Instance *> unGroup();
PartInstance * primaryPart;
};

View File

@@ -4,6 +4,7 @@ PVInstance::PVInstance(void)
{
Instance::Instance();
nameShown = false;
controllerFlagShown = true;
className = "PVInstance";
listicon = 0;
}

View File

@@ -12,4 +12,5 @@ public:
virtual std::vector<PROPGRIDITEM> getProperties();
virtual void PropUpdate(LPPROPGRIDITEM &pItem);
bool nameShown;
bool controllerFlagShown;
};