]> icculus.org git repositories - divverent/nexuiz.git/blob - data/menuqc/todo
lossless jpegoptim run saving about 10 megabytes
[divverent/nexuiz.git] / data / menuqc / todo
1 // Todo list
2
3 -Clean up the Nex_ custom mess a bit
4 *-Notify Spike that the "effectless statement" warning has a off-by-one bug
5 *-Rename Item_Composition and make it not embedded by default
6 *-Add support for a MOUSECLIP flag which will make the menu not pass any mouse events to the items under it
7 *-Move the normal key function somewhere else perhaps??
8 *--Write a test menu ^^
9 --Unroll as menu recursive functions as possible
10 f-Remove this bloody RUNFLAG_SPAWNED again
11 *-Only spawn an item once(even if its tried to spawn it multiple times)
12 -Think about the layout alignment and improve it
13 *-Calculate the clip sizes and positions only once in PROCESS_RUNFLAG
14 --Rewrite *all* controls and the event handler to have the origin change before the current event function
15 -Add #enum and #enumflags to the parser
16 -Add effect support to all bloody items, use fixed names - if non existent ignore - change Menu_GetItem to a non-erroring version for this
17 -Add extended # commands like #add or #and, #complement, etc.
18 -Rewrite isframe to allow automation to create a good amount of new items
19 *-Clip the Item_DataLink_Value value strings (so it contains e.g. 1.45 instead of 1.450000)
20 *-Make all datalinks route all ITEM_DATA events
21 -Make FLOATING window clip its movement to the parent window's size so you cant hide it this way
22 -Fix orderPos in LinkChildren
23 *-Add a slist subsystem to base!
24 -Do a big naming check to smooth things out
25 -Move the _menu_process stuff somewhere else
26 s-Only call the mouse event when the position has been changed - since all changes happens then
27 -Perhaps make the RUNFLAGs be reset every frame for all items?
28 -Spend some time writing docs for the API - preferably at http://wiki.quakesrc.org :/
29 -Write a parser readme file explaining every tiny, little bit of it
30 /-Add effects items/classes
31 /-Rewrite isframe
32 /-Think about when to support ctcalls and when not
33 //-Add full support for the template idea or remove it
34 ?s-Make altstring and property conform with the new string param rules
35 ?s-Make the Data items support runtime changes, too
36 ?-Restructurize the controls
37 f-Add some kind of overlay control
38 f-Remove TokenType
39 f-Remove support for cliparea '0 0 0'-'0 0 0' => whole plane
40 s-Add a color and alpha stack to mgfx
41 s-Add a current namespace global that builds the current namespace from the parent lists
42 s-Add the abstract Item Item_Selectable
43 s-Remove all ctcall, customizeable events
44
45 *-Add ._runflags to system/item.qc - which will be used to determine visibility, etc. of items
46 *-Add MENU_PROCESS_KEY to Menu_ProcessEvent
47 *-Add MENU_PROCESS_RUNFLAG
48 *-Add RUNFLAG_CLIPPED, so we can select items that arent visible (but arent hidden intentionally as well -> scrollwindows)
49 *-Add a .userselect event  (Toddd)
50 *-Add a multiline label item class
51 *-Add a real #include to the parser
52 *-Add a scmenu_debug_process_filter cvar (only displays information on a specific process run)
53 *-Add a select event instead of userselect
54 *-Add a system controlled destruction of items similar to the NG Menu's system
55 *-Add direction tokens to Menu_GetItem
56 *-Add layout classes
57 *-Add more output to the parser (perhaps also a debug mode)
58 *-Finish the goddamn design
59 *-Finish the structure debug output
60 *-Finish this darn #include support!!
61 *-Fix the _FLAG_MOUSEINAREA bug: if the flag is set and the item is hidden somehow, it wont be unset
62 *-Fix the init function calling the spawn function for templates, too
63 *-Fix this strange clipping bug (items plop out of the void instead of shifting slowly in)
64 *-Implement an embedded window perhaps
65 *-Make FLAG_DRAWONLY and FLAG_DRAWUPDATEONLY only affect the parent item
66 *-Merge as many of the debug functions (especially clientarea and parentarea)
67 *-Move as many constants as possible to constants.menu
68 *-Remove Item_Init - its poison to deriving classes
69 *-Rename .refresh to .update and change all constants, too
70 *-Rename Spawn_ to _Spawn perhaps??
71 *-Rename link to target in the DataUser class
72 *-Rewrite _menu_* to use the normal stack instead of an altstring stack
73 *-Rewrite all controls
74 *-Rewrite all gfx functions to reuse the params for conversions, etc.
75 *-Update scmenu_debug_parser to also support tokens instead of pure floats