1 /*************************************************************************/
2 /* Copyright (C) 2009-2013 matias <mati86dl@gmail.com>                   */
3 /*                                                                       */
4 /* This program is free software: you can redistribute it and/or modify  */
5 /* it under the terms of the GNU General Public License as published by  */
6 /* the Free Software Foundation, either version 3 of the License, or     */
7 /* (at your option) any later version.                                   */
8 /*                                                                       */
9 /* This program is distributed in the hope that it will be useful,       */
10 /* but WITHOUT ANY WARRANTY; without even the implied warranty of        */
11 /* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         */
12 /* GNU General Public License for more details.                          */
13 /*                                                                       */
14 /* You should have received a copy of the GNU General Public License     */
15 /* along with this program.  If not, see <http://www.gnu.org/licenses/>. */
16 /*************************************************************************/
17 
18 #ifndef PRAGHA_SIMPLE_WIDGETS_H
19 #define PRAGHA_SIMPLE_WIDGETS_H
20 
21 #include <gtk/gtk.h>
22 
23 G_BEGIN_DECLS
24 
25 
26 typedef struct _PraghaTrackProgress PraghaTrackProgress;
27 typedef struct _PraghaContainer     PraghaContainer;
28 typedef struct _PraghaToolbarButton PraghaToolbarButton;
29 typedef struct _PraghaToggleButton  PraghaToggleButton;
30 
31 gpointer sokoke_xfce_header_new (const gchar *header, const gchar *icon);
32 
33 PraghaTrackProgress *pragha_track_progress_new (void);
34 
35 PraghaContainer     *pragha_container_new      (void);
36 
37 void pragha_toolbar_button_set_icon_name (PraghaToolbarButton *button, const gchar *icon_name);
38 void pragha_toolbar_button_set_icon_size (PraghaToolbarButton *button, GtkIconSize  icon_size);
39 PraghaToolbarButton *pragha_toolbar_button_new (const gchar *icon_name);
40 
41 void pragha_toggle_button_set_icon_name (PraghaToggleButton *button, const gchar *icon_name);
42 void pragha_toggle_button_set_icon_size (PraghaToggleButton *button, GtkIconSize  icon_size);
43 PraghaToggleButton *pragha_toggle_button_new (const gchar *icon_name);
44 
45 
46 G_END_DECLS
47 
48 #endif /* PRAGHA_SIMPLE_WIDGETS_H */
49