[ubuntu-art] Edgy usplash
Dennis Kaarsemaker
dennis at kaarsemaker.net
Mon Jul 24 15:30:37 BST 2006
Hello all,
For Edgy usplash will be changing (and already has changed)
significantly. The good news is that theming usplash will be a bit
easier. The bad news is that theming usplash will be a bit harder.
That sounds contradictory, but it really isn't. The preleminary
specifiactions of usplash-to-be are as follows:
* 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
The obvious downside is that themes, which currently are just artwork,
will need to contain a significant bit of code. The advantage is that
it's possible to create styled progressbars (eg: make them look like the
GTK progressbars).
I want to remind you at this point that this is no real specification
yet and is subject to change. Moreover, no code has been written for it
yet as it is pending on other changes in the init/bootlog/usplash
system. However, I didn't want the artwork to be blocked on these code
changes, so I want to propose the following for people who create
usplash themes
- Create a 640x400 png with 16 colors that scales nicely to 3:4
- Then create 3 versions of it
- One with no text and an empty progressbar
- One with a full progressbar
- One with a full text area
There are only a few fonts available for use in usplash themes, I'll
work on providing previews of them asap. New fonts in the form of freely
redistributable .bdf files are welcome and themes can also link in their
own fonts.
--
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/8d294247/attachment.pgp
More information about the ubuntu-art
mailing list