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:
Lauri Kasanen 2014-08-21 12:16:40 +00:00
parent d9505e1b24
commit c706d3c101
7 changed files with 8 additions and 8 deletions

View File

@ -28,7 +28,7 @@
// INTERNAL: BUILT IN OPEN/STOW XPMS
// These can be replaced via prefs.openicon()/closeicon()
//
static const char *L_open_xpm[] = {
static const char * const L_open_xpm[] = {
#ifdef __APPLE__
"11 11 2 1",
". c None",
@ -64,7 +64,7 @@ static const char *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__
"11 11 2 1",
". c None",

View File

@ -1,5 +1,5 @@
/* XPM */
static const char * fl_cursor_help_xpm[] = {
static const char * const fl_cursor_help_xpm[] = {
"16 27 9 1",
" c None",
". c #FFFFFF",

View File

@ -1,5 +1,5 @@
/* XPM */
static const char * fl_cursor_nesw_xpm[] = {
static const char * const fl_cursor_nesw_xpm[] = {
"15 15 28 1",
" c None",
". c #FFFFFF",

View File

@ -1,5 +1,5 @@
/* XPM */
static const char * fl_cursor_none_xpm[] = {
static const char * const fl_cursor_none_xpm[] = {
"15 15 1 1",
" c None",
" ",

View File

@ -1,5 +1,5 @@
/* XPM */
static const char * fl_cursor_nwse_xpm[] = {
static const char * const fl_cursor_nwse_xpm[] = {
"15 15 28 1",
" c None",
". c #FFFFFF",

View File

@ -1,5 +1,5 @@
/* XPM */
static const char *fl_cursor_wait_xpm[] = {
static const char * const fl_cursor_wait_xpm[] = {
/* width height ncolors chars_per_pixel */
"13 18 3 1",
/* colors */

View File

@ -4,7 +4,7 @@ static char tile_cmap[3][32] = {
"o c #EFEFEF",
". c #E8E8E8"
};
static const char * tile_xpm[] = {
static const char * const tile_xpm[] = {
"64 64 3 1",
tile_cmap[0],
tile_cmap[1],