Page 3 of 3

Posted: Fri Dec 16, 2005 2:00 pm
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.

Posted: Fri Dec 16, 2005 3:39 pm
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....

Posted: Fri Dec 16, 2005 5:15 pm
by Fred
SEO wrote:PS. Time to sleep after 32 hours....
:shock:

Posted: Fri Dec 16, 2005 5:55 pm
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:

Posted: Fri Dec 16, 2005 6:04 pm
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

Posted: Fri Dec 16, 2005 6:09 pm
by Fred
no the window isn't composited.