#include <brushop.h>
Inheritance diagram for OpDeactivateBrush:
Public Member Functions | |
OpDeactivateBrush () | |
Constructor. | |
~OpDeactivateBrush () | |
destructor | |
virtual void | DoWithParam (OpDescriptor *, OpParam *pOpParam) |
Deactivates a brush definition so that it no longer appears in the line gallery or brush combo, and all existing attributes that make use of it will appear as if they were a straight line. | |
virtual void | GetOpName (String_256 *OpName) |
like the title says | |
Static Public Member Functions | |
static BOOL | Declare () |
Adds the operation to the list of all known operations. | |
static OpState | GetState (String_256 *Description, OpDescriptor *) |
Find out the state of the operation at the specific time. | |
Private Member Functions | |
CC_DECLARE_DYNCREATE (OpDeactivateBrush) |
Definition at line 291 of file brushop.h.
|
Constructor.
Definition at line 1683 of file brushop.cpp.
|
|
destructor
Definition at line 1699 of file brushop.cpp.
|
|
|
|
Adds the operation to the list of all known operations.
Definition at line 1715 of file brushop.cpp. 01716 { 01717 return (RegisterOpDescriptor( 01718 0, 01719 0, 01720 CC_RUNTIME_CLASS(OpDeactivateBrush), 01721 OPTOKEN_DELETEBRUSH, 01722 OpDeactivateBrush::GetState, 01723 0, /* help ID */ 01724 0, /* bubble ID */ 01725 0 /* bitmap ID */ 01726 )); 01727 }
|
|
Deactivates a brush definition so that it no longer appears in the line gallery or brush combo, and all existing attributes that make use of it will appear as if they were a straight line.
Reimplemented from Operation. Definition at line 1788 of file brushop.cpp. 01789 { 01790 BrushHandle Handle = static_cast<BrushHandle> (pParam->Param1); 01791 01792 if (Handle != BrushHandle_NoBrush) 01793 { 01794 DeactivateBrushDefAction* pAction; 01795 if (DeactivateBrushDefAction::Init(this,&UndoActions,Handle, &pAction) == AC_FAIL) 01796 FailAndExecute(); 01797 End(); 01798 } 01799 01800 }
|
|
like the title says
Reimplemented from Operation. Definition at line 1770 of file brushop.cpp. 01771 { 01772 *OpName = String_256(_R(IDS_BRUSHDELETE)); 01773 }
|
|
Find out the state of the operation at the specific time.
Definition at line 1745 of file brushop.cpp. 01746 { 01747 OpState Bob; 01748 01749 01750 return Bob; 01751 01752 }
|