Re: Another question about themeing
Kristian Kvilekval <[email protected]> Wed, 18 Feb 2004 12:16:49 -0800
| Newsgroups | gmane.comp.audio.zinf.devel |
|---|---|
| Message-ID | <1077135408.1055.39.camel@krispc> |
On Wed, 2004-02-18 at 11:10, Catherine wrote: > For the ControlBitmap, I really dont understand where the numbers come > in. the w=x2-x1+1 has me a bit confused because I don't know which > bitmap is being used for the numbers....the one for the buttons or the > background > <ButtonControl Name="Next"> > <Info Desc="Move to next track" Tip="Next"/> > <Position Pos="287,29"/> Position of control on background bitmap > <ControlBitmap Rect="0,32,119,63" Name="Buttons"/> > </ButtonControl> > The ControlBitmap allows you to store multiple controls in a single bitmap file. For example the Next button might have multiple state (Normal, MouseOver, Pressed, and Disabled). These are stored in the control bitmap file (Buttons) at position 0,32,119,63 Another button (say play) can be stored in the same bitmap at another position. -- Kristian G. Kvilekval email:[email protected] office:(805)893-4276 http://www.cs.ucsb.edu/~kris ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click