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
7a74bc96
Commit
7a74bc96
authored
Mar 20, 2011
by
jean-pierre charras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gerbview: very minor fixes
parent
2c72f821
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
8 deletions
+4
-8
events_called_functions.cpp
gerbview/events_called_functions.cpp
+0
-1
toolbars_gerber.cpp
gerbview/toolbars_gerber.cpp
+4
-7
No files found.
gerbview/events_called_functions.cpp
View file @
7a74bc96
...
...
@@ -68,7 +68,6 @@ EVT_TOOL( wxID_COPY, GERBVIEW_FRAME::Process_Special_Functions )
EVT_TOOL
(
wxID_PASTE
,
GERBVIEW_FRAME
::
Process_Special_Functions
)
EVT_TOOL
(
wxID_UNDO
,
GERBVIEW_FRAME
::
Process_Special_Functions
)
EVT_TOOL
(
wxID_PRINT
,
GERBVIEW_FRAME
::
ToPrinter
)
EVT_TOOL
(
ID_FIND_ITEMS
,
GERBVIEW_FRAME
::
Process_Special_Functions
)
EVT_KICAD_CHOICEBOX
(
ID_TOOLBARH_GERBVIEW_SELECT_ACTIVE_LAYER
,
GERBVIEW_FRAME
::
OnSelectActiveLayer
)
...
...
gerbview/toolbars_gerber.cpp
View file @
7a74bc96
...
...
@@ -48,24 +48,21 @@ void GERBVIEW_FRAME::ReCreateHToolbar( void )
_
(
"Print layers"
)
);
m_HToolBar
->
AddSeparator
();
msg
=
AddHotkeyName
(
_
(
"Zoom in"
),
s_Gerbview_Hokeys_Descr
,
HK_ZOOM_IN
);
msg
=
AddHotkeyName
(
_
(
"Zoom in"
),
s_Gerbview_Hokeys_Descr
,
HK_ZOOM_IN
,
false
);
m_HToolBar
->
AddTool
(
ID_ZOOM_IN
,
wxEmptyString
,
wxBitmap
(
zoom_in_xpm
),
msg
);
msg
=
AddHotkeyName
(
_
(
"Zoom out"
),
s_Gerbview_Hokeys_Descr
,
HK_ZOOM_OUT
);
msg
=
AddHotkeyName
(
_
(
"Zoom out"
),
s_Gerbview_Hokeys_Descr
,
HK_ZOOM_OUT
,
false
);
m_HToolBar
->
AddTool
(
ID_ZOOM_OUT
,
wxEmptyString
,
wxBitmap
(
zoom_out_xpm
),
msg
);
msg
=
AddHotkeyName
(
_
(
"Redraw view"
),
s_Gerbview_Hokeys_Descr
,
HK_ZOOM_REDRAW
);
msg
=
AddHotkeyName
(
_
(
"Redraw view"
),
s_Gerbview_Hokeys_Descr
,
HK_ZOOM_REDRAW
,
false
);
m_HToolBar
->
AddTool
(
ID_ZOOM_REDRAW
,
wxEmptyString
,
wxBitmap
(
zoom_redraw_xpm
),
msg
);
msg
=
AddHotkeyName
(
_
(
"Zoom auto"
),
s_Gerbview_Hokeys_Descr
,
HK_ZOOM_AUTO
);
msg
=
AddHotkeyName
(
_
(
"Zoom auto"
),
s_Gerbview_Hokeys_Descr
,
HK_ZOOM_AUTO
,
false
);
m_HToolBar
->
AddTool
(
ID_ZOOM_PAGE
,
wxEmptyString
,
wxBitmap
(
zoom_fit_in_page_xpm
),
msg
);
m_HToolBar
->
AddSeparator
();
m_HToolBar
->
AddTool
(
ID_FIND_ITEMS
,
wxEmptyString
,
wxBitmap
(
find_xpm
),
_
(
"Find D-codes"
)
);
wxArrayString
choices
;
m_HToolBar
->
AddSeparator
();
for
(
ii
=
0
;
ii
<
32
;
ii
++
)
{
msg
.
Printf
(
_
(
"Layer %d"
),
ii
+
1
);
...
...
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