2012-01-16 17:18:32 +00:00
|
|
|
/*
|
|
|
|
* Copyright © 2011 Red Hat, Inc.
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
2014-01-23 12:57:27 +01:00
|
|
|
* along with this program; if not, see <http://www.gnu.org/licenses/>.
|
2012-01-16 17:18:32 +00:00
|
|
|
*
|
|
|
|
* Authors: Peter Hutterer <peter.hutterer@redhat.com>
|
|
|
|
* Bastien Nocera <hadess@hadess.net>
|
|
|
|
*/
|
|
|
|
|
2018-06-03 09:44:43 +04:00
|
|
|
#pragma once
|
2012-01-16 17:18:32 +00:00
|
|
|
|
|
|
|
#include <gtk/gtk.h>
|
2024-01-18 16:15:17 +10:00
|
|
|
#include "cc-wacom-panel.h"
|
2016-06-06 14:49:13 +02:00
|
|
|
#include "cc-wacom-tool.h"
|
2012-01-16 17:18:32 +00:00
|
|
|
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
|
2018-06-03 09:42:43 +04:00
|
|
|
#define CC_TYPE_WACOM_STYLUS_PAGE (cc_wacom_stylus_page_get_type ())
|
|
|
|
G_DECLARE_FINAL_TYPE (CcWacomStylusPage, cc_wacom_stylus_page, CC, WACOM_STYLUS_PAGE, GtkBox)
|
2012-01-16 17:18:32 +00:00
|
|
|
|
2024-01-18 16:15:17 +10:00
|
|
|
GtkWidget * cc_wacom_stylus_page_new (CcWacomPanel *panel,
|
|
|
|
CcWacomTool *stylus);
|
2012-01-16 17:18:32 +00:00
|
|
|
|
2016-06-06 14:49:13 +02:00
|
|
|
CcWacomTool * cc_wacom_stylus_page_get_tool (CcWacomStylusPage *page);
|
2012-02-20 17:09:53 +01:00
|
|
|
|
2024-01-24 08:44:23 +10:00
|
|
|
void cc_wacom_stylus_page_set_highlight (CcWacomStylusPage *page,
|
|
|
|
gboolean highlight);
|
|
|
|
|
2012-01-16 17:18:32 +00:00
|
|
|
G_END_DECLS
|