1 /* PSPPIRE - a graphical user interface for PSPP.
2 Copyright (C) 2011, 2012 Free Software Foundation, Inc.
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.
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.
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/>. */
17 #ifndef FACADE_WIDGET_FACADE_H
18 #define FACADE_WIDGET_FACADE_H 1
24 GtkStyle *facade_get_style (GtkWidget *base, GType, ...);
26 void facade_hbox_get_base_size_request (gint border_width,
30 void facade_hbox_add_child_size_request (gint hbox_border_width,
31 const GtkRequisition *child_request,
35 void facade_arrow_get_size_request (gint xpad,
40 void facade_alignment_get_size_request (gint border_width,
45 const GtkRequisition *child_request,
48 void facade_label_get_size_request (gint xpad,
53 void facade_label_get_size_request_from_layout (gint xpad,
57 PangoLayout *facade_label_get_layout (GtkWidget *base,
60 void facade_button_get_size_request (gint border_width,
62 GtkStyle *button_style,
63 const GtkRequisition *child_request,
65 void facade_button_render (GtkWidget *base,
67 const GdkRectangle *button_area,
69 GtkStyle *button_style,
70 GtkStateType state_type,
72 GtkStyle *label_style,
78 void facade_button_get_focus_inset (gint border_width,
80 GtkStyle *button_style,
81 GtkBorder *focus_inset);
85 #endif /* FACADE_WIDGET_FACADE_H */