Commit Graph

46 Commits

Author SHA1 Message Date
Kim Woelders 9c31fe29ed Clean up header file inclusion order.
Fixes building with e.g. -std=c99 and c11 by always including config.h
(which defines _GNU_SOURCE) first.
2015-01-17 19:33:42 +01:00
Kim Woelders 4d1bde02ae Wrap XID and some other X types.
Mostly to change longs to ints to reduce memory footprint a bit on 64
bit systems.
2014-04-23 19:13:00 +02:00
Kim Woelders 1d3c4bb49c Cosmetics (key->keysym). 2014-04-23 07:39:36 +02:00
Kim Woelders e1f062fff5 Use NoXID in stead of None. 2013-12-29 08:59:38 +01:00
Kim Woelders 49669bafa2 Forgot some 2013. 2013-11-24 16:37:17 +01:00
Kim Woelders ccc5560d23 No need for double - change to float. 2013-07-07 23:35:16 +02:00
Kim Woelders 51a19d26e7 Introduce new animation engine.
Based on work by Daniel Manjarres.

One of the major changes is to eliminate the "TimedLoop" construction
where we have "local" animation loops, in which we don't pass through
the main event handler.

SVN revision: 80542
2012-12-09 10:03:07 +00:00
Kim Woelders 464be56029 Remove unused code.
SVN revision: 73452
2012-07-07 14:05:51 +00:00
Kim Woelders 0786a813d0 EwinMove/Resize - Change various global/ewin flags to function parameter.
SVN revision: 70390
2012-04-22 17:39:37 +00:00
Kim Woelders a115784797 Minor tweak around ECompMgrGetRootBuffer().
SVN revision: 66975
2012-01-08 12:54:15 +00:00
Kim Woelders ecb4087714 Cosmetics.
SVN revision: 61647
2011-07-24 10:20:57 +00:00
Kim Woelders 4255322e70 Magnifier - Cosmetics.
SVN revision: 61187
2011-07-10 06:08:28 +00:00
Kim Woelders a04e9a9b85 Magnifier: Render text lines properly regardless of font size.
Based on patch by Daniel Manjarres.

SVN revision: 61182
2011-07-10 06:08:17 +00:00
Kim Woelders 6becb32060 Magnifier: Minor optimisation when not showing texts.
Patch by Daniel Manjarres.

SVN revision: 61181
2011-07-10 06:08:15 +00:00
Kim Woelders 4ceb809f74 Minor debug printout cleanups.
SVN revision: 60483
2011-06-19 14:36:47 +00:00
Kim Woelders cb87b6f59b Add stroke/drag interface to magnifier (based on patch by Daniel Manjarres).
SVN revision: 60482
2011-06-19 14:36:44 +00:00
Kim Woelders 682e08a9ba Magnifier: Only enter grabbing mode first time it is mapped.
It would also do so on map after having been iconified.
Also avoid registering new timer/animator on every map.

SVN revision: 60280
2011-06-13 16:28:56 +00:00
Kim Woelders cb3082ed27 Magnifier: Show magnification factor in info text.
SVN revision: 60279
2011-06-13 16:28:53 +00:00
Kim Woelders 6d13911ac1 Magnifier: Change defaults - filter on, no text.
Based on patch by Daniel Manjarres.

SVN revision: 60278
2011-06-13 16:28:51 +00:00
Kim Woelders 533cf346e7 Magnifier: Make step size configurable.
Based on patch by Daniel Manjarres.

SVN revision: 60277
2011-06-13 16:28:49 +00:00
Kim Woelders 4219f2a744 Make magnifier scaling steps smaller.
Patch by Daniel Manjarres.

SVN revision: 59658
2011-05-24 21:20:06 +00:00
Kim Woelders 2af97154b0 Enable remembering magnifier window attributes.
Based on patch by Daniel Manjarres.

