• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: AU Host Window Compositing flags
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AU Host Window Compositing flags


  • Subject: Re: AU Host Window Compositing flags
  • From: Philippe Wicker <email@hidden>
  • Date: Tue, 5 Nov 2002 23:38:39 +0100

On Tuesday, November 5, 2002, at 10:38 PM, Michael Hopkins wrote:

Using carbon controls in a composited window
--------------------------------------------
You may mix carbon controls and HIViews. You need to do some specific things
for your carbon controls in order to make sure they behave correctly.

1) Do not use EmbedControl() to add controls to the carbon root pane.
Instead use HIViewAddSubview.

I assume this i true for custom controls only. Am I right? ::EmbedControl() is used in the code of AUCarbonViewBase::CreateCarbonView(). Does it mean that we must override this method?

2) Make sure that all of your panes and controls are being added in a
parent-relative matter and not in a window relative manner. HIView.h adds
many routines for coordinate mapping between views. Your view coordinate
system should be relative to the root pane and not the window.

3) Do not use Draw1Control, DrawControls, or UpdateControls to update your
custom carbon controls. HIViewSetNeedsDisplay (view, true) should be
sufficient for all of your updating needs.


Is it OK for non custom (standard) carbon controls ?

4) Certain types of standard carbon controls do not support compositing:
editable text control, the list box control, the scrolling text field
control, and the data browser. The Data browser is being updated to support
compositing, and the Unicode text control replaces the standard edit text
control


Concerning the update of the DataBrowser, Eric Schlegel from Apple wrote on a post to the Carbon development list:

"The next major release of X should have a fully compositing-savvy
version of the DataBrowser, but that won't be until sometime in 2003
(we haven't decided exactly when yet)."

Sometime in 2003 may be in quite a long time. What can we do until that update?


Philippe Wicker
email@hidden
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: AU Host Window Compositing flags (From: Michael Hopkins <email@hidden>)

  • Prev by Date: Re: AU Host Window Compositing flags
  • Next by Date: Re: AU Host Window Compositing flags
  • Previous by thread: Re: AU Host Window Compositing flags
  • Next by thread: Re: AU Host Window Compositing flags
  • Index(es):
    • Date
    • Thread