BfxMsg Class Reference

This is a foolish message to bring up a bitmap effects dialog. More...

#include <bfxdlg.h>

Inheritance diagram for BfxMsg:

Msg CCObject SimpleCCObject List of all members.

Public Member Functions

 BfxMsg (KernelBitmap *pTheBitmap)

Static Public Member Functions

static void OpenOrUse (KernelBitmap *pBitmap)
 Open the bitmap effects dialog if it's not already open, else just uses that bitmap.

Public Attributes

KernelBitmappBitmap

Detailed Description

This is a foolish message to bring up a bitmap effects dialog.

Author:
Alex_Bligh (Xara Group Ltd) <camelotdev@xara.com>
Date:
24/4/95
See also:
BfxDlg

Definition at line 126 of file bfxdlg.h.


Constructor & Destructor Documentation

BfxMsg::BfxMsg KernelBitmap pTheBitmap  )  [inline]
 

Definition at line 131 of file bfxdlg.h.

00131 :pBitmap(pTheBitmap) { /* empty */ };


Member Function Documentation

void BfxMsg::OpenOrUse KernelBitmap pBitmap  )  [static]
 

Open the bitmap effects dialog if it's not already open, else just uses that bitmap.

Author:
Alex_Bligh (Xara Group Ltd) <camelotdev@xara.com>
Date:
20/02/95
Parameters:
pBitmap = bitmap to use [INPUTS]
- [OUTPUTS]
Returns:
-

Errors: -

See also:
-

Definition at line 1578 of file bfxdlg.cpp.

01579 {
01580     // Obtain a pointer to the op descriptor for the create operation 
01581     OpDescriptor* OpDesc = OpDescriptor::FindOpDescriptor(CC_RUNTIME_CLASS(BfxDlg));
01582     if (!OpDesc) return;
01583 
01584     // Only one live instance of the operation is allowed. It's probably a dialog 
01585     if (!MessageHandler::MessageHandlerExists(CC_RUNTIME_CLASS(BfxDlg)))
01586     {
01587         OpDesc->Invoke(&OpParam((INT32)pBitmap,(INT32)NULL));        
01588     }
01589     else
01590     {
01591         BROADCAST_TO_CLASS(BfxMsg(pBitmap),DialogOp);   
01592     }   
01593     return;
01594 }


Member Data Documentation

KernelBitmap* BfxMsg::pBitmap
 

Definition at line 130 of file bfxdlg.h.


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