/dports/cad/kicad-devel/kicad-a17a58203b33e08b966075833b177dad5740c236/include/tool/ |
H A D | selection_conditions.h | 77 static bool ShowAlways( const SELECTION& aSelection ) in ShowAlways() argument 88 static bool ShowNever( const SELECTION& aSelection ) in ShowNever() argument 99 static bool NotEmpty( const SELECTION& aSelection ); 107 static bool Empty( const SELECTION& aSelection ); 115 static bool Idle( const SELECTION& aSelection ); 123 static bool IdleSelection( const SELECTION& aSelection ); 201 return aConditionA( aSelection ) || aConditionB( aSelection ); in orFunc() 208 return aConditionA( aSelection ) && aConditionB( aSelection ); in andFunc() 214 return !aCondition( aSelection ); in notFunc() 221 return aConditionA( aSelection ) || aConditionB( aSelection ); in orBoolFunc() [all …]
|
H A D | editor_conditions.h | 132 static bool contentModifiedFunc( const SELECTION& aSelection, EDA_BASE_FRAME* aFrame ); 135 static bool undoFunc( const SELECTION& aSelection, EDA_BASE_FRAME* aFrame ); 138 static bool redoFunc( const SELECTION& aSelection, EDA_BASE_FRAME* aFrame ); 141 static bool unitsFunc( const SELECTION& aSelection, EDA_BASE_FRAME* aFrame, EDA_UNITS aUnits ); 144 static bool toolFunc( const SELECTION& aSelection, EDA_BASE_FRAME* aFrame, 148 static bool noToolFunc( const SELECTION& aSelection, EDA_BASE_FRAME* aFrame ); 151 static bool gridFunc( const SELECTION& aSelection, EDA_DRAW_FRAME* aFrame ); 154 static bool polarCoordFunc( const SELECTION& aSelection, EDA_DRAW_FRAME* aFrame ); 157 static bool cursorFunc( const SELECTION& aSelection, EDA_DRAW_FRAME* aFrame ); 160 static bool consoleVisibleFunc( const SELECTION& aSelection, EDA_DRAW_FRAME* aFrame );
|
/dports/cad/kicad-devel/kicad-a17a58203b33e08b966075833b177dad5740c236/common/tool/ |
H A D | selection_conditions.cpp | 37 return !aSelection.Empty(); in NotEmpty() 43 return aSelection.Empty(); in Empty() 49 return ( !aSelection.Front() || aSelection.Front()->GetEditFlags() == 0 ); in Idle() 55 return ( aSelection.Front() && aSelection.Front()->GetEditFlags() == 0 ); in IdleSelection() 97 for( const auto& item : aSelection ) in hasTypeFunc() 109 if( aSelection.Empty() ) in onlyTypeFunc() 114 for( const auto& item : aSelection ) in onlyTypeFunc() 126 if( aSelection.Empty() ) in onlyTypesFunc() 129 for( const auto& item : aSelection ) in onlyTypesFunc() 147 return aSelection.Size() > aNumber; in moreThanFunc() [all …]
|
H A D | editor_conditions.cpp | 117 bool EDITOR_CONDITIONS::contentModifiedFunc( const SELECTION& aSelection, EDA_BASE_FRAME* aFrame ) in contentModifiedFunc() argument 123 bool EDITOR_CONDITIONS::undoFunc( const SELECTION& aSelection, EDA_BASE_FRAME* aFrame ) in undoFunc() argument 129 bool EDITOR_CONDITIONS::redoFunc( const SELECTION& aSelection, EDA_BASE_FRAME* aFrame ) in redoFunc() argument 135 bool EDITOR_CONDITIONS::unitsFunc( const SELECTION& aSelection, EDA_BASE_FRAME* aFrame, in unitsFunc() argument 142 bool EDITOR_CONDITIONS::toolFunc( const SELECTION& aSelection, EDA_BASE_FRAME* aFrame, in toolFunc() argument 149 bool EDITOR_CONDITIONS::noToolFunc( const SELECTION& aSelection, EDA_BASE_FRAME* aFrame ) in noToolFunc() argument 155 bool EDITOR_CONDITIONS::gridFunc( const SELECTION& aSelection, EDA_DRAW_FRAME* aFrame ) in gridFunc() argument 161 bool EDITOR_CONDITIONS::polarCoordFunc( const SELECTION& aSelection, EDA_DRAW_FRAME* aFrame ) in polarCoordFunc() argument 167 bool EDITOR_CONDITIONS::cursorFunc( const SELECTION& aSelection, EDA_DRAW_FRAME* aFrame ) in cursorFunc() argument 173 bool EDITOR_CONDITIONS::consoleVisibleFunc( const SELECTION& aSelection, EDA_DRAW_FRAME* aFrame ) in consoleVisibleFunc() argument
|
/dports/lang/spidermonkey78/firefox-78.9.0/accessible/atk/ |
H A D | nsMaiInterfaceSelection.cpp | 21 static gboolean addSelectionCB(AtkSelection* aSelection, gint i) { in addSelectionCB() argument 22 AccessibleWrap* accWrap = GetAccessibleWrap(ATK_OBJECT(aSelection)); in addSelectionCB() 27 if (ProxyAccessible* proxy = GetProxy(ATK_OBJECT(aSelection))) { in addSelectionCB() 34 static gboolean clearSelectionCB(AtkSelection* aSelection) { in clearSelectionCB() argument 40 if (ProxyAccessible* proxy = GetProxy(ATK_OBJECT(aSelection))) { in clearSelectionCB() 47 static AtkObject* refSelectionCB(AtkSelection* aSelection, gint i) { in refSelectionCB() argument 71 static gint getSelectionCountCB(AtkSelection* aSelection) { in getSelectionCountCB() argument 77 if (ProxyAccessible* proxy = GetProxy(ATK_OBJECT(aSelection))) { in getSelectionCountCB() 90 if (ProxyAccessible* proxy = GetProxy(ATK_OBJECT(aSelection))) { in isChildSelectedCB() 103 if (ProxyAccessible* proxy = GetProxy(ATK_OBJECT(aSelection))) { in removeSelectionCB() [all …]
|
/dports/www/firefox-esr/firefox-91.8.0/accessible/atk/ |
H A D | nsMaiInterfaceSelection.cpp | 21 static gboolean addSelectionCB(AtkSelection* aSelection, gint i) { in addSelectionCB() argument 22 AccessibleWrap* accWrap = GetAccessibleWrap(ATK_OBJECT(aSelection)); in addSelectionCB() 27 if (RemoteAccessible* proxy = GetProxy(ATK_OBJECT(aSelection))) { in addSelectionCB() 34 static gboolean clearSelectionCB(AtkSelection* aSelection) { in clearSelectionCB() argument 35 AccessibleWrap* accWrap = GetAccessibleWrap(ATK_OBJECT(aSelection)); in clearSelectionCB() 40 if (RemoteAccessible* proxy = GetProxy(ATK_OBJECT(aSelection))) { in clearSelectionCB() 47 static AtkObject* refSelectionCB(AtkSelection* aSelection, gint i) { in refSelectionCB() argument 71 static gint getSelectionCountCB(AtkSelection* aSelection) { in getSelectionCountCB() argument 77 if (RemoteAccessible* proxy = GetProxy(ATK_OBJECT(aSelection))) { in getSelectionCountCB() 90 if (RemoteAccessible* proxy = GetProxy(ATK_OBJECT(aSelection))) { in isChildSelectedCB() [all …]
|
/dports/mail/thunderbird/thunderbird-91.8.0/accessible/atk/ |
H A D | nsMaiInterfaceSelection.cpp | 21 static gboolean addSelectionCB(AtkSelection* aSelection, gint i) { in addSelectionCB() argument 22 AccessibleWrap* accWrap = GetAccessibleWrap(ATK_OBJECT(aSelection)); in addSelectionCB() 27 if (RemoteAccessible* proxy = GetProxy(ATK_OBJECT(aSelection))) { in addSelectionCB() 34 static gboolean clearSelectionCB(AtkSelection* aSelection) { in clearSelectionCB() argument 35 AccessibleWrap* accWrap = GetAccessibleWrap(ATK_OBJECT(aSelection)); in clearSelectionCB() 40 if (RemoteAccessible* proxy = GetProxy(ATK_OBJECT(aSelection))) { in clearSelectionCB() 47 static AtkObject* refSelectionCB(AtkSelection* aSelection, gint i) { in refSelectionCB() argument 71 static gint getSelectionCountCB(AtkSelection* aSelection) { in getSelectionCountCB() argument 77 if (RemoteAccessible* proxy = GetProxy(ATK_OBJECT(aSelection))) { in getSelectionCountCB() 90 if (RemoteAccessible* proxy = GetProxy(ATK_OBJECT(aSelection))) { in isChildSelectedCB() [all …]
|
/dports/lang/spidermonkey60/firefox-60.9.0/accessible/atk/ |
H A D | nsMaiInterfaceSelection.cpp | 21 static gboolean addSelectionCB(AtkSelection* aSelection, gint i) { in addSelectionCB() argument 22 AccessibleWrap* accWrap = GetAccessibleWrap(ATK_OBJECT(aSelection)); in addSelectionCB() 27 if (ProxyAccessible* proxy = GetProxy(ATK_OBJECT(aSelection))) { in addSelectionCB() 34 static gboolean clearSelectionCB(AtkSelection* aSelection) { in clearSelectionCB() argument 40 if (ProxyAccessible* proxy = GetProxy(ATK_OBJECT(aSelection))) { in clearSelectionCB() 47 static AtkObject* refSelectionCB(AtkSelection* aSelection, gint i) { in refSelectionCB() argument 71 static gint getSelectionCountCB(AtkSelection* aSelection) { in getSelectionCountCB() argument 77 if (ProxyAccessible* proxy = GetProxy(ATK_OBJECT(aSelection))) { in getSelectionCountCB() 90 if (ProxyAccessible* proxy = GetProxy(ATK_OBJECT(aSelection))) { in isChildSelectedCB() 103 if (ProxyAccessible* proxy = GetProxy(ATK_OBJECT(aSelection))) { in removeSelectionCB() [all …]
|
/dports/www/firefox-legacy/firefox-52.8.0esr/accessible/atk/ |
H A D | nsMaiInterfaceSelection.cpp | 22 addSelectionCB(AtkSelection *aSelection, gint i) in addSelectionCB() argument 24 AccessibleWrap* accWrap = GetAccessibleWrap(ATK_OBJECT(aSelection)); in addSelectionCB() 29 if (ProxyAccessible* proxy = GetProxy(ATK_OBJECT(aSelection))) { in addSelectionCB() 37 clearSelectionCB(AtkSelection *aSelection) in clearSelectionCB() argument 44 if (ProxyAccessible* proxy = GetProxy(ATK_OBJECT(aSelection))) { in clearSelectionCB() 52 refSelectionCB(AtkSelection *aSelection, gint i) in refSelectionCB() argument 78 getSelectionCountCB(AtkSelection *aSelection) in getSelectionCountCB() argument 85 if (ProxyAccessible* proxy = GetProxy(ATK_OBJECT(aSelection))) { in getSelectionCountCB() 93 isChildSelectedCB(AtkSelection *aSelection, gint i) in isChildSelectedCB() argument 108 removeSelectionCB(AtkSelection *aSelection, gint i) in removeSelectionCB() argument [all …]
|
/dports/lang/spidermonkey60/firefox-60.9.0/editor/libeditor/ |
H A D | TextEditRules.cpp | 262 UndefineCaretBidiLevel(aSelection); in WillDoAction() 291 WillInsert(*aSelection, aCancel); in WillDoAction() 396 if (!aSelection->IsCollapsed()) { in WillInsertBreak() 402 WillInsert(*aSelection, aCancel); in WillInsertBreak() 416 Selection* aSelection) { in CollapseSelectionToTrailingBRIfNeeded() argument 429 if (!aSelection->RangeCount()) { in CollapseSelectionToTrailingBRIfNeeded() 623 if (!aSelection->IsCollapsed()) { in WillInsertText() 629 WillInsert(*aSelection, aCancel); in WillInsertText() 782 WillInsert(aSelection, aCancel); in WillSetText() 963 if (!aSelection->IsCollapsed()) { in WillDeleteSelection() [all …]
|
H A D | TextEditRules.h | 128 nsresult DidInsertText(Selection* aSelection, nsresult aResult); 136 nsresult DidSetText(Selection& aSelection, nsresult aResult); 138 void WillInsert(Selection& aSelection, bool* aCancel); 139 nsresult DidInsert(Selection* aSelection, nsresult aResult); 141 nsresult WillDeleteSelection(Selection* aSelection, 144 nsresult DidDeleteSelection(Selection* aSelection, 157 nsresult DidUndo(Selection* aSelection, nsresult aResult); 160 nsresult DidRedo(Selection* aSelection, nsresult aResult); 189 nsresult CreateBogusNodeIfNeeded(Selection* aSelection); 195 nsresult TruncateInsertionIfNeeded(Selection* aSelection, [all …]
|
H A D | HTMLEditRules.h | 100 void WillDeleteSelection(Selection* aSelection); 130 nsresult InsertBRElement(Selection& aSelection, 135 nsresult WillDeleteSelection(Selection* aSelection, 141 nsresult InsertBRIfNeeded(Selection* aSelection); 238 nsresult WillMakeDefListItem(Selection* aSelection, 241 nsresult WillMakeBasicBlock(Selection& aSelection, 325 Selection* aSelection, 336 void GetPromotedRanges(Selection& aSelection, 353 Selection& aSelection, EditAction aOperation, 428 nsresult AdjustWhitespace(Selection* aSelection); [all …]
|
/dports/www/firefox-legacy/firefox-52.8.0esr/editor/libeditor/ |
H A D | TextEditRules.cpp | 262 UndefineCaretBidiLevel(aSelection); in WillDoAction() 266 UndefineCaretBidiLevel(aSelection); in WillDoAction() 286 WillInsert(*aSelection, aCancel); in WillDoAction() 317 return DidUndo(aSelection, aResult); in DidDoAction() 319 return DidRedo(aSelection, aResult); in DidDoAction() 408 WillInsert(*aSelection, aCancel); in WillInsertBreak() 438 if (!aSelection->RangeCount()) { in CollapseSelectionToTrailingBRIfNeeded() 657 WillInsert(*aSelection, aCancel); in WillInsertText() 773 return DidInsert(aSelection, aResult); in DidInsertText() 1027 if (!aSelection) { in DidRedo() [all …]
|
H A D | TextEditRules.h | 120 Selection* aSelection, 133 void WillInsert(Selection& aSelection, bool* aCancel); 136 nsresult WillDeleteSelection(Selection* aSelection, 140 nsresult DidDeleteSelection(Selection* aSelection, 153 nsresult DidUndo(Selection* aSelection, nsresult aResult); 156 nsresult DidRedo(Selection* aSelection, nsresult aResult); 166 nsresult WillOutputText(Selection* aSelection, 187 nsresult CreateBogusNodeIfNeeded(Selection* aSelection); 193 nsresult TruncateInsertionIfNeeded(Selection* aSelection, 207 void UndefineCaretBidiLevel(Selection* aSelection); [all …]
|
H A D | HTMLEditRules.h | 143 Selection* aSelection, 153 Selection& aSelection); 160 nsresult DidDeleteSelection(Selection* aSelection, 163 nsresult InsertBRIfNeeded(Selection* aSelection); 175 nsresult WillMakeList(Selection* aSelection, 199 nsresult WillMakeBasicBlock(Selection& aSelection, 224 Selection* aSelection, 266 void GetPromotedRanges(Selection& aSelection, 284 Selection& aSelection, 323 nsresult AdjustWhitespace(Selection* aSelection); [all …]
|
H A D | HTMLEditRules.cpp | 576 if (!aSelection) { in WillDoAction() 1175 if (!aSelection.Collapsed()) { in WillInsert() 1247 if (!aSelection->Collapsed()) { in WillInsertText() 1475 if (!aSelection.Collapsed()) { in WillInsertBreak() 1481 WillInsert(aSelection, aCancel); in WillInsertBreak() 2953 if (!aSelection) { in DidDeleteSelection() 3563 if (aSelection->Collapsed()) { in WillCSSIndent() 4570 aSelection.GetRangeAt(0) ? aSelection.GetRangeAt(0)->GetStartParent() in WillAlign() 4993 if (aSelection.Collapsed()) { in ExpandSelectionForDeletion() 7237 if (!aSelection.Collapsed()) { in CheckInterlinePosition() [all …]
|
/dports/cad/opencascade/opencascade-7.6.0/src/SelectMgr/ |
H A D | SelectMgr_SelectionManager.cxx | 137 switch (aSelection->UpdateStatus()) in Activate() 151 theObject->UpdateTransformations (aSelection); in Activate() 158 aSelection->UpdateStatus(SelectMgr_TOU_None); in Activate() 160 switch (aSelection->BVHUpdateStatus()) in Activate() 179 aSelection->UpdateBVHStatus (SelectMgr_TBU_None); in Activate() 255 if (aSelection.IsNull()) in IsActivated() 259 return !aSelection.IsNull() in IsActivated() 291 aSelection->UpdateBVHStatus (SelectMgr_TBU_Add); in ClearSelectionStructures() 300 aSelection->UpdateBVHStatus (SelectMgr_TBU_Add); in ClearSelectionStructures() 446 switch (aSelection->UpdateStatus()) in Update() [all …]
|
/dports/www/firefox/firefox-99.0/accessible/atk/ |
H A D | nsMaiInterfaceSelection.cpp | 21 static gboolean addSelectionCB(AtkSelection* aSelection, gint i) { in addSelectionCB() argument 22 Accessible* acc = GetInternalObj(ATK_OBJECT(aSelection)); in addSelectionCB() 30 static gboolean clearSelectionCB(AtkSelection* aSelection) { in clearSelectionCB() argument 31 Accessible* acc = GetInternalObj(ATK_OBJECT(aSelection)); in clearSelectionCB() 41 Accessible* acc = GetInternalObj(ATK_OBJECT(aSelection)); in refSelectionCB() 54 static gint getSelectionCountCB(AtkSelection* aSelection) { in getSelectionCountCB() argument 55 Accessible* acc = GetInternalObj(ATK_OBJECT(aSelection)); in getSelectionCountCB() 64 Accessible* acc = GetInternalObj(ATK_OBJECT(aSelection)); in isChildSelectedCB() 73 Accessible* acc = GetInternalObj(ATK_OBJECT(aSelection)); in removeSelectionCB() 81 static gboolean selectAllSelectionCB(AtkSelection* aSelection) { in selectAllSelectionCB() argument [all …]
|
/dports/cad/kicad-devel/kicad-a17a58203b33e08b966075833b177dad5740c236/pcbnew/tools/ |
H A D | pcb_selection_conditions.cpp | 36 bool PCB_SELECTION_CONDITIONS::OnlyConnectedItems( const SELECTION& aSelection ) in OnlyConnectedItems() argument 38 if( aSelection.Empty() ) in OnlyConnectedItems() 41 for( const auto &item : aSelection ) in OnlyConnectedItems() 74 if( aSelection.Empty() ) in sameNetFunc() 79 for( const auto& aitem : aSelection ) in sameNetFunc() 118 bool PCB_SELECTION_CONDITIONS::sameLayerFunc( const SELECTION& aSelection ) in sameLayerFunc() argument 120 if( aSelection.Empty() ) in sameLayerFunc() 126 for( const auto& i : aSelection ) in sameLayerFunc() 139 bool PCB_SELECTION_CONDITIONS::onlyGraphicShapeTypesFunc( const SELECTION& aSelection, in onlyGraphicShapeTypesFunc() argument 142 if( aSelection.Empty() ) in onlyGraphicShapeTypesFunc() [all …]
|
H A D | pcb_editor_conditions.h | 114 static bool hasItemsFunc( const SELECTION& aSelection, PCB_BASE_FRAME* aFrame ); 117 static bool padNumberDisplayFunc( const SELECTION& aSelection, PCB_BASE_FRAME* aFrame ); 120 static bool padFillDisplayFunc( const SELECTION& aSelection, PCB_BASE_FRAME* aFrame ); 123 static bool textFillDisplayFunc( const SELECTION& aSelection, PCB_BASE_FRAME* aFrame ); 126 static bool graphicsFillDisplayFunc( const SELECTION& aSelection, PCB_BASE_FRAME* aFrame ); 129 static bool viaFillDisplayFunc( const SELECTION& aSelection, PCB_BASE_FRAME* aFrame ); 132 static bool trackFillDisplayFunc( const SELECTION& aSelection, PCB_BASE_FRAME* aFrame ); 135 static bool zoneDisplayModeFunc( const SELECTION& aSelection, PCB_BASE_FRAME* aFrame, 139 static bool get45degModeFunc( const SELECTION& aSelection, PCB_BASE_FRAME* aFrame );
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/extensions/source/propctrlr/ |
H A D | listselectiondlg.cxx | 82 Sequence< sal_Int16 > aSelection; in initialize() local 83 OSL_VERIFY( m_xListBox->getPropertyValue( m_sPropertyName ) >>= aSelection ); in initialize() 84 selectEntries( aSelection ); in initialize() 97 std::vector< sal_Int16 > aSelection; in commitSelection() local 98 collectSelection( aSelection ); in commitSelection() 102 …stBox->setPropertyValue( m_sPropertyName, makeAny( comphelper::containerToSequence(aSelection) ) ); in commitSelection() 121 auto aSelection = m_xEntries->get_selected_rows(); in collectSelection() local 122 _rSelection.resize(aSelection.size()); in collectSelection() 123 for (auto row : aSelection) in collectSelection()
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/extensions/source/propctrlr/ |
H A D | listselectiondlg.cxx | 83 Sequence< sal_Int16 > aSelection; in initialize() local 84 OSL_VERIFY( m_xListBox->getPropertyValue( m_sPropertyName ) >>= aSelection ); in initialize() 85 selectEntries( aSelection ); in initialize() 98 std::vector< sal_Int16 > aSelection; in commitSelection() local 99 collectSelection( aSelection ); in commitSelection() 103 …stBox->setPropertyValue( m_sPropertyName, makeAny( comphelper::containerToSequence(aSelection) ) ); in commitSelection() 122 auto aSelection = m_xEntries->get_selected_rows(); in collectSelection() local 123 _rSelection.resize(aSelection.size()); in collectSelection() 124 for (auto row : aSelection) in collectSelection()
|
/dports/www/firefox/firefox-99.0/widget/ |
H A D | ContentCache.h | 146 if (!aSelection.mHasRange) { 149 aStream << "mAnchor=" << aSelection.mAnchor 151 << ToString(aSelection.mWritingMode).c_str(); 153 if (aSelection.HasRects()) { 154 if (aSelection.mAnchor > 0) { 160 if (aSelection.mFocus > 0) { 166 << ", mRect=" << aSelection.mRect; 168 if (aSelection.mHasRange) { 171 << ", EndOffset()=" << aSelection.EndOffset() 173 << (aSelection.IsCollapsed() ? "true" : "false") [all …]
|
/dports/mail/thunderbird/thunderbird-91.8.0/widget/ |
H A D | ContentCache.h | 120 const Selection& aSelection) { 121 aStream << "{ mAnchor=" << aSelection.mAnchor 122 << ", mFocus=" << aSelection.mFocus 124 if (aSelection.HasRects()) { 125 if (aSelection.mAnchor > 0) { 131 if (aSelection.mFocus > 0) { 137 << ", mRect=" << aSelection.mRect; 140 << ", StartOffset()=" << aSelection.StartOffset() 141 << ", EndOffset()=" << aSelection.EndOffset() 143 << ", Length()=" << aSelection.Length() << " }"; [all …]
|
/dports/www/firefox-esr/firefox-91.8.0/widget/ |
H A D | ContentCache.h | 120 const Selection& aSelection) { 121 aStream << "{ mAnchor=" << aSelection.mAnchor 122 << ", mFocus=" << aSelection.mFocus 124 if (aSelection.HasRects()) { 125 if (aSelection.mAnchor > 0) { 131 if (aSelection.mFocus > 0) { 137 << ", mRect=" << aSelection.mRect; 140 << ", StartOffset()=" << aSelection.StartOffset() 141 << ", EndOffset()=" << aSelection.EndOffset() 143 << ", Length()=" << aSelection.Length() << " }"; [all …]
|