Page 1 of 1

Re: HyperTreeGadget

Posted: Wed May 30, 2012 12:15 am
by USCode
No way to keep this cross-platform?

Re: HyperTreeGadget

Posted: Wed May 30, 2012 10:30 pm
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)