#include <colmenu.h>
Inheritance diagram for ColEditContextMenu:
Public Member Functions | |
ColEditContextMenu () | |
To construct ;-). | |
virtual BOOL | Build (void) |
To build the colour editor pop-up menu. (Called when the window is adjust-clicked). | |
Private Member Functions | |
CC_DECLARE_MEMDUMP (ColEditContextMenu) |
Definition at line 135 of file colmenu.h.
|
To construct ;-).
Definition at line 148 of file colmenu.cpp.
|
|
To build the colour editor pop-up menu. (Called when the window is adjust-clicked).
Reimplemented from ContextMenu. Definition at line 168 of file colmenu.cpp. 00169 { 00170 BOOL ok = TRUE; 00171 00172 // WEBSTER - Martin 11/07/97 00173 // Edit of the drop down colour model menu list 00174 #ifdef WEBSTER 00175 if (ok) ok = ok && BuildCommand(ColCmd_NewNColour); // New named colour 00176 #endif // WEBSTER 00177 if (ok) ok = ok && BuildCommand(ColCmd_Name); // Rename 00178 if (ok) ok = ok && BuildCommand(ColCmd_EditParent, TRUE); // Edit Parent - With a separator 00179 00180 if (ok) ok = ok && BuildCommand(ColCmd_HSV); // Change colour model 00181 if (ok) ok = ok && BuildCommand(ColCmd_RGB,TRUE); 00182 00183 #ifndef WEBSTER 00184 if (ok) ok = ok && BuildCommand(ColCmd_CMYK); 00185 if (ok) ok = ok && BuildCommand(ColCmd_Grey, TRUE); // Plus a separator 00186 #endif // WEBSTER 00187 00188 if (ok) ok = ok && BuildCommand(ColCmd_Help); // Help 00189 00190 return(ok); 00191 }
|
|
|