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
74b4e032
Commit
74b4e032
authored
Nov 01, 2007
by
dickelbeck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
track tool select redraw when highlight is active bug fix
parent
357e3d6a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
2 deletions
+11
-2
change_log.txt
change_log.txt
+3
-1
drawframe.cpp
share/drawframe.cpp
+8
-1
No files found.
change_log.txt
View file @
74b4e032
...
@@ -20,10 +20,12 @@ email address.
...
@@ -20,10 +20,12 @@ email address.
comments in member functions and classes. Run Doxygen on the project, then
comments in member functions and classes. Run Doxygen on the project, then
look at the documentation for class INSPECTOR as an example.
look at the documentation for class INSPECTOR as an example.
+ pcbnew
+ pcbnew
zones.cpp, Trace_Pcb(), & EDGE_ZONE class:
*
zones.cpp, Trace_Pcb(), & EDGE_ZONE class:
Reversed the usage of EDGE_ZONE::Pnext and Pback in the list management to be
Reversed the usage of EDGE_ZONE::Pnext and Pback in the list management to be
consistent with other classes and with BOARD_ITEM::IterateForward() and
consistent with other classes and with BOARD_ITEM::IterateForward() and
BOARD::~BOARD().
BOARD::~BOARD().
* Fixed a display bug when high contrast mode is enabled and the track tool
is selected.
2007-Oct-31 UPDATE Jean-Pierre Charras <jean-pierre.charras@inpg.fr>
2007-Oct-31 UPDATE Jean-Pierre Charras <jean-pierre.charras@inpg.fr>
...
...
share/drawframe.cpp
View file @
74b4e032
...
@@ -506,6 +506,8 @@ void WinEDA_DrawFrame::SetToolID( int id, int new_cursor_id,
...
@@ -506,6 +506,8 @@ void WinEDA_DrawFrame::SetToolID( int id, int new_cursor_id,
* Met a jour seulement les variables message et curseur
* Met a jour seulement les variables message et curseur
*/
*/
{
{
bool
redraw
=
false
;
// Change Cursor
// Change Cursor
if
(
DrawPanel
)
if
(
DrawPanel
)
{
{
...
@@ -524,7 +526,7 @@ void WinEDA_DrawFrame::SetToolID( int id, int new_cursor_id,
...
@@ -524,7 +526,7 @@ void WinEDA_DrawFrame::SetToolID( int id, int new_cursor_id,
||
(
m_ID_current_state
!=
ID_TRACK_BUTT
&&
id
==
ID_TRACK_BUTT
)
)
||
(
m_ID_current_state
!=
ID_TRACK_BUTT
&&
id
==
ID_TRACK_BUTT
)
)
{
{
if
(
DisplayOpt
.
ContrastModeDisplay
)
if
(
DisplayOpt
.
ContrastModeDisplay
)
ReDrawPanel
()
;
redraw
=
true
;
}
}
#endif
#endif
...
@@ -564,6 +566,11 @@ void WinEDA_DrawFrame::SetToolID( int id, int new_cursor_id,
...
@@ -564,6 +566,11 @@ void WinEDA_DrawFrame::SetToolID( int id, int new_cursor_id,
m_VToolBar
->
ToggleTool
(
ID_NO_SELECT_BUTT
,
TRUE
);
m_VToolBar
->
ToggleTool
(
ID_NO_SELECT_BUTT
,
TRUE
);
m_ID_current_state
=
id
;
m_ID_current_state
=
id
;
// must do this after the tool has been set, otherwise pad::Draw() does
// not show proper color when DisplayOpt.ContrastModeDisplay is true.
if
(
redraw
)
ReDrawPanel
();
}
}
...
...
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