NSStatusBar.inc 765 B

12345678910111213141516171819202122232425262728293031
  1. { Parsed from AppKit.framework NSStatusBar.h }
  2. {$ifdef TYPES}
  3. const
  4. NSVariableStatusItemLength = -1;
  5. NSSquareStatusItemLength = -2;
  6. type
  7. NSStatusBarPtr = ^NSStatusBar;
  8. {$endif}
  9. {$ifdef CLASSES}
  10. type
  11. NSStatusBar = objcclass external (NSObject)
  12. private
  13. _items: id;
  14. _fReserved1: pointer;
  15. _fReserved2: pointer;
  16. _registeredForNote: NSInteger;
  17. public
  18. class function systemStatusBar: NSStatusBar; message 'systemStatusBar';
  19. function statusItemWithLength (length: CGFloat): NSStatusItem; message 'statusItemWithLength:';
  20. procedure removeStatusItem (item: NSStatusItem); message 'removeStatusItem:';
  21. function isVertical: ObjCBOOL; message 'isVertical';
  22. function thickness: CGFloat; message 'thickness';
  23. end;
  24. {$endif}