#include <ngsetop.h>
Inheritance diagram for OpSelectUnionSets:
Static Public Member Functions | |
static OpState | GetState (String_256 *, OpDescriptor *) |
Returns the UI state of this operation. | |
Private Member Functions | |
CC_DECLARE_DYNCREATE (OpSelectUnionSets) | |
virtual void | Do (OpDescriptor *) |
Performs the OPTOKEN_SELECT_UNION_SETS operation. |
Definition at line 144 of file ngsetop.h.
|
|
|
Performs the OPTOKEN_SELECT_UNION_SETS operation.
Reimplemented from Operation. Definition at line 203 of file ngsetop.cpp. 00204 { 00205 SelectUnionScan::Change option = SelectUnionScan::SELECT_EXCLUSIVE; 00206 if( KeyPress::IsGalleryCtrlPressed() ) 00207 option = SelectUnionScan::DESELECT; 00208 SelectUnionScan( option ).Scan(); 00209 End(); 00210 }
|
|
Returns the UI state of this operation.
Definition at line 185 of file ngsetop.cpp. 00186 { 00187 INT32 nTotal; 00188 NameGallery::Instance()->GetHighlightCount(&nTotal, 0); 00189 return OpState(FALSE, nTotal < 1); 00190 }
|