Browse Source

typos

pull/1/head
Dick Hollenbeck 14 years ago
parent
commit
be57e57ee4
  1. 4
      CHANGELOG.txt
  2. 1
      pcbnew/class_board.cpp
  3. 2
      pcbnew/class_board_design_settings.cpp

4
CHANGELOG.txt

@ -21,12 +21,12 @@ email address.
* Removed dialog_copper_zones.h since DIALOG class is now declared in *.cpp.
* Renamed to enum ZONE_EDIT_T in zones.h
* SetVisibleAlls() is not called as it was in two previous cases for several
reasons. BOARD_DESIGN_SETTINGS constructor controls what is visible initially.
reasons. BOARD_DESIGN_SETTINGS constructor controls what is visible initially,
and in the near future so will the *.brd file. I believe the user should
have visibility setting rentention accross editing sessions of zones,
fields, etc.
* BOARD_DESIGN_SETTINGS constructor initializes hidden text as not visible.
* Added PCB_EDIT_FRAME::SyncRenderStates() and PCB_LAYER_WIDGET::syncRenderStates()
* Added PCB_EDIT_FRAME::syncRenderStates() and PCB_LAYER_WIDGET::SyncRenderStates()
so the checkboxes can be set after loading a BOARD file containing previous
visibility settings.

1
pcbnew/class_board.cpp

@ -532,7 +532,6 @@ void BOARD::SetVisibleElements( int aMask )
}
// these are not tidy, since there are PCB_VISIBLEs that are not stored in the bitmap.
void BOARD::SetVisibleAlls()
{
SetVisibleLayers( FULL_LAYERS );

2
pcbnew/class_board_design_settings.cpp

@ -21,7 +21,7 @@ BOARD_DESIGN_SETTINGS::BOARD_DESIGN_SETTINGS()
SetVisibleLayers( FULL_LAYERS );
// set all but hidden text as visible.
m_VisibleElements = -1 & ~( 1 << MOD_TEXT_INVISIBLE );
m_VisibleElements = ~( 1 << MOD_TEXT_INVISIBLE );
SetCopperLayerCount( 2 ); // Default design is a double sided board

Loading…
Cancel
Save