1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 05:27:46 +00:00

Rename all the LibGUI classes to GClassName.

This commit is contained in:
Andreas Kling 2019-01-20 04:49:48 +01:00
parent a026da47e7
commit b91479d9b9
33 changed files with 623 additions and 581 deletions

View file

@ -9,12 +9,17 @@
class CharacterBitmap;
class GraphicsBitmap;
class Font;
class Widget;
class Window;
#ifdef LIBGUI
class GWidget;
class GWindow;
#endif
class Painter {
public:
explicit Painter(Widget&);
#ifdef LIBGUI
explicit Painter(GWidget&);
#endif
explicit Painter(GraphicsBitmap&);
~Painter();
void fill_rect(const Rect&, Color);
@ -42,6 +47,8 @@ private:
Point m_translation;
Rect m_clip_rect;
RetainPtr<GraphicsBitmap> m_target;
Window* m_window { nullptr };
#ifdef LIBGUI
GWindow* m_window { nullptr };
#endif
DrawOp m_draw_op { DrawOp::Copy };
};