mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 21:57:43 +00:00
LibGUI: Add a Clipboard API for retrieving a copied Gfx::Bitmap
The returned bitmap is always going to be a 32-bit RGBA bitmap for now. In the future we may want to support copy-pasting other formats.
This commit is contained in:
parent
2e6d59b7b2
commit
158f3b9362
2 changed files with 44 additions and 1 deletions
|
@ -48,6 +48,7 @@ public:
|
|||
}
|
||||
|
||||
void set_bitmap(const Gfx::Bitmap&);
|
||||
RefPtr<Gfx::Bitmap> bitmap() const;
|
||||
|
||||
struct DataAndType {
|
||||
ByteBuffer data;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue