MCPcopy Create free account
hub / github.com/DISTRHO/DPF / setOffset

Method setOffset

dgl/src/Window.cpp:217–224  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

215}
216
217void Window::setOffset(const int x, const int y)
218{
219 // do not call this for embed windows!
220 DISTRHO_SAFE_ASSERT_RETURN(!pData->isEmbed,);
221
222 if (pData->view != nullptr)
223 puglSetPositionHint(pData->view, PUGL_CURRENT_POSITION, x, y);
224}
225
226void Window::setOffset(const Point<int>& offset)
227{

Callers 1

setWindowOffsetFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected