diff --git a/CHANGELOG.txt b/CHANGELOG.txt index f0ef9ae9ac..b7972d0f38 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -5,6 +5,12 @@ Started 2007-June-11 Please add newer entries at the top, list the date and your name with email address. +2009-Feb-4 UPDATE Vesa Solonen +================================================================================ +++pcbnew: +++eeschema: + Zoom factors in 3th root series of 2. So two intermediates between half/double scale. + 2009-Feb-04 UPDATE Wayne Stambaugh ================================================================================ ++All diff --git a/eeschema/class_screen.cpp b/eeschema/class_screen.cpp index f82cf52a46..8b47894aa5 100644 --- a/eeschema/class_screen.cpp +++ b/eeschema/class_screen.cpp @@ -79,8 +79,8 @@ void SCH_ITEM::Place( WinEDA_SchematicFrame* frame, wxDC* DC ) /* Class SCH_SCREEN: classe de gestion d'un affichage pour schematique */ /***********************************************************************/ -/* Default EESchema zoom values. */ -static int SchematicZoomList[] = { 10, 15, 20, 40, 80, 160, 320, 640, 1280 }; +/* Default EESchema zoom values. 3th root of 2 series up to 32 */ +static int SchematicZoomList[] = { 10, 13, 16, 20, 25, 32, 40, 50, 63, 80, 101, 127, 160, 202, 254, 320, 640, 1280 }; #define SCHEMATIC_ZOOM_LIST_CNT ( sizeof( SchematicZoomList ) / \ sizeof( int ) ) diff --git a/pcbnew/classpcb.cpp b/pcbnew/classpcb.cpp index b0ab1fdf4f..a389b5176e 100644 --- a/pcbnew/classpcb.cpp +++ b/pcbnew/classpcb.cpp @@ -12,9 +12,9 @@ #include "id.h" -/* Default PCB zoom coefficients. */ -static const int PcbZoomList[] = { 5, 10, 15, 20, 40, 80, 160, 320, 640, 1280, - 2560, 5120, 10240, 20480 }; +/* Default PCB zoom coefficients. 3th root of 2 series up to 256 */ +static const int PcbZoomList[] = { 5, 6, 8, 10, 13, 16, 20, 25, 32, 40, 50, 63, 80, 101, 127, 160, 202, 254, 320, + 403, 508, 640, 806, 1016, 1280, 1613, 2032, 2560, 5120, 10240, 20480 }; #define PCB_ZOOM_LIST_CNT ( sizeof( PcbZoomList ) / sizeof( int ) )