mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-05 18:02:54 +00:00
PixelPaint: Use a bucket cursor for the Bucket tool
This commit is contained in:
parent
0f24678eaf
commit
81b260bd1c
Notes:
sideshowbarker
2024-07-18 01:41:59 +09:00
Author: https://github.com/mrkct
Commit: 81b260bd1c
Pull-request: https://github.com/SerenityOS/serenity/pull/10381
Reviewed-by: https://github.com/BenWiederhake ✅
Reviewed-by: https://github.com/TobyAsE
Reviewed-by: https://github.com/awesomekling
Reviewed-by: https://github.com/kleinesfilmroellchen
2 changed files with 5 additions and 0 deletions
|
@ -20,6 +20,9 @@ namespace PixelPaint {
|
|||
|
||||
BucketTool::BucketTool()
|
||||
{
|
||||
auto bucket_icon = Gfx::Bitmap::try_load_from_file("/res/icons/pixelpaint/bucket.png");
|
||||
if (!bucket_icon.is_null())
|
||||
m_cursor = bucket_icon.release_nonnull();
|
||||
}
|
||||
|
||||
BucketTool::~BucketTool()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue