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
1d9516c0
Commit
1d9516c0
authored
Aug 20, 2007
by
dickelbeck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
made GetCurItem() inline
parent
5c3b480a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
9 deletions
+2
-9
base_screen.cpp
common/base_screen.cpp
+0
-6
drawpanel_wxstruct.h
include/drawpanel_wxstruct.h
+2
-3
No files found.
common/base_screen.cpp
View file @
1d9516c0
...
@@ -555,12 +555,6 @@ EDA_BaseStruct* BASE_SCREEN::GetItemFromRedoList( void )
...
@@ -555,12 +555,6 @@ EDA_BaseStruct* BASE_SCREEN::GetItemFromRedoList( void )
}
}
EDA_BaseStruct
*
BASE_SCREEN
::
GetCurItem
()
{
return
m_CurrentItem
;
}
void
BASE_SCREEN
::
SetCurItem
(
EDA_BaseStruct
*
aCurItem
)
void
BASE_SCREEN
::
SetCurItem
(
EDA_BaseStruct
*
aCurItem
)
{
{
m_CurrentItem
=
aCurItem
;
m_CurrentItem
=
aCurItem
;
...
...
include/drawpanel_wxstruct.h
View file @
1d9516c0
...
@@ -260,13 +260,12 @@ public:
...
@@ -260,13 +260,12 @@ public:
/**
/**
* Function SetCurItem
* Function SetCurItem
* sets the currently selected object, m_CurrentItem.
* sets the currently selected object, m_CurrentItem.
* This intentionally not inlined so we can set breakpoints on the
* This i
s i
ntentionally not inlined so we can set breakpoints on the
* activity easier in base_screen.cpp.
* activity easier in base_screen.cpp.
* @param current Any object derived from EDA_BaseStruct
* @param current Any object derived from EDA_BaseStruct
*/
*/
void
SetCurItem
(
EDA_BaseStruct
*
current
);
void
SetCurItem
(
EDA_BaseStruct
*
current
);
EDA_BaseStruct
*
GetCurItem
();
EDA_BaseStruct
*
GetCurItem
()
const
{
return
m_CurrentItem
;
}
/* fonctions relatives au zoom */
/* fonctions relatives au zoom */
int
GetZoom
(
void
);
/* retourne le coeff de zoom */
int
GetZoom
(
void
);
/* retourne le coeff de zoom */
...
...
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