mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +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.
46 lines
811 B
C
46 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 */
|