Mac OS X Porting - Native Controls

From Apache OpenOffice Wiki
Revision as of 19:03, 2 September 2006 by Pdefilippis (Talk | contribs)

Jump to: navigation, search

Native Controls

Introduction

The purpose of this article is to present our current knowledge and progress of the implementation of native controls in the native Mac OS X version of OpenOffice.org. Our goal by implementing native controls is to remove the win32 look as much as possible and replace it by the Aqua look and feel using the Carbon API.

Apple Documentation and References

Tradeoff between the Appearance Manager and HITheme

Apple provides an easy way to change a custom user interface to an aqua interface, by using the Appearance Manager. This API was first developed for Mac OS 8 and is centered around QuickDraw. The appearance manager is less and less supported by Apple and any implementation needs to be replaced with the HIToolbox version: HITheme. The problem with HITheme is that its implementation started on Mac OS X 10.2 (Jaguar) and has since gone under many revisions and new functions have been progressively added with each new version of OS X. Therefore functions in 10.4 might not be in 10.3 or 10.2. This will probably be one of the reason why the native version of OpenOffice.org will run on Mac OS X 10.4 and higher.

Overview of the Files that we need to deal with + graph

Overview of the Apple documentation that we need

List of all the controls to change + pictures (VCL<->Apple) equivalent

To do

Pictures of the current state

-- Pdefilippis aliscafo@gmail.com

Personal tools