comparison dwt/internal/objc/cocoa/Cocoa.d @ 116:580596d83ac4

Ported dwt.opengl.GLCanvas
author Jacob Carlborg <doob@me.com>
date Wed, 31 Dec 2008 15:46:19 +0100
parents c7f7f4d7091a
children e1c48e37e0f5
comparison
equal deleted inserted replaced
115:a2d82e6fd054 116:580596d83ac4
474 NSNotFound = 0x7fffffff 474 NSNotFound = 0x7fffffff
475 } 475 }
476 476
477 477
478 478
479 // NSOpenGL.h
480 enum NSOpenGLPixelFormatAttribute : uint
481 {
482 NSOpenGLPFAAllRenderers = 1,
483 NSOpenGLPFADoubleBuffer = 5,
484 NSOpenGLPFAStereo = 6,
485 NSOpenGLPFAAuxBuffers = 7,
486 NSOpenGLPFAColorSize = 8,
487 NSOpenGLPFAAlphaSize = 11,
488 NSOpenGLPFADepthSize = 12,
489 NSOpenGLPFAStencilSize = 13,
490 NSOpenGLPFAAccumSize = 14,
491 NSOpenGLPFAMinimumPolicy = 51,
492 NSOpenGLPFAMaximumPolicy = 52,
493 NSOpenGLPFAOffScreen = 53,
494 NSOpenGLPFAFullScreen = 54,
495 NSOpenGLPFASampleBuffers = 55,
496 NSOpenGLPFASamples = 56,
497 NSOpenGLPFAAuxDepthStencil = 57,
498 NSOpenGLPFAColorFloat = 58,
499 NSOpenGLPFAMultisample = 59,
500 NSOpenGLPFASupersample = 60,
501 NSOpenGLPFASampleAlpha = 61,
502 NSOpenGLPFARendererID = 70,
503 NSOpenGLPFASingleRenderer = 71,
504 NSOpenGLPFANoRecovery = 72,
505 NSOpenGLPFAAccelerated = 73,
506 NSOpenGLPFAClosestPolicy = 74,
507 NSOpenGLPFARobust = 75,
508 NSOpenGLPFABackingStore = 76,
509 NSOpenGLPFAMPSafe = 78,
510 NSOpenGLPFAWindow = 80,
511 NSOpenGLPFAMultiScreen = 81,
512 NSOpenGLPFACompliant = 83,
513 NSOpenGLPFAScreenMask = 84,
514 NSOpenGLPFAPixelBuffer = 90,
515 NSOpenGLPFAAllowOfflineRenderers = 96,
516 NSOpenGLPFAVirtualScreenCount = 128
517 }
518
519
520
479 // NSParagraphStyle.h 521 // NSParagraphStyle.h
480 enum NSLineBreakMode 522 enum NSLineBreakMode
481 { 523 {
482 NSLineBreakByWordWrapping = 0, 524 NSLineBreakByWordWrapping = 0,
483 NSLineBreakByCharWrapping, 525 NSLineBreakByCharWrapping,