mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
1ed4ecffa8
Removed warnings. Made the include files self-sufficient. Some Solaris fixes.
35 lines
1 KiB
C
35 lines
1 KiB
C
/*
|
|
* Scroll-bar class extra info
|
|
*
|
|
* Copyright 1993 Martin Ayotte
|
|
* Copyright 1994 Alexandre Julliard
|
|
*/
|
|
|
|
#ifndef __WINE_SCROLL_H
|
|
#define __WINE_SCROLL_H
|
|
|
|
#include "windef.h"
|
|
|
|
struct tagWND;
|
|
|
|
typedef struct
|
|
{
|
|
INT CurVal; /* Current scroll-bar value */
|
|
INT MinVal; /* Minimum scroll-bar value */
|
|
INT MaxVal; /* Maximum scroll-bar value */
|
|
INT Page; /* Page size of scroll bar (Win32) */
|
|
UINT flags; /* EnableScrollBar flags */
|
|
} SCROLLBAR_INFO;
|
|
|
|
extern LRESULT WINAPI ScrollBarWndProc( HWND hwnd, UINT uMsg,
|
|
WPARAM wParam, LPARAM lParam );
|
|
|
|
extern void SCROLL_DrawScrollBar( HWND hwnd, HDC hdc, INT nBar,
|
|
BOOL arrows, BOOL interior );
|
|
extern void SCROLL_HandleScrollEvent( HWND hwnd, INT nBar,
|
|
UINT msg, POINT pt );
|
|
extern INT SCROLL_SetNCSbState( struct tagWND *wndPtr, int vMin, int vMax, int vPos,
|
|
int hMin, int hMax, int hPos );
|
|
#endif /* __WINE_SCROLL_H */
|
|
|
|
|