Commit graph

86 commits

Author SHA1 Message Date
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
Bastien Nocera
0b0cc5bbfd wacom: Remove unused main.h 2012-01-10 19:21:30 +00:00
Bastien Nocera
7b82472645 wacom: s/axys/axis/ 2012-01-10 19:19:24 +00:00
Bastien Nocera
4618d62a48 wacom: Those functions don't need to be public
So don't export them in the .h file
2012-01-10 19:18:33 +00:00
Bastien Nocera
e44a3327f8 wacom: Remove custom MAX() macro 2012-01-10 19:12:18 +00:00
Bastien Nocera
0d98523b7b wacom: Remove M_PI redefinition 2012-01-10 19:12:18 +00:00
Bastien Nocera
8516b6a1f9 wacom: Remove custom boolean type 2012-01-10 19:12:18 +00:00
Bastien Nocera
ff3fd96310 wacom: Remove custom strdup function 2012-01-10 18:32:54 +00:00
Jason Gerecke
4fecb4c01d wacom: Implement g-c-c calibration functionality
Adds and handles callback from the "Calibrate" button.
When clicked, we get the current calibration and feed
it in to the calibration utility. After it completes
we get back a modified calibration and an indication
of success. If it was successful we apply the changes,
if not, we ignore the modifed calibration.

https://bugzilla.gnome.org/show_bug.cgi?id=657423
2012-01-10 18:28:27 +00:00
Jason Gerecke
e50dbea195 wacom: Bring over files from xinput-calibrator and build utility
Copies over files from a trimmed version of xinput-calibrator and
modifies the Makefile.am to build the program as a seperate utility.
This is just to verify the functionality of the code when built with
gnome-control-center.

https://bugzilla.gnome.org/show_bug.cgi?id=657423
2012-01-10 18:26:55 +00:00