mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 15:00:38 +00:00
Added new class methods [currentContextDrawingToScreen],
[graphicsContextWithAttributes:], [graphicsContextWithWindow:], [restoreGraphicsState], [saveGraphicsState], [setGraphicsState:] and new instance methods [attributes], [flushGraphics] and [graphicsPort]. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10650 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
016e021fc1
commit
09161cd692
1 changed files with 11 additions and 0 deletions
|
@ -127,6 +127,17 @@ typedef enum _GSWindowInputState
|
|||
+ (NSGraphicsContext*) currentContext;
|
||||
+ (void) setCurrentContext: (NSGraphicsContext*)context;
|
||||
|
||||
+ (BOOL) currentContextDrawingToScreen;
|
||||
+ (NSGraphicsContext *) graphicsContextWithAttributes: (NSDictionary *)attributes;
|
||||
+ (NSGraphicsContext *) graphicsContextWithWindow: (NSWindow *)aWindow;
|
||||
+ (void) restoreGraphicsState;
|
||||
+ (void) saveGraphicsState;
|
||||
+ (void) setGraphicsState: (int)graphicsState;
|
||||
|
||||
- (NSDictionary *) attributes;
|
||||
- (void)flushGraphics;
|
||||
- (void *)graphicsPort;
|
||||
|
||||
- (void) flush;
|
||||
- (BOOL) isDrawingToScreen;
|
||||
- (void) restoreGraphicsState;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue