2
0

NSPathComponentCell.inc 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. { Parsed from Appkit.framework NSPathComponentCell.h }
  2. { Version: 2.1.5 - Fri Feb 11 21:45:56 CET 2011 }
  3. {$ifdef TYPES}
  4. {$ifndef NSPATHCOMPONENTCELL_PAS_T}
  5. {$define NSPATHCOMPONENTCELL_PAS_T}
  6. {$endif}
  7. {$endif}
  8. {$ifdef RECORDS}
  9. {$ifndef NSPATHCOMPONENTCELL_PAS_R}
  10. {$define NSPATHCOMPONENTCELL_PAS_R}
  11. {$endif}
  12. {$endif}
  13. {$ifdef FUNCTIONS}
  14. {$ifndef NSPATHCOMPONENTCELL_PAS_F}
  15. {$define NSPATHCOMPONENTCELL_PAS_F}
  16. {$endif}
  17. {$endif}
  18. {$ifdef EXTERNAL_SYMBOLS}
  19. {$ifndef NSPATHCOMPONENTCELL_PAS_S}
  20. {$define NSPATHCOMPONENTCELL_PAS_S}
  21. {$endif}
  22. {$endif}
  23. {$ifdef FORWARD}
  24. NSPathComponentCell = objcclass;
  25. NSPathComponentCellPointer = ^NSPathComponentCell;
  26. NSPathComponentCellPtr = NSPathComponentCellPointer;
  27. {$endif}
  28. {$ifdef CLASSES}
  29. {$ifndef NSPATHCOMPONENTCELL_PAS_C}
  30. {$define NSPATHCOMPONENTCELL_PAS_C}
  31. { NSPathComponentCell }
  32. NSPathComponentCell = objcclass external (NSTextFieldCell)
  33. private
  34. _image: NSImage;
  35. _fullWidth: CGFloat;
  36. _resizedWidth: CGFloat;
  37. _currentWidth: CGFloat;
  38. _url: NSURL;
  39. __flags: bitpacked record
  40. case byte of
  41. 0: (_anonbitfield_NSPathComponentCell0: cuint);
  42. 1: (
  43. shouldDrawArrow: 0..1;
  44. drawsAsNavigationBar: 0..1;
  45. isFirstItem: 0..1;
  46. isLastItem: 0..1;
  47. isDropTarget: 0..1;
  48. reserved: 0..((1 shl 27)-1);
  49. );
  50. end;
  51. _aux: id;
  52. public
  53. function image: NSImage; message 'image';
  54. procedure setImage(value: NSImage); message 'setImage:';
  55. function URL: NSURL; message 'URL';
  56. procedure setURL(url_: NSURL); message 'setURL:';
  57. end;
  58. {$endif}
  59. {$endif}