1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-23 13:17:36 +00:00
serenity/Userland/Libraries/LibCards
david072 1541942e10 LibCards/CardPainter: Add a helper for accessing the caches
The CardPainter in LibCards caches already painted bitmaps. This adds a
helper that gets the bitmap from a cache or creates a new one, if the it
doesn't exist yet. It does this by calling a creator function with the
new bitmap, which can then paint into the bitmap. This makes the code a
bit simpler and shorter.
2023-11-24 11:45:32 +00:00
..
Card.cpp LibCards: Painting disabled cards 2023-11-24 11:45:32 +00:00
Card.h LibCards: Painting disabled cards 2023-11-24 11:45:32 +00:00
CardGame.cpp LibCards: Stop calling the card back image a "background" image 2023-10-11 10:56:43 +01:00
CardGame.h Userland: Convert config listener callbacks to use StringView 2023-06-27 15:37:00 +01:00
CardPainter.cpp LibCards/CardPainter: Add a helper for accessing the caches 2023-11-24 11:45:32 +00:00
CardPainter.h LibCards/CardPainter: Add a helper for accessing the caches 2023-11-24 11:45:32 +00:00
CardStack.cpp LibCards/CardStack: Helper to update the cards' disabled flags 2023-11-24 11:45:32 +00:00
CardStack.h LibCards/CardStack: Helper to update the cards' disabled flags 2023-11-24 11:45:32 +00:00
CMakeLists.txt Everywhere: Mark dependencies of most targets as PRIVATE 2022-11-01 14:49:09 +00:00