#include "precomp.h"Go to the source code of this file.
Defines | |
| #define | MIN 0x01 |
| #define | MAX 0x02 |
| #define | NOMIN 0x04 |
| #define | NOMAX 0x08 |
| #define | NOCLOSE 0x10 |
| #define | SMCAP 0x20 |
| #define | NOSIZE (NOMIN | NOMAX) |
| #define | GetCOLOR16(RGB, clr) ((COLOR16)(Get ## RGB ## Value(clr) << 8)) |
Functions | |
| DWORD | xxxCalcCaptionButton (PWND pwnd, int iButton, LPWORD pcmd, LPRECT prcBtn, LPWORD pbm) |
| WORD | xxxTrackCaptionButton (PWND pwnd, UINT hit) |
| PCURSOR | xxxGetWindowSmIcon (PWND pwnd, BOOL fDontSendMsg) |
| VOID | BltMe4Times (POEMBITMAPINFO pOem, int cxySlot, int cxyIcon, HDC hdcSrc, PCURSOR pcursor, UINT flags) |
| VOID | DrawCaptionIcon (HDC hdc, LPRECT lprc, PCURSOR pcursor, HBRUSH hbrFill, UINT flags) |
| void | FillGradient (HDC hdc, LPCRECT prc, COLORREF rgbLeft, COLORREF rgbRight) |
| void | FillCaptionGradient (HDC hdc, LPCRECT prc, BOOL fActive) |
| BOOL | xxxDrawCaptionTemp (PWND pwnd, HDC hdc, LPRECT lprc, HFONT hFont, PCURSOR pcursor, PUNICODE_STRING pstrText, UINT flags) |
| VOID | xxxDrawCaptionBar (PWND pwnd, HDC hdc, UINT wFlags) |
|
|
Referenced by FillGradient(). |
|
|
|
|
|
Definition at line 16 of file caption.c. Referenced by xxxDrawCaptionBar(). |
|
|
Definition at line 20 of file caption.c. Referenced by xxxDrawCaptionBar(). |
|
|
Definition at line 19 of file caption.c. Referenced by xxxDrawCaptionBar(). |
|
|
Definition at line 18 of file caption.c. Referenced by xxxDrawCaptionBar(). |
|
|
Definition at line 22 of file caption.c. Referenced by xxxDrawCaptionBar(). |
|
|
Definition at line 21 of file caption.c. Referenced by xxxDrawCaptionBar(). |
|
||||||||||||||||||||||||||||
|
Definition at line 401 of file caption.c. References BltIcon(), BOOL, tagOEMBITMAPINFO::cx, tagOEMBITMAPINFO::cy, DOBI_CAPOFF, FillRect(), HDCBITS, SYSHBR, SYSMET, TRUE, VOID(), tagOEMBITMAPINFO::x, and tagOEMBITMAPINFO::y. Referenced by DrawCaptionIcon().
|
|
||||||||||||||||||||||||
|
Definition at line 462 of file caption.c. References _DrawIconEx(), BltMe4Times(), CAPTIONCACHE, CCACHEDCAPTIONS, DOBI_CAPOFF, FillRect(), gcachedCaptions, ghdcMem, gpsi, HDCBITS, Lock, NULL, OBI_CAPCACHE1, tagCAPTIONCACHE::pOem, PtoH, tagCAPTIONCACHE::spcursor, SYSMET, VOID(), tagOEMBITMAPINFO::x, and tagOEMBITMAPINFO::y. Referenced by xxxDrawCaptionTemp().
|
|
||||||||||||||||
|
Definition at line 665 of file caption.c. References FillGradient(), FillRect(), gpsi, and SYSHBR. Referenced by xxxDrawCaptionTemp().
|
|
||||||||||||||||||||
|
Definition at line 643 of file caption.c. References GetCOLOR16. Referenced by FillCaptionGradient().
|
|
||||||||||||||||||||||||
|
Definition at line 30 of file caption.c. References CheckLock, CopyInflateRect(), DWORD, FALSE, GetWindowBorders(), InflateRect(), OBI_CLOSE, OBI_CLOSE_PAL, OBI_HELP, OBI_REDUCE, OBI_RESTORE, OBI_ZOOM, tagWND::rcWindow, SYSMET, TestWF, TRUE, WEFCONTEXTHELP, WEFTOOLWINDOW, WFMAXBOX, WFMAXIMIZED, WFMINBOX, WFMINIMIZED, and xxxMNCanClose(). Referenced by xxxTrackCaptionButton().
|
|
||||||||||||||||
|
Definition at line 986 of file caption.c. References BitBltSysBmp(), CheckLock, ClearHungFlag(), ClrWF, tagOEMBITMAPINFO::cx, tagOEMBITMAPINFO::cy, DF_3DFACE, DF_ACTIVEBORDER, DF_INACTIVEBORDER, DOBI_CAPOFF, DOBI_INACTIVE, DrawEdge(), DrawFrame(), FALSE, GetRect(), GetWindowBorders(), gpsi, GRECT_WINDOW, GRECT_WINDOWCOORDS, HDCBITS, HEBREW_UI_LANGID, InflateRect(), IsVisible(), MAX, MIN, NOCLOSE, NOMAX, NOMIN, NOSIZE, NULL, OBI_CAPBTNS, OBI_CLOSE, OBI_CLOSE_PAL, OBI_HELP, OBI_REDUCE, OBI_REDUCE_I, OBI_RESTORE, OBI_ZOOM, OBI_ZOOM_I, SetWF, SMCAP, SYSHBR, SYSHBRUSH, SYSMET, TestALPHA, TestWF, TRUE, UINT, VOID(), WEFCONTEXTHELP, WEFDLGMODALFRAME, WEFEDGEMASK, WEFSTATICEDGE, WEFTOOLWINDOW, WEFTRUNCATEDCAPTION, WEFWINDOWEDGE, WFBORDERMASK, WFCPRESENT, WFMAXBOX, WFMAXIMIZED, WFMINBOX, WFMINIMIZED, WFOLDUI, WFREDRAWFRAMEIFHUNG, WFSIZEBOX, WFSYSMENU, WFWIN40COMPAT, tagOEMBITMAPINFO::x, xxxDrawCaptionTemp(), xxxMNCanClose(), and tagOEMBITMAPINFO::y. Referenced by xxxDrawWindowFrame(), xxxDWP_DoNCActivate(), xxxRedrawHungWindowFrame(), and xxxRedrawTitle().
|
|
||||||||||||||||||||||||||||||||
|
Definition at line 688 of file caption.c. References _GetTextMetricsW(), _HasCaptionIcon(), BOOL, CALL_LPK, CCHTITLEMAX, CheckLock, DrawCaptionIcon(), DWORD, FALSE, FillCaptionGradient(), FillRect(), gcyCaptionFontChar, gcySmCaptionFontChar, ghSmCaptionFont, gpsi, GreGetTextAlign(), GreSetTextAlign(), L, _LARGE_UNICODE_STRING::Length, NULL, PtiCurrentShared, tagWND::strName, SYSHBR, SYSMET, SYSRGB, TestWF, TextCopy(), TRUE, UINT, USHORT, WEFRIGHT, WEFRTLREADING, WFSYSMENU, WINDOW, xxxClientExtTextOutW(), xxxClientGetTextExtentPointW(), xxxGetWindowSmIcon(), and xxxGetWindowText(). Referenced by NtUserDrawCaption(), NtUserDrawCaptionTemp(), xxxAnimateCaption(), and xxxDrawCaptionBar().
|
|
||||||||||||
|
Definition at line 306 of file caption.c. References _GetProp(), tagSERVERINFO::atomIconSmProp, CheckLock, DWORD, FALSE, gpsi, HMValidateHandleNoSecure(), MAKEINTATOM, NULL, tagWND::pcls, PROPF_INTERNAL, SYSICO, TestWF, TYPE_CURSOR, WEFMDICHILD, WFOLDUI, WFWIN40COMPAT, xxxCreateWindowSmIcon(), and xxxSendMessageTimeout(). Referenced by xxxDrawCaptionTemp(), and xxxRealDrawMenuItem().
|
|
||||||||||||
|
Definition at line 158 of file caption.c. References _GetDCEx(), _ReleaseDC(), BitBltSysBmp(), BOOL, CheckLock, ClrWF, DOBI_NORMAL, DOBI_PUSHED, DWORD, FALSE, FWINABLE, GET_X_LPARAM, GET_Y_LPARAM, IsWinEventNotifyDeferredOK, msg, NULL, PtiCurrent, PtInRect(), SetWF, TRUE, WFCLOSEBUTTONDOWN, WFHELPBUTTONDOWN, WFREDUCEBUTTONDOWN, WFZOOMBUTTONDOWN, xxxCalcCaptionButton(), xxxPeekMessage, xxxReleaseCapture(), xxxSetCapture(), xxxSleepThread(), and xxxWindowEvent(). Referenced by xxxDWP_NCMouse().
|
1.3.7