| 71 | } |
| 72 | |
| 73 | static PuglView* puglNewViewWithTransientParent(PuglWorld* const world, PuglView* const transientParentView) |
| 74 | { |
| 75 | if (world == nullptr) |
| 76 | return nullptr; |
| 77 | |
| 78 | if (PuglView* const view = puglNewView(world)) |
| 79 | { |
| 80 | puglSetTransientParent(view, puglGetNativeView(transientParentView)); |
| 81 | return view; |
| 82 | } |
| 83 | |
| 84 | return nullptr; |
| 85 | } |
| 86 | |
| 87 | static PuglView* puglNewViewWithParentWindow(PuglWorld* const world, const uintptr_t parentWindowHandle) |
| 88 | { |
no test coverage detected