2
* Copyright (C) 2012 Red Hat, 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 2 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, write to the Free Software
16
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18
* Author: Olivier Fourdan <ofourdan@redhat.com>
22
#ifndef __GSD_WACOM_OSD_WINDOW_H
23
#define __GSD_WACOM_OSD_WINDOW_H
26
#include <glib-object.h>
27
#include "gsd-wacom-device.h"
29
#define GSD_TYPE_WACOM_OSD_WINDOW (gsd_wacom_osd_window_get_type ())
30
#define GSD_WACOM_OSD_WINDOW(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GSD_TYPE_WACOM_OSD_WINDOW, GsdWacomOSDWindow))
31
#define GSD_WACOM_OSD_WINDOW_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), GSD_TYPE_WACOM_OSD_WINDOW, GsdWacomOSDWindowClass))
32
#define GSD_IS_WACOM_OSD_WINDOW(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GSD_TYPE_WACOM_OSD_WINDOW))
33
#define GSD_IS_WACOM_OSD_WINDOW_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GSD_TYPE_WACOM_OSD_WINDOW))
34
#define GSD_WACOM_OSD_WINDOW_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GSD_TYPE_WACOM_OSD_WINDOW, GsdWacomOSDWindowClass))
36
typedef struct GsdWacomOSDWindowPrivate GsdWacomOSDWindowPrivate;
41
GsdWacomOSDWindowPrivate *priv;
46
GtkWindowClass parent_class;
47
} GsdWacomOSDWindowClass;
49
GType gsd_wacom_osd_window_get_type (void) G_GNUC_CONST;
50
GsdWacomDevice * gsd_wacom_osd_window_get_device (GsdWacomOSDWindow *osd_window);
51
void gsd_wacom_osd_window_set_message (GsdWacomOSDWindow *osd_window,
53
const char * gsd_wacom_osd_window_get_message (GsdWacomOSDWindow *osd_window);
54
void gsd_wacom_osd_window_set_active (GsdWacomOSDWindow *osd_window,
55
GsdWacomTabletButton *button,
58
void gsd_wacom_osd_window_set_mode (GsdWacomOSDWindow *osd_window,
61
GtkWidget * gsd_wacom_osd_window_new (GsdWacomDevice *pad,
62
const gchar *message);
64
#endif /* __GSD_WACOM_OSD_WINDOW_H */