Skip to content
  • oliver's avatar
    2007-09-12 Oliver Hunt <oliver@apple.com> · 501b365c
    oliver authored
            Reviewed by Adam.
    
    WebKit:
            Fixing
                <rdar://problem/5018591> Windows doesn't have a standard vertical text cursor
                <rdar://problem/5224996> Add zoom in and zoom out cursors
    
            Add images for vertical text and zoom in and out cursors to WebKit resources.
    
            * WebKit.vcproj/verticalTextCursor.png: Added.
            * WebKit.vcproj/WebKit.rc:
            * WebKit.vcproj/WebKit.vcproj:
            * WebKit.vcproj/resource.h:
            * WebKit.vcproj/zoomInCursor.png: Added.
            * WebKit.vcproj/zoomOutCursor.png: Added.
            * WebKitDLL.cpp:
            (loadResourceIntoBuffer):
    
    WebCore:
            Fixing
                <rdar://problem/5018591> Windows doesn't have a standard vertical text cursor
                <rdar://problem/5224996> Add zoom in and zoom out cursors
    
            Added SharedCursor for CursorWin so we can correctly track lifetime of custom/image
            based cursors, such as the vertical text and zooming cursors.
    
            * platform/Cursor.h:
            (WebCore::SharedCursor::SharedCursor):
            (WebCore::SharedCursor::~SharedCursor):
            (WebCore::SharedCursor::nativeCursor):
            * platform/win/CursorWin.cpp:
            (WebCore::Cursor::Cursor):
            (WebCore::loadCursorByName):
            (WebCore::loadSharedCursor):
            (WebCore::pointerCursor):
            (WebCore::crossCursor):
            (WebCore::handCursor):
            (WebCore::iBeamCursor):
            (WebCore::waitCursor):
            (WebCore::helpCursor):
            (WebCore::eastResizeCursor):
            (WebCore::northResizeCursor):
            (WebCore::northEastResizeCursor):
            (WebCore::northWestResizeCursor):
            (WebCore::southResizeCursor):
            (WebCore::southEastResizeCursor):
            (WebCore::southWestResizeCursor):
            (WebCore::westResizeCursor):
            (WebCore::northSouthResizeCursor):
            (WebCore::eastWestResizeCursor):
            (WebCore::northEastSouthWestResizeCursor):
            (WebCore::northWestSouthEastResizeCursor):
            (WebCore::columnResizeCursor):
            (WebCore::rowResizeCursor):
            (WebCore::moveCursor):
            (WebCore::verticalTextCursor):
            (WebCore::progressCursor):
            (WebCore::notAllowedCursor):
            (WebCore::zoomInCursor):
            (WebCore::zoomOutCursor):
            * platform/win/WidgetWin.cpp:
            (WebCore::Widget::setCursor):
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@25530 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    501b365c