#include <bfxdlg.h>
Inheritance diagram for BfxMsg:
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 | |
KernelBitmap * | pBitmap |
Definition at line 126 of file bfxdlg.h.
|
Definition at line 131 of file bfxdlg.h. 00131 :pBitmap(pTheBitmap) { /* empty */ };
|
|
Open the bitmap effects dialog if it's not already open, else just uses that bitmap.
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 }
|
|
|