Moved selection to be a service

This commit is contained in:
Vulpovile
2022-10-03 19:30:24 -07:00
parent b2db375ecf
commit f46e24d8f1
18 changed files with 177 additions and 140 deletions

View File

@@ -1,14 +1,15 @@
#pragma once
#include "DataModelV2/Instance.h"
#include <set>
class PropertyWindow {
public:
PropertyWindow(int x, int y, int sx, int sy, HMODULE hThisInstance);
bool onCreate(int x, int y, int sx, int sy, HMODULE hThisInstance);
void UpdateSelected(Instance *);
void UpdateSelected(std::vector<Instance *> selection);
void ClearProperties();
void onResize();
void refreshExplorer(Instance* selectedInstance);
void refreshExplorer(std::vector<Instance *> selection);
HWND _hwndProp;
private:
HWND _propGrid;