Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
kicad-source-mirror
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
kicad-source-mirror
Commits
c0b31f92
Commit
c0b31f92
authored
Feb 14, 2009
by
charras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Zoom 0.5 added in eeschema and pcbnew. Some artefacts when drawings filled zones accepted.
parent
053093fa
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
9 deletions
+12
-9
class_screen.cpp
eeschema/class_screen.cpp
+3
-2
build_version.h
include/build_version.h
+2
-2
id.h
include/id.h
+4
-3
classpcb.cpp
pcbnew/classpcb.cpp
+3
-2
No files found.
eeschema/class_screen.cpp
View file @
c0b31f92
...
...
@@ -79,10 +79,11 @@ void SCH_ITEM::Place( WinEDA_SchematicFrame* frame, wxDC* DC )
/* Class SCH_SCREEN: classe de gestion d'un affichage pour schematique */
/***********************************************************************/
/* Default EESchema zoom values. Limited to 15 values to keep a decent size to menus */
/* Default EESchema zoom values. Limited to 17 values to keep a decent size to menus
*/
static
int
SchematicZoomList
[]
=
{
10
,
15
,
20
,
30
,
40
,
60
,
80
,
120
,
160
,
230
,
320
,
480
,
640
,
800
,
1280
5
,
7
,
10
,
15
,
20
,
30
,
40
,
60
,
80
,
120
,
160
,
230
,
320
,
480
,
640
,
800
,
1280
};
#define SCHEMATIC_ZOOM_LIST_CNT ( sizeof( SchematicZoomList ) / \
...
...
include/build_version.h
View file @
c0b31f92
...
...
@@ -9,7 +9,7 @@ COMMON_GLOBL wxString g_BuildVersion
# include "config.h"
(
wxT
(
KICAD_SVN_VERSION
))
# else
(
wxT
(
"(200902
06-unstable
)"
))
/* main program version */
(
wxT
(
"(200902
14-RC1
)"
))
/* main program version */
# endif
#endif
;
...
...
@@ -20,7 +20,7 @@ COMMON_GLOBL wxString g_BuildAboutVersion
# include "config.h"
(
wxT
(
KICAD_ABOUT_VERSION
))
# else
(
wxT
(
"(200902
06-unstable
)"
))
/* svn date & rev (normally overridden) */
(
wxT
(
"(200902
14-RC1
)"
))
/* svn date & rev (normally overridden) */
# endif
#endif
;
...
...
include/id.h
View file @
c0b31f92
...
...
@@ -213,15 +213,16 @@ enum main_id {
ID_POPUP_ZOOM_SELECT
,
ID_POPUP_ZOOM_CENTER
,
/* Reserve IDs for popup menu zoom levels. If you need more
than 15
/* Reserve IDs for popup menu zoom levels. If you need more
* levels of zoom, change ID_POPUP_ZOOM_LEVEL_END. Note that more
* than 15 entries in a context submenu may get too large to display
* cleanly. Add any additional popup zoom IDs above here or the
* zoom event handler will not work properly.
* currently set to 18. This is a compromise for pcbnew. For schematic 15 is enought
* currently room is provided for 32 levels (this is a very large value).
* Pcbnew use 18 values. For schematic 15 is enought
*/
ID_POPUP_ZOOM_LEVEL_START
,
ID_POPUP_ZOOM_LEVEL_END
=
ID_POPUP_ZOOM_LEVEL_START
+
18
,
ID_POPUP_ZOOM_LEVEL_END
=
ID_POPUP_ZOOM_LEVEL_START
+
32
,
ID_POPUP_ZOOM_END_RANGE
,
// last zoom id
ID_POPUP_GRID_PLUS
,
...
...
pcbnew/classpcb.cpp
View file @
c0b31f92
...
...
@@ -13,14 +13,15 @@
/* Default pcbnew zoom values.
* Limited to 1
8
values to keep a decent size to menus
* Limited to 1
9
values to keep a decent size to menus
* 15 it better but does not allow a sufficient number of values
* roughtly a 1.5 progression.
* The last 2 values is handy when somebody uses a library import of a module
* (or foreign data) which has a bad coordinate
* Also useful in Gerbview for this reason.
* Zoom 5 and 10 can create artefacts when drawing (integer overflow in low level graphic functions )
*/
static
const
int
PcbZoomList
[]
=
{
10
,
15
,
22
,
30
,
45
,
70
,
100
,
150
,
220
,
350
,
500
,
800
,
1200
,
static
const
int
PcbZoomList
[]
=
{
5
,
10
,
15
,
22
,
30
,
45
,
70
,
100
,
150
,
220
,
350
,
500
,
800
,
1200
,
2000
,
3500
,
5000
,
10000
,
20000
};
#define PCB_ZOOM_LIST_CNT ( sizeof( PcbZoomList ) / sizeof( int ) )
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment