1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#ifndef Fireworks_Core_FWViewContextMenuHandlerBaseGL_h
#define Fireworks_Core_FWViewContextMenuHandlerBaseGL_h
#include "Fireworks/Core/interface/FWViewContextMenuHandlerBase.h"
class FWEveView;
class FWModelId;
class FWViewContextMenuHandlerGL : public FWViewContextMenuHandlerBase {
public:
enum GLViewerAction { kAnnotate, kCameraCenter, kResetCameraCenter, kOrigin, kNone };
FWViewContextMenuHandlerGL(FWEveView *v);
~FWViewContextMenuHandlerGL() override {}
void select(int iEntryIndex, const FWModelId &id, int iX, int iY) override;
FWViewContextMenuHandlerGL(const FWViewContextMenuHandlerGL &) = delete; // stop default
const FWViewContextMenuHandlerGL &operator=(const FWViewContextMenuHandlerGL &) = delete; // stop default
private:
void init(FWViewContextMenuHandlerBase::MenuEntryAdder &, const FWModelId &id) override;
FWEveView *m_view;
};
#endif
|