diff options
-rw-r--r-- | headers/gdesktop-enums.h | 15 | ||||
-rw-r--r-- | schemas/org.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> |