mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 12:00:52 +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
0f2d2f8426
commit
0ff05915ca
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>
|
||||
|
||||
* Source/NSSliderCell.m (-drawInteriorWithFrame:inView:): Allow
|
||||
|
|
|
@ -63,9 +63,15 @@
|
|||
}
|
||||
@end
|
||||
|
||||
/**<p>Todo Description </p>
|
||||
*/
|
||||
@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
|
||||
depth: (NSWindowDepth)aDepth
|
||||
separate: (BOOL)separate
|
||||
|
@ -88,6 +94,10 @@
|
|||
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
|
||||
{
|
||||
[super init];
|
||||
|
@ -128,12 +138,15 @@
|
|||
[super dealloc];
|
||||
}
|
||||
|
||||
// Getting the Representation
|
||||
/** <p>Returns the rectangle where the image is cached</p>
|
||||
*/
|
||||
- (NSRect) rect
|
||||
{
|
||||
return _rect;
|
||||
}
|
||||
|
||||
/** <p>Returns the NSWindow where the image is cached</p>
|
||||
*/
|
||||
- (NSWindow *) window
|
||||
{
|
||||
return _window;
|
||||
|
|
Loading…
Reference in a new issue