mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 05:39:11 +00:00
FontEditor+ClipboardHistory: Use system-wide Clipboard
Glyphs can now be copied between editors.
This commit is contained in:
parent
ebf3ce7806
commit
08f11d01d9
Notes:
sideshowbarker
2024-07-18 20:39:43 +09:00
Author: https://github.com/thankyouverycool
Commit: 08f11d01d9
Pull-request: https://github.com/SerenityOS/serenity/pull/6184
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