mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 02:10:37 +00:00
2004-11-10 Matt Rice <ratmice@yahoo.com>
* Headers/Additions/GNUstepGUI/GSDisplayServer.h (-iconSize): New method declaration. (-iconTileImage): Ditto. * Source/GSDisplayServer.m (-resolutionForScreen:): Fix Typo in Docs. (-boundsForScreen:): Ditto. (-windowBounds:): Ditto. (-iconSize): Implement new method. (-iconTileImage): Ditto. * Source/NSApplication.m (NSAppIconView): Remove useWindowmakerIconBackground variable. (scaledIconSizeForSize): New function. ([NSAppIconView +initialize]): Dont set a default image here. Remove usage of GSUseWindowmakerIconBackground default. Use backend tile and scale it to the backend icon size. ([NSAppIconView -drawRect:]): Remove usage of useWindowmakerIconBackground. Draw cells with the backend icon size. ([NSAppIconView -setImage:]): Set the image to a scaled copy. setNeedsDisplay instead of drawing directly. ([NSApplication -_appIconInit]): Use backend icon size. * Source/NSWindow.m: Remove useWindowmakerIconBackground variable. (scaledIconSizeForSize): New function. ([NSMiniWindowView +initialize]): Remove usage of GSUseWindowmakerIconBackground default. Use backend tile image and scale it to the backend icon size. ([NSMiniWindowView -drawRect:]): Remove usage of useWindowmakerIconBackground. Draw cells with the backend iconSize. ([NSMiniWindowView -setImage:]): Set the image to a scaled copy. setNeedsDisplay instead of drawing directly. ([NSMiniWindowView -setTitle:]): setNeedsDisplay instead of drawing directly. ([NSWindow -miniaturize:]): Use backend icon size. * Documentation/GuiUser/DefaultsSummary.gsdoc: Remove docs for GSUseWindowmakerIconBackground. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20336 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
409e8d2388
commit
d714152e8f
6 changed files with 147 additions and 95 deletions
|
@ -165,18 +165,6 @@
|
|||
specification are used in [NSWorkspace iconForFile:] when available.
|
||||
</p>
|
||||
</desc>
|
||||
<term>GSUseWindowmakerIconBackground</term>
|
||||
<desc>
|
||||
<p>
|
||||
A boolean value, <code>NO</code> by default. When set to YES,
|
||||
GNUstep uses the windowmaker icon background
|
||||
for app icons and mini-windows.
|
||||
</p>
|
||||
<p>
|
||||
Note that this only works when using back-art, and the
|
||||
XWindowBuffer-shape-hack default must be set to YES.
|
||||
</p>
|
||||
</desc>
|
||||
<term>GSLogWorkspaceTimeout</term>
|
||||
<desc>
|
||||
<p>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue