ladybird/Userland/Libraries/LibCards
Lenny Maiorani d5fdc6096c Libraries: Make CharacterBitmap instances at compile-time
`CharacterBitmap` instances are generated at run-time and put on the
heap, but they can be created in a `constexpr` context and stored in
static memory.

Also, remove additional `width` and `height` `static` values in favor
of using the `constexpr` member functions of `CharacterBitmap`.

These changes also include the removal of some initialization code
which tests if the `CharacterBitmap` is created since it is always
created and removes function-local `static` values which cause
run-time branches to ensure it is initialized each time the function
is called.
2022-03-04 17:41:08 +01:00
..
Card.cpp Libraries: Make CharacterBitmap instances at compile-time 2022-03-04 17:41:08 +01:00
Card.h AK: Convert AK::Format formatting helpers to returning ErrorOr<void> 2021-11-17 00:21:13 +01:00
CardStack.cpp LibCards: Support non-alternating colour patience games 2021-06-24 10:32:53 +02:00
CardStack.h AK: Convert AK::Format formatting helpers to returning ErrorOr<void> 2021-11-17 00:21:13 +01:00
CMakeLists.txt Solitaire: Move cards functionality into LibCards 2021-05-21 23:38:18 +02:00