Implement quick&dirty approach to update window size and position
This commit is contained in:
parent
f2e39fb2f7
commit
b05b8bae8b
9 changed files with 53 additions and 8 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue