mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 19:00:47 +00:00
Improved documentation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22062 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
79a110a12a
commit
418d2060ba
2 changed files with 21 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2005-11-21 fabien <fabien@sonappart.net>
|
||||||
|
|
||||||
|
* Source/NSButton.m : Improved documentation
|
||||||
|
* Source/NSButtonCell.m : Improved documentation
|
||||||
|
* Source/NSCachedImageRep.m : Improved documentation
|
||||||
|
|
||||||
2005-11-21 Fred Kiefer <FredKiefer@gmx.de>
|
2005-11-21 Fred Kiefer <FredKiefer@gmx.de>
|
||||||
|
|
||||||
* Source/NSSliderCell.m (-drawInteriorWithFrame:inView:): Allow
|
* Source/NSSliderCell.m (-drawInteriorWithFrame:inView:): Allow
|
||||||
|
|
|
@ -63,9 +63,15 @@
|
||||||
}
|
}
|
||||||
@end
|
@end
|
||||||
|
|
||||||
|
/**<p>Todo Description </p>
|
||||||
|
*/
|
||||||
@implementation NSCachedImageRep
|
@implementation NSCachedImageRep
|
||||||
|
|
||||||
// Initializing an NSCachedImageRep
|
/** <p>Initializes and returns a new NSCachedImageRep with size
|
||||||
|
and depth specified by <var>aSize</var> and <var>aDepth</var> recpectivly.
|
||||||
|
If seperate is YES, the image will gets its own unique cache without
|
||||||
|
sharing it with other images. </p>
|
||||||
|
*/
|
||||||
- (id) initWithSize: (NSSize)aSize
|
- (id) initWithSize: (NSSize)aSize
|
||||||
depth: (NSWindowDepth)aDepth
|
depth: (NSWindowDepth)aDepth
|
||||||
separate: (BOOL)separate
|
separate: (BOOL)separate
|
||||||
|
@ -88,6 +94,10 @@
|
||||||
return self;
|
return self;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** <p>Initializes and returns a new NSCachedImageRep into a NSWindow
|
||||||
|
<var>aWindow</var>. The image will be draw into the rectange aRect of
|
||||||
|
this window. aWindow is retained</p>
|
||||||
|
*/
|
||||||
- (id) initWithWindow: (NSWindow *)aWindow rect: (NSRect)aRect
|
- (id) initWithWindow: (NSWindow *)aWindow rect: (NSRect)aRect
|
||||||
{
|
{
|
||||||
[super init];
|
[super init];
|
||||||
|
@ -128,12 +138,15 @@
|
||||||
[super dealloc];
|
[super dealloc];
|
||||||
}
|
}
|
||||||
|
|
||||||
// Getting the Representation
|
/** <p>Returns the rectangle where the image is cached</p>
|
||||||
|
*/
|
||||||
- (NSRect) rect
|
- (NSRect) rect
|
||||||
{
|
{
|
||||||
return _rect;
|
return _rect;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** <p>Returns the NSWindow where the image is cached</p>
|
||||||
|
*/
|
||||||
- (NSWindow *) window
|
- (NSWindow *) window
|
||||||
{
|
{
|
||||||
return _window;
|
return _window;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue