view codeDoc/todo.txt @ 95:2a364c7d82c9

Boolean options can be adjusted from the gui now (using a very basic widget). Also some bug-fixes. Fixed a minor bug where layouts with the same id but without shared alignments would be messed up. Tracked down the "nothing trawn until a resize" bug (see jobs.txt). If widgets throw during creation they're now replaced by debug widgets. Function pointers are converted to delegates using a safer method.
author Diggory Hardy <diggory.hardy@gmail.com>
date Thu, 06 Nov 2008 11:07:18 +0000
parents 4d5d53e4f881
children 08651e8a8c51
line wrap: on
line source

Copyright © 2007-2008 Diggory Hardy
License: GNU General Public License version 2 or later (see COPYING)


Content:
Need a way for a single content to contain multiple "sub-contents", and a way for widgets to be bound to a sub-content.
->  how
    ->  Use indecies; widget's use an integer value to choose index (or a string)?
    ->  Protection: read-only and read-write contents?
->  why
    ->  Dynamic lists of name, value and possibly description fields.
        ->  Done in a basic case, so is it needed?
Generic Content creation:
->  Created centrally, e.g. from options or translation strings.
    ->  Creator keeps a hash-map of all created content, so that if the same content is asked for again the same content object will be returned, not a new object (besides efficiency, this keeps content synchronized).
->  Generic ContentList type for instancing on at run-time.
->  Items in ContentList may represent a cluster of items; e.g. an option plus it's name and description. These may be special classes, but should use a generic interface allowing getting sub-contents (e.g. value/name/desc.) via an index.


GUI:
->  Widgets:
->  scripted widgets
->  decent rendering/theme system


Scratchpad area for ideas: