Commit graph

394 commits

Author SHA1 Message Date
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
257c5c0a14 wacom: remove useless xpad 2012-01-23 12:02:19 -05:00
Cosimo Cecchi
e524bc2ad5 wacom: fix packing for widgets in the panel main grid
Main grid has 3 columns, not four. Also, make sure to expand the main
combobox.
2012-01-23 12:02:19 -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
Cosimo Cecchi
e84325a8d3 wacom: change the packing of the back/forward buttons
Back/Forward buttons need to live in a box on their own if we want the
linked effect to work correctly.
2012-01-23 12:02:19 -05:00
Jakub Steiner
e56b92191d wacom: inking has no eraser, 2 new stylii images. 2012-01-20 14:44:33 +01:00
Jason Gerecke
f2e9b90eaa wacom: Fix nav label's maximum page number
The label "X of Y" pages is incorrect when multiple tablets are plugged
in, with Y being one too small. The "num_pages" variable is already
decremented if necessary on line 70, making the ternary excessive.

https://bugzilla.gnome.org/show_bug.cgi?id=668231
2012-01-20 12:54:37 +00:00
Jakub Steiner
ad949df62e wacom: skip the pressure wheel for now. expose buttons only. 2012-01-19 16:45:17 +01:00
Jason Gerecke
af2c94ced5 wacom: Specify monitor to use when calling run_calibration
Changes the signature of run_calibration to require the monitor
that calibration should take place on.

https://bugzilla.gnome.org/show_bug.cgi?id=657423
2012-01-18 23:42:23 +00:00
Jason Gerecke
611a91b91f wacom: Get monitor tablet has ben mapped to before calibrating
More precisely, this patch checks if the tablet *could* be mapped.
gsd_wacom_device_get_display_monitor has a side-effect of
automatically mapping the tablet if it is necessary and possible
to ensure that it *is* mapped.

If the tablet isn't and can't be mapped, calibration is pointless.

https://bugzilla.gnome.org/show_bug.cgi?id=657423
2012-01-18 23:41:18 +00:00
Jason Gerecke
4eae26e967 wacom: Bring over files from g-s-d
https://bugzilla.gnome.org/show_bug.cgi?id=657423
2012-01-18 23:40:12 +00:00
Bastien Nocera
f79284b0f6 wacom: Add label to nav button
As per mockups
2012-01-16 17:47:35 +00: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
Bastien Nocera
5d680981de wacom: Update files from g-s-d
More stylus metadata exported.
2012-01-16 17:30:33 +00:00
Bastien Nocera
a771f350d6 wacom: Remove unused definitions 2012-01-16 17:30:33 +00:00
Jason Gerecke
bb38492e52 wacom: Have calibrator take into account window geometry
Current calculations assume the window is anchored at 0,0. This
obviously poses a problem in a multi-monitor setup.
2012-01-16 11:55:00 +00:00
Bastien Nocera
e722c5066d wacom: Fix white space for some tablets 2012-01-13 17:48:09 +00:00
Bastien Nocera
a9db665dc1 wacom: Add Intuos4 to test app 2012-01-13 17:48:08 +00:00
Bastien Nocera
44865d1082 wacom: Don't use "show_all" in test 2012-01-13 17:48:08 +00:00
Bastien Nocera
ac86cd36cd wacom: Add Intuos4 test device 2012-01-13 17:48:08 +00:00
Bastien Nocera
425b5040ea wacom: Use symbolic name for click threshold 2012-01-13 17:48:08 +00:00
Jeremy Bicha
5ee2c07f57 Show wacom and bluetooth panels in Unity too 2012-01-12 16:05:23 -05:00
Bastien Nocera
fdac29e034 wacom: Add i18n to wacom test app 2012-01-12 19:45:29 +00:00
Bastien Nocera
0905cb347a wacom: Add FIXME for monitor placement 2012-01-12 19:00:08 +00:00
Bastien Nocera
9ba2c986e7 wacom: Update for new calibrator API 2012-01-12 18:57:55 +00:00
Bastien Nocera
54ec95051e wacom: Update for new calibrator API 2012-01-12 18:57:45 +00:00
Bastien Nocera
705287d5c7 wacom: Fix insane Calibrator API
So that we don't have to run gtk_main() in it.
2012-01-12 18:57:20 +00:00
Bastien Nocera
a227cd7ca9 wacom: Add more padding around the clock 2012-01-12 17:38:05 +00:00
Bastien Nocera
6c304370eb wacom: Remove unnecessary duplication 2012-01-12 15:26:16 +00:00
Bastien Nocera
f256fe0096 wacom: Identation fixes 2012-01-12 15:23:53 +00:00
Bastien Nocera
13af3b18a2 wacom: Small coding style fixes 2012-01-12 15:22:04 +00:00
Bastien Nocera
aec7039858 wacom: Remove rectangle around main text 2012-01-12 15:04:05 +00:00
Bastien Nocera
1638319802 wacom: Fix wrong gsize print format 2012-01-12 13:53:45 +00:00
Bastien Nocera
d099ded276 wacom: Update for calibration API change 2012-01-12 13:53:45 +00:00
Bastien Nocera
956590dd8b wacom: Remove unused geometry struct member 2012-01-11 20:09:40 +00:00
Bastien Nocera
6c215019db wacom: Remove geometry option from test app 2012-01-11 20:09:20 +00:00
Bastien Nocera
6ff3fc49db wacom: Fix frame around error message 2012-01-11 19:55:10 +00:00
Bastien Nocera
1d6ce52ad7 wacom: Text is white 2012-01-11 19:54:42 +00:00
Bastien Nocera
80f78151f8 wacom: Translate error message 2012-01-11 19:46:25 +00:00
Bastien Nocera
da3080d910 wacom: Avoid confusing debug message
Don't print bogus values if the calibration didn't finish
2012-01-11 19:26:58 +00:00
Bastien Nocera
ea0410764a wacom: Move window creation to _new() 2012-01-11 19:23:06 +00:00
Bastien Nocera
9845e4d582 wacom: Hide the CalibArea structure
And typedef it
2012-01-11 19:17:14 +00:00
Bastien Nocera
6e179b433e wacom: Make the window a tiny bit transparent 2012-01-11 19:16:10 +00:00
Bastien Nocera
5feefb444d wacom: Remove the use of a drawing area
We don't need one, we can draw on the window directly.
2012-01-11 19:02:37 +00:00
Bastien Nocera
f6fa0ee689 wacom: Fix memory leak 2012-01-11 18:56:09 +00:00
Bastien Nocera
8843ad8fb2 wacom: Make escape key exit
And nothing else
2012-01-11 18:39:09 +00:00
Bastien Nocera
90c7881b5f wacom: More space between clock and help text 2012-01-11 18:38:49 +00:00
Bastien Nocera
420a068209 wacom: Match help text with mockups 2012-01-11 18:38:30 +00:00