Mac OS X Porting - Scrollbar
From Apache OpenOffice Wiki
Revision as of 02:22, 14 September 2006 by Pdefilippis (Talk | contribs)
Contents
Scrollbar
Contributors
- Eric Bachard: Ericb
- Pierre de Filippis: Pdefilippis aliscafo@gmail.com
Introduction
The purpose of this article is first to present our current knowledge of the implementation of scrollbars in the native Mac OS X version of OpenOffice.org and second to be a tutorial on how to create scrollbars with HITheme.
Apple Documentation and References
The Appearance Manager and HITheme
As stated on the Native Controls page, HITheme is the new version of the Appearance Manager. Apple is pushing developers to use it since they are not supporting the AE anymore. But to make the transition easy Apple made the HITheme API very close to the AE. For example both have functions with very similar name and both share the same constants. You can always refer back to the AE to find the list of these constants and use them in HITheme functions.
==