foobar2000 SDK  2015-01-14
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 203 of file win-objects.h.

Constructor & Destructor Documentation

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

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

205  : m_dc(dc), m_pt(pt) {
206  OffsetWindowOrgEx(m_dc, m_pt.x, m_pt.y, NULL);
207  }
OffsetWindowOrgScope::~OffsetWindowOrgScope ( )
throw (
)
inline

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

208  {
209  OffsetWindowOrgEx(m_dc, -m_pt.x, -m_pt.y, NULL);
210  }

Field Documentation

const HDC OffsetWindowOrgScope::m_dc
private

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

const POINT OffsetWindowOrgScope::m_pt
private

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


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