Difference between revisions of "Mac OS X Implementing HIView"

From Apache OpenOffice Wiki
Jump to: navigation, search
(Usefull Links)
(Current code implementation)
Line 12: Line 12:
 
== Current code implementation==
 
== Current code implementation==
  
 +
===Events ===
 +
 +
Two sorts of events are needed:
 +
 +
*for objects (ClasskEventClassHIObject )  :
 +
 +
kEventHIObjectConstruct
 +
 +
kEventHIObjectInitialize
 +
 +
kEventHIObjectDestruct
 +
 +
*for controls themselves ( Class kEventClassControl ) :
 +
 +
kEventControlDraw
 +
 +
kEventControlInitialize
 +
 +
kEventControlHitTest
 +
 +
kEventControlGetPartRegion
 +
 +
kEventControlBoundsChanged
 +
 +
Current implementation : see vcl/aqua/aquavclevents.hxx for more informations about the syntax.
 +
 +
=== Handlers ===
 +
 +
[FIXME]
 +
 +
=== Controls ===
 +
 +
 +
[FIXME]
  
 
== Usefull Links ==   
 
== Usefull Links ==   

Revision as of 15:27, 12 March 2007

Contributors

Eric Bachard[ericb]

Sébastien Plisson [plipli]

introduction

This page is part of [Native Controls Implementation] and the objective is to use HIView for HIComboboxes or other HI* controls.


Current code implementation

Events

Two sorts of events are needed:

  • for objects (ClasskEventClassHIObject )  :

kEventHIObjectConstruct

kEventHIObjectInitialize

kEventHIObjectDestruct

  • for controls themselves ( Class kEventClassControl ) :

kEventControlDraw

kEventControlInitialize

kEventControlHitTest

kEventControlGetPartRegion

kEventControlBoundsChanged

Current implementation : see vcl/aqua/aquavclevents.hxx for more informations about the syntax.

Handlers

[FIXME]

Controls

[FIXME]

Usefull Links

Reference

HIVIew  : [reference]

or : [same in .pdf format]

Code sample

Personal tools