NSTableRowView.inc 4.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. { Parsed from AppKit.framework NSTableRowView.h }
  2. {$ifdef TYPES}
  3. type
  4. NSTableRowViewPtr = ^NSTableRowView;
  5. {$endif}
  6. {$ifdef CLASSES}
  7. type
  8. NSTableRowView = objcclass external (NSView, NSAccessibilityRowProtocol)
  9. private
  10. _columnViews: NSViewPtr;
  11. _columnCount: NSInteger;
  12. _selectionHighlightStyle: NSTableViewSelectionHighlightStyle;
  13. _draggingDestinationFeedbackStyle: NSTableViewDraggingDestinationFeedbackStyle;
  14. _dropOperationIndentation: CGFloat;
  15. _backgroundColor: NSColor;
  16. _selectionAlpha: CGFloat;
  17. _anonStruct_NSTableRowView0: record
  18. case byte of
  19. 0: (anonBitField_NSTableRowView0: cuint);
  20. 1: (data: bitpacked record
  21. _targetForDropOperation: 0..1;
  22. _groupRowStyle: 0..((1 shl 2)-1);
  23. _priorRowSelected: 0..1;
  24. _nextRowSelected: 0..1;
  25. _selected: 0..1;
  26. _emphasized: 0..1;
  27. _hasAssociatedViews: 0..1;
  28. _backgroundStylesDirty: 0..1;
  29. _isFloating: 0..1;
  30. _hasCustomGridColor: 0..1;
  31. _usingCachedImageOnly: 0..1;
  32. _gridStyleMask: 0..((1 shl 4)-1);
  33. _updatingBackgroundStyle: 0..1;
  34. _locationNeedsUpdating: 0..1;
  35. _isStatic: 0..1;
  36. _hasSelectedBackgroundView: 0..1;
  37. _hasDropTargetBackgroundView: 0..1;
  38. _selectionBlendingMode: 0..1;
  39. _checkingFontRefColor: 0..1;
  40. {$if not defined(__LP64__)}
  41. _anonStruct_NSTableRowView1: record
  42. case byte of
  43. 0: (anonBitField_NSTableRowView1: cuint);
  44. 1: (data: bitpacked record
  45. _reserved2: 0..((1 shl 8)-1);
  46. end;
  47. );
  48. end;
  49. {$endif}
  50. end;
  51. );
  52. end;
  53. public
  54. procedure setSelectionHighlightStyle(newValue: NSTableViewSelectionHighlightStyle); message 'setSelectionHighlightStyle:';
  55. function selectionHighlightStyle: NSTableViewSelectionHighlightStyle; message 'selectionHighlightStyle';
  56. procedure setEmphasized(newValue: ObjCBOOL); message 'setEmphasized:';
  57. function isEmphasized: ObjCBOOL; message 'isEmphasized';
  58. procedure setGroupRowStyle(newValue: ObjCBOOL); message 'setGroupRowStyle:';
  59. function isGroupRowStyle: ObjCBOOL; message 'isGroupRowStyle';
  60. procedure setSelected(newValue: ObjCBOOL); message 'setSelected:';
  61. function isSelected: ObjCBOOL; message 'isSelected';
  62. procedure setPreviousRowSelected(newValue: ObjCBOOL); message 'setPreviousRowSelected:';
  63. function isPreviousRowSelected: ObjCBOOL; message 'isPreviousRowSelected';
  64. procedure setNextRowSelected(newValue: ObjCBOOL); message 'setNextRowSelected:';
  65. function isNextRowSelected: ObjCBOOL; message 'isNextRowSelected';
  66. procedure setFloating(newValue: ObjCBOOL); message 'setFloating:';
  67. function isFloating: ObjCBOOL; message 'isFloating';
  68. procedure setTargetForDropOperation(newValue: ObjCBOOL); message 'setTargetForDropOperation:';
  69. function isTargetForDropOperation: ObjCBOOL; message 'isTargetForDropOperation';
  70. procedure setDraggingDestinationFeedbackStyle(newValue: NSTableViewDraggingDestinationFeedbackStyle); message 'setDraggingDestinationFeedbackStyle:';
  71. function draggingDestinationFeedbackStyle: NSTableViewDraggingDestinationFeedbackStyle; message 'draggingDestinationFeedbackStyle';
  72. procedure setIndentationForDropOperation(newValue: CGFloat); message 'setIndentationForDropOperation:';
  73. function indentationForDropOperation: CGFloat; message 'indentationForDropOperation';
  74. function interiorBackgroundStyle: NSBackgroundStyle; message 'interiorBackgroundStyle';
  75. procedure setBackgroundColor(newValue: NSColor); message 'setBackgroundColor:';
  76. function backgroundColor: NSColor; message 'backgroundColor';
  77. procedure drawBackgroundInRect (dirtyRect: NSRect); message 'drawBackgroundInRect:';
  78. procedure drawSelectionInRect (dirtyRect: NSRect); message 'drawSelectionInRect:';
  79. procedure drawSeparatorInRect (dirtyRect: NSRect); message 'drawSeparatorInRect:';
  80. procedure drawDraggingDestinationFeedbackInRect (dirtyRect: NSRect); message 'drawDraggingDestinationFeedbackInRect:';
  81. function viewAtColumn (column: NSInteger): id; message 'viewAtColumn:';
  82. function numberOfColumns: NSInteger; message 'numberOfColumns';
  83. end;
  84. {$endif}