NSOpenGLView.inc 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. { Parsed from Appkit.framework NSOpenGLView.h }
  2. { Version: 2.1.5 - Fri Feb 11 21:45:56 CET 2011 }
  3. {$ifdef TYPES}
  4. {$ifndef NSOPENGLVIEW_PAS_T}
  5. {$define NSOPENGLVIEW_PAS_T}
  6. {$endif}
  7. {$endif}
  8. {$ifdef RECORDS}
  9. {$ifndef NSOPENGLVIEW_PAS_R}
  10. {$define NSOPENGLVIEW_PAS_R}
  11. {$endif}
  12. {$endif}
  13. {$ifdef FUNCTIONS}
  14. {$ifndef NSOPENGLVIEW_PAS_F}
  15. {$define NSOPENGLVIEW_PAS_F}
  16. {$endif}
  17. {$endif}
  18. {$ifdef EXTERNAL_SYMBOLS}
  19. {$ifndef NSOPENGLVIEW_PAS_S}
  20. {$define NSOPENGLVIEW_PAS_S}
  21. {$endif}
  22. {$endif}
  23. {$ifdef FORWARD}
  24. NSOpenGLView = objcclass;
  25. NSOpenGLViewPointer = ^NSOpenGLView;
  26. NSOpenGLViewPtr = NSOpenGLViewPointer;
  27. {$endif}
  28. {$ifdef CLASSES}
  29. {$ifndef NSOPENGLVIEW_PAS_C}
  30. {$define NSOPENGLVIEW_PAS_C}
  31. { NSOpenGLView }
  32. NSOpenGLView = objcclass external (NSView)
  33. private
  34. _openGLContext: NSOpenGLContext;
  35. _pixelFormat: NSOpenGLPixelFormat;
  36. _reserved1: NSInteger;
  37. _reserved2: NSInteger;
  38. _reserved3: NSInteger;
  39. public
  40. class function defaultPixelFormat: NSOpenGLPixelFormat; message 'defaultPixelFormat';
  41. function initWithFrame_pixelFormat(frameRect: NSRect; format: NSOpenGLPixelFormat): id; message 'initWithFrame:pixelFormat:';
  42. procedure setOpenGLContext(context: NSOpenGLContext); message 'setOpenGLContext:';
  43. function openGLContext: NSOpenGLContext; message 'openGLContext';
  44. procedure clearGLContext; message 'clearGLContext';
  45. procedure update; message 'update';
  46. procedure reshape; message 'reshape';
  47. procedure setPixelFormat(pixelFormat_: NSOpenGLPixelFormat); message 'setPixelFormat:';
  48. function pixelFormat: NSOpenGLPixelFormat; message 'pixelFormat';
  49. procedure prepareOpenGL; message 'prepareOpenGL';
  50. end;
  51. {$endif}
  52. {$endif}