Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
gmsh
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Larry Price
gmsh
Commits
f268c054
Commit
f268c054
authored
May 8, 2001
by
Christophe Geuzaine
Browse files
Options
Downloads
Patches
Plain Diff
*** empty log message ***
parent
5d566cae
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
Common/Bitmaps.h
+11
-11
11 additions, 11 deletions
Common/Bitmaps.h
Fltk/GUI.cpp
+7
-4
7 additions, 4 deletions
Fltk/GUI.cpp
with
18 additions
and
15 deletions
Common/Bitmaps.h
+
11
−
11
View file @
f268c054
...
@@ -159,17 +159,17 @@ static char stop_bits[] = {
...
@@ -159,17 +159,17 @@ static char stop_bits[] = {
// 'Gmsh' (Windows) icon
// 'Gmsh' (Windows) icon
static
char
gmsh_and_bits
[]
=
{
static
char
gmsh_and_bits
[]
=
{
0x
00
,
0x
00
,
0x
00
,
0x
00
,
0x
00
,
0x
02
,
0x
00
,
0x
00
,
0x
00
,
0x
03
,
0x
00
,
0x
01
,
0xf
0
,
0x
03
,
0x
c1
,
0x
ff
,
0x
ff
,
0x
df
,
0x
ff
,
0x
ff
,
0x
ff
,
0x
8f
,
0x
ff
,
0x
ff
,
0x
ff
,
0x
87
,
0x
ff
,
0xf
f
,
0x
1f
,
0x
80
,
0x
63
,
0x
8c
,
0x
83
,
0x
e
3
,
0xf
3
,
0x
86
,
0xc3
,
0x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
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
...
...
...
...
This diff is collapsed.
Click to expand it.
Fltk/GUI.cpp
+
7
−
4
View file @
f268c054
// $Id: GUI.cpp,v 1.7
3
2001-05-08 1
1:34:19
geuzaine Exp $
// $Id: GUI.cpp,v 1.7
4
2001-05-08 1
2:09:31
geuzaine Exp $
// To make the interface as visually consistent as possible, please:
// To make the interface as visually consistent as possible, please:
// - use the BH, BW, WB, IW values for button heights/widths, window borders, etc.
// - use the BH, BW, WB, IW values for button heights/widths, window borders, etc.
...
@@ -472,11 +472,14 @@ GUI::GUI(int argc, char **argv) {
...
@@ -472,11 +472,14 @@ GUI::GUI(int argc, char **argv) {
create_graphic_window
(
argc
,
argv
);
create_graphic_window
(
argc
,
argv
);
#ifdef WIN32
#ifdef WIN32
HICON
icon
=
CreateIcon
(
NULL
,
32
,
32
,
1
,
1
,
HICON
icon
=
CreateIcon
(
NULL
,
GetSystemMetrics
(
SM_CXICON
),
GetSystemMetrics
(
SM_CYICON
),
1
,
1
,
(
CONST
BYTE
*
)
gmsh_and_bits
,
(
CONST
BYTE
*
)
gmsh_and_bits
,
(
CONST
BYTE
*
)
gmsh_xor_bits
);
(
CONST
BYTE
*
)
gmsh_xor_bits
);
m_window
->
icon
((
char
*
)
icon
);
//
m_window->icon((char *)icon);
g_window
->
icon
((
char
*
)
icon
);
//
g_window->icon((char *)icon);
#else
#else
fl_open_display
();
fl_open_display
();
Pixmap
p1
=
XCreateBitmapFromData
(
fl_display
,
DefaultRootWindow
(
fl_display
),
Pixmap
p1
=
XCreateBitmapFromData
(
fl_display
,
DefaultRootWindow
(
fl_display
),
...
...
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment