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.
signature.asc
Description: This is a digitally signed message part
-- ubuntu-art mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-art
