Skin/Theme Engine...Free?

For everything that's not in any way related to PureBasic. General chat etc...

Should we offer our skin engine free for freeware developers?

Yes, free-versions are always good for exposure.
46
47%
Yes, free-versions are always good for exposure.
46
47%
No! Nag-screens encourage people to buy a license.
3
3%
No! Nag-screens encourage people to buy a license.
3
3%
 
Total votes: 98

User avatar
NoahPhense
Addict
Addict
Posts: 1999
Joined: Thu Oct 16, 2003 8:30 pm
Location: North Florida

..

Post by NoahPhense »

Shannara wrote:I love skindeep ;) Or SkinFX. I may order this DLL, and use that tool on the forums to convert it into a lib.. whee. Damn, there's like nothing out there that is a skinner in a LIB format... bleh.
Create one, then make some money.. ;)

- np
User avatar
tinman
PureBasic Expert
PureBasic Expert
Posts: 1102
Joined: Sat Apr 26, 2003 4:56 pm
Location: Level 5 of Robot Hell
Contact:

Post by tinman »

PolyVector wrote:You can skin an entire applicate with this code:

Code: Select all

LoadLibrary(0,"SkinDeep.dll")
hSkin=CallFunction(0,"LoadSkin","MySkin.skn")
CallFunction(0,"ApplySkin",hWnd,hSkin)
I know it's not ready yet, but could we see a more complete example? How does the skin code fit in with the normal sequence of open window, create gadgets, handle events?

As I say I'm quite interested in seeing this, but can imagine it doesn't fit well with the tonnes of GUI code I already have :)
If you paint your butt blue and glue the hole shut you just themed your ass but lost the functionality.
(WinXPhSP3 PB5.20b14)
PolyVector
Enthusiast
Enthusiast
Posts: 499
Joined: Wed Sep 17, 2003 9:17 pm
Location: Southern California
Contact:

Post by PolyVector »

Edited:

@tinman, you'll have to wait for a release... This project is massive considering the free time I have...
I can tell you, however, that the best way to apply a skin at this point is:
  • Open a window invisibly
  • Add all components
  • Skin the window w/ the code I posted
  • Show the window....
All child components are automatically found and subclassed....

If any other components are created later on, you can simply type:
CallFunction(0,"ApplySkin",GadgetID(#Number),hSkin)

If for some reason your app has a problem refreshing, which it shouldn't, you could always use the RefreshWindow_() API or InvalidateRect_() to have my engine redraw everything...


Note:
If more people want a lib version, or somebody can make a convincing argument, I'll consider releasing one... Nothing is set in stone at this point, this is still only a work-in-progress...
Last edited by PolyVector on Thu Jun 17, 2004 12:07 am, edited 4 times in total.
User avatar
tinman
PureBasic Expert
PureBasic Expert
Posts: 1102
Joined: Sat Apr 26, 2003 4:56 pm
Location: Level 5 of Robot Hell
Contact:

Post by tinman »

PolyVector wrote:you'll have to wait for a release... This project is massive considering the free time I have...
No problem, I understand that problem. Just remember to use the announcement forum when it's ready, so I can find out about it :)

Thanks.
If you paint your butt blue and glue the hole shut you just themed your ass but lost the functionality.
(WinXPhSP3 PB5.20b14)
PolyVector
Enthusiast
Enthusiast
Posts: 499
Joined: Wed Sep 17, 2003 9:17 pm
Location: Southern California
Contact:

Post by PolyVector »

Guess I edited my post too slow...haha
Shannara
Addict
Addict
Posts: 1808
Joined: Thu Oct 30, 2003 11:19 pm
Location: Emerald Cove, Unformed

Post by Shannara »

If nothing is set in stone, then will this lib work on linux (and maybe the upcoming MacOSX)? Got a price range or a place to test this bugger out?
PolyVector
Enthusiast
Enthusiast
Posts: 499
Joined: Wed Sep 17, 2003 9:17 pm
Location: Southern California
Contact:

Post by PolyVector »

I don't have linux or a mac... But I'm not against it... One version at a time though...

One thing you must understand is 99% of code in an engine like this is platform specific... each 'version' would be an entirely different engine if I were to do that... I can't even imagine how long that would take...

Nobody can test it yet, it's nowhere near ready... please be patient... notice this isn't in the Announcement section...
Dare2
Moderator
Moderator
Posts: 3321
Joined: Sat Dec 27, 2003 3:55 am
Location: Great Southern Land

Post by Dare2 »

This sounds better and better.

If you do go with a LIB, good, but a DLL is fine and enduring and cross language, I suspect. I would use the DLL rather than the LIB.

Success to you, esp as this may improve the success chances for the rest of to us. :D
@}--`--,-- A rose by any other name ..
PolyVector
Enthusiast
Enthusiast
Posts: 499
Joined: Wed Sep 17, 2003 9:17 pm
Location: Southern California
Contact:

Post by PolyVector »

8)
PolyVector
Enthusiast
Enthusiast
Posts: 499
Joined: Wed Sep 17, 2003 9:17 pm
Location: Southern California
Contact:

Post by PolyVector »

Little progress update if anyone's interested: (I know I am :wink:)
  • The engine was optimized w/ 100% speed increase
  • All flickering on all versions of windows fixed...
  • Windows no longer draws the gadgets before my engine... drawing is completly overridden at run-time (in a very interesting way that preserves the gadget's properties).... Basicly, no BS_OWNERDRAW crap here, yet all the efficiency... Let's call this the special sauce :twisted:
  • SkinBuilder is entering the design phase...
Things are lookin' good, if I do say so myself! I can't wait to see projects using it :D
User avatar
blueznl
PureBasic Expert
PureBasic Expert
Posts: 6166
Joined: Sat May 17, 2003 11:31 am
Contact:

Post by blueznl »

still a *bit* :twisted: *more* to do, dear poly...

<evil grin>
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB)
( The path to enlightenment and the PureBasic Survival Guide right here... )
Num3
PureBasic Expert
PureBasic Expert
Posts: 2812
Joined: Fri Apr 25, 2003 4:51 pm
Location: Portugal, Lisbon
Contact:

Post by Num3 »

PolyVector wrote:Little progress update if anyone's interested: (I know I am :wink:)

The engine was optimized w/ 100% speed increase
Wow 8O

That mean's now it works !!!
Dare2
Moderator
Moderator
Posts: 3321
Joined: Sat Dec 27, 2003 3:55 am
Location: Great Southern Land

Post by Dare2 »

PolyVector wrote:I can't wait to see projects using it :D
Some projects can't wait to be using it. :)
@}--`--,-- A rose by any other name ..
PolyVector
Enthusiast
Enthusiast
Posts: 499
Joined: Wed Sep 17, 2003 9:17 pm
Location: Southern California
Contact:

Post by PolyVector »

still a *bit* :twisted: *more* to do, dear poly...
*I* would know best :roll:
DominiqueB
Enthusiast
Enthusiast
Posts: 103
Joined: Fri Apr 25, 2003 4:00 pm
Location: France

Pb with your site

Post by DominiqueB »

Hello, PolyVector.
I'm using Opera as a browser on the Internet.
I've got problems when going on your site, it loading correctly but some sec after reload, and reload, and reload without ending !

Any body else have this problem ?

Dominique.
Dominique

Windows 10 64bits. Pure basic 32bits
Post Reply