New zoom factors

This commit is contained in:
vesa_solonen 2009-02-04 18:17:24 +00:00
parent b833a46bad
commit 8e437b23b2
3 changed files with 11 additions and 5 deletions

View File

@ -5,6 +5,12 @@ Started 2007-June-11
Please add newer entries at the top, list the date and your name with Please add newer entries at the top, list the date and your name with
email address. email address.
2009-Feb-4 UPDATE Vesa Solonen <vesa.solonen@hut.fi>
================================================================================
++pcbnew:
++eeschema:
Zoom factors in 3th root series of 2. So two intermediates between half/double scale.
2009-Feb-04 UPDATE Wayne Stambaugh <stambaughw@verizon.net> 2009-Feb-04 UPDATE Wayne Stambaugh <stambaughw@verizon.net>
================================================================================ ================================================================================
++All ++All

View File

@ -79,8 +79,8 @@ void SCH_ITEM::Place( WinEDA_SchematicFrame* frame, wxDC* DC )
/* Class SCH_SCREEN: classe de gestion d'un affichage pour schematique */ /* Class SCH_SCREEN: classe de gestion d'un affichage pour schematique */
/***********************************************************************/ /***********************************************************************/
/* Default EESchema zoom values. */ /* Default EESchema zoom values. 3th root of 2 series up to 32 */
static int SchematicZoomList[] = { 10, 15, 20, 40, 80, 160, 320, 640, 1280 }; 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 ) / \ #define SCHEMATIC_ZOOM_LIST_CNT ( sizeof( SchematicZoomList ) / \
sizeof( int ) ) sizeof( int ) )

View File

@ -12,9 +12,9 @@
#include "id.h" #include "id.h"
/* Default PCB zoom coefficients. */ /* Default PCB zoom coefficients. 3th root of 2 series up to 256 */
static const int PcbZoomList[] = { 5, 10, 15, 20, 40, 80, 160, 320, 640, 1280, static const int PcbZoomList[] = { 5, 6, 8, 10, 13, 16, 20, 25, 32, 40, 50, 63, 80, 101, 127, 160, 202, 254, 320,
2560, 5120, 10240, 20480 }; 403, 508, 640, 806, 1016, 1280, 1613, 2032, 2560, 5120, 10240, 20480 };
#define PCB_ZOOM_LIST_CNT ( sizeof( PcbZoomList ) / sizeof( int ) ) #define PCB_ZOOM_LIST_CNT ( sizeof( PcbZoomList ) / sizeof( int ) )