Data Structures |
| struct | UPDOWN_INFO |
Defines |
| #define | INITIAL_DELAY 500 /* initial timer until auto-inc kicks in */ |
| #define | AUTOPRESS_DELAY 250 /* time to keep arrow pressed on KEY_DOWN */ |
| #define | REPEAT_DELAY 50 /* delay between auto-increments */ |
| #define | DEFAULT_WIDTH 16 /* default width of the ctrl */ |
| #define | DEFAULT_XSEP 0 /* default separation between buddy and ctrl */ |
| #define | DEFAULT_ADDTOP 0 /* amount to extend above the buddy window */ |
| #define | DEFAULT_ADDBOT 0 /* amount to extend below the buddy window */ |
| #define | DEFAULT_BUDDYBORDER 2 /* Width/height of the buddy border */ |
| #define | DEFAULT_BUDDYSPACER 2 /* Spacer between the buddy and the ctrl */ |
| #define | DEFAULT_BUDDYBORDER_THEMED 1 /* buddy border when theming is enabled */ |
| #define | DEFAULT_BUDDYSPACER_THEMED 0 /* buddy spacer when theming is enabled */ |
| #define | FLAG_INCR 0x01 |
| #define | FLAG_DECR 0x02 |
| #define | FLAG_MOUSEIN 0x04 |
| #define | FLAG_PRESSED 0x08 |
| #define | FLAG_BUDDYINT 0x10 /* UDS_SETBUDDYINT was set on creation */ |
| #define | FLAG_ARROW (FLAG_INCR | FLAG_DECR) |
| #define | BUDDY_TYPE_UNKNOWN 0 |
| #define | BUDDY_TYPE_LISTBOX 1 |
| #define | BUDDY_TYPE_EDIT 2 |
| #define | TIMER_AUTOREPEAT 1 |
| #define | TIMER_ACCEL 2 |
| #define | TIMER_AUTOPRESS 3 |
| #define | UPDOWN_GetInfoPtr(hwnd) ((UPDOWN_INFO *)GetWindowLongPtrW (hwnd,0)) |
| #define | COUNT_OF(a) (sizeof(a)/sizeof(a[0])) |
| #define | BUDDY_SUBCLASSID 1 |
Functions |
| | WINE_DEFAULT_DEBUG_CHANNEL (updown) |
| static void | UPDOWN_DoAction (UPDOWN_INFO *infoPtr, int delta, int action) |
| static BOOL | UPDOWN_IsBuddyEdit (const UPDOWN_INFO *infoPtr) |
| static BOOL | UPDOWN_IsBuddyListbox (const UPDOWN_INFO *infoPtr) |
| static BOOL | UPDOWN_InBounds (const UPDOWN_INFO *infoPtr, int val) |
| static BOOL | UPDOWN_OffsetVal (UPDOWN_INFO *infoPtr, int delta) |
| static BOOL | UPDOWN_HasBuddyBorder (const UPDOWN_INFO *infoPtr) |
| static void | UPDOWN_GetArrowRect (const UPDOWN_INFO *infoPtr, RECT *rect, int arrow) |
| static INT | UPDOWN_GetArrowFromPoint (const UPDOWN_INFO *infoPtr, RECT *rect, POINT pt) |
| static WCHAR | UPDOWN_GetThousandSep (void) |
| static BOOL | UPDOWN_GetBuddyInt (UPDOWN_INFO *infoPtr) |
| static BOOL | UPDOWN_SetBuddyInt (const UPDOWN_INFO *infoPtr) |
| static BOOL | UPDOWN_DrawBuddyBackground (const UPDOWN_INFO *infoPtr, HDC hdc) |
| static LRESULT | UPDOWN_Draw (const UPDOWN_INFO *infoPtr, HDC hdc) |
| static LRESULT | UPDOWN_Paint (const UPDOWN_INFO *infoPtr, HDC hdc) |
| static LRESULT | UPDOWN_KeyPressed (UPDOWN_INFO *infoPtr, int key) |
| static LRESULT | UPDOWN_SetRange (UPDOWN_INFO *infoPtr, INT Max, INT Min) |
| static LRESULT | UPDOWN_MouseWheel (UPDOWN_INFO *infoPtr, WPARAM wParam) |
| static LRESULT CALLBACK | UPDOWN_Buddy_SubclassProc (HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam, UINT_PTR uId, DWORD_PTR ref_data) |
| static HWND | UPDOWN_SetBuddy (UPDOWN_INFO *infoPtr, HWND bud) |
| static BOOL | UPDOWN_IsEnabled (const UPDOWN_INFO *infoPtr) |
| static BOOL | UPDOWN_CancelMode (UPDOWN_INFO *infoPtr) |
| static void | UPDOWN_HandleMouseEvent (UPDOWN_INFO *infoPtr, UINT msg, INT x, INT y) |
| static LRESULT WINAPI | UpDownWindowProc (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) |
| void | UPDOWN_Register (void) |
| void | UPDOWN_Unregister (void) |