| 16 | namespace forge |
| 17 | { |
| 18 | Window::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 | |
| 29 | Window::Window(const Window& other) |
| 30 | { |
nothing calls this directly
no test coverage detected