Bastien Nocera
054538c292
wacom: Add some more debug to the calibrator tool
2013-10-04 11:16:45 +02:00
Bastien Nocera
55744f6544
wacom: Fix device filtering in calibration UI
...
We receive ClutterEvents, not GdkEvents for button presses on
ClutterActors, so use the correct functions to filter devices.
This also fixes the offset used to access the coordinates of the
events. We were actually using the pointer to the source and x
struct members instead of x and y.
https://bugzilla.gnome.org/show_bug.cgi?id=707784
2013-10-04 11:16:45 +02:00
Joaquim Rocha
d78bc9772a
wacom: Re-write gui_gtk in Clutter to introduce animations
...
The name of the file was also changed to calibratorgui.c/h to avoid
it being inconsistent, this way it is no longer dependent on the
the technology.
https://bugzilla.gnome.org/show_bug.cgi?id=667797
2013-05-17 16:36:59 +02:00
Joaquim Rocha
2b34736ea8
wacom: Set the last-calibrated-resolution key after calibrating
...
So g-s-d will know if calibration is needed when the monitor resolution
changes.
This is related to https://bugzilla.gnome.org/show_bug.cgi?id=677095
2013-05-16 11:26:29 +02:00
Joaquim Rocha
3702a56793
wacom: Show the cursor in the calibrator UI when used from test_wacom
...
This functionality is dictated by the definition of FAKE_AREA in the
CPPFLAGS.
2013-04-16 14:44:08 +02:00
Joaquim Rocha
19876f84d9
wacom: Create a similar calibrator library for testing purposes
...
This is so we can e.g. add different parameters when creating it
2013-04-16 14:44:08 +02:00
Ángel Guzmán Maeso
1f57add30f
wacom: Fix deprecated functions in gui_gtk.c
...
From gtk_icon_info_free() to g_object_unref()
gtk_window_set_opacity() to gtk_widget_set_opacity()
https://mail.gnome.org/archives/commits-list/2013-February/msg02049.html
https://bugzilla.gnome.org/show_bug.cgi?id=694362
2013-02-21 17:08:26 +01:00
Cosimo Cecchi
82f8c136c0
wacom: use a GResource for GtkBuilder UI definition and icons
...
https://bugzilla.gnome.org/show_bug.cgi?id=691132
2013-01-07 10:57:17 +01:00
Olivier Fourdan
06554439b7
wacom: Do calibration for the selected tool only
...
As different tools may have different resolutions (e.g.
touch vs. stylus on tablets which support both).
https://bugzilla.gnome.org/show_bug.cgi?id=680114
2012-07-19 16:39:36 +01:00
Olivier Fourdan
1fdfa6bc32
wacom: show calibration success
...
by drawing an "emblem-ok-symbolic" icon when calibration is
successful
https://bugzilla.gnome.org/show_bug.cgi?id=668610
2012-07-16 17:25:13 +01:00
Olivier Fourdan
978aa81a2c
wacom: Cancel calibration if window loses focus
...
Make the calibrator window stay above other windows and cancel
calibration if/when the calibrator loses input focus.
https://bugzilla.gnome.org/show_bug.cgi?id=675354
2012-06-14 18:09:52 +01:00
Bastien Nocera
f1775d373d
wacom: Hide cursor when calibrating
...
Otherwise the cursor might get in the way.
https://bugzilla.gnome.org/show_bug.cgi?id=668609
2012-01-24 20:23:31 +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
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
aec7039858
wacom: Remove rectangle around main text
2012-01-12 15:04:05 +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
Bastien Nocera
30536b4ec0
wacom: Defuzz lines and circles
...
By lining them up with the pixels.
2012-01-11 18:21:51 +00:00
Bastien Nocera
f958f8c713
wacom: Remove unneeded cairo_save()/restore()
2012-01-11 18:21:21 +00:00
Bastien Nocera
4d7bb61411
wacom: Set the text frame colour to be white
2012-01-11 18:20:27 +00:00
Bastien Nocera
ce61526b41
wacom: Black background by default
2012-01-11 18:19:49 +00:00
Bastien Nocera
c79b324d5e
wacom: Tweak the size of circles
2012-01-11 18:16:36 +00:00
Bastien Nocera
65485f44ee
wacom: Only the current calibration target is visible
2012-01-11 17:27:00 +00:00
Bastien Nocera
0e6e52f822
wacom: Add second larger outer circle
2012-01-11 17:19:18 +00:00
Bastien Nocera
2669ec6ead
wacom: Make inner circle bigger
2012-01-11 17:18:36 +00:00
Bastien Nocera
5a69e99103
wacom: Make calibration targets bigger
2012-01-11 16:31:18 +00:00
Bastien Nocera
1087c92a0a
wacom: Debug output by default in test prog
2012-01-11 16:22:44 +00:00
Bastien Nocera
0cd211cfda
wacom: Add i18n support to calibrator test prog
2012-01-11 16:22:24 +00:00
Bastien Nocera
f547c902b6
wacom: Add i18n support to the calibrator
2012-01-11 16:21:44 +00:00
Bastien Nocera
03a18c7dc4
wacom: Use Pango and GTK+ to render text
...
Rather than cairo directly, with all that it entails.
2012-01-11 16:13:13 +00:00
Bastien Nocera
d00e7ee0bd
wacom: Remove private function from header
2012-01-11 12:04:02 +00:00
Bastien Nocera
469e6a610d
wacom: Add COPYING file for calibrator code
...
From https://github.com/tias/xinput_calibrator
2012-01-11 12:03:43 +00:00
Bastien Nocera
a5f7b09106
wacom: Fix warning with unfinished timer
...
We need to remove the timeout once we're done, otherwise it
will keep on running.
2012-01-10 20:34:38 +00:00
Bastien Nocera
7567d678f9
wacom: Simplify object creation
2012-01-10 20:14:50 +00:00
Bastien Nocera
f52a0c8104
wacom: Remove printf() calls
2012-01-10 20:13:20 +00:00
Bastien Nocera
ccdb171723
wacom: Remove dead expose-event code
...
It's unused, and wasn't called.
2012-01-10 20:00:34 +00:00