Archived
1
Fork 0
This repository has been archived on 2025-04-12. You can view files and clone it, but cannot push or open issues or pull requests.
graph/tools/common/include/context.h

20 lines
272 B
C
Raw Normal View History

2018-12-21 06:32:37 -05:00
#pragma once
2018-12-25 22:38:26 -05:00
#include <QObject>
2018-12-21 06:32:37 -05:00
class Renderer;
2018-12-25 10:57:12 -05:00
using EntityID = uint64_t;
2018-12-25 22:38:26 -05:00
class Context : public QObject {
Q_OBJECT
public:
2018-12-21 06:32:37 -05:00
Renderer* renderer;
2018-12-25 10:57:12 -05:00
std::vector<EntityID> selectedEntities;
2018-12-25 22:38:26 -05:00
signals:
void selectionChanged();
2018-12-26 07:03:05 -05:00
void entitiesChanged();
2018-12-21 06:32:37 -05:00
};