repo.or.cz
/
TortoiseGit.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Remove leftover from win2k-builds: no need for delay-loading gdiplus
[TortoiseGit.git]
/
src
/
Utils
/
MiscUI
/
BufferDC.h
blob
b172effacb8612f8479f02f93a0dc85366d3aa22
1
#pragma once
2
#include
"afxwin.h"
3
4
class
CBufferDC
:
5
public
CPaintDC
6
{
7
DECLARE_DYNAMIC
(
CBufferDC
)
8
9
private
:
10
HDC m_hOutputDC
;
11
HDC m_hAttributeDC
;
12
HDC m_hMemoryDC
;
13
14
HBITMAP m_hPaintBitmap
;
15
HBITMAP m_hOldBitmap
;
16
17
RECT m_ClientRect
;
18
19
BOOL m_bBoundsUpdated
;
20
21
public
:
22
CBufferDC
(
CWnd
*
pWnd
);
23
~
CBufferDC
(
void
);
24
25
private
:
26
void
Flush
();
27
28
public
:
29
UINT
SetBoundsRect
(
LPCRECT lpRectBounds
,
UINT flags
);
30
virtual
BOOL
RestoreDC
(
int
nSavedDC
);
31
};