/* XPM */
-char * alsalogo_xpm[] = {
+const char * alsalogo_xpm[] = {
"50 50 398 2",
" c None",
". c #C0C0C0",
/* XPM */
-char * lad_banner_xpm[] = {
+const char * lad_banner_xpm[] = {
"113 39 1833 2",
" c None",
". c #C0C0C0",
/* XPM */
-char * rme_xpm[] = {
+const char * rme_xpm[] = {
"113 35 2300 2",
" c None",
". c #030505",
/*
* HDSPConf
- *
+ *
* Copyright (C) 2003 Thomas Charbonnel (thomas@undata.org)
- *
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
Fl_Round_Button *adat_sync;
void setRef(int r);
private:
- char *adat_name;
+ const char *adat_name;
};
#endif
/*
* HDSPConf
- *
+ *
* Copyright (C) 2003 Thomas Charbonnel (thomas@undata.org)
- *
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
#pragma implementation
#include "HC_XpmRenderer.h"
-HC_XpmRenderer::HC_XpmRenderer(int x, int y, int w, int h, char * const *xpm):Fl_Widget(x, y, w, h)
+HC_XpmRenderer::HC_XpmRenderer(int x, int y, int w, int h, const char * const *xpm):Fl_Widget(x, y, w, h)
{
pixmap = xpm;
}
/*
* HDSPConf
- *
+ *
* Copyright (C) 2003 Thomas Charbonnel (thomas@undata.org)
- *
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
class HC_XpmRenderer:public Fl_Widget
{
public:
- HC_XpmRenderer(int x, int y, int w, int h, char * const *xpm);
+ HC_XpmRenderer(int x, int y, int w, int h, const char * const *xpm);
void draw();
private:
- char * const *pixmap;
+ const char * const *pixmap;
};
#endif
/*
* HDSPConf
- *
+ *
* Copyright (C) 2003 Thomas Charbonnel (thomas@undata.org)
- *
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
#ifndef pixmaps_H
#define pixmaps_H
-extern char * rme_xpm[];
-extern char * alsalogo_xpm[];
-extern char * lad_banner_xpm[];
+extern const char * rme_xpm[];
+extern const char * alsalogo_xpm[];
+extern const char * lad_banner_xpm[];
#endif