2 * Copyright (C) 12 Jun 2003 Tomas Cermak
4 * This file is part of wmradio program.
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
25 #define DEFAULTICONSIZE 56
67 typedef struct { Pixmap pixmap
; Pixmap mask
; XpmAttributes
68 attributes
; } XpmIcon
;
70 int in_region(int x
, int y
, int btx
,int bty
,int btw
,int bth
);
71 int xor_string(char *s
);
72 void create_skin(char *skin_def_file
, Display
*display
, Drawable drawable
);
73 int find_action(int x
, int y
);
74 void skin_to_window(Display
*display
, Window win
, GC gc
, int freq
, char stereo
);
75 int skin_mouse_event(int x
, int y
, int button
, int press
);
76 void skin_unselect_button(void);
77 void skin_select_button(int action
);
78 void skin_switch_radio(char status
);
80 int skin_height(void);
81 void skin_select_station(int station
);