#include <ngsetop.h>
Inheritance diagram for OpSelectIntersectSets:
Static Public Member Functions | |
static OpState | GetState (String_256 *, OpDescriptor *) |
Returns the UI state of this operation. | |
Private Member Functions | |
CC_DECLARE_DYNCREATE (OpSelectIntersectSets) | |
virtual void | Do (OpDescriptor *) |
Performs the OPTOKEN_SELECT_INTERSECT_SETS operation. |
Definition at line 165 of file ngsetop.h.
|
|
|
Performs the OPTOKEN_SELECT_INTERSECT_SETS operation.
Reimplemented from Operation. Definition at line 240 of file ngsetop.cpp. 00241 { 00242 SelectUnionScan option = SelectUnionScan::SELECT_EXCLUSIVE; 00243 if( KeyPress::IsGalleryCtrlPressed() ) 00244 option = SelectUnionScan::DESELECT; 00245 SelectUnionScan( option ).Scan(); 00246 End(); 00247 }
|
|
Returns the UI state of this operation.
Definition at line 222 of file ngsetop.cpp. 00223 { 00224 INT32 nTotal; 00225 NameGallery::Instance()->GetHighlightCount(&nTotal, 0); 00226 return OpState(FALSE, nTotal < 2); 00227 }
|