Talk:TODO/User interface toolkit/CSS for UFOAI

From UFO:AI
< Talk:TODO‎ | User interface toolkit
Revision as of 14:05, 13 August 2010 by Bayo (talk | contribs) (moved Talk:TODO/User interface module/CSS for UFOAI to Talk:TODO/User interface toolkit/CSS for UFOAI: User interface toolkit)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

instead of using color: 0.5 0.5 0.5; we should use color "0.5 0.5 0.5" even if this is no css - i don't see the point in adding another parsing and syntax style - but i like the idea of templates or style classes.

Every time i do something, i look at existing ones. CSS provide some selectors we can use in the future what why i write that. But for the moment it can be "too much". If you are interested by style, i can use the current parser, something very simple like
style mainButton
{
	size "256 64"
	image "menu/button_big"
	font "f_menubig"
	color "0 0.5 0 1"
	selectcolor "1 1 1 1"
}
Bayo 14:28, 15 November 2008 (UTC)