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
eebc4ff2
Commit
eebc4ff2
authored
Jun 17, 2009
by
jerryjacobs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Applied Hauptmech patch, highlight only current layer in high-contrast mode - tracker patch 2807379
parent
7abf06b3
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
0 deletions
+7
-0
about_kicad.cpp
common/about_kicad.cpp
+1
-0
class_pad_draw_functions.cpp
pcbnew/class_pad_draw_functions.cpp
+3
-0
class_track.cpp
pcbnew/class_track.cpp
+3
-0
No files found.
common/about_kicad.cpp
View file @
eebc4ff2
...
...
@@ -129,6 +129,7 @@ void InitKiCadAbout( wxAboutDialogInfo& info )
/* Add developers */
info
.
AddDeveloper
(
wxT
(
"Jean-Pierre Charras <jean-pierre.charras@gipsa-lab.inpg.fr>"
)
);
info
.
AddDeveloper
(
SetMsg
(
wxT
(
"Dick Hollenbeck <dick@softplc.com>"
)
)
);
info
.
AddDeveloper
(
SetMsg
(
wxT
(
"Hauptmech <hauptmech@gmail.com>"
)
)
);
info
.
AddDeveloper
(
SetMsg
(
wxT
(
"Jerry Jacobs <jerkejacobs@gmail.com>"
)
)
);
info
.
AddDeveloper
(
SetMsg
(
wxT
(
"Jonas Diemer <diemer@gmx.de>"
)
)
);
info
.
AddDeveloper
(
SetMsg
(
wxT
(
"KBool Library <http://boolean.klaasholwerda.nl/bool.html>"
)
)
);
...
...
pcbnew/class_pad_draw_functions.cpp
View file @
eebc4ff2
...
...
@@ -481,6 +481,8 @@ void D_PAD::Draw( WinEDA_DrawPanel* panel, wxDC* DC, int draw_mode, const wxPoin
if
(
screen
->
Scale
(
tsize
)
>=
CHAR_SIZE_MIN
)
// Not drawable in size too small.
{
if
(
!
(
!
IsOnLayer
(
screen
->
m_Active_Layer
)
&&
DisplayOpt
.
ContrastModeDisplay
)){
tpos
=
tpos0
;
if
(
display_padnum
)
tpos
.
y
+=
AreaSize
.
y
/
2
;
...
...
@@ -491,5 +493,6 @@ void D_PAD::Draw( WinEDA_DrawPanel* panel, wxDC* DC, int draw_mode, const wxPoin
WHITE
,
m_ShortNetname
,
t_angle
,
wxSize
(
tsize
,
tsize
),
GR_TEXT_HJUSTIFY_CENTER
,
GR_TEXT_VJUSTIFY_CENTER
,
tsize
/
7
,
false
,
false
);
}
}
}
pcbnew/class_track.cpp
View file @
eebc4ff2
...
...
@@ -684,11 +684,14 @@ void TRACK::Draw( WinEDA_DrawPanel* panel, wxDC* DC, int draw_mode, const wxPoin
angle
=
900
;
// angle is in 0.1 degree
if
(
panel
->
GetScreen
()
->
Scale
(
tsize
)
>=
6
)
{
if
(
!
(
!
IsOnLayer
(
curr_layer
)
&&
DisplayOpt
.
ContrastModeDisplay
)){
tsize
=
(
tsize
*
8
)
/
10
;
// small reduction to give a better look
DrawGraphicText
(
panel
,
DC
,
tpos
,
WHITE
,
net
->
GetShortNetname
(),
angle
,
wxSize
(
tsize
,
tsize
),
GR_TEXT_HJUSTIFY_CENTER
,
GR_TEXT_VJUSTIFY_CENTER
,
tsize
/
7
,
false
,
false
);
}
}
}
}
...
...
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