mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 10:38:13 +00:00
More window management work.
- Fix inverted mouse event hit test z-ordering. - Let the RootWidget backing store simply be the display framebuffer.
This commit is contained in:
parent
723ff8c2ab
commit
4775fd88e3
5 changed files with 41 additions and 18 deletions
|
@ -3,11 +3,12 @@
|
|||
#include "RootWidget.h"
|
||||
#include "Painter.h"
|
||||
#include "WindowManager.h"
|
||||
#include "FrameBufferSDL.h"
|
||||
#include <cstdio>
|
||||
|
||||
RootWidget::RootWidget()
|
||||
{
|
||||
m_backing = GraphicsBitmap::create(AbstractScreen::the().size());
|
||||
m_backing = GraphicsBitmap::create_wrapper(FrameBufferSDL::the().size(), (byte*)FrameBufferSDL::the().scanline(0));
|
||||
}
|
||||
|
||||
RootWidget::~RootWidget()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue