Ignore:
Timestamp:
Oct 20, 1999, 6:27:01 PM (26 years ago)
Author:
cbratschi
Message:

Odin.ini color management support

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/user32/scroll.cpp

    r1348 r1378  
    1 /* $Id: scroll.cpp,v 1.11 1999-10-18 10:54:03 sandervl Exp $ */
     1/* $Id: scroll.cpp,v 1.12 1999-10-20 16:27:00 cbratschi Exp $ */
    22/*
    33 * Scrollbar control
     
    703703        return;
    704704    }
    705     if(nBar == SB_VERT) 
    706     {
    707         hwndScroll = Win32BaseWindow::OS2ToWin32Handle(window->getVertScrollHandle());
    708     }
    709     else 
     705    if(nBar == SB_VERT)
     706    {
     707        hwndScroll = Win32BaseWindow::OS2ToWin32Handle(window->getVertScrollHandle());
     708    }
     709    else
    710710    if(nBar == SB_HORZ)
    711711    {
    712         hwndScroll = Win32BaseWindow::OS2ToWin32Handle(window->getHorzScrollHandle());
     712        hwndScroll = Win32BaseWindow::OS2ToWin32Handle(window->getHorzScrollHandle());
    713713    }
    714714    else hwndScroll = hwnd;
    715715
    716716    if(hwndScroll == 0)
    717         return;
     717        return;
    718718
    719719    hdc = GetDCEx( hwndScroll, 0, DCX_CACHE | ((nBar == SB_CTL) ? 0 : DCX_WINDOW));
     
    11511151            CONV_POINT16TO32( (POINT16 *)&lParam, &pt );
    11521152            SCROLL_HandleScrollEvent( hwnd, SB_HORZ, message, pt );
    1153             if(message == WM_MOUSEMOVE) {
    1154                 return 1; //SvL: Let PM change the mouse cursor to the default
    1155             }
     1153            if(message == WM_MOUSEMOVE) {
     1154                return 1; //SvL: Let PM change the mouse cursor to the default
     1155            }
    11561156        }
    11571157        break;
     
    12291229            CONV_POINT16TO32( (POINT16 *)&lParam, &pt );
    12301230            SCROLL_HandleScrollEvent( hwnd, SB_VERT, message, pt );
    1231             if(message == WM_MOUSEMOVE) {
    1232                 return 1; //SvL: Let PM change the mouse cursor to the default
    1233             }
     1231            if(message == WM_MOUSEMOVE) {
     1232                return 1; //SvL: Let PM change the mouse cursor to the default
     1233            }
    12341234        }
    12351235        break;
Note: See TracChangeset for help on using the changeset viewer.