mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 10:20:48 +00:00
Added missing functions
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9752 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
d1fdeb03f5
commit
82a4641f70
2 changed files with 69 additions and 0 deletions
|
@ -340,4 +340,34 @@ NSArray* GSAllWindows();
|
|||
NSWindow* GSWindowWithNumber(int num);
|
||||
#endif
|
||||
|
||||
#ifndef STRICT_OPENSTEP
|
||||
// Window operations
|
||||
void NSConvertGlobalToWindowNumber(int globalNum, unsigned int *winNum);
|
||||
void NSConvertWindowNumberToGlobal(int winNum, unsigned int *globalNum);
|
||||
|
||||
// Rectangle drawing
|
||||
NSRect NSDrawColorTiledRects(NSRect boundsRect, NSRect clipRect,
|
||||
const NSRectEdge *sides, NSColor **colors,
|
||||
int count);
|
||||
void NSDrawDarkBezel(NSRect aRect, NSRect clipRect);
|
||||
void NSDrawLightBezel(NSRect aRect, NSRect clipRect);
|
||||
void NSRectFillListWithColors(const NSRect *rects, NSColor **colors, int count);
|
||||
void NSRectFillUsingOperation(NSRect aRect, NSCompositingOperation op);
|
||||
void NSRectFillListUsingOperation(const NSRect *rects, int count,
|
||||
NSCompositingOperation op);
|
||||
void NSRectFillListWithColorsUsingOperation(const NSRect *rects,
|
||||
NSColor **colors,
|
||||
int num,
|
||||
NSCompositingOperation op);
|
||||
|
||||
void NSDrawWindowBackground(NSRect aRect);
|
||||
|
||||
// Context information
|
||||
void NSCountWindowsForContext(int context, int *count);
|
||||
void NSWindowListForContext(int context, int size, int list[][]);
|
||||
int NSGetWindowServerMemory(int context, int *virtualMemory,
|
||||
int *windowBackingMemory, NSString **windowDumpStream);
|
||||
|
||||
#endif
|
||||
|
||||
#endif /* __NSGraphics_h__ */
|
||||
|
|
|
@ -145,6 +145,45 @@ int NSRunLocalizedAlertPanel(NSString *table,
|
|||
NSString *otherButton, ...);
|
||||
#endif
|
||||
|
||||
#ifndef STRICT_OPENSTEP
|
||||
//
|
||||
// New alert interface of Mac OS X
|
||||
//
|
||||
void NSBeginAlertSheet(NSString *title,
|
||||
NSString *defaultButton,
|
||||
NSString *alternateButton,
|
||||
NSString *otherButton,
|
||||
NSWindow *docWindow,
|
||||
id modalDelegate,
|
||||
SEL willEndSelector,
|
||||
SEL didEndSelector,
|
||||
void *contextInfo,
|
||||
NSString *msg, ...);
|
||||
|
||||
void NSBeginCriticalAlertSheet(NSString *title,
|
||||
NSString *defaultButton,
|
||||
NSString *alternateButton,
|
||||
NSString *otherButton,
|
||||
NSWindow *docWindow,
|
||||
id modalDelegate,
|
||||
SEL willEndSelector,
|
||||
SEL didEndSelector,
|
||||
void *contextInfo,
|
||||
NSString *msg, ...);
|
||||
|
||||
void NSBeginInformationalAlertSheet(NSString *title,
|
||||
NSString *defaultButton,
|
||||
NSString *alternateButton,
|
||||
NSString *otherButton,
|
||||
NSWindow *docWindow,
|
||||
id modalDelegate,
|
||||
SEL willEndSelector,
|
||||
SEL didEndSelector,
|
||||
void *contextInfo,
|
||||
NSString *msg, ...);
|
||||
|
||||
#endif
|
||||
|
||||
//
|
||||
// Release an Attention Panel
|
||||
//
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue