ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/MacOSX/PrefsEditor.mm
(Generate patch)

Comparing BasiliskII/src/MacOSX/PrefsEditor.mm (file contents):
Revision 1.7 by nigel, 2003-03-21T06:44:14Z vs.
Revision 1.8 by nigel, 2003-03-21T12:04:34Z

# Line 296 | Line 296
296   #endif
297   }
298  
299 < // This is called when any of the screen/openGL/window,
299 > // This is called when the screen/window,
300   // width, height or depth is clicked.
301   //
302   // Note that sender may not actually be an NSMatrix.
# Line 311 | Line 311
311          short newtype;
312          char  str[20];
313  
314 <        if ( cell == openGL )
315 <                newtype = DISPLAY_OPENGL;
316 <        else if ( cell == screen )
314 >        if ( cell == screen )
315                  newtype = DISPLAY_SCREEN;
316          else if ( cell == window )
317                  newtype = DISPLAY_WINDOW;
# Line 373 | Line 371
371                          else
372                                  sprintf(str, "win/%hd/%hd",  newx, newy);
373                          break;
376                case DISPLAY_OPENGL:
377                        if ( newbpp )
378                                sprintf(str, "opengl/%hd/%hd/%hd",  newx, newy, newbpp);
379                        else
380                                sprintf(str, "opengl/%hd/%hd",  newx, newy);
381                        break;
374                  case DISPLAY_SCREEN:
375                          if ( newbpp )
376                                  sprintf(str, "full/%hd/%hd/%hd", newx, newy, newbpp);
# Line 685 | Line 677 | shouldProceedAfterError: (NSDictionary *
677          switch ( display_type )
678          {
679                  case DISPLAY_WINDOW: [window setState: YES]; break;
688                case DISPLAY_OPENGL: [openGL setState: YES]; break;
680                  case DISPLAY_SCREEN: [screen setState: YES]; break;
681          }
682  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines