mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-24 10:12:25 -05:00
1c0669f010
Instead of LibGUI and WindowServer building their own copies of the drawing and graphics code, let's it in a separate LibDraw library. This avoids building the code twice, and will encourage better separation of concerns. :^)
12 lines
200 B
C++
12 lines
200 B
C++
#pragma once
|
|
|
|
#include <LibDraw/Painter.h>
|
|
|
|
class GWidget;
|
|
class GraphicsBitmap;
|
|
|
|
class GPainter : public Painter {
|
|
public:
|
|
explicit GPainter(GWidget&);
|
|
explicit GPainter(GraphicsBitmap&);
|
|
};
|