My Project
|
00001 00002 00003 00004 00005 00006 00007 00008 00009 00010 00011 00012 00013 00014 00015 00016 00017 00018 00019 00020 00021 00022 00023 00024 00025 00026 00027 00028 #pragma once 00029 #include "Define.h" 00030 #include "PopUpWindow.h" 00031 #include "ContextMenu.h" 00032 00033 namespace SallyAPI 00034 { 00035 namespace GUI 00036 { 00045 00046 class DLL_API_SALLY CContextMenuPopUp : 00047 public SallyAPI::GUI::CPopUpWindow 00048 { 00049 protected: 00050 SallyAPI::GUI::CContextMenu* m_pContextMenu; 00051 public: 00052 CContextMenuPopUp(SallyAPI::GUI::CGUIBaseObject* parent, int graphicId, 00053 const std::string &explicidAppName, int width, int height); 00054 virtual ~CContextMenuPopUp(); 00055 00056 void SetPopUpPoint(int x, int y); 00057 void SetPosition(int x, int y, CONTEXT_MENU_ARROW_POSITION arrowPosition); 00058 void SetPopUpControlPoint(SallyAPI::GUI::CControl* control); 00059 }; 00060 } 00061 }