2
* Copyright © 2010 Gerd Kohlberger <gerdko gmail com>
4
* This file is part of Mousetweaks.
6
* Mousetweaks is free software; you can redistribute it and/or modify
7
* it under the terms of the GNU General Public License as published by
8
* the Free Software Foundation; either version 3 of the License, or
9
* (at your option) any later version.
11
* Mousetweaks is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
* GNU General Public License for more details.
16
* You should have received a copy of the GNU General Public License
17
* along with this program. If not, see <http://www.gnu.org/licenses/>.
20
#ifndef __MT_SETTINGS_H__
21
#define __MT_SETTINGS_H__
25
#include "mt-common.h"
29
#define MT_TYPE_SETTINGS (mt_settings_get_type ())
30
#define MT_SETTINGS(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), MT_TYPE_SETTINGS, MtSettings))
31
#define MT_IS_SETTINGS(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), MT_TYPE_SETTINGS))
33
typedef GObjectClass MtSettingsClass;
34
typedef struct _MtSettings MtSettings;
40
GSettings *mt_settings;
41
GSettings *a11y_settings;
44
GDesktopMouseDwellMode dwell_mode;
45
GDesktopMouseDwellDirection dwell_gesture_single;
46
GDesktopMouseDwellDirection dwell_gesture_double;
47
GDesktopMouseDwellDirection dwell_gesture_drag;
48
GDesktopMouseDwellDirection dwell_gesture_secondary;
50
MtClickTypeWindowStyle ctw_style;
51
MtClickTypeWindowOrientation ctw_orientation;
54
guint ctw_visible : 1;
55
guint dwell_enabled : 1;
56
guint ssc_enabled : 1;
59
GType mt_settings_get_type (void) G_GNUC_CONST;
60
MtSettings * mt_settings_get_default (void);
64
#endif /* __MT_SETTINGS_H__ */