comparison codeDoc/jobs.txt @ 131:9cff74f68b84

Major revisions to popup handling. Buttons can close menus now, plus some smaller impovements. Removed Widget module. Moved Widget.AWidget to AChildWidget.AChildWidget and Widget.AParentWidget to AParentWidget.AParentWidget. Removed ASingleParentWidget to improve code sharing. AChildWidget doesn't implement IParentWidget like AWidget did. New IPopupParentWidget extending IParentWidget for the WM and some widgets to handle popups. Cut old popup management code. New underMouse() function replacing highlight(); called on all widgets. Separate menu-popup and button widgets aren't needed for menus now. Functions returning content widgets have been moved to their own module. Cleaned up jobs.txt. Switched to 80 line length for Ddoc.
author Diggory Hardy <diggory.hardy@gmail.com>
date Wed, 21 Jan 2009 13:01:40 +0000
parents c5c38eaadb64
children 29a524e7c858
comparison
equal deleted inserted replaced
130:c5c38eaadb64 131:9cff74f68b84
5 In progress: 5 In progress:
6 Still a resizing issue (needs SIZABILITY = SIZABILITY_ENUM.ANY_SUBWIDGETS to make options window resizable): enlarge options box, change tab, shrink and change back. 6 Still a resizing issue (needs SIZABILITY = SIZABILITY_ENUM.ANY_SUBWIDGETS to make options window resizable): enlarge options box, change tab, shrink and change back.
7 7
8 8
9 To do (importance 0-5: 0 pointless, 1 no obvious impact now, 2 todo sometime, 3 useful, 4 important, 5 urgent): 9 To do (importance 0-5: 0 pointless, 1 no obvious impact now, 2 todo sometime, 3 useful, 4 important, 5 urgent):
10 Also see todo.txt and FIXME/NOTE comment marks. 10 Also search for FIXME/NOTE/BUG/WARNING comment marks.
11 4 Close popup menu on button activation/click. 11 4 Revise widgets/functions available
12 3 Synchronization of IContent with gui (e.g. multiple edit widgets): worth adding (temporary) callbacks? 12 3 Glyph 's' drawn incorrectly in release mode - ??
13 3 Improvements for non-button popup widgets.
13 3 Widget saving: how to deal with modifier functions, esp. when they discard parameters? Remove feature except for dimdata and handle gui editing separately? 14 3 Widget saving: how to deal with modifier functions, esp. when they discard parameters? Remove feature except for dimdata and handle gui editing separately?
14 3 Use of dtors - don't rely on them? Or what happens when init throws during creation - relying on undefined behaviour.
15 3 glBindTexture not working with non-0 index - perhaps use a higher level graphics library at some point. 15 3 glBindTexture not working with non-0 index - perhaps use a higher level graphics library at some point.
16 3 Windows building/compatibility (currently partial) - tango/sys/win32/SpecialPath.d 16 3 Windows compatibility - no registry support (useful to find path).
17 2 Popup help boxes on hover/right click to display content description. 17 2 Popup help boxes on hover/right click to display content description.
18 2 clickEvent: don't evaluate b directly but pass to a WidgetManager function to allow button configuration. Alternately, evaluate in WidgetManager's clickEvent and pass flags on to IChildWidget's clickEvent.
19 2 Reduce variable passing (e.g. for some Content widgets data and id aren't even relevant). Wait for gui editor.
20 2 Possibility: Could have a content method "update (T*)" to add a synchronized variable. Or could store both a content and a syncronized variable for each option within Options.
21 2 Add callback to miscOpts.L10n reverting the option to it's last value if no file is found and reloading translations.
22 2 Remove ability to scan, then load, mergetag sections. Not so necessary with section creator callback and allows "sliding window" type partial buffering. Also remove dataset and force use of section creator callback?
23 2 Options need a "level": simple options, for advanced users, for debugging only, etc. 18 2 Options need a "level": simple options, for advanced users, for debugging only, etc.
24 2 Command-line options for paths to by-pass normal path finding functionality. 19 2 Command-line options for paths to by-pass normal path finding functionality.
25 2 Consider replacing byte/short types with int type
26 2 File loading from compressed archives
27 2 gdc compatibility - now due to SDL?
28 2 Sensitivity adjustments. From es_a_out: 20 2 Sensitivity adjustments. From es_a_out:
29 /+ FIXME: revise. 21 /+ FIXME: revise.
30 + I can't see any point using HALF_RANGE here, since it should really be used dependant on 22 + I can't see any point using HALF_RANGE here, since it should really be used dependant on
31 + the device attached, not the axis. Also what about adjusted range like X3's throttle? 23 + the device attached, not the axis. Also what about adjusted range like X3's throttle?
32 + 24 +
50 /+ When a global sensitivity is available (possibly only use if it's enabled)... 42 /+ When a global sensitivity is available (possibly only use if it's enabled)...
51 else a = axis.sensitivity; 43 else a = axis.sensitivity;
52 y = sign(y) * pow(abs(y), a); // sensitivity adjustment by a +/ 44 y = sign(y) * pow(abs(y), a); // sensitivity adjustment by a +/
53 myThis.axis[cast(inputID) s.pop()] = y; 45 myThis.axis[cast(inputID) s.pop()] = y;
54 +/ 46 +/
55 1 Mergetag binary support / other file formats. 47 1 Remove ability to scan, then load, mergetag sections. Not so necessary with section creator callback and allows "sliding window" type partial buffering. Also remove dataset and force use of section creator callback?
48 1 File loading from compressed archives and/or binary archives.
56 49
57 50
58 Done (since last commit): 51 Done (since last commit):