]>
Commit | Line | Data |
---|---|---|
bc34c059 RN |
1 | /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */ |
2 | /* | |
3 | * viking -- GPS Data and Topo Analyzer, Explorer, and Manager | |
4 | * | |
5 | * Copyright (C) 2007-2009, Guilhem Bonnefille <guilhem.bonnefille@gmail.com> | |
ec77010a | 6 | * Copyright (C) 2014, Rob Norris <rw_norris@hotmail.com> |
bc34c059 RN |
7 | * |
8 | * This program is free software; you can redistribute it and/or modify | |
9 | * it under the terms of the GNU General Public License as published by | |
10 | * the Free Software Foundation; either version 2 of the License, or | |
11 | * (at your option) any later version. | |
12 | * | |
13 | * This program is distributed in the hope that it will be useful, | |
14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
16 | * GNU General Public License for more details. | |
17 | * | |
18 | * You should have received a copy of the GNU General Public License | |
19 | * along with this program; if not, write to the Free Software | |
20 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
21 | * | |
22 | */ | |
23 | ||
24 | #ifndef _VIKING_UI_UTIL_H | |
25 | #define _VIKING_UI_UTIL_H | |
26 | ||
27 | #include <glib.h> | |
28 | #include <gtk/gtk.h> | |
29 | ||
30 | G_BEGIN_DECLS | |
31 | ||
32 | void open_url(GtkWindow *parent, const gchar * url); | |
33 | void new_email(GtkWindow *parent, const gchar * address); | |
34 | ||
ec77010a RN |
35 | GtkWidget *ui_button_new_with_image(const gchar *stock_id, const gchar *text); |
36 | gint ui_get_gtk_settings_integer(const gchar *property_name, gint default_value); | |
37 | GtkWidget *ui_lookup_widget(GtkWidget *widget, const gchar *widget_name); | |
491f06f2 | 38 | GtkWidget* ui_label_new_selectable ( const gchar* text ); |
ec77010a | 39 | |
5cca6c53 | 40 | GdkPixbuf *ui_pixbuf_set_alpha ( GdkPixbuf *pixbuf, guint8 alpha ); |
53991e79 | 41 | GdkPixbuf *ui_pixbuf_scale_alpha ( GdkPixbuf *pixbuf, guint8 alpha ); |
a4b5fc11 | 42 | void ui_add_recent_file ( const gchar *filename ); |
5cca6c53 | 43 | |
bc34c059 RN |
44 | G_END_DECLS |
45 | ||
46 | #endif |