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
7816b717
Commit
7816b717
authored
Mar 31, 2010
by
vovanium
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added shortcut display for block drag in popup
parent
14f74f7a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
onrightclick.cpp
eeschema/onrightclick.cpp
+4
-1
No files found.
eeschema/onrightclick.cpp
View file @
7816b717
...
@@ -735,6 +735,7 @@ void AddMenusForPinSheet( wxMenu* PopMenu, SCH_SHEET_PIN* PinSheet )
...
@@ -735,6 +735,7 @@ void AddMenusForPinSheet( wxMenu* PopMenu, SCH_SHEET_PIN* PinSheet )
void
AddMenusForBlock
(
wxMenu
*
PopMenu
,
WinEDA_SchematicFrame
*
frame
)
void
AddMenusForBlock
(
wxMenu
*
PopMenu
,
WinEDA_SchematicFrame
*
frame
)
{
{
wxString
msg
;
ADD_MENUITEM
(
PopMenu
,
ID_POPUP_CANCEL_CURRENT_COMMAND
,
ADD_MENUITEM
(
PopMenu
,
ID_POPUP_CANCEL_CURRENT_COMMAND
,
_
(
"Cancel Block"
),
cancel_xpm
);
_
(
"Cancel Block"
),
cancel_xpm
);
...
@@ -753,7 +754,9 @@ void AddMenusForBlock( wxMenu* PopMenu, WinEDA_SchematicFrame* frame )
...
@@ -753,7 +754,9 @@ void AddMenusForBlock( wxMenu* PopMenu, WinEDA_SchematicFrame* frame )
ADD_MENUITEM
(
PopMenu
,
wxID_COPY
,
_
(
"Save Block"
),
copy_button
);
ADD_MENUITEM
(
PopMenu
,
wxID_COPY
,
_
(
"Save Block"
),
copy_button
);
ADD_MENUITEM
(
PopMenu
,
ID_POPUP_COPY_BLOCK
,
_
(
"Copy Block"
),
ADD_MENUITEM
(
PopMenu
,
ID_POPUP_COPY_BLOCK
,
_
(
"Copy Block"
),
copyblock_xpm
);
copyblock_xpm
);
ADD_MENUITEM
(
PopMenu
,
ID_POPUP_DRAG_BLOCK
,
_
(
"Drag Block"
),
msg
=
AddHotkeyName
(
_
(
"Drag Block"
),
s_Schematic_Hokeys_Descr
,
HK_MOVEBLOCK_TO_DRAGBLOCK
);
ADD_MENUITEM
(
PopMenu
,
ID_POPUP_DRAG_BLOCK
,
msg
,
move_xpm
);
move_xpm
);
ADD_MENUITEM
(
PopMenu
,
ID_POPUP_DELETE_BLOCK
,
_
(
"Delete Block"
),
ADD_MENUITEM
(
PopMenu
,
ID_POPUP_DELETE_BLOCK
,
_
(
"Delete Block"
),
delete_xpm
);
delete_xpm
);
...
...
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