#include "camtypes.h"
#include "mainfrm.h"
#include "statline.h"
#include "progbar.h"
#include "fonts.h"
#include "camafx.h"
#include "cstatbar.h"
#include <afxpriv.h>
Go to the source code of this file.
Defines | |
#define | CX_BORDER 1 |
#define | CY_BORDER 1 |
#define | CHECKPEN(Ptr) ((CPen *) (Ptr)) |
#define | CHECKBRUSH(Ptr) ((CBrush *) (Ptr)) |
#define | CHECKFONT(Ptr) ((CFont *) (Ptr)) |
Functions | |
static void | Paint3dPlinth (CDC *pDC, CRect *rect, BOOL Indent=TRUE) |
Variables | |
const char BASED_CODE | _afxWndControlBar [] |
static const | MAXBARWIDTH = 200 |
|
Definition at line 189 of file progbar.cpp. |
|
Definition at line 190 of file progbar.cpp. |
|
Definition at line 188 of file progbar.cpp. |
|
Definition at line 158 of file progbar.cpp. |
|
Definition at line 159 of file progbar.cpp. |
|
Definition at line 421 of file progbar.cpp. 00425 { 00426 // **** If 3d look is turned off, then we need to select black for BOTH of these 00427 00428 CPen Black(PS_SOLID, 0, GetSysColor(COLOR_BTNSHADOW)); 00429 CPen White(PS_SOLID, 0, GetSysColor(COLOR_BTNHIGHLIGHT)); 00430 00431 CPen *OldPen = CHECKPEN(pDC->SelectObject((Indent) ? &White : &Black)); 00432 00433 pDC->MoveTo(rect->left, rect->bottom-1); 00434 pDC->LineTo(rect->left, rect->top); 00435 pDC->LineTo(rect->right-1, rect->top); 00436 00437 CHECKPEN(pDC->SelectObject((Indent) ? &Black : &White)); 00438 pDC->MoveTo(rect->right-1, rect->top+1); // Ensure corner pixel is correct 00439 pDC->LineTo(rect->right-1, rect->bottom-1); 00440 pDC->LineTo(rect->left, rect->bottom-1); 00441 00442 CHECKPEN(pDC->SelectObject(OldPen)); 00443 }
|
|
|
|
Definition at line 198 of file progbar.cpp. |