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
b22aba20
Commit
b22aba20
authored
Jun 16, 2014
by
Bernhard Stegmaier
Committed by
Dick Hollenbeck
Jun 16, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes
parent
a457dffd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
6 deletions
+9
-6
kiface_i.cpp
common/kiface_i.cpp
+7
-4
pl_editor_frame.h
pagelayout_editor/pl_editor_frame.h
+2
-2
No files found.
common/kiface_i.cpp
View file @
b22aba20
...
...
@@ -123,10 +123,13 @@ bool KIFACE_I::start_common( int aCtlBits )
void
KIFACE_I
::
end_common
()
{
/* Save common preferences; the background still uses the old legacy
* color numbers, not the new names */
m_bm
.
m_config
->
Write
(
showPageLimitsKey
,
g_ShowPageLimits
);
m_bm
.
m_config
->
Write
(
backgroundColorKey
,
int
(
g_DrawBgColor
)
);
if
(
m_bm
.
m_config
)
{
// Save common preferences; the background still uses the old legacy
// color numbers, not the new names
m_bm
.
m_config
->
Write
(
showPageLimitsKey
,
g_ShowPageLimits
);
m_bm
.
m_config
->
Write
(
backgroundColorKey
,
int
(
g_DrawBgColor
)
);
}
m_bm
.
End
();
}
...
...
pagelayout_editor/pl_editor_frame.h
View file @
b22aba20
...
...
@@ -108,9 +108,9 @@ public:
const
PAGE_INFO
&
GetPageSettings
()
const
;
// overload EDA_DRAW_FRAME
const
wxSize
GetPageSizeIU
()
const
;
// overload EDA_DRAW_FRAME
PL_EDITOR_SCREEN
*
GetScreen
()
PL_EDITOR_SCREEN
*
GetScreen
()
const
// overload EDA_DRAW_FRAME
{
return
(
PL_EDITOR_SCREEN
*
)
m_canvas
->
GetScreen
();
return
(
PL_EDITOR_SCREEN
*
)
EDA_DRAW_FRAME
::
GetScreen
();
}
const
wxPoint
&
GetAuxOrigin
()
const
// overload EDA_DRAW_FRAME
...
...
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