CarbonLib

Mac OSX specific forum
Fred
Administrator
Administrator
Posts: 18162
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Post by Fred »

About the workspace (#C_), i think than you can remove anyname space as it will be the default one on OS X. I think i should write a converter from the .h or something similar, because there is way to much structures/constants/api functions to do it by hand.
SEO
Enthusiast
Enthusiast
Posts: 178
Joined: Fri Dec 09, 2005 11:42 pm
Location: Sweden
Contact:

Post by SEO »

Carbonx version 0.0.2 available for download.
Carbonx is an test how to use carbonLib calls, and is free to use.
Today you could create Metal Windows and use Live resize when you resize the window.

Calls in 0.0.2:
err = SpeakString_(" ") ; Carbon call Speak the Window Title
err = ChangeWindowAttributes_(WindowID(0),#C_SetWindowMetal,0)
err = ChangeWindowAttributes_(WindowID(0),#C_SetWindowLiveResize,0)
err = ChangeWindowAttributes_(WindowID(0),#C_RemoveWindowShadow,0)
err = ChangeWindowAttributes_(WindowID(0), #C_SetWindowPlainBox,0)
err = ChangeWindowAttributes_(WindowID(0),0,Pow(2,6)) ; REMOVE TOOLBAR WIDGET
err = SetWindowModified_(WindowID(0),#C_TRUE)
err = SetWindowModified_(WindowID(0),#C_FALSE)

There is an simple example project in the download package
----------------------------------------------------
http://www.xhtmlsoft.com/pb/downloads/
----------------------------------------------------

There is also instructions in the download package.
Enjoy,
SEO

PS. Time to sleep after 32 hours....
Fred
Administrator
Administrator
Posts: 18162
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Post by Fred »

SEO wrote:PS. Time to sleep after 32 hours....
:shock:
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

Post by Polo »

Fred wrote:
SEO wrote:PS. Time to sleep after 32 hours....
:shock:
You should be doing the same for PB4.0 :twisted: :wink:
SEO
Enthusiast
Enthusiast
Posts: 178
Joined: Fri Dec 09, 2005 11:42 pm
Location: Sweden
Contact:

Post by SEO »

No time to sleep!
Here is an 'composite bug' ?

@Fred: Are you creating the Window as composite ?

http://www.xhtmlsoft.com/pb/images/compositebug.png

Regards.
SEO
Fred
Administrator
Administrator
Posts: 18162
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Post by Fred »

no the window isn't composited.
Post Reply