#include <prvwmenu.h>
Inheritance diagram for PreviewContextMenu:
Public Member Functions | |
virtual BOOL | Build () |
Builds the context menu. |
Definition at line 126 of file prvwmenu.h.
|
Builds the context menu.
Reimplemented from ContextMenu. Definition at line 138 of file prvwmenu.cpp. 00139 { 00140 BOOL ok = TRUE; 00141 00142 if (ok) ok = ok && BuildCommand(OPTOKEN_PREVIEW_ZOOM_TOOL); 00143 if (ok) ok = ok && BuildCommand(OPTOKEN_PREVIEW_PUSH_TOOL); 00144 if (ok) ok = ok && BuildCommand(OPTOKEN_PREVIEW_COLOUR_SELECTOR_TOOL); 00145 if (ok) ok = ok && BuildCommand(OPTOKEN_PREVIEW_ZOOM_TO_FIT); 00146 if (ok) ok = ok && BuildCommand(OPTOKEN_PREVIEW_ZOOM_TO_100); 00147 if (ok) ok = ok && BuildCommand(OPTOKEN_PREVIEW_1TO1, TRUE); 00148 if (ok) ok = ok && BuildCommand(OPTOKEN_PREVIEW_HELP); 00149 00150 return (ok); 00151 }
|