62 #define RBInnerSoft RBInnerNormal 63 #define RBOuterSoft RBOuterNormal 98 signed char InnerI, OuterI;
99 HPEN InnerPen, OuterPen;
106 int SmallDiam = Width > Height ? Height : Width;
116 spx = spy = epx = epy = 0;
177 spx = epx + SmallDiam;
179 spy = epy - SmallDiam;
186 spx = epx + SmallDiam;
188 spy = epy + SmallDiam;
203 epx = spx + SmallDiam;
205 epy = spy - SmallDiam;
225 Points[0].
x = spx-
add;
227 Points[1].
x = rc->
left;
228 Points[1].
y = rc->
top;
230 Points[2].
y = epy-1-
add;
231 Points[3] = Points[2];
237 Points[0].
x = spx-
add;
239 Points[1].
x = rc->
left;
242 Points[2].
y = epy+1+
add;
243 Points[3] = Points[2];
253 Points[0].
y = epy+1+
add;
254 Points[1].
x = rc->
right-1;
256 Points[2].
x = rc->
right-1;
258 Points[3].
x = spx+
add;
265 Points[0].
x = epx+1+
add;
267 Points[1].
x = rc->
right-1;
268 Points[1].
y = rc->
top;
269 Points[2].
x = rc->
right-1;
272 Points[3].
y = spy-
add;
282 Points[1].
x = rc->
right-1;
283 Points[1].
y = rc->
top;
284 Points[2].
x = rc->
right-1;
286 Points[3].
x = spx+
add;
287 Points[3].
y = spy-
add;
297 Points[1].
x = rc->
left;
299 Points[2].
x = epx-1-
add;
300 Points[2].
y = epy+1+
add;
301 Points[3] = Points[2];
411 signed char LTInnerI, LTOuterI;
412 signed char RBInnerI, RBOuterI;
413 HPEN LTInnerPen, LTOuterPen;
414 HPEN RBInnerPen, RBOuterPen;
415 RECT InnerRect = *rc;
567 int Width =
src->right -
src->left;
568 int Height =
src->bottom -
src->top;
569 int SmallDiam = Width > Height ? Height : Width;
576 dst->top += (Height-Width)/2;
577 dst->bottom =
dst->top + SmallDiam;
579 else if(Width > Height)
581 dst->left += (Width-Height)/2;
582 dst->right =
dst->left + SmallDiam;
668 WCHAR OutRight, OutLeft, InRight, InLeft, Center;
760 switch(uState & 0xff)
1037 if ((
r.right <=
r.left) || (
r.bottom <=
r.top))
return 0;
1054 HBRUSH prevhbr =
NULL;
1060 if (hbr <= (HBRUSH)(COLOR_MENUBAR + 1))
1064 if (prevhbr ==
NULL)
#define BF_DIAGONAL_ENDTOPLEFT
BOOL NTAPI GreDeleteObject(HGDIOBJ hobj)
NTSYSAPI VOID NTAPI RtlCopyMemory(VOID UNALIGNED *Destination, CONST VOID UNALIGNED *Source, ULONG Length)
#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
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
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)
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
__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)
#define DFCS_SCROLLCOMBOBOX
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 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[]