MCPcopy Create free account
hub / github.com/Meridian59/Meridian59 / DrawStretchSelBox

Method DrawStretchSelBox

roomedit/source/editcli.cpp:2320–2326  ·  view source on GitHub ↗

//////////////////////////////////////////////////////////////// TEditorClient ------------- Draw the selection box using R2_XORPEN.

Source from the content-addressed store, hash-verified

2318// -------------
2319// Draw the selection box using R2_XORPEN.
2320void TEditorClient::DrawStretchSelBox(TMapDC &dc)
2321{
2322 int oldROP2 = dc.SetROP2 (R2_XORPEN);
2323 dc.SetPenColor16 (CYAN);
2324 dc.DrawMapRect (SelBoxX, SelBoxY, OldSelBoxX, OldSelBoxY);
2325 dc.SetROP2 (oldROP2);
2326}
2327
2328
2329/////////////////////////////////////////////////////////////////////

Callers 1

ScrollToMethod · 0.80

Calls 3

SetROP2Method · 0.80
SetPenColor16Method · 0.80
DrawMapRectMethod · 0.80

Tested by

no test coverage detected