[shell-coding] Re: Module skinning

On Thu, 10 Jul 2003 01:06:15 -0500 "chris rempel"
<jugg@xxxxxxxxxxxxxxxxx> writes:
> class CSkinBox

Skin...Box?

hm...  :)

> Has anyone else come up with useful display configuration routines 
> for modules that are fairly generic and be made kind of 'standard'?  
>  I'd like to try to keep module settings differences to a minimum, 
> so if there are other good skinning implementations around, I'd like 
> to check them out.

I've got several, mostly a progression from scbar to rabidvwm to lstools
to skinbox.

The main structure I use, which is a bit less featureful, is:

typedef struct _lsEdgeMap {
 HBITMAP Bitmap;
 SIZE Size;
 RECT Edge;
 BOOL Tile;
} lsEdgeMap;

RabidVWM has a function, GetRCEdgeMap, which reads in this structure
given a prefix, and a TransEdgeBlt that stretches and paints it onto a
DC.  (It also has a function to read a simple "BevelColors" struct, also
given a prefix.)  The structure and blitter are in the "lstools" thing
that I added to one of my custom builds of litestep:
http://www.technoirotica.com/~rabidcow/litestep/lsapi-tools.html as
LSTransEdgeBlt.  (4th from the bottom)

-rabidcow


    

________________________________________________________________
The best thing to hit the internet in years - Juno SpeedBand!
Surf the web up to FIVE TIMES FASTER!
Only $14.95/ month - visit www.juno.com to sign up today!

__________________________________________________
Subscription options and archive:
http://www.freelists.org/list/shell-coding

Other related posts: