#include "camtypes.h"
#include "scroller.h"
#include "scrlthmb.h"
#include "csrstack.h"
#include "brushmsg.h"
Go to the source code of this file.
Functions | |
DECLARE_SOURCE ("$Revision: 751 $") | |
static void NEAR PASCAL | PatB (CDC *cDC, INT32 x, INT32 y, INT32 dx, INT32 dy, COLORREF rgb) |
Paints a rectangle in the given (dithered) colour It looks pretty hideous, but this is how the MFC buttonbar does it... The conclusions that this leads to are left as an exercise for the reader. (OK, so they're not. It suggest that either MFC sux, or plotting text is easier/faster than creating a brush, in which case Windoze sux). | |
Variables | |
static Cursor * | AdjustDragCursor = NULL |
static INT32 | DragCursorID = 0 |
|
|
|
Paints a rectangle in the given (dithered) colour It looks pretty hideous, but this is how the MFC buttonbar does it... The conclusions that this leads to are left as an exercise for the reader. (OK, so they're not. It suggest that either MFC sux, or plotting text is easier/faster than creating a brush, in which case Windoze sux).
Definition at line 139 of file scrlthmb.cpp. 00140 { 00141 RECT rect; 00142 rect.left = x; 00143 rect.top = y; 00144 rect.right = x + dx; 00145 rect.bottom = y + dy; 00146 00147 cDC->SetBkColor(rgb); 00148 cDC->ExtTextOut(0, 0, ETO_OPAQUE, &rect, NULL, 0, NULL); 00149 }
|
|
Definition at line 151 of file scrlthmb.cpp. |
|
Definition at line 152 of file scrlthmb.cpp. |