@@ -362,7 +362,7 @@ const GraphicsContext& Window::getGraphicsContext() const noexcept | |||||
uintptr_t Window::getNativeWindowHandle() const noexcept | uintptr_t Window::getNativeWindowHandle() const noexcept | ||||
{ | { | ||||
return puglGetNativeWindow(pData->view); | |||||
return puglGetNativeView(pData->view); | |||||
} | } | ||||
double Window::getScaleFactor() const noexcept | double Window::getScaleFactor() const noexcept | ||||
@@ -70,7 +70,7 @@ static PuglView* puglNewViewWithTransientParent(PuglWorld* const world, PuglView | |||||
if (PuglView* const view = puglNewView(world)) | if (PuglView* const view = puglNewView(world)) | ||||
{ | { | ||||
puglSetTransientParent(view, puglGetNativeWindow(transientParentView)); | |||||
puglSetTransientParent(view, puglGetNativeView(transientParentView)); | |||||
return view; | return view; | ||||
} | } | ||||
@@ -477,7 +477,7 @@ bool Window::PrivateData::openFileBrowser(const FileBrowserOptions& options) | |||||
options2.title = puglGetWindowTitle(view); | options2.title = puglGetWindowTitle(view); | ||||
fileBrowserHandle = fileBrowserCreate(isEmbed, | fileBrowserHandle = fileBrowserCreate(isEmbed, | ||||
puglGetNativeWindow(view), | |||||
puglGetNativeView(view), | |||||
autoScaling ? autoScaleFactor : scaleFactor, | autoScaling ? autoScaleFactor : scaleFactor, | ||||
options2); | options2); | ||||
@@ -167,7 +167,8 @@ START_NAMESPACE_DGL | |||||
# endif | # endif | ||||
#endif | #endif | ||||
#include "pugl-upstream/src/implementation.c" | |||||
#include "pugl-upstream/src/common.c" | |||||
#include "pugl-upstream/src/internal.c" | |||||
// -------------------------------------------------------------------------------------------------------------------- | // -------------------------------------------------------------------------------------------------------------------- | ||||
// DGL specific, expose backend enter | // DGL specific, expose backend enter | ||||