NSFormCell.inc 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. { Parsed from Appkit.framework NSFormCell.h }
  2. { Version: 2.1.5 - Fri Feb 11 21:45:55 CET 2011 }
  3. {$ifdef TYPES}
  4. {$ifndef NSFORMCELL_PAS_T}
  5. {$define NSFORMCELL_PAS_T}
  6. {$endif}
  7. {$endif}
  8. {$ifdef RECORDS}
  9. {$ifndef NSFORMCELL_PAS_R}
  10. {$define NSFORMCELL_PAS_R}
  11. {$endif}
  12. {$endif}
  13. {$ifdef FUNCTIONS}
  14. {$ifndef NSFORMCELL_PAS_F}
  15. {$define NSFORMCELL_PAS_F}
  16. {$endif}
  17. {$endif}
  18. {$ifdef EXTERNAL_SYMBOLS}
  19. {$ifndef NSFORMCELL_PAS_S}
  20. {$define NSFORMCELL_PAS_S}
  21. {$endif}
  22. {$endif}
  23. {$ifdef FORWARD}
  24. NSFormCell = objcclass;
  25. NSFormCellPointer = ^NSFormCell;
  26. NSFormCellPtr = NSFormCellPointer;
  27. {$endif}
  28. {$ifdef CLASSES}
  29. {$ifndef NSFORMCELL_PAS_C}
  30. {$define NSFORMCELL_PAS_C}
  31. { NSFormCell }
  32. NSFormCell = objcclass external (NSActionCell)
  33. private
  34. _titleWidth: CGFloat;
  35. _titleCell: id;
  36. _titleEndPoint: CGFloat;
  37. public
  38. function initTextCell(aString: NSString): id; message 'initTextCell:';
  39. function titleWidth(aSize: NSSize): CGFloat; message 'titleWidth:';
  40. procedure setTitleWidth(width: CGFloat); message 'setTitleWidth:';
  41. function title: NSString; message 'title';
  42. procedure setTitle(aString: NSString); message 'setTitle:';
  43. function titleFont: NSFont; message 'titleFont';
  44. procedure setTitleFont(fontObj: NSFont); message 'setTitleFont:';
  45. function titleAlignment: NSTextAlignment; message 'titleAlignment';
  46. procedure setTitleAlignment(mode: NSTextAlignment); message 'setTitleAlignment:';
  47. function isOpaque: Boolean; message 'isOpaque';
  48. procedure setPlaceholderString(string_: NSString); message 'setPlaceholderString:';
  49. function placeholderString: NSString; message 'placeholderString';
  50. procedure setPlaceholderAttributedString(string_: NSAttributedString); message 'setPlaceholderAttributedString:';
  51. function placeholderAttributedString: NSAttributedString; message 'placeholderAttributedString';
  52. function titleBaseWritingDirection: NSWritingDirection; message 'titleBaseWritingDirection';
  53. procedure setTitleBaseWritingDirection(writingDirection: NSWritingDirection); message 'setTitleBaseWritingDirection:';
  54. end;
  55. { NSKeyboardUI_NSFormCellCategory }
  56. NSKeyboardUI_NSFormCellCategory = objccategory external name 'NSKeyboardUI' (NSFormCell)
  57. procedure setTitleWithMnemonic(stringWithAmpersand: NSString); message 'setTitleWithMnemonic:';
  58. end;
  59. { NSFormCellAttributedStringMethodsCategory }
  60. NSFormCellAttributedStringMethodsCategory = objccategory external (NSFormCell)
  61. function attributedTitle: NSAttributedString; message 'attributedTitle';
  62. procedure setAttributedTitle(obj: NSAttributedString); message 'setAttributedTitle:';
  63. end;
  64. {$endif}
  65. {$endif}