mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 20:01:11 +00:00
Use same interface for optimisation methods, as in the subclasses.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9740 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
9c010a5239
commit
b157c90845
1 changed files with 12 additions and 7 deletions
|
@ -170,8 +170,6 @@ NSGraphicsContext *GSCurrentContext();
|
|||
*/
|
||||
|
||||
@interface NSGraphicsContext (Ops)
|
||||
/* initialize the backend */
|
||||
+ (void)initializeBackend;
|
||||
/* ----------------------------------------------------------------------- */
|
||||
/* Color operations */
|
||||
/* ----------------------------------------------------------------------- */
|
||||
|
@ -444,9 +442,16 @@ NSGraphicsContext *GSCurrentContext();
|
|||
- (void) DPScurrentserverdevice: (void **)serverptr;
|
||||
- (void) DPScurrentwindowdevice: (int)win : (void **)windowptr;
|
||||
|
||||
@end
|
||||
|
||||
/* Common graphics functions */
|
||||
@interface NSGraphicsContext (NSGraphics)
|
||||
/* ----------------------------------------------------------------------- */
|
||||
/* NSGraphics Ops */
|
||||
/* ----------------------------------------------------------------------- */
|
||||
/* initialize the backend */
|
||||
+ (void) initializeBackend;
|
||||
|
||||
/*
|
||||
* Rectangle Drawing Functions
|
||||
*/
|
||||
|
@ -458,6 +463,9 @@ NSGraphicsContext *GSCurrentContext();
|
|||
- (void) NSRectFillList: (const NSRect *)rects : (int) count;
|
||||
- (void) NSRectFillListWithGrays: (const NSRect *)rects : (const float *)grays
|
||||
:(int) count;
|
||||
- (NSRect) NSDrawTiledRects: (NSRect) aRect : (const NSRect) clipRect
|
||||
: (const NSRectEdge *) sides
|
||||
: (const float *)grays : (int) count;
|
||||
|
||||
/*
|
||||
* Draw a Bordered Rectangle
|
||||
|
@ -466,9 +474,6 @@ NSGraphicsContext *GSCurrentContext();
|
|||
- (void) NSDrawGrayBezel: (const NSRect) aRect : (const NSRect) clipRect;
|
||||
- (void) NSDrawBezel: (const NSRect) aRect : (const NSRect) clipRect;
|
||||
- (void) NSDrawGroove: (const NSRect) aRect : (const NSRect) clipRect;
|
||||
- (NSRect) NSDrawTiledRects: (NSRect) aRect : (const NSRect) clipRect
|
||||
: (const NSRectEdge *) sides
|
||||
: (const float *)grays : (int) count;
|
||||
- (void) NSDrawWhiteBezel: (const NSRect) aRect : (const NSRect) clipRect;
|
||||
- (void) NSDottedFrameRect: (const NSRect) aRect;
|
||||
- (void) NSFrameRect: (const NSRect) aRect;
|
||||
|
@ -503,9 +508,9 @@ NSGraphicsContext *GSCurrentContext();
|
|||
|
||||
/* Context helper wraps */
|
||||
- (unsigned int) GSWDefineAsUserObj;
|
||||
- (void) GSWViewIsFlipped: (BOOL) flipped;
|
||||
- (void) GSWSetViewIsFlipped: (BOOL) flipped;
|
||||
- (BOOL) GSWViewIsFlipped;
|
||||
- (NSWindowDepth) GSWindowDepthForScreen: (int) screen;
|
||||
|
||||
- (const NSWindowDepth *) GSAvailableDepthsForScreen: (int) screen;
|
||||
|
||||
@end
|
||||
|
|
Loading…
Reference in a new issue