SVN revision: 59656
2011-05-24 17:58:19 +00:00
Kim Woelders 8d60a65352 Add commands to show/hide/toggle display of magnifier.
Suggested by Daniel Manjarres.

SVN revision: 59399
2011-05-15 10:58:29 +00:00
Kim Woelders 5501bee1cc Magnifier tweaks.
Do a delayed repaint after switching off CM.
Add 'u' option to update continuously when CM is off.

SVN revision: 59398
2011-05-15 10:58:27 +00:00
Kim Woelders 8f4001efee Magnifier - enable toggling text on/off.
Patch by Daniel Manjarres.

SVN revision: 59396
2011-05-15 10:58:23 +00:00
Kim Woelders f118572e79 Fix segv when iconifying magnifier window with CM enabled.
Patch by Daniel Manjarres.

SVN revision: 59352
2011-05-12 18:57:02 +00:00
Kim Woelders f0c0a4519c Change TimerAdd() and TimerSetInterval() time to ms.
SVN revision: 55891
2011-01-05 18:05:57 +00:00
Kim Woelders 4ac03926da Adjustments for indent 2.2.11.
SVN revision: 50909
2010-08-08 19:03:34 +00:00
Kim Woelders 48f6bbe94c Trivial cleanups.
SVN revision: 49486
2010-06-06 10:05:53 +00:00
Kim Woelders 31c97439d1 Fix potential segvs.
Could be triggered by early move/resizes, e.g. due to initially
shaded state.

SVN revision: 47727
2010-04-03 18:28:49 +00:00
Kim Woelders 633281a9c6 Eliminate need for initial EwinMoveToDesktop (fix initial pager background).
SVN revision: 43737
2009-11-16 20:55:12 +00:00
Kim Woelders cdaddb3376 Remove unused parameter.
SVN revision: 41510
2009-07-27 16:46:54 +00:00
Kim Woelders 21823a5e80 Fix potential crash when closing magnifier window (noted by Pietro Cerutti).
SVN revision: 40950
2009-06-07 20:00:51 +00:00
Kim Woelders ee094afa72 Cleanups around closing internal windows.
SVN revision: 35390
2008-08-07 23:17:04 +00:00
Kim Woelders 1dad1ef28f Simplify timers.
SVN revision: 34656
2008-05-24 18:13:17 +00:00
Kim Woelders 02f2b0d882 Eliminate RRoot and VRoot.
SVN revision: 34146
2008-03-29 17:18:58 +00:00
Kim Woelders 6eaca2639c Eliminate redundant VRoot vars.
SVN revision: 34106
2008-03-24 11:12:40 +00:00
Kim Woelders e7f01c2d6f Add -brs to indent profile.
SVN revision: 34096
2008-03-23 11:54:24 +00:00
Kim Woelders 5ab71de162 Cleanups.
SVN revision: 33740
2008-02-13 20:51:00 +00:00
Kim Woelders 2db78bbdfe Optionally use render for scaling.
SVN revision: 33583
2008-01-24 18:37:45 +00:00
Kim Woelders 967903fbad Fix incorrect tracking of pointer motion when dragging window (noted by Jon Foster).
SVN revision: 33196
2007-12-21 22:04:55 +00:00
Kim Woelders f7a0f9b160 Make magnifier window title translatable.
SVN revision: 30036
2007-05-19 18:44:39 +00:00
Kim Woelders 9d9e4686e7 Fix several issues around setting internal window title/class.
SVN revision: 30022
2007-05-18 21:18:24 +00:00
Kim Woelders 3f4eb10e09 Eliminate unused parameter in IPC functions. Move some stuff out of E.h.
SVN revision: 30015
2007-05-18 08:25:06 +00:00
Kim Woelders 1e60b25f78 Magnifier tweaks.
SVN revision: 29608
2007-04-19 22:25:25 +00:00
Kim Woelders 17690df4b5 Add magnifier window (eesh mag show).
SVN revision: 29436
2007-04-07 13:19:30 +00:00