Implement quick&dirty approach to update window size and position

This commit is contained in:
Simon Fels 2016-11-08 18:07:00 +01:00
commit b05b8bae8b
9 changed files with 53 additions and 8 deletions

View file

@ -497,6 +497,13 @@ FrameBufferWindow* FrameBuffer::createWindow(int x, int y, int width, int height
return window;
}
void FrameBuffer::updateWindow(FrameBufferWindow *window, int x, int y, int width, int height) {
if (!window)
return;
updateSubWindow(window->native_window, x, y, width, height);
}
void FrameBuffer::destroyWindow(FrameBufferWindow *window) {
if (!window)
return;