mirror of
https://github.com/fltk/fltk.git
synced 2026-05-28 03:15:21 +08:00
Constify the pointers in some XPM images. STR #3108
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10233 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
@@ -28,7 +28,7 @@
|
|||||||
// INTERNAL: BUILT IN OPEN/STOW XPMS
|
// INTERNAL: BUILT IN OPEN/STOW XPMS
|
||||||
// These can be replaced via prefs.openicon()/closeicon()
|
// These can be replaced via prefs.openicon()/closeicon()
|
||||||
//
|
//
|
||||||
static const char *L_open_xpm[] = {
|
static const char * const L_open_xpm[] = {
|
||||||
#ifdef __APPLE__
|
#ifdef __APPLE__
|
||||||
"11 11 2 1",
|
"11 11 2 1",
|
||||||
". c None",
|
". c None",
|
||||||
@@ -64,7 +64,7 @@ static const char *L_open_xpm[] = {
|
|||||||
};
|
};
|
||||||
static Fl_Pixmap L_openpixmap(L_open_xpm);
|
static Fl_Pixmap L_openpixmap(L_open_xpm);
|
||||||
|
|
||||||
static const char *L_close_xpm[] = {
|
static const char * const L_close_xpm[] = {
|
||||||
#ifdef __APPLE__
|
#ifdef __APPLE__
|
||||||
"11 11 2 1",
|
"11 11 2 1",
|
||||||
". c None",
|
". c None",
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/* XPM */
|
/* XPM */
|
||||||
static const char * fl_cursor_help_xpm[] = {
|
static const char * const fl_cursor_help_xpm[] = {
|
||||||
"16 27 9 1",
|
"16 27 9 1",
|
||||||
" c None",
|
" c None",
|
||||||
". c #FFFFFF",
|
". c #FFFFFF",
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/* XPM */
|
/* XPM */
|
||||||
static const char * fl_cursor_nesw_xpm[] = {
|
static const char * const fl_cursor_nesw_xpm[] = {
|
||||||
"15 15 28 1",
|
"15 15 28 1",
|
||||||
" c None",
|
" c None",
|
||||||
". c #FFFFFF",
|
". c #FFFFFF",
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/* XPM */
|
/* XPM */
|
||||||
static const char * fl_cursor_none_xpm[] = {
|
static const char * const fl_cursor_none_xpm[] = {
|
||||||
"15 15 1 1",
|
"15 15 1 1",
|
||||||
" c None",
|
" c None",
|
||||||
" ",
|
" ",
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/* XPM */
|
/* XPM */
|
||||||
static const char * fl_cursor_nwse_xpm[] = {
|
static const char * const fl_cursor_nwse_xpm[] = {
|
||||||
"15 15 28 1",
|
"15 15 28 1",
|
||||||
" c None",
|
" c None",
|
||||||
". c #FFFFFF",
|
". c #FFFFFF",
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/* XPM */
|
/* XPM */
|
||||||
static const char *fl_cursor_wait_xpm[] = {
|
static const char * const fl_cursor_wait_xpm[] = {
|
||||||
/* width height ncolors chars_per_pixel */
|
/* width height ncolors chars_per_pixel */
|
||||||
"13 18 3 1",
|
"13 18 3 1",
|
||||||
/* colors */
|
/* colors */
|
||||||
|
|||||||
+1
-1
@@ -4,7 +4,7 @@ static char tile_cmap[3][32] = {
|
|||||||
"o c #EFEFEF",
|
"o c #EFEFEF",
|
||||||
". c #E8E8E8"
|
". c #E8E8E8"
|
||||||
};
|
};
|
||||||
static const char * tile_xpm[] = {
|
static const char * const tile_xpm[] = {
|
||||||
"64 64 3 1",
|
"64 64 3 1",
|
||||||
tile_cmap[0],
|
tile_cmap[0],
|
||||||
tile_cmap[1],
|
tile_cmap[1],
|
||||||
|
|||||||
Reference in New Issue
Block a user