Feature #1060

Implement getWndProc() on Mac OS X

Added by rti almost 9 years ago. Updated over 8 years ago.

Status:Closed Start date:08/05/2010
Priority:Normal Due date:
Assignee:rti % Done:

100%

Category:OS: Mac
Target version:Version 0.8.0

Description

see #1028 Implement GlWndProc for X11


Related issues

related to Ryzom - Feature #1156: Handle window close/application quit cleanly Closed 11/03/2010

History

#1 Updated by rti over 8 years ago

  • Assignee set to rti

#2 Updated by rti over 8 years ago

  • % Done changed from 0 to 70

#3 Updated by rti over 8 years ago

  • Status changed from New to Resolved
  • Target version changed from Version 0.9.0 to Version 0.8.0
  • % Done changed from 70 to 100

There are some more events the cocoa systems sends, which could be handled as well. But there is very little documentation about them...

From the Cocoa doc:

The remaining event types—NSAppKitDefined, NSSystemDefined, and NSApplicationDefined—are less structured, containing only generic subtype and data fields. Of these three miscellaneous event types, only NSApplicationDefined is of real use to application programs.

I did not find any information what the type and data values mean.

This document reveals some more details, suggesting not to use those events.
http://books.google.de/books?id=AeyX8GqdzPYC&pg=PA611&lpg=PA611&dq=list+kitdefined+systemdefined+nsevent&source=bl&ots=66fGW0WkJt&sig=Jgg0AjFeP-vYdgmrldQc2yCnKqA&hl=de&ei=BwHUTObvKMb5sgbX0YzpBA&sa=X&oi=book_result&ct=result&resnum=1&sqi=2&ved=0CBkQ6AEwAA#v=onepage&q&f=false

For this reasons I close this issue now.
Move, resize and quit events are handled on Mac, but not using glWindowProc().

#4 Updated by rti over 8 years ago

Applied in changeset r1108.

#5 Updated by rti over 8 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF