63 #define RBInnerSoft RBInnerNormal 64 #define RBOuterSoft RBOuterNormal 99 signed char InnerI, OuterI;
100 HPEN InnerPen, OuterPen;
117 spx = spy = epx = epy = 0;
178 spx = epx + SmallDiam;
180 spy = epy - SmallDiam;
187 spx = epx + SmallDiam;
189 spy = epy + SmallDiam;
204 epx = spx + SmallDiam;
206 epy = spy - SmallDiam;
226 Points[0].
x = spx-add;
228 Points[1].
x = rc->
left;
229 Points[1].
y = rc->
top;
231 Points[2].
y = epy-1-add;
232 Points[3] = Points[2];
238 Points[0].
x = spx-add;
240 Points[1].
x = rc->
left;
243 Points[2].
y = epy+1+add;
244 Points[3] = Points[2];
254 Points[0].
y = epy+1+add;
255 Points[1].
x = rc->
right-1;
256 Points[1].
y = rc->
top+add;
257 Points[2].
x = rc->
right-1;
259 Points[3].
x = spx+add;
266 Points[0].
x = epx+1+add;
268 Points[1].
x = rc->
right-1;
269 Points[1].
y = rc->
top;
270 Points[2].
x = rc->
right-1;
271 Points[2].
y = rc->
bottom-1-add;
273 Points[3].
y = spy-add;
283 Points[1].
x = rc->
right-1;
284 Points[1].
y = rc->
top;
285 Points[2].
x = rc->
right-1;
286 Points[2].
y = rc->
bottom-1-add;
287 Points[3].
x = spx+add;
288 Points[3].
y = spy-add;
298 Points[1].
x = rc->
left;
299 Points[1].
y = rc->
top+add;
300 Points[2].
x = epx-1-add;
301 Points[2].
y = epy+1+add;
302 Points[3] = Points[2];
412 signed char LTInnerI, LTOuterI;
413 signed char RBInnerI, RBOuterI;
414 HPEN LTInnerPen, LTOuterPen;
415 HPEN RBInnerPen, RBOuterPen;
416 RECT InnerRect = *rc;
548 InnerRect.
left += add;
550 InnerRect.
right -= add;
552 InnerRect.
top += add;
578 dst->bottom =
dst->top + SmallDiam;
583 dst->right =
dst->left + SmallDiam;
669 WCHAR OutRight, OutLeft, InRight, InLeft, Center;
761 switch(uState & 0x1f)
777 ERR(
"Invalid button state=0x%04x\n", uState);
809 ERR(
"Invalid caption; flags=0x%04x\n",
uFlags);
913 ERR(
"Invalid scroll; flags=0x%04x\n",
uFlags);
990 ERR(
"Invalid menu; flags=0x%04x\n",
uFlags);
1038 if ((
r.right <=
r.left) || (
r.bottom <=
r.top))
return 0;
1055 HBRUSH prevhbr =
NULL;
1061 if (hbr <= (HBRUSH)(COLOR_MENUBAR + 1))
1065 if (prevhbr ==
NULL)
#define BF_DIAGONAL_ENDTOPLEFT
BOOL NTAPI GreDeleteObject(HGDIOBJ hobj)
#define COLOR_WINDOWFRAME
_In_ int _Inout_ LPRECT lprc
BOOL FASTCALL UITOOLS95_DFC_ButtonPush(HDC dc, LPRECT r, UINT uFlags)
__kernel_entry W32KAPI BOOL APIENTRY NtGdiPatBlt(_In_ HDC hdcDest, _In_ INT x, _In_ INT y, _In_ INT cx, _In_ INT cy, _In_ DWORD dwRop)
HGDIOBJ FASTCALL IntGetSysColorBrush(INT Object)
BOOL FASTCALL IntDrawDiagEdge(HDC hdc, LPRECT rc, UINT uType, UINT uFlags)
#define BF_DIAGONAL_ENDTOPRIGHT
GLdouble GLdouble GLdouble r
_In_ HFONT _Out_ PUINT _Out_ PUINT Width
int FASTCALL UITOOLS_MakeSquareRect(LPRECT src, LPRECT dst)
#define DFCS_BUTTON3STATE
BOOL FASTCALL UITOOLS95_DFC_ButtonCheckRadio(HDC dc, LPRECT r, UINT uFlags, BOOL Radio)
__kernel_entry W32KAPI HANDLE APIENTRY NtGdiGetStockObject(_In_ INT iObject)
static const signed char LTInnerNormal[]
COLORREF FASTCALL IntGdiSetBkColor(_In_ HDC hDC, _In_ COLORREF Color)
INT FASTCALL IntGdiSetBkMode(HDC hDC, INT backgroundMode)
static const signed char LTRBInnerMono[]
#define COLOR_BTNHIGHLIGHT
_In_ HFONT _Out_ PUINT Height
INT WINAPI FillRect(HDC hDC, CONST RECT *lprc, HBRUSH hbr)
BOOL FASTCALL UITOOLS95_DrawFrameScroll(HDC dc, LPRECT r, UINT uFlags)
__kernel_entry W32KAPI HBRUSH APIENTRY NtGdiSelectBrush(_In_ HDC hdc, _In_ HBRUSH hbrush)
__kernel_entry W32KAPI BOOL APIENTRY NtGdiLineTo(_In_ HDC hdc, _In_ INT x, _In_ INT y)
__kernel_entry W32KAPI HPEN APIENTRY NtGdiSelectPen(_In_ HDC hdc, _In_ HPEN hpen)
BOOL FASTCALL UITOOLS95_DrawFrameCaption(HDC dc, LPRECT r, UINT uFlags)
BOOL FASTCALL UITOOLS95_DrawFrameButton(HDC hdc, LPRECT rc, UINT uState)
#define BF_DIAGONAL_ENDBOTTOMLEFT
static const signed char LTRBOuterMono[]
#define NONANTIALIASED_QUALITY
COLORREF FASTCALL IntGdiSetTextColor(HDC hDC, COLORREF color)
BOOL FASTCALL GreTextOutW(HDC hdc, int nXStart, int nYStart, LPCWSTR lpString, int cchString)
BOOL WINAPI DrawFrameControl(HDC hDC, LPRECT rc, UINT uType, UINT uState)
HFONT FASTCALL GreCreateFontIndirectW(LOGFONTW *lplf)
#define DFCS_CAPTIONRESTORE
#define DFCS_MENUARROWDOWN
static const signed char LTOuterSoft[]
BOOL FASTCALL UITOOLS95_DrawFrameMenu(HDC dc, LPRECT r, UINT uFlags)
BOOLEAN Symbol(PVRET pvr)
__kernel_entry W32KAPI HFONT APIENTRY NtGdiSelectFont(_In_ HDC hdc, _In_ HFONT hf)
void FASTCALL UITOOLS_DrawCheckedRect(HDC dc, LPRECT rect)
static const signed char LTOuterNormal[]
#define DFCS_SCROLLSIZEGRIP
#define DFCS_CAPTIONCLOSE
#define BF_DIAGONAL_ENDBOTTOMRIGHT
DWORD FASTCALL IntGetSysColor(INT nIndex)
int FASTCALL GreGetBkMode(HDC)
#define DFCS_SCROLLSIZEGRIPRIGHT
COLORREF FASTCALL IntSetDCPenColor(HDC, COLORREF)
BOOL FASTCALL IntPolygon(HDC hdc, POINT *Point, int Count)
#define DFCS_MENUARROWRIGHT
BOOL FASTCALL GreMoveTo(HDC hdc, INT x, INT y, LPPOINT pptOut)
BOOL WINAPI DrawEdge(HDC hDC, LPRECT rc, UINT edge, UINT flags)
FORCEINLINE VOID RECTL_vOffsetRect(_Inout_ RECTL *prcl, _In_ INT cx, _In_ INT cy)
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
#define DFCS_SCROLLCOMBOBOX
DBG_DEFAULT_CHANNEL(UserDefwnd)
int FASTCALL GreGetMapMode(HDC)
static DWORD *static HFONT(WINAPI *pCreateFontIndirectExA)(const ENUMLOGFONTEXDVA *)
COLORREF FASTCALL GreGetTextColor(HDC)
static const signed char LTRBInnerFlat[]
static const signed char LTInnerSoft[]
WCHAR lfFaceName[LF_FACESIZE]
#define RtlZeroMemory(Destination, Length)
#define RtlCopyMemory(Destination, Source, Length)
#define DFCS_BUTTONRADIOMASK
COLORREF FASTCALL IntSetDCBrushColor(HDC, COLORREF)
BOOL FASTCALL IntDrawRectEdge(HDC hdc, LPRECT rc, UINT uType, UINT uFlags)
static const signed char LTRBOuterFlat[]
#define DFCS_BUTTONRADIOIMAGE
static const signed char RBInnerNormal[]
INT WINAPI FrameRect(HDC hDC, CONST RECT *lprc, HBRUSH hbr)
static const signed char RBOuterNormal[]