Changeset 238 for trunk/orca/gl

Show
Ignore:
Timestamp:
07/28/06 00:44:39 (2 years ago)
Author:
krobillard
Message:

GLV - Removed functions deprecated in Mac OS X v10.4

Location:
trunk/orca/gl/glv/mac
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/orca/gl/glv/mac/glv.c

    r1 r238  
    377377        GLint swap = 1; 
    378378 
     379#if 0 
     380        // Deprecated in Mac OS X v10.4 
    379381        GrafPtr portSave = NULL; 
    380382        GetPort( &portSave ); 
    381383        SetPort( (GrafPtr) GetWindowPort(view->window) ); 
     384#endif 
    382385 
    383386        if( ! aglSetDrawable(view->ctx, GetWindowPort(view->window)) ) 
     
    408411#endif 
    409412 
     413#if 0 
    410414        // Ensure we know when display configs are changed. 
    411415        view->windowEDMUPP = NewDMExtendedNotificationUPP(handleWindowDMEvent); 
     
    414418 
    415419        SetPort( portSave ); 
     420#endif 
    416421    } 
    417422 
     
    422427static void disposeGL( GLView* view ) 
    423428{ 
     429#if 0 
    424430    if( view->windowEDMUPP ) 
    425431    { 
     
    427433        view->windowEDMUPP = NULL; 
    428434    } 
     435#endif 
    429436 
    430437    aglSetCurrentContext( NULL ); 
     
    540547        //glv_makeCurrent( view ); 
    541548 
    542         InitCursor(); 
    543  
    544549        RepositionWindow( view->window, NULL, kWindowCenterOnMainScreen ); 
    545550        return( view ); 
     
    865870    if( on ) 
    866871    { 
    867         ShowCursor(); 
     872        CGDisplayShowCursor( kCGDirectMainDisplay ); 
    868873    } 
    869874    else 
    870875    { 
    871876        // TODO: Every call to HideCursor should be balanced with a ShowCursor. 
    872         HideCursor(); 
     877        CGDisplayHideCursor( kCGDirectMainDisplay ); 
    873878    } 
    874879} 
  • trunk/orca/gl/glv/mac/glv.h

    r1 r238  
    5252    Rect bound; 
    5353    EventHandlerUPP windowEventUUP; 
    54     DMExtendedNotificationUPP windowEDMUPP; 
     54    //DMExtendedNotificationUPP windowEDMUPP; 
    5555} GLView; 
    5656