[ubuntu-art] Edgy usplash
Dennis Kaarsemaker
dennis at kaarsemaker.net
Mon Jul 24 16:04:27 BST 2006
On ma, 2006-07-24 at 16:43 +0200, Kenneth Wimer wrote:
> > * A theme exports a 'struct theme' with the following members
> > - A background pixmap
> > - An offset into the palette for the background color
> > - Function pointers to functions for
> > - Drawing the progress bar
> > - Drawing a throbber
> > - Drawing the text
> > * The text drawing function may be a NULL pointer to disable text
> > drawing
> > * Themes will be able to use all bogl drawing primitives and are free
> > to use them as needed
>
> Are the primitives only going to be drawn in one color? How do these
> primitives get that color? An offset into the palette again? (The
> same applies for determining the text color?).
>
> How is a throbber to be defined? Will it be a series of bitmaps
> included in an extra pic, or attached somehow to the bottom of the
> usplash pic itself, etc.
That is completely up to the theme - these functions are completely
responsible for drawing the needed parts. For progress bar/throbber I
had pixmaps in mind, which I wanted to manually extract from the
image-with-full-progressbar (that's why I asked for it). The text will
be single-colour, the colour still has to be an offset into the palette.
--
Dennis K.
Time is an illusion, lunchtime doubly so.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/ubuntu-art/attachments/20060724/67c1ea7d/attachment.pgp
More information about the ubuntu-art
mailing list