hdspconf: more string constant fixes

Signed-off-by: Tim Blechmann <tim@klingt.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
Tim Blechmann 2011-03-27 13:50:34 +02:00 committed by Takashi Iwai
parent 3ee59653ec
commit 210cb5f447
7 changed files with 18 additions and 18 deletions

View file

@ -1,5 +1,5 @@
/* XPM */
char * alsalogo_xpm[] = {
const char * alsalogo_xpm[] = {
"50 50 398 2",
" c None",
". c #C0C0C0",

View file

@ -1,5 +1,5 @@
/* XPM */
char * lad_banner_xpm[] = {
const char * lad_banner_xpm[] = {
"113 39 1833 2",
" c None",
". c #C0C0C0",

View file

@ -1,5 +1,5 @@
/* XPM */
char * rme_xpm[] = {
const char * rme_xpm[] = {
"113 35 2300 2",
" c None",
". c #030505",

View file

@ -1,8 +1,8 @@
/*
* 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
@ -42,7 +42,7 @@ public:
Fl_Round_Button *adat_sync;
void setRef(int r);
private:
char *adat_name;
const char *adat_name;
};
#endif

View file

@ -1,8 +1,8 @@
/*
* 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
@ -21,7 +21,7 @@
#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;
}

View file

@ -1,8 +1,8 @@
/*
* 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
@ -30,10 +30,10 @@
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

View file

@ -1,8 +1,8 @@
/*
* 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
@ -21,9 +21,9 @@
#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