mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-06-02 08:41:00 +00:00
Correct misspellings and clarify the documentation. Add missing include guards.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18453 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
f8490d6fcb
commit
46b93c066f
3 changed files with 20 additions and 6 deletions
|
@ -1,3 +1,11 @@
|
||||||
|
2004-01-22 13:04 Alexander Malmberg <alexander@malmberg.org>
|
||||||
|
|
||||||
|
* Headers/Additions/GNUstepGUI/GSDrawFunctions.h: Add missing
|
||||||
|
include guards.
|
||||||
|
|
||||||
|
* Source/GSDrawFunctions.m: Correct misspellings and clarify the
|
||||||
|
documentation.
|
||||||
|
|
||||||
2004-01-22 12:16 Alexander Malmberg <alexander@malmberg.org>
|
2004-01-22 12:16 Alexander Malmberg <alexander@malmberg.org>
|
||||||
|
|
||||||
* Model/GMAppKit.m ([NSFont +createObjectForModelUnarchiver:]):
|
* Model/GMAppKit.m ([NSFont +createObjectForModelUnarchiver:]):
|
||||||
|
|
|
@ -24,6 +24,9 @@
|
||||||
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111 USA.
|
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111 USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifndef _GNUstep_H_GSDrawFunctions
|
||||||
|
#define _GNUstep_H_GSDrawFunctions
|
||||||
|
|
||||||
#include <Foundation/NSGeometry.h>
|
#include <Foundation/NSGeometry.h>
|
||||||
|
|
||||||
@class NSColor;
|
@class NSColor;
|
||||||
|
@ -34,6 +37,9 @@
|
||||||
+ (void) drawDarkBezel: (NSRect)border : (NSRect)clip;
|
+ (void) drawDarkBezel: (NSRect)border : (NSRect)clip;
|
||||||
+ (void) drawLightBezel: (NSRect) border : (NSRect)clip;
|
+ (void) drawLightBezel: (NSRect) border : (NSRect)clip;
|
||||||
+ (void) drawGroove: (NSRect)border : (NSRect)clip;
|
+ (void) drawGroove: (NSRect)border : (NSRect)clip;
|
||||||
+ (void) drawFramePhoto: (NSRect) border : (NSRect)clip;
|
+ (void) drawFramePhoto: (NSRect)border : (NSRect)clip;
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
||||||
|
#endif /* _GNUstep_H_GSDrawFunctions */
|
||||||
|
|
||||||
|
|
|
@ -36,14 +36,14 @@
|
||||||
<heading>Class Description</heading>
|
<heading>Class Description</heading>
|
||||||
<p>
|
<p>
|
||||||
This is a simple class used for encapsulating common drawing behaviors.
|
This is a simple class used for encapsulating common drawing behaviors.
|
||||||
These methods stndardize drawing of buttons, borders and other common
|
These methods standardize drawing of buttons, borders and other common
|
||||||
gui elements. The drawing functions are encapsulated in a class to
|
GUI elements. The drawing functions are encapsulated in a class to
|
||||||
allow overridding of the methods so that these elements can be drawn
|
allow overriding of the methods so that these elements can be drawn
|
||||||
in different ways (e.g. with themes).
|
in different ways (e.g. with themes).
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
All the methods use the standard configurable colors defined in NSColor,
|
The default implementation uses the standard configurable colors defined in
|
||||||
such as <code>controlLightHighlightColor</code>,
|
NSColor, such as <code>controlLightHighlightColor</code>,
|
||||||
<code>controlShadowColor</code> and <code>controlDarkShadowColor</code>.
|
<code>controlShadowColor</code> and <code>controlDarkShadowColor</code>.
|
||||||
</p>
|
</p>
|
||||||
</unit>
|
</unit>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue