Initial Commit
This commit is contained in:
19
common/CBDATA.CPP
Normal file
19
common/CBDATA.CPP
Normal file
@@ -0,0 +1,19 @@
|
||||
#include <common/cbdata.hpp>
|
||||
#include <common/purehdc.hpp>
|
||||
|
||||
PaintInformation::PaintInformation(const PureDevice &paintDevice)
|
||||
: mlpPaintDevice(new PureDevice((HDC)paintDevice))
|
||||
{
|
||||
}
|
||||
|
||||
PaintInformation::~PaintInformation()
|
||||
{
|
||||
if(mlpPaintDevice)delete mlpPaintDevice;
|
||||
}
|
||||
|
||||
PaintInformation::operator PureDevice&(void)const
|
||||
{
|
||||
return *mlpPaintDevice;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user