mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 08:28:11 +00:00
LibGUI: Convert remaining random little things to ObjectPtr
This commit is contained in:
parent
81a5c4fc56
commit
409494193e
11 changed files with 15 additions and 13 deletions
|
@ -4,8 +4,8 @@
|
|||
#include <LibGUI/GFrame.h>
|
||||
|
||||
class GlyphMapWidget final : public GFrame {
|
||||
C_OBJECT(GlyphMapWidget)
|
||||
public:
|
||||
GlyphMapWidget(Font&, GWidget* parent);
|
||||
virtual ~GlyphMapWidget() override;
|
||||
|
||||
u8 selected_glyph() const { return m_selected_glyph; }
|
||||
|
@ -25,6 +25,7 @@ public:
|
|||
Function<void(u8)> on_glyph_selected;
|
||||
|
||||
private:
|
||||
GlyphMapWidget(Font&, GWidget* parent);
|
||||
virtual void paint_event(GPaintEvent&) override;
|
||||
virtual void mousedown_event(GMouseEvent&) override;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue