Re: Module skinning
"chris rempel" <jugg-3DLK4WMMzz8LR9k7Rz+ddgC/[email protected]> Wed, 6 Aug 2003 01:54:44 -0500
| Newsgroups | gmane.comp.windows.shell-shocked.devel |
|---|---|
| Message-ID | <[email protected]> |
:) I didn't realize you had someting called "skinbox". I'll have to search for another name. I did download your skinbox a couple of days ago now, and it looks pretty nifty. But it is missing a lot of files, so it has no chance of compiling. Seems to be some common files you have in another directory and isn't in the archive. I don't remember which right now though. Finally took a look at rabidvwm as well. Wow what a piece of code. :P The first thing I ripped was the ole drop target. I had just found a need for that, so will have to give it a try. And now to hijack my own thread and go offtopic... Does anyone have a simple class or something that handles transfering of files (copy/move/link) when given a source and destination. Basically I'm trying to implement a more robust drag and drop for jDesk, but I don't have easy access to resources explaining how to do all of that and such. The drag & drop part isn't a big deal, its the file management part that I need. Please let me know if you do, and where I can snag it from. :) chris ---------- Original Message ---------------------------------- From: [email protected] Reply-To: [email protected] Date: Thu, 10 Jul 2003 01:51:28 -0700 > >On Thu, 10 Jul 2003 01:06:15 -0500 "chris rempel" ><jugg-3DLK4WMMzz8LR9k7Rz+ddgC/[email protected]> 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 ______________________________________________________________ Sent via activatormail.com webmail system. ActivatorMail(tm) ver.00608031 Scanned for all viruses by www.activatormail.com intelligent anti-virus anti-spam service -- ActivatorMail(tm) ver.00608031 Scanned for all viruses by www.activatormail.com intelligent anti-virus anti-spam service __________________________________________________ Subscription options and archive: http://www.freelists.org/list/shell-coding