ReactOS 0.4.16-dev-197-g92996da
|
#include <assert.h>
#include <stdarg.h>
#include <string.h>
#include "windef.h"
#include "winbase.h"
#include "wingdi.h"
#include "winuser.h"
#include "winnls.h"
#include "commctrl.h"
#include "comctl32.h"
#include "uxtheme.h"
#include "vssym32.h"
#include "wine/debug.h"
#include <math.h>
Go to the source code of this file.
Classes | |
struct | TAB_ITEM |
struct | TAB_INFO |
Macros | |
#define | EXTRA_ITEM_SIZE(infoPtr) (max((infoPtr)->cbInfo, sizeof(LPARAM))) |
#define | TAB_ITEM_SIZE(infoPtr) FIELD_OFFSET(TAB_ITEM, extra[EXTRA_ITEM_SIZE(infoPtr)]) |
#define | SELECTED_TAB_OFFSET 2 |
#define | ROUND_CORNER_SIZE 2 |
#define | DISPLAY_AREA_PADDINGX 2 |
#define | DISPLAY_AREA_PADDINGY 2 |
#define | CONTROL_BORDER_SIZEX 2 |
#define | CONTROL_BORDER_SIZEY 2 |
#define | BUTTON_SPACINGX 3 |
#define | BUTTON_SPACINGY 3 |
#define | FLAT_BTN_SPACINGX 8 |
#define | DEFAULT_MIN_TAB_WIDTH 54 |
#define | DEFAULT_PADDING_X 6 |
#define | EXTRA_ICON_PADDING 3 |
#define | TAB_GetInfoPtr(hwnd) ((TAB_INFO *)GetWindowLongPtrW(hwnd,0)) |
#define | GET_DEFAULT_MIN_TAB_WIDTH(infoPtr) (DEFAULT_MIN_TAB_WIDTH - (DEFAULT_PADDING_X - (infoPtr)->uHItemPadding) * 2) |
#define | TAB_HOTTRACK_TIMER 1 |
#define | TAB_HOTTRACK_TIMER_INTERVAL 100 /* milliseconds */ |
Variables | |
static const WCHAR | themeClass [] = { 'T','a','b',0 } |
#define GET_DEFAULT_MIN_TAB_WIDTH | ( | infoPtr | ) | (DEFAULT_MIN_TAB_WIDTH - (DEFAULT_PADDING_X - (infoPtr)->uHItemPadding) * 2) |
#define TAB_GetInfoPtr | ( | hwnd | ) | ((TAB_INFO *)GetWindowLongPtrW(hwnd,0)) |
#define TAB_ITEM_SIZE | ( | infoPtr | ) | FIELD_OFFSET(TAB_ITEM, extra[EXTRA_ITEM_SIZE(infoPtr)]) |
Definition at line 757 of file tab.c.
Referenced by TAB_HotTrackTimerProc(), and TAB_MouseMove().
Definition at line 941 of file tab.c.
Referenced by TAB_InvalidateTabArea(), and TAB_WindowProc().
Definition at line 3008 of file tab.c.
Referenced by TAB_WindowProc().
Definition at line 2911 of file tab.c.
Referenced by TAB_WindowProc().
Definition at line 2865 of file tab.c.
Referenced by TAB_DeleteAllItems(), and TAB_WindowProc().
Definition at line 3238 of file tab.c.
Referenced by TAB_LButtonDown(), and TAB_WindowProc().
Definition at line 2337 of file tab.c.
Referenced by TAB_Refresh().
Definition at line 1990 of file tab.c.
Referenced by TAB_Refresh().
|
static |
Definition at line 1556 of file tab.c.
Referenced by TAB_DrawItem(), and TAB_DrawLoneItemInterior().
Definition at line 739 of file tab.c.
Referenced by hottrack_refresh().
Definition at line 203 of file tab.c.
Referenced by TAB_GetItemT(), TAB_InsertItemT(), and TAB_SetItemT().
Definition at line 2426 of file tab.c.
Referenced by TAB_SetCurFocus(), TAB_SetCurSel(), and TAB_SetItemBounds().
|
static |
Definition at line 1481 of file tab.c.
Referenced by TAB_DrawItemInterior().
Definition at line 570 of file tab.c.
Referenced by TAB_WindowProc().
Definition at line 237 of file tab.c.
Referenced by TAB_WindowProc().
Definition at line 228 of file tab.c.
Referenced by TAB_WindowProc().
Definition at line 3232 of file tab.c.
Referenced by TAB_WindowProc().
Definition at line 157 of file tab.c.
Referenced by TAB_DeleteItem(), TAB_DeselectAll(), TAB_Destroy(), TAB_DrawItem(), TAB_DrawItemInterior(), TAB_DumpItemInternal(), TAB_EnsureSelectionVisible(), TAB_EraseTabInterior(), TAB_GetItemT(), TAB_HighlightItem(), TAB_InternalGetItemRect(), TAB_LButtonDown(), TAB_RemoveImage(), TAB_SetCurFocus(), TAB_SetCurSel(), TAB_SetItemBounds(), TAB_SetItemT(), and TAB_SetupScrolling().
Definition at line 2812 of file tab.c.
Referenced by TAB_WindowProc().
|
static |
Definition at line 2820 of file tab.c.
Referenced by TAB_WindowProc().
Definition at line 2408 of file tab.c.
Referenced by TAB_WindowProc().
Definition at line 243 of file tab.c.
Referenced by TAB_WindowProc().
Definition at line 2956 of file tab.c.
Referenced by TAB_WindowProc().
Definition at line 2739 of file tab.c.
Referenced by TAB_WindowProc().
|
inlinestatic |
Definition at line 615 of file tab.c.
Referenced by TAB_WindowProc().
|
static |
Definition at line 783 of file tab.c.
Referenced by TAB_RecalcHotTrack().
|
static |
Definition at line 2625 of file tab.c.
Referenced by TAB_WindowProc().
|
static |
Definition at line 372 of file tab.c.
Referenced by hottrack_refresh(), TAB_DrawItem(), TAB_DrawItemInterior(), TAB_FocusChanging(), TAB_GetItemRect(), TAB_HighlightItem(), TAB_InternalHitTest(), TAB_InvalidateTabArea(), TAB_KillFocus(), TAB_LButtonDown(), TAB_RemoveImage(), and TAB_SetCurFocus().
Definition at line 594 of file tab.c.
Referenced by TAB_HitTest(), TAB_LButtonDown(), TAB_NCHitTest(), and TAB_RecalcHotTrack().
Definition at line 2548 of file tab.c.
Referenced by TAB_DeleteItem(), TAB_DeselectAll(), TAB_InsertItemT(), TAB_OnHScroll(), TAB_SetCurFocus(), TAB_SetCurSel(), TAB_SetExtendedStyle(), TAB_SetFont(), and TAB_SetItemT().
Definition at line 517 of file tab.c.
Referenced by TAB_WindowProc().
Definition at line 550 of file tab.c.
Referenced by TAB_WindowProc().
Definition at line 650 of file tab.c.
Referenced by TAB_WindowProc().
Definition at line 916 of file tab.c.
Referenced by TAB_WindowProc().
Definition at line 634 of file tab.c.
Referenced by TAB_WindowProc().
Definition at line 1001 of file tab.c.
Referenced by TAB_WindowProc().
Definition at line 2603 of file tab.c.
Referenced by TAB_WindowProc().
|
static |
Definition at line 835 of file tab.c.
Referenced by TAB_EnsureSelectionVisible(), TAB_MouseMove(), TAB_OnHScroll(), and TAB_SetItemBounds().
Definition at line 2373 of file tab.c.
Referenced by TAB_Paint().
Definition at line 3480 of file tab.c.
Referenced by DllMain().
|
static |
Definition at line 186 of file tab.c.
Referenced by TAB_LButtonDown(), and TAB_MouseMove().
Definition at line 3174 of file tab.c.
Referenced by TAB_WindowProc().
Definition at line 173 of file tab.c.
Referenced by TAB_LButtonDown(), TAB_LButtonUp(), TAB_RButtonUp(), and TAB_SetCurFocus().
Definition at line 281 of file tab.c.
Referenced by TAB_InsertItemT(), TAB_KeyDown(), and TAB_WindowProc().
Definition at line 249 of file tab.c.
Referenced by TAB_LButtonDown(), and TAB_WindowProc().
Definition at line 3205 of file tab.c.
Referenced by TAB_WindowProc().
Definition at line 2926 of file tab.c.
Referenced by TAB_WindowProc().
|
inlinestatic |
Definition at line 2946 of file tab.c.
Referenced by TAB_WindowProc().
Definition at line 1117 of file tab.c.
Referenced by TAB_DeleteItem(), TAB_InsertItemT(), TAB_SetFont(), TAB_SetImageList(), TAB_SetItemSize(), TAB_SetItemT(), TAB_SetMinTabWidth(), TAB_Size(), and TAB_StyleChanged().
Definition at line 2689 of file tab.c.
Referenced by TAB_WindowProc().
|
static |
Definition at line 2765 of file tab.c.
Referenced by TAB_WindowProc().
Definition at line 2723 of file tab.c.
Referenced by TAB_WindowProc().
Definition at line 2414 of file tab.c.
Referenced by TAB_WindowProc().
Definition at line 346 of file tab.c.
Referenced by TAB_WindowProc().
Definition at line 1025 of file tab.c.
Referenced by TAB_SetItemBounds().
Definition at line 2972 of file tab.c.
Referenced by TAB_WindowProc().
|
static |
Definition at line 3283 of file tab.c.
Referenced by TAB_WindowProc().
Definition at line 3300 of file tab.c.
Referenced by TAB_Register().
Definition at line 3148 of file tab.c.
Referenced by TAB_WindowProc().
WINE_DEFAULT_DEBUG_CHANNEL | ( | tab | ) |
Definition at line 155 of file tab.c.
Referenced by TAB_Create(), and theme_changed().