Georges Basile Stavracas Neto
816e6203e3
wacom: Port to GTK4
...
Many part of this commit were made by Carlos
Garnacho <carlosg@gnome.org>
WIP wacom: Port to GTK4
Lots of stuff missing and probably broken.
wacom: Port CcDrawingArea input to gestures
We have a handy GtkGestureStylus to use here, which avoids direct
handling of GdkEvents.
wacom: Update current stylus tracking to GtkGestureStylus
Use the ::proximity signal to notice when we are being hovered with
a tablet stylus, and look up the tool from there.
2021-12-14 22:34:21 -03:00
Carlos Garnacho
c9ef4fee0f
wacom: Snap tip/eraser pressure feel to the allowed values
...
And add markers for those. We only allow a total of 7 fixed pressure curve
values, so make the UI clear about it.
Closes: https://gitlab.gnome.org/GNOME/gnome-control-center/issues/483
2019-09-09 22:52:44 +00:00
Robert Ancell
ead164b6da
wacom: Remove unused tabs in UI
...
There were some tabs that were not visible and not used. They also
had translatable text that was not used.
2018-08-27 02:55:21 +00:00
Sam Hewitt
e66ee02953
wacom: use dim-label class on icons instead of opacity for consistency
2018-07-10 17:53:56 -04:00
Sam Hewitt
24174173be
common: update pixel_size values to base 16 for icon clarity
2018-07-10 17:52:08 -04:00
Jason Gerecke
039f30a535
wacom: Add support for three-button styli
...
Wacom has introduced its new "Pro Pen 3D" stylus which includes a third
button. This commit adds support for arbitrary three-button styli.
https://bugzilla.gnome.org/show_bug.cgi?id=790028
2018-01-30 21:23:24 +01:00
Carlos Garnacho
b770d37457
wacom: Refurbish UI files
...
Some improvements to fit better with the new design:
- "no configured ..." page for both stylus/tablet sections
- the navigation buttons are now children of GtkRevealers, so
size doesn't popup
- Empty placeholder in several containers have been removed.
2016-11-04 23:27:12 +01:00
Carlos Garnacho
f06203a5b2
wacom: Update .ui files to look more like the mockups
2016-11-04 23:26:41 +01:00
Carlos Garnacho
2f4f3f994c
wacom: Update .ui file to reflect GDesktopStylusButtonAction
...
The set of actions that can be mapped to an stylus button have been
reduced, due to inconsistent semantics in wayland.
2016-11-04 23:26:41 +01:00
Bastien Nocera
c58b8b0b90
wacom: Fix styluys back/forward button assignments
...
The list store contained the wrong values.
Spotted by the.viclim@gmail.com
https://bugzilla.gnome.org/show_bug.cgi?id=728880
2014-07-17 16:55:50 +02:00
Yosef Or Boczko
ae36409c5f
wacom: Use margin-start/end instead of margin-left/right
...
https://bugzilla.gnome.org/show_bug.cgi?id=712661
2013-11-19 22:34:39 +02:00
Bastien Nocera
8d7402c04e
wacom: Fix slider on Inking Pen page
...
https://bugzilla.gnome.org/show_bug.cgi?id=711326
2013-11-03 15:05:33 +01:00
Bastien Nocera
752c964c1c
wacom: Align the stylus section with the tablet section
...
https://bugzilla.gnome.org/show_bug.cgi?id=709360
2013-10-04 09:09:34 +02:00
Bastien Nocera
606fee32ff
wacom: Swap nav button and label for stylus
...
https://bugzilla.gnome.org/show_bug.cgi?id=668881
2012-02-27 16:51:34 +00:00
Cosimo Cecchi
371fef61c0
wacom: split the styli controls into a separate GtkGrid
...
Like we did for the tablet page.
https://bugzilla.gnome.org/show_bug.cgi?id=668881
2012-02-20 11:23:49 +01:00
Bastien Nocera
d5cda7651c
wacom: Remove italics
...
https://bugzilla.gnome.org/show_bug.cgi?id=669070
2012-01-31 17:34:56 +00:00
Bastien Nocera
f3bd46f7a5
wacom: Stylus section only has 3 columns
2012-01-30 17:02:25 +00:00
Bastien Nocera
decc5cf668
wacom: Make .ui files load the images properly
...
So it's easier to see what it looks like in glade.
2012-01-30 17:02:25 +00:00
Bastien Nocera
eb82ee2205
wacom: Make images have a width of 1
...
So they're the same width as the navigation buttons
2012-01-30 16:11:10 +00:00
Bastien Nocera
139289c767
wacom: Fix layout problems for some styli
...
When we just hide items inside a GtkGrid, they still take space
in the layout. So we need to remove those widgets, and change
the location in the grid of those widgets.
Finally, as some widgets are removed. the layout doesn't expand as
it used to, so make the rows homogeneous to line up with the drawings.
2012-01-26 15:48:32 +00:00
Bastien Nocera
befe9f1190
wacom: Scroll Up/Down actions are mapped inverted
...
https://bugzilla.gnome.org/show_bug.cgi?id=668619
2012-01-25 12:24:34 +00:00
Cosimo Cecchi
c6ccecf526
wacom: set a right margin to the tablet/stylus GtkImage
...
We want some more padding between the image and the descriptions.
2012-01-23 12:30:22 -05:00
Cosimo Cecchi
a21e302f3c
wacom: add back margin-top/bottom for title/stylus labels
...
Since we don't know whether the navigation button will be shown or not,
set a margin on these labels as well.
2012-01-23 12:29:30 -05:00
Cosimo Cecchi
101957934b
wacom: add dim-label style classes for stylus page labels
2012-01-23 12:02:19 -05:00
Cosimo Cecchi
5dec19e907
wacom: set margin directly on the navigation button label
...
Instead of setting it in the main label for each UI file. This ensures
the navigation button is automatically made bigger inside the grid.
2012-01-23 12:02:19 -05:00
Bastien Nocera
5a51341ae0
wacom: Fix Stylus section layout
2012-01-16 17:46:43 +00:00
Bastien Nocera
b732da14d8
wacom: Split off the stylus page creation
...
Show configuration for multiple styli in the configuration UI.
2012-01-16 17:30:33 +00:00