diff options
| author | Jonny Lamb <jonny.lamb@collabora.co.uk> | 2014-02-18 15:51:30 +0100 |
|---|---|---|
| committer | Jonny Lamb <jonny.lamb@collabora.co.uk> | 2014-02-18 18:28:09 +0100 |
| commit | 6373ed59ca13e1c5a4aa438e03e6721dfb72d600 (patch) | |
| tree | f0ad9e1723010f23e063820ce5d9881d7f24c7e6 /shell/vertical-clock.h | |
| parent | 2fde067527f55b3b8d5f6eaa19e11c94ff10d288 (diff) | |
| download | graynard-6373ed59ca13e1c5a4aa438e03e6721dfb72d600.tar.gz graynard-6373ed59ca13e1c5a4aa438e03e6721dfb72d600.zip | |
panel: move panel and vertical clock widgets into their own files
Diffstat (limited to 'shell/vertical-clock.h')
| -rw-r--r-- | shell/vertical-clock.h | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/shell/vertical-clock.h b/shell/vertical-clock.h new file mode 100644 index 0000000..c6c1465 --- /dev/null +++ b/shell/vertical-clock.h @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2014 Collabora Ltd. + * + * Author: Jonny Lamb <jonny.lamb@collabora.co.uk> + */ + +#ifndef __WESTON_GTK_VERTICAL_CLOCK_H__ +#define __WESTON_GTK_VERTICAL_CLOCK_H__ + +#include <gtk/gtk.h> + +#define WESTON_GTK_VERTICAL_CLOCK_TYPE (weston_gtk_vertical_clock_get_type ()) +#define WESTON_GTK_VERTICAL_CLOCK(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), WESTON_GTK_VERTICAL_CLOCK_TYPE, WestonGtkVerticalClock)) +#define WESTON_GTK_VERTICAL_CLOCK_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), WESTON_GTK_VERTICAL_CLOCK_TYPE, WestonGtkVerticalClockClass)) +#define WESTON_GTK_IS_VERTICAL_CLOCK(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), WESTON_GTK_VERTICAL_CLOCK_TYPE)) +#define WESTON_GTK_IS_VERTICAL_CLOCK_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), WESTON_GTK_VERTICAL_CLOCK_TYPE)) +#define WESTON_GTK_VERTICAL_CLOCK_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), WESTON_GTK_VERTICAL_CLOCK_TYPE, WestonGtkVerticalClockClass)) + +typedef struct WestonGtkVerticalClock WestonGtkVerticalClock; +typedef struct WestonGtkVerticalClockClass WestonGtkVerticalClockClass; +typedef struct WestonGtkVerticalClockPrivate WestonGtkVerticalClockPrivate; + +struct WestonGtkVerticalClock +{ + GtkBox parent; + + WestonGtkVerticalClockPrivate *priv; +}; + +struct WestonGtkVerticalClockClass +{ + GtkBoxClass parent_class; +}; + +#define WESTON_GTK_VERTICAL_CLOCK_WIDTH 25 + +GType weston_gtk_vertical_clock_get_type (void) G_GNUC_CONST; + +GtkWidget * weston_gtk_vertical_clock_new (void); + +#endif /* __WESTON_GTK_VERTICAL_CLOCK_H__ */ |
