mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 01:50:48 +00:00
Add new method for shadow.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25388 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
cf7a64aef3
commit
87163a8515
3 changed files with 40 additions and 27 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2007-08-15 Fred Kiefer <FredKiefer@gmx.de>
|
||||||
|
|
||||||
|
* Headers/Additions/GNUstepGUI/GSDisplayServer.h (-setShadow::),
|
||||||
|
* Source/GSDisplayServer.m (-setShadow::):
|
||||||
|
Add new method for shadow.
|
||||||
|
|
||||||
2007-08-12 Fred Kiefer <FredKiefer@gmx.de>
|
2007-08-12 Fred Kiefer <FredKiefer@gmx.de>
|
||||||
|
|
||||||
* Source/NSAttributedString.m (-_substituteFontWithName:font:):
|
* Source/NSAttributedString.m (-_substituteFontWithName:font:):
|
||||||
|
|
|
@ -116,47 +116,48 @@ APPKIT_EXPORT NSString * GSScreenNumber;
|
||||||
- (int) window: (NSRect)frame : (NSBackingStoreType)type : (unsigned int)style;
|
- (int) window: (NSRect)frame : (NSBackingStoreType)type : (unsigned int)style;
|
||||||
- (int) window: (NSRect)frame : (NSBackingStoreType)type : (unsigned int)style
|
- (int) window: (NSRect)frame : (NSBackingStoreType)type : (unsigned int)style
|
||||||
: (int)screen;
|
: (int)screen;
|
||||||
- (void) termwindow: (int) win;
|
- (void) termwindow: (int)win;
|
||||||
- (int) nativeWindow: (void *)winref : (NSRect*)frame : (NSBackingStoreType*)type
|
- (int) nativeWindow: (void *)winref : (NSRect*)frame : (NSBackingStoreType*)type
|
||||||
: (unsigned int*)style : (int*)screen;
|
: (unsigned int*)style : (int*)screen;
|
||||||
|
|
||||||
/* Only if handlesWindowDecorations returns YES. */
|
/* Only if handlesWindowDecorations returns YES. */
|
||||||
- (void) stylewindow: (unsigned int) style : (int) win;
|
- (void) stylewindow: (unsigned int)style : (int)win;
|
||||||
|
|
||||||
- (void) windowbacking: (NSBackingStoreType)type : (int) win;
|
- (void) windowbacking: (NSBackingStoreType)type : (int)win;
|
||||||
- (void) titlewindow: (NSString *) window_title : (int) win;
|
- (void) titlewindow: (NSString *)window_title : (int)win;
|
||||||
- (void) miniwindow: (int) win;
|
- (void) miniwindow: (int)win;
|
||||||
- (BOOL) appOwnsMiniwindow;
|
- (BOOL) appOwnsMiniwindow;
|
||||||
- (void) windowdevice: (int) win;
|
- (void) windowdevice: (int)win;
|
||||||
- (void) orderwindow: (int) op : (int) otherWin : (int) win;
|
- (void) orderwindow: (int)op : (int)otherWin : (int)win;
|
||||||
- (void) movewindow: (NSPoint)loc : (int) win;
|
- (void) movewindow: (NSPoint)loc : (int)win;
|
||||||
- (void) placewindow: (NSRect)frame : (int) win;
|
- (void) placewindow: (NSRect)frame : (int)win;
|
||||||
- (NSRect) windowbounds: (int) win;
|
- (NSRect) windowbounds: (int)win;
|
||||||
- (void) setwindowlevel: (int) level : (int) win;
|
- (void) setwindowlevel: (int)level : (int)win;
|
||||||
- (int) windowlevel: (int) win;
|
- (int) windowlevel: (int)win;
|
||||||
- (NSArray *) windowlist;
|
- (NSArray *) windowlist;
|
||||||
- (int) windowdepth: (int) win;
|
- (int) windowdepth: (int)win;
|
||||||
- (void) setmaxsize: (NSSize)size : (int) win;
|
- (void) setmaxsize: (NSSize)size : (int)win;
|
||||||
- (void) setminsize: (NSSize)size : (int) win;
|
- (void) setminsize: (NSSize)size : (int)win;
|
||||||
- (void) setresizeincrements: (NSSize)size : (int) win;
|
- (void) setresizeincrements: (NSSize)size : (int)win;
|
||||||
- (void) flushwindowrect: (NSRect)rect : (int) win;
|
- (void) flushwindowrect: (NSRect)rect : (int)win;
|
||||||
- (void) styleoffsets: (float*) l : (float*) r : (float*) t : (float*) b
|
- (void) styleoffsets: (float*)l : (float*)r : (float*)t : (float*)b
|
||||||
: (unsigned int) style;
|
: (unsigned int)style;
|
||||||
- (void) docedited: (int) edited : (int) win;
|
- (void) docedited: (int) edited : (int)win;
|
||||||
- (void) setinputstate: (int)state : (int)win;
|
- (void) setinputstate: (int)state : (int)win;
|
||||||
- (void) setinputfocus: (int) win;
|
- (void) setinputfocus: (int)win;
|
||||||
- (void) setalpha: (float)alpha: (int) win;
|
- (void) setalpha: (float)alpha: (int)win;
|
||||||
|
- (void) setShadow: (BOOL)hasShadow : (int)win;
|
||||||
|
|
||||||
- (NSPoint) mouselocation;
|
- (NSPoint) mouselocation;
|
||||||
- (NSPoint) mouseLocationOnScreen: (int)aScreen window: (int *)win;
|
- (NSPoint) mouseLocationOnScreen: (int)aScreen window: (int *)win;
|
||||||
- (BOOL) capturemouse: (int) win;
|
- (BOOL) capturemouse: (int)win;
|
||||||
- (void) releasemouse;
|
- (void) releasemouse;
|
||||||
- (void) hidecursor;
|
- (void) hidecursor;
|
||||||
- (void) showcursor;
|
- (void) showcursor;
|
||||||
- (void) standardcursor: (int) style : (void**) cid;
|
- (void) standardcursor: (int) style : (void**)cid;
|
||||||
- (void) imagecursor: (NSPoint)hotp : (int)w : (int)h : (int) colors
|
- (void) imagecursor: (NSPoint)hotp : (int)w : (int)h : (int)colors
|
||||||
: (const unsigned char *) image : (void**) cid;
|
: (const unsigned char *) image : (void**)cid;
|
||||||
- (void) setcursorcolor: (NSColor *)fg : (NSColor *)bg : (void*) cid;
|
- (void) setcursorcolor: (NSColor *)fg : (NSColor *)bg : (void*)cid;
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
||||||
|
|
|
@ -798,6 +798,12 @@ GSCurrentServer(void)
|
||||||
//[self subclassResponsibility: _cmd];
|
//[self subclassResponsibility: _cmd];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** Sets the window shadow */
|
||||||
|
- (void) setShadow: (BOOL)hasShadow : (int)win
|
||||||
|
{
|
||||||
|
//[self subclassResponsibility: _cmd];
|
||||||
|
}
|
||||||
|
|
||||||
/** Returns the current mouse location on the default screen. If the
|
/** Returns the current mouse location on the default screen. If the
|
||||||
* pointer is not on the default screen, an invalid point (-1,-1} is
|
* pointer is not on the default screen, an invalid point (-1,-1} is
|
||||||
* returned.<br />
|
* returned.<br />
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue