#include <menuops.h>
Inheritance diagram for DummyOp:
Public Member Functions | |
DummyOp () | |
Constructs a new DummyOp object: setting default operation flags, and adding it to the Live list. | |
void | Do (OpDescriptor *) |
Actually "DO" a Dummy operation. | |
Static Public Member Functions | |
static BOOL | Init () |
Create an OpDescriptor for the Dummy operation. | |
static OpState | GetState (String_256 *, OpDescriptor *) |
Find the state of the DummyOp operation. This will always be greyed! |
Definition at line 568 of file menuops.h.
|
Constructs a new DummyOp object: setting default operation flags, and adding it to the Live list.
Definition at line 2040 of file menuops.cpp. 02040 : Operation() 02041 { 02042 }
|
|
Actually "DO" a Dummy operation.
Reimplemented from Operation. Definition at line 2061 of file menuops.cpp. 02062 { 02063 End(); 02064 }
|
|
Find the state of the DummyOp operation. This will always be greyed!
Definition at line 2083 of file menuops.cpp.
|
|
Create an OpDescriptor for the Dummy operation.
Reimplemented from SimpleCCObject. Definition at line 2103 of file menuops.cpp. 02104 { 02105 DUMMYOP( _R(IDS_DO_NOTHING), OPTOKEN_DO_NOTHING); 02106 02107 // DUMMYOP(_R(IDS_FILE_SAVEALL), OPTOKEN_FILESAVEALL); 02108 DUMMYOP(_R(IDS_FILE_MERGE), OPTOKEN_FILEMERGE); 02109 // DUMMYOP(_R(IDS_FILE_INFO), OPTOKEN_FILEINFO); 02110 // DUMMYOP(_R(IDS_FILE_OPTIONS), OPTOKEN_FILEOPTIONS); 02111 // DUMMYOP(_R(IDS_UNITDLG), OPTOKEN_UNITDLG); 02112 // DUMMYOP(_R(IDS_EDIT_DELETE), OPTOKEN_EDITDELETE); 02113 // DUMMYOP(_R(IDS_EDIT_SELECT_ALL), OPTOKEN_EDITSELECTALL); 02114 // DUMMYOP(_R(IDS_EDIT_SELECT_NONE), OPTOKEN_EDITSELECTNONE); 02115 // DUMMYOP(_R(IDS_EDIT_DUPLICATE), OPTOKEN_EDITDUPLICATE); 02116 // DUMMYOP(_R(IDS_EDIT_CLONE), OPTOKEN_EDITCLONE); 02117 DUMMYOP(_R(IDS_EDIT_OBJECT_INFO), OPTOKEN_EDITOBJECTINFO); 02118 DUMMYOP(_R(IDS_ATTR_FONT), OPTOKEN_ATTRFONT); 02119 DUMMYOP(_R(IDS_ATTR_LINE), OPTOKEN_ATTRLINE); 02120 DUMMYOP(_R(IDS_ATTR_FILL), OPTOKEN_ATTRFILL); 02121 DUMMYOP(_R(IDS_ATTR_STYLE), OPTOKEN_ATTRSTYLE); 02122 // DUMMYOP(_R(IDS_ARRANGE_UP_LAYER), OPTOKEN_ARRANGEUPLAYER); 02123 // DUMMYOP(_R(IDS_ARRANGE_UP_TOP), OPTOKEN_ARRANGEUPTOP); 02124 // DUMMYOP(_R(IDS_ARRANGE_UP_ONE), OPTOKEN_ARRANGEUPONE); 02125 // DUMMYOP(_R(IDS_ARRANGE_DOWN_ONE), OPTOKEN_ARRANGEDOWNONE); 02126 // DUMMYOP(_R(IDS_ARRANGE_DOWN_BOTTOM),OPTOKEN_ARRANGEDOWNBOTTOM); 02127 // DUMMYOP(_R(IDS_ARRANGE_DOWN_LAYER), OPTOKEN_ARRANGEDOWNLAYER); 02128 // DUMMYOP(_R(IDS_ARRANGE_ALIGNMENT), OPTOKEN_ARRANGEALIGNMENT); 02129 // DUMMYOP(_R(IDS_ARRANGE_PULL_GRID), OPTOKEN_ARRANGEPULLGRID); 02130 DUMMYOP(_R(IDS_MAKEMASK), OPTOKEN_MAKEMASK); 02131 DUMMYOP(_R(IDS_MASKINSIDE), OPTOKEN_MASKINSIDE); 02132 // DUMMYOP(_R(IDS_ARRANGE_JOIN_SHAPES), OPTOKEN_ARRANGEJOINSHAPES); 02133 // DUMMYOP(_R(IDS_ARRANGE_BREAK_SHAPES), OPTOKEN_ARRANGEBREAKSHAPES); 02134 // DUMMYOP(_R(IDS_ARRANGE_MAKE_SHAPES), OPTOKEN_ARRANGEMAKESHAPES); 02135 // DUMMYOP(_R(IDS_UTIL_COLOUR), OPTOKEN_UTILCOLOUR); 02136 DUMMYOP(_R(IDS_UTIL_CUSTOMIZE), OPTOKEN_UTILCUSTOMIZE); 02137 // DUMMYOP(_R(IDS_UTIL_OPTIONS), OPTOKEN_UTILOPTIONS); 02138 // DUMMYOP(_R(IDS_WINDOW_NEW_VIEW), OPTOKEN_WINDOWNEWVIEW); 02139 DUMMYOP(_R(IDS_WINDOW_EASY_MDI), OPTOKEN_WINDOWEASYMDI); 02140 // DUMMYOP(_R(IDS_WINDOW_TOOLBARS), OPTOKEN_WINDOWTOOLBARS); 02141 DUMMYOP(_R(IDS_WINDOW_RULERS), OPTOKEN_WINDOWRULERS); 02142 // DUMMYOP(_R(IDS_WINDOW_GRIDS), OPTOKEN_WINDOWGRIDS); 02143 // DUMMYOP(_R(IDS_WINDOW_SNAP), OPTOKEN_WINDOWSNAP); 02144 DUMMYOP(_R(IDS_WINDOW_BORDERS), OPTOKEN_WINDOWBORDERS); 02145 DUMMYOP(_R(IDS_WINDOW_QUALITY), OPTOKEN_WINDOWQUALITY); 02146 DUMMYOP(_R(IDS_WINDOW_SEPARATION), OPTOKEN_WINDOWSEPARATION); 02147 // DUMMYOP(_R(IDS_EDIT_CUT), OPTOKEN_EDITCUT); 02148 // DUMMYOP(_R(IDS_EDIT_COPY), OPTOKEN_EDITCOPY); 02149 // DUMMYOP(_R(IDS_EDIT_PASTE), OPTOKEN_EDITPASTE); 02150 DUMMYOP(_R(IDS_EDIT_PASTE_LINK), OPTOKEN_EDITPASTESPECIAL); 02151 DUMMYOP(_R(IDS_EDIT_OLE_INSERT), OPTOKEN_EDITOLEINSERT); 02152 DUMMYOP(_R(IDS_EDIT_OLE_LINKS), OPTOKEN_EDITOLELINKS); 02153 DUMMYOP(_R(IDS_EDIT_OLE_OBJECT), OPTOKEN_EDITOLEOBJECT); 02154 // DUMMYOP(_R(IDS_QUALITY_ANTI_ALIASED), OPTOKEN_QUALITYANTIALIASED); 02155 // DUMMYOP(_R(IDS_QUALITY_NORMAL), OPTOKEN_QUALITYNORMAL); 02156 // DUMMYOP(_R(IDS_QUALITY_SIMPLE), OPTOKEN_QUALITYSIMPLE); 02157 // DUMMYOP(_R(IDS_QUALITY_OUTLINE), OPTOKEN_QUALITYOUTLINE); 02158 02159 DUMMYOP(_R(IDS_GALLERIES_SUB_OP), OPTOKEN_GALLERIES_SUBMENU); 02160 DUMMYOP(_R(IDS_ANIMATION_SUB_OP), OPTOKEN_ANIMATION_SUBMENU); 02161 return (TRUE); 02162 }
|