PixelPaint: Use a bucket cursor for the Bucket tool

This commit is contained in:
Marco Cutecchia 2021-10-17 21:11:20 +02:00 committed by Andreas Kling
parent 0f24678eaf
commit 81b260bd1c
Notes: sideshowbarker 2024-07-18 01:41:59 +09:00
2 changed files with 5 additions and 0 deletions

View file

@ -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()