mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:27:35 +00:00
FontEditor+ClipboardHistory: Use system-wide Clipboard
Glyphs can now be copied between editors.
This commit is contained in:
parent
ebf3ce7806
commit
08f11d01d9
3 changed files with 60 additions and 20 deletions
|
@ -44,7 +44,6 @@ public:
|
|||
void copy_glyph();
|
||||
void paste_glyph();
|
||||
void delete_glyph();
|
||||
void clear_clipboard_glyph();
|
||||
|
||||
int preferred_width() const;
|
||||
int preferred_height() const;
|
||||
|
@ -63,8 +62,6 @@ private:
|
|||
void draw_at_mouse(const GUI::MouseEvent&);
|
||||
|
||||
RefPtr<Gfx::BitmapFont> m_font;
|
||||
RefPtr<Gfx::Font> m_clipboard_font;
|
||||
Gfx::GlyphBitmap m_clipboard_glyph;
|
||||
int m_glyph { 0 };
|
||||
int m_scale { 10 };
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue