Ben Wiederhake
42dd0675c0
Meta+MenuApplets: Make clang-format-10 clean
2020-09-25 21:18:17 +02:00
Andreas Kling
40e6a3dcc3
ClipboardHistory: Copy metadata when reusing a historical clipping
2020-09-05 17:06:34 +02:00
Andreas Kling
2e446b662b
ClipboardHistory: Show bitmap width/height/bpp for bitmap clippings
2020-09-05 17:05:22 +02:00
Andreas Kling
0b051a5e15
ClipboardHistory: Show the size (in bytes) of each remembered clipping
2020-09-05 17:02:25 +02:00
Andreas Kling
b8d73e259c
ClipboardHistory: Cap the history at 20 entries for now
...
Now that we can copy bitmaps, we need some kind of cap here or memory
usage quickly skyrockets.
This could probably be improved or made adaptive somehow, this is just
a simple hard cap for now.
2020-09-05 17:00:18 +02:00
Andreas Kling
51146e3075
LibGUI: Make the Clipboard API deal in raw byte buffers a bit more
...
To open up for putting not just text/plain content on the clipboard,
let's make the GUI::Clipboard API a bit more raw-data-friendly. :^)
2020-09-05 16:16:01 +02:00
thankyouverycool
ebba297b42
Base: Move 16x16 common icons to /res/icons/16x16/
...
Drops the '16' suffix from filenames. Resizes inconsistent
audio-volume icons to intended size.
2020-08-27 15:38:02 +02:00
Andreas Kling
a1e381a0f8
LibGUI: Move GUI::Model::Role to GUI::ModelRole
...
This is preparation for using ModelRole in the ModelIndex API.
2020-08-16 16:44:09 +02:00
Andreas Kling
299824de73
LibGUI: Rename GUI::Image => GUI::ImageWidget
...
"Image" was a bit too vague, "ImageWidget" is obviously a widget of
some sort.
2020-07-23 17:31:08 +02:00
Andreas Kling
1dd1595043
LibGUI: Make GUI::Application a Core::Object
...
Having this on the stack makes whole-program teardown iffy. Turning it
into a Core::Object allows anyone who needs it to extends its lifetime.
2020-07-04 14:05:57 +02:00
Andreas Kling
d480944f6a
ClipboardHistory: Use pledge() and unveil() :^)
2020-06-18 22:34:15 +02:00
Hüseyin ASLITÜRK
3a676c6fd2
ClipboardHistory: Replace IconWidget with GUI::Image
2020-06-18 16:35:57 +02:00
Andreas Kling
2adb0a07e5
LibGUI: Get rid of Model::ColumnMetadata and always use auto-sizing
...
Auto-sizing of view columns is now enabled by default. This removes the
last remaining need for ColumnMetadata, so this patch gets rid of it.
2020-05-21 19:55:44 +02:00
Andreas Kling
ff4eaa12b4
ClipboardHistory: Always place the applet at the same location :^)
2020-05-20 20:24:44 +02:00
Sergey Bugaev
f7ae66cee3
ClipboardHistory: Add a clipboard history applet :^)
...
It will listen for clipboard content changes in the backgroud. Once you click
on its icon, it will pop up a window listing all recorded clipboard contents.
You can then double-click on an item to copy it again.
2020-05-16 09:13:25 +02:00