Find a more flexible solution for the GUI than css
Device and user variable GUI. Eg if this is an iphone -> iphone screen specific GUI, if this is a children, bigger icons etc..
Each interface-object should then implements these virtual methods / attributes.
Blueprint information
- Status:
- Not started
- Approver:
- None
- Priority:
- Medium
- Drafter:
- Julian Bilcke
- Direction:
- Approved
- Assignee:
- Julian Bilcke
- Definition:
- Drafting
- Series goal:
- None
- Implementation:
- Unknown
- Milestone target:
- None
- Started by
- Completed by
Related branches
Related bugs
Sprints
Whiteboard
Actually there is no way to define the "how to render" except by :
- specifying the theme in the config file.
Perhaps I should think about let the object specify their own css ?
Or create a list of "possible platform ?"
eg:
no_interface: text2speech.py (which define how to render the page, how many objects to display, size of the .png, if JS is activated, which .css to use etc..)
hud: hud.py (for an hypothetical but certainly cool head up display interface, on glasses or lens ;)
mobile: mobile.py
iphone: iphone.py
normal: normal.py
I should not let them render their own html because traktopel is only a "content" platform. The structure, design etc.. will depend upon the device used (screen size, can it handle 3D or not etc..) and objects should only handle data, not the rendering of their own interface.