19 lines
211 B
C
19 lines
211 B
C
|
#pragma once
|
|||
|
|
|||
|
#include <Windows.h>
|
|||
|
|
|||
|
class compatible_dc
|
|||
|
{
|
|||
|
HBITMAP bmp_;
|
|||
|
HBITMAP old_;
|
|||
|
HDC hdc_;
|
|||
|
HDC src_;
|
|||
|
SIZE size_;
|
|||
|
|
|||
|
public:
|
|||
|
compatible_dc(HDC src);
|
|||
|
~compatible_dc();
|
|||
|
|
|||
|
public:
|
|||
|
HDC get_dc(void);
|
|||
|
};
|