PreviewContextMenu Class Reference

The context menu for the bitmap preview dialog. More...

#include <prvwmenu.h>

Inheritance diagram for PreviewContextMenu:

ContextMenu List of all members.

Public Member Functions

virtual BOOL Build ()
 Builds the context menu.

Detailed Description

The context menu for the bitmap preview dialog.

Author:
Stefan_Stoykov (Xara Group Ltd) <camelotdev@xara.com> (based on Neville's code)
Date:
11/4/97

Definition at line 126 of file prvwmenu.h.


Member Function Documentation

BOOL PreviewContextMenu::Build void   )  [virtual]
 

Builds the context menu.

Author:
Stefan_Stoykov (Xara Group Ltd) <camelotdev@xara.com>
Date:
10/5/97
Parameters:
- [INPUTS]
- [OUTPUTS]
Returns:
-

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 }


The documentation for this class was generated from the following files:
Generated on Sat Nov 10 03:59:54 2007 for Camelot by  doxygen 1.4.4