HyperTreeGadget 1.2

Share your advanced PureBasic knowledge/code with the community.
USCode
Addict
Addict
Posts: 924
Joined: Wed Mar 24, 2004 11:04 pm
Location: Seattle

Re: HyperTreeGadget

Post by USCode »

No way to keep this cross-platform?
User avatar
michel51
Enthusiast
Enthusiast
Posts: 290
Joined: Mon Nov 21, 2005 10:21 pm
Location: Germany

Re: HyperTreeGadget

Post by michel51 »

mevedia.de wrote:just replace GetSysColor_()´s :)
That's not enough.
On Mac there is defined no stucture RECT. You have to put it in with compiler conditions.

There is no equivalent to GetColorSys_() on Mac. I've set the colors directly.

In loadfont() command has to be written the fontname correctly (on Mac), otherwise the font is not initialized.

Code: Select all

font1 = LoadFont(#PB_Any, "Arial", 8, #PB_Font_HighQuality)
font2 = LoadFont(#PB_Any, "Comic Sans MS", 12, #PB_Font_Bold)
michel51

Mac OS X Snow Leopard (10.6.8 ) Intel
PureBasic V 5.21(x64), V 5.22beta
Post Reply