From: Speed D. <no...@so...> - 2011-05-21 10:03:50
|
#396: Some menus can't be fully customized through their XML descriptor -------------------------------+-------------------------------------------- Reporter: pouillot | Owner: pouillot Type: defect | Status: accepted Priority: minor | Milestone: 2.0.0 Component: User interface | Version: 1.4.0 Keywords: menu XML template | -------------------------------+-------------------------------------------- Changes (by pouillot): * owner: somebody => pouillot * status: new => accepted Comment: I propose we add the following in the menu XML descriptor file : * "control templates" : in a new "templatecontrols" section (besides "staticcontrols" and "dynamiccontrols"), defined just as normal controls, but being this time "models" for possibly multiple controls (for each template) that the code needs to create, and defining default values for the control properties (font, alignment, colors, ...), * "generic properties" (in a new "customdata" section), as simple { name, type, value } sets useful for the code for creating the controls (examples : for a result menu, 1 line per racer, the code needs the pixel shift between lines, the position of the first and last lines, ...). -- Ticket URL: <http://sourceforge.net/apps/trac/speed-dreams/ticket/396#comment:1> Speed Dreams <http://sourceforge.net/projects/speed-dreams> An Open Motorsport Simulator forked from Torcs in order to deliver a better user experience through nicer and more consistent car sets, visually improved tracks and enhanced physics realism. |