00001 #ifndef Fireworks_Core_FWViewContextMenuHandlerBaseGL_h 00002 #define Fireworks_Core_FWViewContextMenuHandlerBaseGL_h 00003 00004 #include "Fireworks/Core/interface/FWViewContextMenuHandlerBase.h" 00005 00006 class FWEveView; 00007 class FWModelId; 00008 00009 class FWViewContextMenuHandlerGL : public FWViewContextMenuHandlerBase 00010 { 00011 public: 00012 enum GLViewerAction { kAnnotate, kCameraCenter, kResetCameraCenter, kOrigin, kNone }; 00013 00014 FWViewContextMenuHandlerGL(FWEveView* v); 00015 virtual ~FWViewContextMenuHandlerGL() {} 00016 virtual void select(int iEntryIndex, const FWModelId &id, int iX, int iY); 00017 00018 private: 00019 FWViewContextMenuHandlerGL(const FWViewContextMenuHandlerGL&); // stop default 00020 const FWViewContextMenuHandlerGL& operator=(const FWViewContextMenuHandlerGL&); // stop default 00021 00022 virtual void init(FWViewContextMenuHandlerBase::MenuEntryAdder&, const FWModelId &id); 00023 00024 FWEveView *m_view; 00025 }; 00026 00027 #endif