mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 12:47:35 +00:00
AK: Rename RetainPtr => RefPtr and Retained => NonnullRefPtr.
This commit is contained in:
parent
77b9fa89dd
commit
90b1354688
188 changed files with 562 additions and 562 deletions
|
@ -10,7 +10,7 @@
|
|||
#include <LibGUI/GTextBox.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
FontEditorWidget::FontEditorWidget(const String& path, RetainPtr<Font>&& edited_font, GWidget* parent)
|
||||
FontEditorWidget::FontEditorWidget(const String& path, RefPtr<Font>&& edited_font, GWidget* parent)
|
||||
: GWidget(parent)
|
||||
, m_edited_font(move(edited_font))
|
||||
{
|
||||
|
|
|
@ -9,11 +9,11 @@ class GTextBox;
|
|||
|
||||
class FontEditorWidget final : public GWidget {
|
||||
public:
|
||||
FontEditorWidget(const String& path, RetainPtr<Font>&&, GWidget* parent = nullptr);
|
||||
FontEditorWidget(const String& path, RefPtr<Font>&&, GWidget* parent = nullptr);
|
||||
virtual ~FontEditorWidget() override;
|
||||
|
||||
private:
|
||||
RetainPtr<Font> m_edited_font;
|
||||
RefPtr<Font> m_edited_font;
|
||||
|
||||
GlyphMapWidget* m_glyph_map_widget { nullptr };
|
||||
GlyphEditorWidget* m_glyph_editor_widget { nullptr };
|
||||
|
|
|
@ -24,7 +24,7 @@ private:
|
|||
|
||||
void draw_at_mouse(const GMouseEvent&);
|
||||
|
||||
RetainPtr<Font> m_font;
|
||||
RefPtr<Font> m_font;
|
||||
byte m_glyph { 0 };
|
||||
int m_scale { 10 };
|
||||
};
|
||||
|
|
|
@ -30,7 +30,7 @@ private:
|
|||
|
||||
Rect get_outer_rect(byte glyph) const;
|
||||
|
||||
RetainPtr<Font> m_font;
|
||||
RefPtr<Font> m_font;
|
||||
int m_rows { 8 };
|
||||
int m_horizontal_spacing { 2 };
|
||||
int m_vertical_spacing { 2 };
|
||||
|
|
|
@ -7,7 +7,7 @@ int main(int argc, char** argv)
|
|||
{
|
||||
GApplication app(argc, argv);
|
||||
|
||||
RetainPtr<Font> edited_font;
|
||||
RefPtr<Font> edited_font;
|
||||
String path;
|
||||
|
||||
if (argc == 2) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue