ReactOS
0.4.15-dev-1629-g9aa73da
|
#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 744 of file tab.c.
Referenced by TAB_HotTrackTimerProc(), and TAB_MouseMove().
Definition at line 928 of file tab.c.
Referenced by TAB_InvalidateTabArea(), and TAB_WindowProc().
Definition at line 2991 of file tab.c.
Referenced by TAB_WindowProc().
Definition at line 2848 of file tab.c.
Referenced by TAB_DeleteAllItems(), and TAB_WindowProc().
Definition at line 3221 of file tab.c.
Referenced by TAB_LButtonDown(), and TAB_WindowProc().
Definition at line 3096 of file tab.c.
Referenced by TAB_WindowProc().
Definition at line 2324 of file tab.c.
Referenced by TAB_Refresh().
Definition at line 1977 of file tab.c.
Referenced by TAB_Refresh().
|
static |
Definition at line 1543 of file tab.c.
Referenced by TAB_DrawItem(), and TAB_DrawLoneItemInterior().
Definition at line 726 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 2413 of file tab.c.
Referenced by TAB_SetCurFocus(), TAB_SetCurSel(), and TAB_SetItemBounds().
|
static |
Definition at line 1468 of file tab.c.
Referenced by TAB_DrawItemInterior().
Definition at line 557 of file tab.c.
Referenced by TAB_WindowProc().
Definition at line 3215 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_SetCurSel(), TAB_SetItemBounds(), TAB_SetItemT(), and TAB_SetupScrolling().
Definition at line 493 of file tab.c.
Referenced by TAB_WindowProc().
|
static |
Definition at line 2803 of file tab.c.
Referenced by TAB_WindowProc().
Definition at line 2726 of file tab.c.
Referenced by TAB_WindowProc().
|
inlinestatic |
Definition at line 602 of file tab.c.
Referenced by TAB_WindowProc().
|
static |
Definition at line 771 of file tab.c.
Referenced by TAB_RecalcHotTrack().
|
static |
Definition at line 2612 of file tab.c.
Referenced by TAB_WindowProc().
|
static |
Definition at line 359 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 581 of file tab.c.
Referenced by TAB_HitTest(), TAB_LButtonDown(), TAB_NCHitTest(), and TAB_RecalcHotTrack().
Definition at line 2535 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 504 of file tab.c.
Referenced by TAB_WindowProc().
Definition at line 537 of file tab.c.
Referenced by TAB_WindowProc().
Definition at line 637 of file tab.c.
Referenced by TAB_WindowProc().
Definition at line 704 of file tab.c.
Referenced by TAB_WindowProc().
Definition at line 903 of file tab.c.
Referenced by TAB_WindowProc().
Definition at line 621 of file tab.c.
Referenced by TAB_WindowProc().
Definition at line 988 of file tab.c.
Referenced by TAB_WindowProc().
Definition at line 2590 of file tab.c.
Referenced by TAB_WindowProc().
Definition at line 712 of file tab.c.
Referenced by TAB_WindowProc().
|
static |
Definition at line 823 of file tab.c.
Referenced by TAB_EnsureSelectionVisible(), TAB_MouseMove(), TAB_OnHScroll(), and TAB_SetItemBounds().
Definition at line 2360 of file tab.c.
Referenced by TAB_Paint().
Definition at line 3463 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 3157 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().
|
inlinestatic |