mirror of
https://github.com/alsa-project/alsa-tools.git
synced 2025-10-31 22:25:34 -04:00
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:
parent
3ee59653ec
commit
210cb5f447
7 changed files with 18 additions and 18 deletions
|
|
@ -1,5 +1,5 @@
|
||||||
/* XPM */
|
/* XPM */
|
||||||
char * alsalogo_xpm[] = {
|
const char * alsalogo_xpm[] = {
|
||||||
"50 50 398 2",
|
"50 50 398 2",
|
||||||
" c None",
|
" c None",
|
||||||
". c #C0C0C0",
|
". c #C0C0C0",
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
/* XPM */
|
/* XPM */
|
||||||
char * lad_banner_xpm[] = {
|
const char * lad_banner_xpm[] = {
|
||||||
"113 39 1833 2",
|
"113 39 1833 2",
|
||||||
" c None",
|
" c None",
|
||||||
". c #C0C0C0",
|
". c #C0C0C0",
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
/* XPM */
|
/* XPM */
|
||||||
char * rme_xpm[] = {
|
const char * rme_xpm[] = {
|
||||||
"113 35 2300 2",
|
"113 35 2300 2",
|
||||||
" c None",
|
" c None",
|
||||||
". c #030505",
|
". c #030505",
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
/*
|
/*
|
||||||
* HDSPConf
|
* HDSPConf
|
||||||
*
|
*
|
||||||
* Copyright (C) 2003 Thomas Charbonnel (thomas@undata.org)
|
* Copyright (C) 2003 Thomas Charbonnel (thomas@undata.org)
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* 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
|
* it under the terms of the GNU General Public License as published by
|
||||||
* the Free Software Foundation; either version 2 of the License, or
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
|
@ -42,7 +42,7 @@ public:
|
||||||
Fl_Round_Button *adat_sync;
|
Fl_Round_Button *adat_sync;
|
||||||
void setRef(int r);
|
void setRef(int r);
|
||||||
private:
|
private:
|
||||||
char *adat_name;
|
const char *adat_name;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
/*
|
/*
|
||||||
* HDSPConf
|
* HDSPConf
|
||||||
*
|
*
|
||||||
* Copyright (C) 2003 Thomas Charbonnel (thomas@undata.org)
|
* Copyright (C) 2003 Thomas Charbonnel (thomas@undata.org)
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* 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
|
* it under the terms of the GNU General Public License as published by
|
||||||
* the Free Software Foundation; either version 2 of the License, or
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
|
@ -21,7 +21,7 @@
|
||||||
#pragma implementation
|
#pragma implementation
|
||||||
#include "HC_XpmRenderer.h"
|
#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;
|
pixmap = xpm;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
/*
|
/*
|
||||||
* HDSPConf
|
* HDSPConf
|
||||||
*
|
*
|
||||||
* Copyright (C) 2003 Thomas Charbonnel (thomas@undata.org)
|
* Copyright (C) 2003 Thomas Charbonnel (thomas@undata.org)
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* 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
|
* it under the terms of the GNU General Public License as published by
|
||||||
* the Free Software Foundation; either version 2 of the License, or
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
|
@ -30,10 +30,10 @@
|
||||||
class HC_XpmRenderer:public Fl_Widget
|
class HC_XpmRenderer:public Fl_Widget
|
||||||
{
|
{
|
||||||
public:
|
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();
|
void draw();
|
||||||
private:
|
private:
|
||||||
char * const *pixmap;
|
const char * const *pixmap;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
/*
|
/*
|
||||||
* HDSPConf
|
* HDSPConf
|
||||||
*
|
*
|
||||||
* Copyright (C) 2003 Thomas Charbonnel (thomas@undata.org)
|
* Copyright (C) 2003 Thomas Charbonnel (thomas@undata.org)
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* 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
|
* it under the terms of the GNU General Public License as published by
|
||||||
* the Free Software Foundation; either version 2 of the License, or
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
|
@ -21,9 +21,9 @@
|
||||||
#ifndef pixmaps_H
|
#ifndef pixmaps_H
|
||||||
#define pixmaps_H
|
#define pixmaps_H
|
||||||
|
|
||||||
extern char * rme_xpm[];
|
extern const char * rme_xpm[];
|
||||||
extern char * alsalogo_xpm[];
|
extern const char * alsalogo_xpm[];
|
||||||
extern char * lad_banner_xpm[];
|
extern const char * lad_banner_xpm[];
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue