X-Git-Url: https://git.street.me.uk/andy/viking.git/blobdiff_plain/bc34c05925b3ed1d6a1502b8299437a90dc2f27b..e29aad19b9c3a0e0686354e3896eda9254d0e06c:/src/ui_util.h diff --git a/src/ui_util.h b/src/ui_util.h index c79e704a..42370188 100644 --- a/src/ui_util.h +++ b/src/ui_util.h @@ -3,6 +3,7 @@ * viking -- GPS Data and Topo Analyzer, Explorer, and Manager * * Copyright (C) 2007-2009, Guilhem Bonnefille + * Copyright (C) 2014, Rob Norris * * 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 @@ -31,6 +32,15 @@ G_BEGIN_DECLS void open_url(GtkWindow *parent, const gchar * url); void new_email(GtkWindow *parent, const gchar * address); +GtkWidget *ui_button_new_with_image(const gchar *stock_id, const gchar *text); +gint ui_get_gtk_settings_integer(const gchar *property_name, gint default_value); +GtkWidget *ui_lookup_widget(GtkWidget *widget, const gchar *widget_name); +GtkWidget* ui_label_new_selectable ( const gchar* text ); + +GdkPixbuf *ui_pixbuf_set_alpha ( GdkPixbuf *pixbuf, guint8 alpha ); +GdkPixbuf *ui_pixbuf_scale_alpha ( GdkPixbuf *pixbuf, guint8 alpha ); +void ui_add_recent_file ( const gchar *filename ); + G_END_DECLS #endif