Commit graph

21 commits

Author SHA1 Message Date
Robert Ancell
3f9337da4e universal-access: Use g_auto for variables 2018-06-03 01:31:26 +00:00
Georges Basile Stavracas Neto
cf163ef0df universal-access: Use transient-for display
This prevents us from triggering a warning.
2018-03-16 02:07:17 -03:00
Georges Basile Stavracas Neto
a5b766f7f0 universal-access: Move widget setup code to constructed()
This is in preparation for using the transient-for window to
retrieve the GdkMonitor.
2018-03-16 02:06:28 -03:00
Georges Basile Stavracas Neto
6cd9461807 universal-access: Turn ZoomOptions into a template class
This commit turns the ZoomOptions into a template class that
subclasses GtkDialog.

This is also a follow-up from commit c82deede1 where we started
using the non-deprecated GdkMonitor API.
2018-03-16 02:01:38 -03:00
Georges Basile Stavracas Neto
c82deede1c universal-access: Port to GdkMonitor API
This removes the last deprecation warning of the Universal
Access panel by porting the GdkScreen API usage to the
GdkMonitor API.
2018-03-07 12:10:22 -03:00
Yosef Or Boczko
56e520cb00 universal-access: Use header bar in all the dialogs
https://bugzilla.gnome.org/show_bug.cgi?id=724299
2014-04-28 17:29:18 +03:00
Ting-Wei Lan
1ea4b3a90a universal-access: Remove useless inline functions
These inline functions are just wrappers with shorter names. We do not need to
save line length.

https://bugzilla.gnome.org/show_bug.cgi?id=723994
2014-02-11 20:02:53 +08:00
Cosimo Cecchi
f7ae09c561 universal-access: use a GResource for GtkBuilder UI definition
https://bugzilla.gnome.org/show_bug.cgi?id=691132
2013-01-07 10:57:16 +01:00
Bastien Nocera
b106468e01 universal-access: Fix deprecation warnings
Related to GtkColorButton

https://bugzilla.gnome.org/show_bug.cgi?id=676817
2012-08-15 19:07:56 +01:00
Alejandro Piñeiro
131a5ce947 universal-access: Split the zoom dialog options
Split dialogue into 3 tabs:
  * Magnifier
  * Crosshair
  * Color Effects
and add a global zoom switch for easy access.

https://bugzilla.gnome.org/show_bug.cgi?id=676817
2012-08-15 19:05:11 +01:00
Joseph Scheuhammer
2d6161d45b universal-access: Add zoom shader options
Add 'Color effects' section to zoom options dialogue:
- a toggle for inversion (White on black)
- a slider for brightness
- a slider for contrast
- a slider for grey scale

https://bugzilla.gnome.org/show_bug.cgi?id=676817
2012-08-15 18:57:42 +01:00
Bastien Nocera
bd3405d9e1 universal-access: Add context for haircross length
https://bugzilla.gnome.org/show_bug.cgi?id=671989
2012-05-23 19:11:23 -04:00
Bastien Nocera
f60e2fa4ae universal-access: Parent zoom options to panel 2012-01-21 14:26:08 +00:00
Bastien Nocera
daa95932d5 universal-access: Fix deprecated use of GdkColor 2012-01-21 14:26:08 +00:00
Joseph Scheuhammer
9d5e654bec Universal access: add dialog for zoom options
Modified zoom options dialog to implement hbons wireframe.

https://bugzilla.gnome.org/show_bug.cgi?id=643086
2012-01-21 14:26:08 +00:00
Bastien Nocera
ff394b08a1 universal-access: Simplify colour reading code
Using GdkRGBA directly, and making our own #rrggbb colour.
2011-09-21 19:09:14 +01:00
Bastien Nocera
6bc75e2ec1 universal-access: Fix 4-char tabs
Either you use spaces, or 8-char tabs, never 4-char tabs.
2011-09-21 19:04:08 +01:00
Bastien Nocera
5b47678f46 universal-access: Simplify WID() macro 2011-09-21 18:55:02 +01:00
Bastien Nocera
16690064d2 universal-access: Fix style of comments 2011-09-21 18:54:42 +01:00
Bastien Nocera
810f3a97d0 universal-access: Fix compile-time warning 2011-09-21 18:54:08 +01:00
Joseph Scheuhammer
f7fa758b2b Universal access: add dialog for zoom options
Added UI and code to spawn a zoom options preferences dialog to
modify various magnifier settings.  Modified the 'Seeing'
section of the universal access panel to enable the 'Options...'
button.

https://bugzilla.gnome.org/show_bug.cgi?id=643086
2011-09-21 18:49:42 +01:00