blob: 3325f3d6c9fc1d80450196ca01cd7c99239a5302 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#pragma once
#include <LibGUI/GFrame.h>
class ABuffer;
class SampleWidget final : public GFrame {
C_OBJECT(SampleWidget)
public:
explicit SampleWidget(GWidget* parent);
virtual ~SampleWidget() override;
void set_buffer(ABuffer*);
private:
virtual void paint_event(GPaintEvent&) override;
RefPtr<ABuffer> m_buffer;
};
|