mirror of
https://github.com/alsa-project/alsa-tools.git
synced 2025-10-29 05:40:25 -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 */
|
||||
char * alsalogo_xpm[] = {
|
||||
const char * alsalogo_xpm[] = {
|
||||
"50 50 398 2",
|
||||
" c None",
|
||||
". c #C0C0C0",
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/* XPM */
|
||||
char * lad_banner_xpm[] = {
|
||||
const char * lad_banner_xpm[] = {
|
||||
"113 39 1833 2",
|
||||
" c None",
|
||||
". c #C0C0C0",
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/* XPM */
|
||||
char * rme_xpm[] = {
|
||||
const char * rme_xpm[] = {
|
||||
"113 35 2300 2",
|
||||
" c None",
|
||||
". c #030505",
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue