[gsettings-desktop-schemas] GSettings for focus/caret tracker GNOME Shell
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gsettings-desktop-schemas] GSettings for focus/caret tracker GNOME Shell
- Date: Tue, 13 Aug 2013 19:55:19 +0000 (UTC)
commit 3e7aaf2f0fe2f0c98a01cbdad0a74bc079390f89
Author: Magdalen Berns <thisMagpie live com>
Date: Sat Aug 10 16:40:35 2013 +0100
GSettings for focus/caret tracker GNOME Shell
Bug 647074
https://bugzilla.gnome.org/show_bug.cgi?id=705652
headers/gdesktop-enums.h | 15 ++++++++
....gnome.desktop.a11y.magnifier.gschema.xml.in.in | 38 ++++++++++++++++++++
2 files changed, 53 insertions(+), 0 deletions(-)
---
diff --git a/headers/gdesktop-enums.h b/headers/gdesktop-enums.h
index 35c9779..65a61c6 100644
--- a/headers/gdesktop-enums.h
+++ b/headers/gdesktop-enums.h
@@ -99,6 +99,21 @@ typedef enum
typedef enum
{
+ G_DESKTOP_MAGNIFIER_FOCUS_TRACKING_MODE_NONE,
+ G_DESKTOP_MAGNIFIER_FOCUS_TRACKING_MODE_CENTERED,
+ G_DESKTOP_MAGNIFIER_FOCUS_TRACKING_MODE_PROPORTIONAL,
+ G_DESKTOP_MAGNIFIER_FOCUS_TRACKING_MODE_PUSH
+} GDesktopMagnifierFocusTrackingMode;
+
+typedef enum
+{
+ G_DESKTOP_MAGNIFIER_CARET_TRACKING_MODE_NONE,
+ G_DESKTOP_MAGNIFIER_CARET_TRACKING_MODE_CENTERED,
+ G_DESKTOP_MAGNIFIER_CARET_TRACKING_MODE_PROPORTIONAL,
+ G_DESKTOP_MAGNIFIER_CARET_TRACKING_MODE_PUSH
+} GDesktopMagnifierCaretTrackingMode;
+typedef enum
+{
G_DESKTOP_MAGNIFIER_SCREEN_POSITION_NONE,
G_DESKTOP_MAGNIFIER_SCREEN_POSITION_FULL_SCREEN,
G_DESKTOP_MAGNIFIER_SCREEN_POSITION_TOP_HALF,
diff --git a/schemas/org.gnome.desktop.a11y.magnifier.gschema.xml.in.in
b/schemas/org.gnome.desktop.a11y.magnifier.gschema.xml.in.in
index 925aa90..59b6c34 100644
--- a/schemas/org.gnome.desktop.a11y.magnifier.gschema.xml.in.in
+++ b/schemas/org.gnome.desktop.a11y.magnifier.gschema.xml.in.in
@@ -21,6 +21,44 @@
region, the contents are scrolled into view.
</_description>
</key>
+ <key name="focus-tracking" enum="org.gnome.desktop.GDesktopMagnifierFocusTrackingMode">
+ <default>'push'</default>
+ <_summary>Focus Tracking Mode</_summary>
+ <_description>
+ Determines the position of the focused widget within magnified view.
+
+ The values are:
+
+ - none: no focus tracking
+
+ - centered: the focused image is displayed at the center of the zoom region (which also represents
the
+ point under the system focus) and the magnified contents are scrolled as the system focus moves
+
+ - proportional: the position of the magnified focus in the zoom region is proportionally the same as
the
+ position of the system focus on screen
+
+ - push: when the magnified focus intersects a boundary of the zoom region, the contents are scrolled
+ into view
+ </_description>
+ </key>
+ <key name="caret-tracking" enum="org.gnome.desktop.GDesktopMagnifierCaretTrackingMode">
+ <_default>'centered'</_default>
+ <_summary>Caret Tracking Mode</_summary>
+ <_description>
+ Determines the position of the caret within magnified view. The values are:
+
+ - none: no caret tracking
+
+ - centered: the image of the caret is displayed at the center of the zoom region (which also represents
+ the point under the system caret) and the magnified contents are scrolled as the system caret moves
+
+ - proportional: the position of the magnified caret in the zoom region is proportionally the same as
the
+ position of the system caret on screen
+
+ - push: when the magnified caret intersects a boundary of the zoom region, the contents are scrolled
into
+ view
+ </_description>
+ </key>
<key name="screen-position" enum="org.gnome.desktop.GDesktopMagnifierScreenPosition">
<default>'full-screen'</default>
<_summary>Screen position</_summary>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]