Line |
Branch |
Exec |
Source |
1 |
|
|
/* |
2 |
|
|
* Copyright © 2011 Red Hat, Inc. |
3 |
|
|
* |
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. |
8 |
|
|
* |
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. |
13 |
|
|
* |
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/>. |
16 |
|
|
* |
17 |
|
|
* Authors: Peter Hutterer <peter.hutterer@redhat.com> |
18 |
|
|
* Bastien Nocera <hadess@hadess.net> |
19 |
|
|
*/ |
20 |
|
|
|
21 |
|
|
#pragma once |
22 |
|
|
|
23 |
|
|
#include <gtk/gtk.h> |
24 |
|
|
#include "cc-wacom-panel.h" |
25 |
|
|
#include "cc-wacom-device.h" |
26 |
|
|
|
27 |
|
|
G_BEGIN_DECLS |
28 |
|
|
|
29 |
|
|
#define CC_TYPE_WACOM_PAGE (cc_wacom_page_get_type ()) |
30 |
|
✗ |
G_DECLARE_FINAL_TYPE (CcWacomPage, cc_wacom_page, CC, WACOM_PAGE, GtkBox) |
31 |
|
|
|
32 |
|
|
GtkWidget * cc_wacom_page_new (CcWacomPanel *panel, |
33 |
|
|
CcWacomDevice *stylus); |
34 |
|
|
|
35 |
|
|
void cc_wacom_page_calibrate (CcWacomPage *page); |
36 |
|
|
|
37 |
|
|
gboolean cc_wacom_page_can_calibrate (CcWacomPage *page); |
38 |
|
|
|
39 |
|
|
G_END_DECLS |
40 |
|
|
|