#include <rendwnd.h>
Inheritance diagram for OpToggleDoubleBuffer:
Public Member Functions | |
OpToggleDoubleBuffer () | |
Constructs an OpToggleDoubleBuffer object. | |
~OpToggleDoubleBuffer () | |
Destructs an OpToggleDoubleBuffer object. | |
void | Do (OpDescriptor *) |
Actually "DO" a ToggleFore operation. | |
Static Public Member Functions | |
static BOOL | Init () |
Create an OpDescriptor for the OpToggleDoubleBuffer operation. | |
static OpState | GetState (String_256 *, OpDescriptor *) |
Find the state of the OpToggleDoubleBuffer operation. |
Definition at line 225 of file rendwnd.h.
|
Constructs an OpToggleDoubleBuffer object.
Definition at line 799 of file rendwnd.cpp. 00799 : Operation() 00800 { 00801 00802 }
|
|
Destructs an OpToggleDoubleBuffer object.
Definition at line 821 of file rendwnd.cpp.
|
|
Actually "DO" a ToggleFore operation.
Reimplemented from Operation. Definition at line 843 of file rendwnd.cpp. 00844 { 00845 CRenderWnd::SetDoubleBuffer(!CRenderWnd::GetDoubleBuffer()); 00846 End(); 00847 }
|
|
Find the state of the OpToggleDoubleBuffer operation.
Definition at line 867 of file rendwnd.cpp. 00868 { 00869 // Default to !ticked and greyed 00870 OpState blobby(FALSE, TRUE); 00871 blobby.Ticked = CRenderWnd::GetDoubleBuffer(); 00872 blobby.Greyed = FALSE; 00873 return(blobby); 00874 }
|
|
Create an OpDescriptor for the OpToggleDoubleBuffer operation.
Reimplemented from SimpleCCObject. Definition at line 893 of file rendwnd.cpp. 00894 { 00895 return Operation::RegisterOpDescriptor( 00896 0, 00897 _R(IDS_TOGGLE_DOUBLEBUFFER), 00898 CC_RUNTIME_CLASS(OpToggleDoubleBuffer), 00899 OPTOKEN_TOGGLEDOUBLEBUFFER, 00900 OpToggleDoubleBuffer::GetState, 00901 0, // help ID 00902 0,// _R(IDBBL_FOREBACKGRNDOP), 00903 0, // bitmap ID 00904 0, // control ID 00905 SYSTEMBAR_ILLEGAL, // group bar ID 00906 TRUE, 00907 FALSE, 00908 TRUE, 00909 NULL, 00910 0, 00911 0, 00912 TRUE 00913 ); 00914 }
|