#include <sgmenu.h>
Inheritance diagram for GalleryContextMenu:
Public Member Functions | |
GalleryContextMenu () | |
To construct ;-). | |
GalleryContextMenu (SGMenuID TheMenuType, SuperGallery *ParentGallery) | |
virtual BOOL | Build (void) |
To build the SuperGallery pop-up menu. (Called whn the list is adjust-clicked) The exact type (options or item-pop-up) of menu depends on the value passed\ into the constructor. | |
Protected Attributes | |
SuperGallery * | ParentGallery |
SGMenuID | MenuType |
Private Member Functions | |
CC_DECLARE_MEMDUMP (GalleryContextMenu) |
Definition at line 199 of file sgmenu.h.
|
To construct ;-).
Notes: The default constructor will ERROR3 - always use this variant Definition at line 134 of file sgmenu.cpp. 00135 { 00136 ERROR3("GalleryContextMenu - DON'T call the default constructor!"); 00137 MenuType = SGMENU_OPTIONS; 00138 ParentGallery = NULL; 00139 }
|
|
Definition at line 141 of file sgmenu.cpp. 00142 { 00143 MenuType = TheMenuType; 00144 ParentGallery = ParentGal; 00145 }
|
|
To build the SuperGallery pop-up menu. (Called whn the list is adjust-clicked) The exact type (options or item-pop-up) of menu depends on the value passed\ into the constructor.
Reimplemented from ContextMenu. Definition at line 165 of file sgmenu.cpp. 00166 { 00167 if (ParentGallery == NULL) 00168 { 00169 ERROR3("GalleryContextMenu incorrectly constructed"); 00170 return(FALSE); 00171 } 00172 00173 // It's all up to the gallery to fill us in appropriately 00174 return(ParentGallery->BuildCommandMenu(this, MenuType)); 00175 }
|
|
|
|
|
|
|