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
a98c2415
Commit
a98c2415
authored
Apr 09, 2009
by
dickelbeck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
expand the size of the coordinate holding status fields, 2 and 3
parent
4ee4f83d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
drawframe.cpp
common/drawframe.cpp
+6
-4
No files found.
common/drawframe.cpp
View file @
a98c2415
...
...
@@ -79,10 +79,11 @@ WinEDA_DrawFrame::WinEDA_DrawFrame( wxWindow* father, int idtype,
SetSize
(
0
,
0
,
minsize
.
x
,
minsize
.
y
);
// Creation de la ligne de status
#define ZOOM_DISPLAY_SIZE 60
#define COORD_DISPLAY_SIZE 140
#define UNITS_DISPLAY_SIZE 50
#define FUNCTION_DISPLAY_SIZE 100
#define ZOOM_DISPLAY_SIZE 60
#define COORD_DISPLAY_SIZE 156
#define UNITS_DISPLAY_SIZE 50
#define FUNCTION_DISPLAY_SIZE 100
static
const
int
dims
[
6
]
=
{
-
1
,
ZOOM_DISPLAY_SIZE
,
COORD_DISPLAY_SIZE
,
COORD_DISPLAY_SIZE
,
UNITS_DISPLAY_SIZE
,
FUNCTION_DISPLAY_SIZE
};
...
...
@@ -99,6 +100,7 @@ WinEDA_DrawFrame::WinEDA_DrawFrame( wxWindow* father, int idtype,
DrawPanel
=
new
WinEDA_DrawPanel
(
this
,
-
1
,
wxPoint
(
0
,
0
),
m_FrameSize
);
MsgPanel
=
new
WinEDA_MsgPanel
(
this
,
-
1
,
wxPoint
(
0
,
m_FrameSize
.
y
),
wxSize
(
m_FrameSize
.
x
,
m_MsgFrameHeight
)
);
MsgPanel
->
SetBackgroundColour
(
wxColour
(
ColorRefs
[
LIGHTGRAY
].
m_Red
,
ColorRefs
[
LIGHTGRAY
].
m_Green
,
ColorRefs
[
LIGHTGRAY
].
m_Blue
)
);
...
...
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