Skip to content
Snippets Groups Projects
Commit f268c054 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

*** empty log message ***

parent 5d566cae
No related branches found
No related tags found
No related merge requests found
...@@ -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[] = {
0x00,0x00,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x03,0x00,0x01,0xf0,0x03,0xc1, 0xff,0xff,0xdf,0xff,0xff,0xff,0x8f,0xff,0xff,0xff,0x87,0xff,0xff,0x1f,0x80,
0x63,0x8c,0x83,0xe3,0xf3,0x86,0xc3,0xf3,0xf9,0x87,0xe3,0xcb,0xe5,0x47,0xb3, 0xff,0xff,0xe7,0xc3,0xff,0xff,0xf3,0x81,0xff,0xff,0xf8,0x81,0xff,0x7f,0xf8,
0xc7,0xe3,0x3f,0x9a,0xe3,0xe1,0x1f,0xce,0xe1,0xe0,0x07,0xc7,0x60,0xc0,0x80, 0x01,0xff,0x7f,0xf8,0x01,0xff,0x3f,0xf0,0x05,0xff,0x1f,0xf0,0x0e,0xef,0x1f,
0x03,0x00,0x00,0xc0,0x01,0x60,0x00,0xe0,0x00,0x60,0x00,0xf0,0x00,0x70,0x00, 0x00,0x8f,0xf3,0x1f,0x80,0x9f,0xf8,0x1f,0xc0,0x5f,0xfc,0x1f,0xe0,0x0f,0xfe,
0x78,0x00,0x38,0x00,0x7c,0x00,0x38,0x00,0x3c,0x00,0x1c,0x00,0x1e,0x00,0x0e, 0x3f,0xf8,0x8f,0xff,0xff,0xff,0xc3,0xff,0xff,0xff,0xe1,0xff,0xff,0xff,0xe0,
0x00,0x0c,0x02,0x06,0x00,0x00,0x03,0x03,0x00,0x80,0x07,0xc1,0x00,0xc0,0x87, 0xff,0xff,0x7f,0xf0,0xff,0xff,0x3f,0xf0,0xff,0xff,0x1f,0xf8,0xff,0xff,0x0f,
0xe0,0x01,0x60,0x8f,0xf0,0x01,0x10,0x4e,0xe8,0x01,0x08,0x4e,0xc4,0x21,0x24, 0xfc,0xff,0xff,0x07,0xfc,0xff,0xff,0x03,0xfe,0xff,0xff,0x03,0xff,0xff,0xff,
0xe4,0xc2,0x11,0x32,0xe6,0xc1,0x09,0x70,0xe3,0xc0,0x05,0xe0,0x40,0xc0,0x03, 0x01,0xff,0xff,0xff,0x81,0xff,0xff,0xff,0xc1,0xff,0xff,0xff,0xe1,0xff,0xff,
0x00,0x00,0x80,0x01,0x00,0x00,0x00,0x00}; 0xff,0xf9,0xff,0xff,0xff,0xff,0xff,0xff};
static char gmsh_and_bits[] = { static char gmsh_xor_bits[] = {
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,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,0x00,0x00,0x00,0x00,0x00,0x00,
... ...
......
// $Id: GUI.cpp,v 1.73 2001-05-08 11:34:19 geuzaine Exp $ // $Id: GUI.cpp,v 1.74 2001-05-08 12: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),
... ...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment