mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 10:18:13 +00:00
Add a simple clock window to guitest2.
This is driven by mousedown events right now, since there are no timers.
This commit is contained in:
parent
2dc9c86bad
commit
e04ba0a83c
7 changed files with 113 additions and 10 deletions
|
@ -10,14 +10,14 @@ class CharacterBitmap;
|
|||
class GraphicsBitmap;
|
||||
class Font;
|
||||
|
||||
#ifdef LIBGUI
|
||||
#ifndef KERNEL
|
||||
class GWidget;
|
||||
class GWindow;
|
||||
#endif
|
||||
|
||||
class Painter {
|
||||
public:
|
||||
#ifdef LIBGUI
|
||||
#ifndef KERNEL
|
||||
explicit Painter(GWidget&);
|
||||
#endif
|
||||
explicit Painter(GraphicsBitmap&);
|
||||
|
@ -52,7 +52,7 @@ private:
|
|||
Point m_translation;
|
||||
Rect m_clip_rect;
|
||||
RetainPtr<GraphicsBitmap> m_target;
|
||||
#ifdef LIBGUI
|
||||
#ifndef KERNEL
|
||||
GWindow* m_window { nullptr };
|
||||
void* m_backing_store_id { nullptr };
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue