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
7d2ff522
Commit
7d2ff522
authored
Jun 20, 2010
by
jean-pierre charras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
give an icon to bitmapt2component frame
parent
9cf56261
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
3 deletions
+9
-3
bitmap2cmp_gui.cpp
bitmap2component/bitmap2cmp_gui.cpp
+6
-2
bitmap2component.ico
bitmap2component/bitmap2component.ico
+0
-0
bitmap2component.rc
bitmap2component/bitmap2component.rc
+2
-0
bitmap2component.xpm
bitmap2component/bitmap2component.xpm
+1
-1
No files found.
bitmap2component/bitmap2cmp_gui.cpp
View file @
7d2ff522
...
@@ -29,7 +29,7 @@
...
@@ -29,7 +29,7 @@
#include "potracelib.h"
#include "potracelib.h"
#include "bitmap_io.h"
#include "bitmap_io.h"
//
#include "bitmap2component.xpm"
#include "bitmap2component.xpm"
#define KEYWORD_FRAME_POSX wxT( "bmconverter_Pos_x" )
#define KEYWORD_FRAME_POSX wxT( "bmconverter_Pos_x" )
...
@@ -82,9 +82,13 @@ BM2CMP_FRAME::BM2CMP_FRAME() : BM2CMP_FRAME_BASE( NULL )
...
@@ -82,9 +82,13 @@ BM2CMP_FRAME::BM2CMP_FRAME() : BM2CMP_FRAME_BASE( NULL )
m_Config
->
Read
(
KEYWORD_FRAME_SIZEX
,
&
m_FrameSize
.
x
,
-
1
);
m_Config
->
Read
(
KEYWORD_FRAME_SIZEX
,
&
m_FrameSize
.
x
,
-
1
);
m_Config
->
Read
(
KEYWORD_FRAME_SIZEY
,
&
m_FrameSize
.
y
,
-
1
);
m_Config
->
Read
(
KEYWORD_FRAME_SIZEY
,
&
m_FrameSize
.
y
,
-
1
);
#ifdef __WINDOWS__
SetIcon
(
wxICON
(
bitmap2component_icon
)
);
SetIcon
(
wxICON
(
bitmap2component_icon
)
);
#else
SetIcon
(
wxICON
(
bitmap2component
)
);
#endif
wxString
msg
(
wxT
(
"
0000
"
)
);
wxString
msg
(
wxT
(
"
000000
"
)
);
m_gridInfo
->
SetCellValue
(
1
,
0
,
msg
);
m_gridInfo
->
SetCellValue
(
1
,
0
,
msg
);
m_gridInfo
->
SetCellValue
(
2
,
0
,
msg
);
m_gridInfo
->
SetCellValue
(
2
,
0
,
msg
);
if
(
GetSizer
()
)
if
(
GetSizer
()
)
...
...
bitmap2component/bitmap2component.ico
0 → 100644
View file @
7d2ff522
2.19 KB
bitmap2component/bitmap2component.rc
0 → 100644
View file @
7d2ff522
bitmap2component_icon ICON bitmap2component.ico
#include "wx/msw/wx.rc"
bitmap2component/bitmap2component.xpm
View file @
7d2ff522
/* XPM */
/* XPM */
static
const char *bitmap2component_xpm[] = {
const char *bitmap2component_xpm[] = {
/* columns rows colors chars-per-pixel */
/* columns rows colors chars-per-pixel */
"32 32 16 1",
"32 32 16 1",
"@ c #592904",
"@ c #592904",
...
...
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