Index:
[thread]
[date]
[subject]
[author]
From: Andrew Apted <ajapted@netspace.net.au>
To : ggi-develop@eskimo.com
Date: Sat, 5 Sep 1998 13:32:32 +1000
Graphtype names
Now that we're using the new graphtype scheme, we need to update the
ggi_mode parsing & output routines to cope with it. Here is what I
have in mind, and I'll implement it if there are no objections or better
ideas :
The string format of the graphtype will be:
'[' [ scheme ] [ depth ] [ '#' size ] ']'
where <scheme> is one of :
'T' for GT_TEXT
'P' for GT_PALETTE
'C' for GT_TRUECOLOR
'K' for GT_GREYSCALE (or 'G' if you prefer)
(NOTE: case insensitive)
and <depth> and <size> are decimal numbers corresponding to GT_DEPTH()
and GT_SIZE(). When a field is missing, GT_AUTO is assumed.
The following will also be accepted:
"[GT_1BIT]" ... "[GT_32BIT]" "[GT_TEXT16]" etc.
(Personally I'd rather see the GT_xxBIT things removed entirely)
Lastly, there'll be some code in display/common/ for targets to handle
the various GT_AUTO possibilities, such as upgrading "[8]" to "[p8#8]"
and "[#32]" to "[c24#32]".
Cheers,
_____________________________________________ ____
\ /
Andrew Apted <andrew@ggi-project.org> \/
Index:
[thread]
[date]
[subject]
[author]