Kim Woelders
23872b2cac
Simplify dialog data handling.
2014-04-29 19:42:15 +02:00
Kim Woelders
5fc86cc6ad
Refactor dialog apply/exit handling.
...
Split into separate functions so we don't have to check on val all over
to figure out if it is one or the other.
This also avoids that the apply stuff may be done twice on exit a couple
of places.
2014-04-29 19:42:15 +02: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
9d9fa0edf5
Cosmetics (key->keycode).
2014-04-23 07:38:27 +02:00
Kim Woelders
872e4f57c5
Simplify/fix dialog layout code.
...
The widget and table coordinates were not properly aligned, potentially
causing some widgets (last in a table) to not be rendered properly in
certain themes.
2013-12-31 09:34:00 +01:00
Kim Woelders
ce34edc4a3
Reduce nesting in DialogRealizeItem().
...
Also tweak some (disabled) debug messages.
2013-12-31 09:34:00 +01: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
e287b37e78
Switch to new list implementation.
...
Faster, less code, less memory usage.
Not that it matters much - mostly for fun.
2013-08-09 11:43:48 +02:00
Kim Woelders
30cb2101aa
Still more double to float.
2013-07-08 00:20:44 +02:00
Kim Woelders
3d03033e7f
Some more double to float.
2013-07-08 00:05:20 +02:00
Kim Woelders
ba7d9cc4a9
Fix various issues reported by clang. Minor cleanups.
...
SVN revision: 81671
2012-12-24 10:41:50 +00:00
Kim Woelders
a6061b81e1
Dialog sliders - Enable having upper bound below lower.
...
SVN revision: 70825
2012-05-06 17:20:16 +00:00
Kim Woelders
ee90d82431
Dialogs - Add missing const.
...
SVN revision: 70824
2012-05-06 17:20:13 +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
7dc821d6bd
Make dialogs sticky.
...
SVN revision: 62887
2011-08-27 15:42:39 +00:00
Kim Woelders
ff3724295a
Fix jumpy dialog sliders.
...
Based on patch by Daniel Manjarres.
SVN revision: 59852
2011-05-31 18:05:31 +00:00
Kim Woelders
aef884b09a
Move duplicated stuff to function. Cleanups.
...
SVN revision: 57923
2011-03-20 21:53:59 +00:00
Kim Woelders
288a6c0541
FreePmapMask() -> PmapMaskFree().
...
SVN revision: 53806
2010-10-23 10:22:50 +00:00
Kim Woelders
4ac03926da
Adjustments for indent 2.2.11.
...
SVN revision: 50909
2010-08-08 19:03:34 +00:00
Kim Woelders
708e19593e
Fix some poytential segvs. Minor cleanups.
...
SVN revision: 49485
2010-06-06 10:05:50 +00:00
Kim Woelders
19c3af1c46
Remove unused radio button event function.
...
SVN revision: 49483
2010-06-06 10:05:46 +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
a7e538be10
Trivial fixes (clang).
...
SVN revision: 45718
2010-01-29 19:45:04 +00:00
Kim Woelders
b820c7a662
Enable transparent image in dialog headers.
...
SVN revision: 43790
2009-11-18 19:15:33 +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
c5ed93a01b
Fix memory leak.
...
SVN revision: 43644
2009-11-12 20:48:36 +00:00
Kim Woelders
2a4d0e3fbd
Dialog cleanups.
...
SVN revision: 43638
2009-11-12 20:48:21 +00:00
Kim Woelders
acf3c63ef9
DialogDrawItems should not have to be called explicitly.
...
SVN revision: 43637
2009-11-12 20:48:18 +00:00
Kim Woelders
c0c9da09de
Simplify handling of dialog configuration data.
...
SVN revision: 43467
2009-11-05 18:45:58 +00:00
Kim Woelders
0506fdb959
Remove some obsolete disabled code.
...
SVN revision: 42890
2009-10-05 16:43:30 +00:00
Kim Woelders
cdaddb3376
Remove unused parameter.
...
SVN revision: 41510
2009-07-27 16:46:54 +00:00
Kim Woelders
24e0a0d7e8
Forgot some 2008->2009's.
...
SVN revision: 40605
2009-05-12 21:21:21 +00:00
Kim Woelders
287bbf4c3b
Enable building without dialogs.
...
SVN revision: 38754
2009-01-24 08:31:50 +00:00
Kim Woelders
e42a80764f
Play sounds by number in stead of by name. Enable disabling specific sounds.
...
SVN revision: 38142
2008-12-14 16:44:45 +00:00
Kim Woelders
5364016cb3
Fix certain cases of clicking in slider.
...
SVN revision: 37633
2008-11-14 18:30:58 +00:00
Kim Woelders
86b3545635
Keep slider knob highlited when over (noted by Don Harrop).
...
SVN revision: 37632
2008-11-14 18:30:55 +00:00
Kim Woelders
fed3c74369
Fix dialog text redraws when bg is tiled.
...
SVN revision: 37630
2008-11-14 18:30:50 +00:00
Kim Woelders
0760e357e4
More slider tweaks.
...
SVN revision: 37629
2008-11-14 18:30:48 +00:00
Kim Woelders
b85d1f0533
Make coordinate system in vertical sliders same as in horizontal.
...
SVN revision: 37628
2008-11-14 18:30:45 +00:00
Kim Woelders
6f1390acba
Slider tweaks.
...
SVN revision: 37627
2008-11-14 18:30:41 +00:00
Kim Woelders
94baac20f7
Add sanity check to avoid X-errors.
...
SVN revision: 37521
2008-11-05 22:56:14 +00:00
Kim Woelders
c8f3f10a81
DialogAlert... -> Alert...
...
SVN revision: 36793
2008-10-18 19:05:18 +00:00
Kim Woelders
ca70b18e4c
Fix dialog text rendering in certain themes.
...
SVN revision: 36442
2008-10-05 10:26:35 +00:00
Kim Woelders
ee094afa72
Cleanups around closing internal windows.
...
SVN revision: 35390
2008-08-07 23:17:04 +00:00
Kim Woelders
75abfead04
Remove dialog slider border window (not used in any theme).
...
SVN revision: 34887
2008-06-22 13:38:19 +00:00
Kim Woelders
e82903882a
Theme element fallback cleanups
...
- don't create fallback classes before they are needed.
- use of fallbacks was missing a number of places.
- setting theme to "-" will run entirely on fallbacks.
SVN revision: 34885
2008-06-22 13:34:42 +00:00
Kim Woelders
c906498380
Idler/Animator cleanups.
...
SVN revision: 34531
2008-05-10 23:15:32 +00:00
Kim Woelders
b780491887
Rewrap more X stuff.
...
SVN revision: 34149
2008-03-30 12:13:16 +00:00
Kim Woelders
02f2b0d882
Eliminate RRoot and VRoot.
...
SVN revision: 34146
2008-03-29 17:18:58 +00:00