Don't use "cp -u" in build script; doesn't work on FreeBSD
[rox-filer.git] / ROX-Filer / src / wrapped.h
blob337ca21fdbf44f5bb50406b89bc6816434f6fb39
1 /*
2 * ROX-Filer, filer for the ROX desktop project
3 * By Thomas Leonard, <tal197@users.sourceforge.net>.
4 */
6 #ifndef __WRAPPED_H__
7 #define __WRAPPED_H__
9 #include <gtk/gtk.h>
11 typedef struct _WrappedLabelClass WrappedLabelClass;
13 struct _WrappedLabelClass {
14 GtkWidgetClass parent;
17 struct _WrappedLabel {
18 GtkWidget widget;
19 PangoLayout *layout;
20 gint width, text_width;
21 int x_off, y_off;
24 #define TYPE_WRAPPED_LABEL wrapped_label_get_type()
25 #define WRAPPED_LABEL(obj) (GTK_CHECK_CAST((obj), TYPE_WRAPPED_LABEL, WrappedLabel))
27 GType wrapped_label_get_type(void);
28 GtkWidget *wrapped_label_new(const char *text, gint width);
29 void wrapped_label_set_text(WrappedLabel *wl, const char *text);
31 #endif /* __WRAPPED_H__ */