Loading common/class_undoredo_container.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -195,7 +195,7 @@ UNDO_REDO_T PICKED_ITEMS_LIST::GetPickedItemStatus( unsigned int aIdx ) } int PICKED_ITEMS_LIST::GetPickerFlags( unsigned aIdx ) STATUS_FLAGS PICKED_ITEMS_LIST::GetPickerFlags( unsigned aIdx ) { if( aIdx < m_ItemsList.size() ) return m_ItemsList[aIdx].GetFlags(); Loading Loading @@ -253,7 +253,7 @@ bool PICKED_ITEMS_LIST::SetPickedItemStatus( UNDO_REDO_T aStatus, unsigned aIdx } bool PICKED_ITEMS_LIST::SetPickerFlags( int aFlags, unsigned aIdx ) bool PICKED_ITEMS_LIST::SetPickerFlags( STATUS_FLAGS aFlags, unsigned aIdx ) { if( aIdx < m_ItemsList.size() ) { Loading eeschema/edit_bitmap.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -85,7 +85,7 @@ static void moveBitmap( EDA_DRAW_PANEL* aPanel, wxDC* aDC, const wxPoint& aPosit dirty.Inflate( 4 ); // Give a margin aPanel->SetMouseCapture( NULL, NULL ); // Avoid loop in redraw panel int flgs = image->GetFlags(); STATUS_FLAGS flgs = image->GetFlags(); image->ClearFlags(); aPanel->RefreshDrawingRect( dirty ); image->SetFlags( flgs ); Loading eeschema/getpart.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -360,7 +360,7 @@ void SCH_EDIT_FRAME::OnSelectUnit( wxCommandEvent& aEvent ) if( unit > unitCount ) unit = unitCount; int flags = component->GetFlags(); STATUS_FLAGS flags = component->GetFlags(); if( !flags ) // No command in progress: save in undo list SaveCopyInUndoList( component, UR_CHANGED ); Loading Loading @@ -405,7 +405,7 @@ void SCH_EDIT_FRAME::ConvertPart( SCH_COMPONENT* DrawComponent, wxDC* DC ) return; } int flags = DrawComponent->GetFlags(); STATUS_FLAGS flags = DrawComponent->GetFlags(); if( DrawComponent->GetFlags() ) DrawComponent->Draw( m_canvas, DC, wxPoint( 0, 0 ), g_XorMode, g_GhostColor ); Loading eeschema/lib_arc.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -574,7 +574,7 @@ wxString LIB_ARC::GetSelectMenuText() const } void LIB_ARC::BeginEdit( int aEditMode, const wxPoint aPosition ) void LIB_ARC::BeginEdit( STATUS_FLAGS aEditMode, const wxPoint aPosition ) { wxCHECK_RET( ( aEditMode & ( IS_NEW | IS_MOVED | IS_RESIZED ) ) != 0, wxT( "Invalid edit mode for LIB_ARC object." ) ); Loading eeschema/lib_arc.h +1 −1 Original line number Diff line number Diff line Loading @@ -110,7 +110,7 @@ public: int GetPenSize() const; void BeginEdit( int aEditMode, const wxPoint aStartPoint = wxPoint( 0, 0 ) ); void BeginEdit( STATUS_FLAGS aEditMode, const wxPoint aStartPoint = wxPoint( 0, 0 ) ); bool ContinueEdit( const wxPoint aNextPoint ); Loading Loading
common/class_undoredo_container.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -195,7 +195,7 @@ UNDO_REDO_T PICKED_ITEMS_LIST::GetPickedItemStatus( unsigned int aIdx ) } int PICKED_ITEMS_LIST::GetPickerFlags( unsigned aIdx ) STATUS_FLAGS PICKED_ITEMS_LIST::GetPickerFlags( unsigned aIdx ) { if( aIdx < m_ItemsList.size() ) return m_ItemsList[aIdx].GetFlags(); Loading Loading @@ -253,7 +253,7 @@ bool PICKED_ITEMS_LIST::SetPickedItemStatus( UNDO_REDO_T aStatus, unsigned aIdx } bool PICKED_ITEMS_LIST::SetPickerFlags( int aFlags, unsigned aIdx ) bool PICKED_ITEMS_LIST::SetPickerFlags( STATUS_FLAGS aFlags, unsigned aIdx ) { if( aIdx < m_ItemsList.size() ) { Loading
eeschema/edit_bitmap.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -85,7 +85,7 @@ static void moveBitmap( EDA_DRAW_PANEL* aPanel, wxDC* aDC, const wxPoint& aPosit dirty.Inflate( 4 ); // Give a margin aPanel->SetMouseCapture( NULL, NULL ); // Avoid loop in redraw panel int flgs = image->GetFlags(); STATUS_FLAGS flgs = image->GetFlags(); image->ClearFlags(); aPanel->RefreshDrawingRect( dirty ); image->SetFlags( flgs ); Loading
eeschema/getpart.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -360,7 +360,7 @@ void SCH_EDIT_FRAME::OnSelectUnit( wxCommandEvent& aEvent ) if( unit > unitCount ) unit = unitCount; int flags = component->GetFlags(); STATUS_FLAGS flags = component->GetFlags(); if( !flags ) // No command in progress: save in undo list SaveCopyInUndoList( component, UR_CHANGED ); Loading Loading @@ -405,7 +405,7 @@ void SCH_EDIT_FRAME::ConvertPart( SCH_COMPONENT* DrawComponent, wxDC* DC ) return; } int flags = DrawComponent->GetFlags(); STATUS_FLAGS flags = DrawComponent->GetFlags(); if( DrawComponent->GetFlags() ) DrawComponent->Draw( m_canvas, DC, wxPoint( 0, 0 ), g_XorMode, g_GhostColor ); Loading
eeschema/lib_arc.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -574,7 +574,7 @@ wxString LIB_ARC::GetSelectMenuText() const } void LIB_ARC::BeginEdit( int aEditMode, const wxPoint aPosition ) void LIB_ARC::BeginEdit( STATUS_FLAGS aEditMode, const wxPoint aPosition ) { wxCHECK_RET( ( aEditMode & ( IS_NEW | IS_MOVED | IS_RESIZED ) ) != 0, wxT( "Invalid edit mode for LIB_ARC object." ) ); Loading
eeschema/lib_arc.h +1 −1 Original line number Diff line number Diff line Loading @@ -110,7 +110,7 @@ public: int GetPenSize() const; void BeginEdit( int aEditMode, const wxPoint aStartPoint = wxPoint( 0, 0 ) ); void BeginEdit( STATUS_FLAGS aEditMode, const wxPoint aStartPoint = wxPoint( 0, 0 ) ); bool ContinueEdit( const wxPoint aNextPoint ); Loading