mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 20:59:54 +00:00
3d35e9894c
Removed all direct calls to TRACKBAR_Refresh (except from within the WM_PAINT handling section) and replaced them by calls to InvalidateRect. Fixed a bug in the TRACKBAR_SetPos function. Fixed the behavior for different types of mouse input.
47 lines
811 B
C
47 lines
811 B
C
/*
|
|
* Trackbar class extra info
|
|
*
|
|
* Copyright 1998 Eric Kohl
|
|
*/
|
|
|
|
#ifndef __WINE_TRACKBAR_H
|
|
#define __WINE_TRACKBAR_H
|
|
|
|
typedef struct tagTRACKBAR_INFO
|
|
{
|
|
INT nRangeMin;
|
|
INT nRangeMax;
|
|
INT nLineSize;
|
|
INT nPageSize;
|
|
INT nSelMin;
|
|
INT nSelMax;
|
|
INT nPos;
|
|
UINT uThumbLen;
|
|
UINT uNumTics;
|
|
UINT uTicFreq;
|
|
HWND hwndNotify;
|
|
HWND hwndToolTip;
|
|
HWND hwndBuddyLA;
|
|
HWND hwndBuddyRB;
|
|
INT fLocation;
|
|
COLORREF clrBk;
|
|
INT flags;
|
|
BOOL bFocus;
|
|
RECT rcChannel;
|
|
RECT rcSelection;
|
|
RECT rcThumb;
|
|
INT dragPos;
|
|
LPLONG tics;
|
|
} TRACKBAR_INFO;
|
|
|
|
|
|
/* #define TB_REFRESH_TIMER 1 */
|
|
/* #define TB_REFRESH_DELAY 1 */
|
|
|
|
|
|
|
|
extern VOID TRACKBAR_Register (VOID);
|
|
extern VOID TRACKBAR_Unregister (VOID);
|
|
|
|
#endif /* __WINE_TRACKBAR_H */
|