Author: hbelusca Date: Sat Dec 12 21:21:28 2015 New Revision: 70332
URL: http://svn.reactos.org/svn/reactos?rev=70332&view=rev Log: [CLIPBRD]: SVN failure again: for some reason this file was not added to the code when applying the patch. See r70331. CORE-10679
Added: trunk/reactos/base/applications/clipbrd/scrollutils.h (with props)
Added: trunk/reactos/base/applications/clipbrd/scrollutils.h URL: http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/clipbrd/s... ============================================================================== --- trunk/reactos/base/applications/clipbrd/scrollutils.h (added) +++ trunk/reactos/base/applications/clipbrd/scrollutils.h [iso-8859-1] Sat Dec 12 21:21:28 2015 @@ -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);
Propchange: trunk/reactos/base/applications/clipbrd/scrollutils.h ------------------------------------------------------------------------------ svn:eol-style = native