/////////////////////////////////////////////////////////////////////////////
// Name: src/dfb/dcclient.cpp
/////////////////////////////////////////////////////////////////////////////
// Name: src/dfb/dcclient.cpp
// coordinates; this will remove parts of 'r' that are outside of the
// parent's area:
wxRect rp(GetUncoveredWindowArea(parent));
// coordinates; this will remove parts of 'r' that are outside of the
// parent's area:
wxRect rp(GetUncoveredWindowArea(parent));
win, win->GetName().c_str());
wxSize size(rect ? rect->GetSize() : win->GetSize());
win, win->GetName().c_str());
wxSize size(rect ? rect->GetSize() : win->GetSize());
- _T("%p ('%s'): creating DC for area [%i,%i,%i,%i], clipped to [%i,%i,%i,%i], origin [%i,%i]"),
+ "%p ('%s'): creating DC for area [%i,%i,%i,%i], clipped to [%i,%i,%i,%i], origin [%i,%i]",
win, win->GetName().c_str(),
rectOrig.x, rectOrig.y, rectOrig.GetRight(), rectOrig.GetBottom(),
r.x, r.y, r.GetRight(), r.GetBottom(),
origin.x, origin.y);
win, win->GetName().c_str(),
rectOrig.x, rectOrig.y, rectOrig.GetRight(), rectOrig.GetBottom(),
r.x, r.y, r.GetRight(), r.GetBottom(),
origin.x, origin.y);
SetFont(win->GetFont());
// offset coordinates to account for subsurface's origin coordinates:
SetDeviceOrigin(origin.x, origin.y);
}
SetFont(win->GetFont());
// offset coordinates to account for subsurface's origin coordinates:
SetDeviceOrigin(origin.x, origin.y);
}
{
// paint overlays on top of the surface being drawn to by this DC
// before showing anything on the screen:
{
// paint overlays on top of the surface being drawn to by this DC
// before showing anything on the screen: