Andreas Kling
235f39e449
LibGfx: Use ErrorOr<T> for Bitmap::try_load_from_file()
...
This was used in a lot of places, so this patch makes liberal use of
ErrorOr<T>::release_value_but_fixme_should_propagate_errors().
2021-11-08 00:35:27 +01:00
Ben Wiederhake
f717008bde
CatDog: Switch to new mouse-tracking method
2021-09-08 10:53:49 +02:00
Andreas Kling
c7d891765c
LibGfx: Use "try_" prefix for static factory functions
...
Also mark them as [[nodiscard]].
2021-07-21 18:02:15 +02:00
Hendiadyoin1
ed46d52252
Everywhere: Use AK/Math.h if applicable
...
AK's version should see better inlining behaviors, than the LibM one.
We avoid mixed usage for now though.
Also clean up some stale math includes and improper floatingpoint usage.
2021-07-19 16:34:21 +04:30
Marcus Nilsson
e5367c13d8
CatDog: Remove global menu and add context menu
...
There was no way to close catdog since it relied on global menus, this
adds a context menu for opening the about dialog and quitting.
Fixes #7252
2021-05-18 18:59:18 +01:00
Gunnar Beutner
e0fe38ea25
CatDog: Help the user debug their programs
...
This adds helpful speech bubbles to CatDog. CatDog just wants to
help, that's all.
2021-05-09 15:21:23 +02:00
Gunnar Beutner
e229914a74
CatDog: Move the main widget into its own file
2021-05-09 15:21:23 +02:00