Difference between revisions of "Carbon interface internals"

From Free Pascal wiki
Jump to navigationJump to search
 
Line 1: Line 1:
 +
This page gives an overview of the LCL carbon interface for MacOSX and will help new developers.
 +
 +
For installation and creating a first carbon application read first [[Carbon Interface]].
 +
 +
== What is already working ? ==
 +
 +
*Creating a TForm
 +
*Creating a TButton
 +
*Mouse events
 +
 +
== What needs to be done next ==
 +
 +
*Create more controls (TLabel, TEdit, TCheckBox, TGroupBox)
 +
*Keyboard events (KeyDown, KeyUp, Char)
 +
*Resize events (when form has been resized by user)
 +
*ShowModal (for dialogs)
 +
 +
== How to add a new control ==
 +
 +
 +
 +
== Keys ==
 +
 
*Apple Command key is mapped to ssCtrl due to [http://developer.apple.com/documentation/UserExperience/Conceptual/OSXHIGuidelines/index.html Apple Guidelines]
 
*Apple Command key is mapped to ssCtrl due to [http://developer.apple.com/documentation/UserExperience/Conceptual/OSXHIGuidelines/index.html Apple Guidelines]
 
*Apple control key is mapped to ssMeta
 
*Apple control key is mapped to ssMeta
 
*Apple option key is mapped to its inscription, i.e. ssAlt
 
*Apple option key is mapped to its inscription, i.e. ssAlt

Revision as of 19:56, 14 January 2006

This page gives an overview of the LCL carbon interface for MacOSX and will help new developers.

For installation and creating a first carbon application read first Carbon Interface.

What is already working ?

  • Creating a TForm
  • Creating a TButton
  • Mouse events

What needs to be done next

  • Create more controls (TLabel, TEdit, TCheckBox, TGroupBox)
  • Keyboard events (KeyDown, KeyUp, Char)
  • Resize events (when form has been resized by user)
  • ShowModal (for dialogs)

How to add a new control

Keys

  • Apple Command key is mapped to ssCtrl due to Apple Guidelines
  • Apple control key is mapped to ssMeta
  • Apple option key is mapped to its inscription, i.e. ssAlt