mirror of
https://github.com/reactos/reactos.git
synced 2024-09-12 05:43:24 +00:00
23 lines
933 B
C
23 lines
933 B
C
/*
|
|
* COPYRIGHT: See COPYING in the top level directory
|
|
* PROJECT: ReactOS Clipboard Viewer
|
|
* FILE: base/applications/clipbrd/scrollutils.h
|
|
* PURPOSE: Scrolling related helper functions.
|
|
* PROGRAMMERS: Ricardo Hanke
|
|
*/
|
|
|
|
typedef struct _SCROLLSTATE
|
|
{
|
|
int CurrentX;
|
|
int CurrentY;
|
|
int MaxX;
|
|
int MaxY;
|
|
} SCROLLSTATE, *LPSCROLLSTATE;
|
|
|
|
void HandleKeyboardScrollEvents(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
|
|
void HandleMouseScrollEvents(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam, LPSCROLLSTATE state);
|
|
void HandleHorizontalScrollEvents(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam, LPSCROLLSTATE state);
|
|
void HandleVerticalScrollEvents(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam, LPSCROLLSTATE state);
|
|
void UpdateWindowScrollState(HWND hWnd, HBITMAP hBmp, LPSCROLLSTATE lpState);
|
|
BOOL ScrollBlt(PAINTSTRUCT ps, HBITMAP hBmp, SCROLLSTATE state);
|