mirror of
https://github.com/reactos/reactos.git
synced 2024-07-06 12:45:16 +00:00
[CLIPBRD]: SVN failure again: for some reason this file was not added to the code when applying the patch. See r70331.
CORE-10679 svn path=/trunk/; revision=70332
This commit is contained in:
parent
0e0df7b9e6
commit
747395cee4
21
reactos/base/applications/clipbrd/scrollutils.h
Normal file
21
reactos/base/applications/clipbrd/scrollutils.h
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
/*
|
||||||
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
|
* PROJECT: ReactOS Clipboard Viewer
|
||||||
|
* FILE: base/applications/clipbrd/scrollutils.h
|
||||||
|
* PURPOSE: Scrolling releated 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 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);
|
Loading…
Reference in a new issue