mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-06-01 12:31:55 +00:00
simplify expose event changes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23600 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
2cb95fe123
commit
ab0a60c8f1
4 changed files with 7 additions and 8 deletions
|
@ -1,3 +1,9 @@
|
|||
2006-09-24 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Headers/Additions/GNUstepGUI/GSDisplayServer.h:
|
||||
* Source/GSDisplayServer.m: Revert unnecessary addition to api
|
||||
* Source/NSWindow.m: Use ([flushwindowrect::]) for expose events.
|
||||
|
||||
2006-09-23 Matt Rice <ratmice@yahoo.com>
|
||||
|
||||
* Source/NSTableView.m (_isCellEditableColumn:row:): Allow
|
||||
|
|
|
@ -143,7 +143,6 @@ APPKIT_EXPORT NSString * GSScreenNumber;
|
|||
- (void) styleoffsets: (float*) l : (float*) r : (float*) t : (float*) b
|
||||
: (unsigned int) style;
|
||||
- (void) docedited: (int) edited : (int) win;
|
||||
- (void) exposewindow: (NSRect)frame : (int) win;
|
||||
- (void) setinputstate: (int)state : (int)win;
|
||||
- (void) setinputfocus: (int) win;
|
||||
- (void) setalpha: (float)alpha: (int) win;
|
||||
|
|
|
@ -724,12 +724,6 @@ GSCurrentServer(void)
|
|||
[self subclassResponsibility: _cmd];
|
||||
}
|
||||
|
||||
/** Repaint an exposed region of a buffered window */
|
||||
- (void) exposewindow: (NSRect)frame : (int) win
|
||||
{
|
||||
[self subclassResponsibility: _cmd];
|
||||
}
|
||||
|
||||
/** Sets the input state for the window given by the
|
||||
GSWindowInputState constant. Instructs the window manager that the
|
||||
specified window is 'key', 'main', or just a normal window. */
|
||||
|
|
|
@ -3375,7 +3375,7 @@ resetCursorRectsForView(NSView *theView)
|
|||
* backend to have a copy of the region contents and
|
||||
* be able to draw it.
|
||||
*/
|
||||
[GSServerForWindow(self) exposewindow: region
|
||||
[GSServerForWindow(self) flushwindowrect: region
|
||||
: _windowNum];
|
||||
break;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue