MCPcopy Create free account
hub / github.com/arrayfire/forge / Window

Method Window

src/api/cpp/window.cpp:18–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16namespace forge
17{
18Window::Window(const int pWidth, const int pHeight, const char* pTitle,
19 const Window* pWindow, const bool invisible)
20 : mValue(0)
21{
22 fg_window temp = 0;
23 fg_window shrd = (pWindow ? pWindow->get() : 0);
24 FG_THROW(fg_create_window(&temp, pWidth, pHeight, pTitle, shrd, invisible));
25
26 std::swap(mValue, temp);
27}
28
29Window::Window(const Window& other)
30{

Callers

nothing calls this directly

Calls 3

fg_create_windowFunction · 0.85
fg_retain_windowFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected