foobar2000 SDK  2015-08-03
Public Member Functions | Private Attributes
OffsetWindowOrgScope

#include <win-objects.h>

Public Member Functions

 OffsetWindowOrgScope (HDC dc, const POINT &pt) throw ()
 
 ~OffsetWindowOrgScope () throw ()
 

Private Attributes

const HDC m_dc
 
const POINT m_pt
 

Detailed Description

Definition at line 206 of file win-objects.h.

Constructor & Destructor Documentation

OffsetWindowOrgScope::OffsetWindowOrgScope ( HDC  dc,
const POINT &  pt 
)
throw (
)
inline

Definition at line 208 of file win-objects.h.

208  : m_dc(dc), m_pt(pt) {
209  OffsetWindowOrgEx(m_dc, m_pt.x, m_pt.y, NULL);
210  }
OffsetWindowOrgScope::~OffsetWindowOrgScope ( )
throw (
)
inline

Definition at line 211 of file win-objects.h.

211  {
212  OffsetWindowOrgEx(m_dc, -m_pt.x, -m_pt.y, NULL);
213  }

Field Documentation

const HDC OffsetWindowOrgScope::m_dc
private

Definition at line 216 of file win-objects.h.

const POINT OffsetWindowOrgScope::m_pt
private

Definition at line 217 of file win-objects.h.


The documentation for this class was generated from the following file: