mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-21 00:50:57 +00:00
* NSSplitView in initWithFrame changed default back color to light gray.
* NSSavePanel modified to inherit from NSPanel per OS spec. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2896 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
dd443b1caa
commit
ddfdb35ec3
6 changed files with 63 additions and 114 deletions
|
@ -1155,12 +1155,10 @@ static MPoint anchor = {0, 0};
|
|||
|
||||
[[self window] captureMouse: self]; // grab the mouse
|
||||
[self lockFocus];
|
||||
// selection occurs in two stages, the first stage loops
|
||||
// selection consists of two stages, the first stage loops
|
||||
// until the mouse goes up while the second stage completes
|
||||
// the process by sending actions and displaying the cell
|
||||
// as it should appear after the selection process
|
||||
while (!done)
|
||||
{ // begin selection
|
||||
while (!done) // the process by sending actions and displaying the cell
|
||||
{ // as it should appear after the selection process
|
||||
BOOL shouldProceedEvent = NO;
|
||||
|
||||
insideBounds = [self _getRow:&row
|
||||
|
@ -1317,8 +1315,8 @@ static MPoint anchor = {0, 0};
|
|||
|
||||
[[self window] releaseMouse: self]; // Release the mouse
|
||||
|
||||
switch (mode) // Finalize the selection
|
||||
{
|
||||
switch (mode) // Finish the selection
|
||||
{ // process
|
||||
case NSTrackModeMatrix:
|
||||
case NSHighlightModeMatrix:
|
||||
[selectedCell setState:![selectedCell state]];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue