mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 13:19:05 +00:00
LibCards+Spider: Move ensure_top_card_is_visible()
logic to CardStack
This commit is contained in:
parent
b26383bc6c
commit
12612703f9
Notes:
sideshowbarker
2024-07-17 06:05:58 +09:00
Author: https://github.com/AtkinsSJ
Commit: 12612703f9
Pull-request: https://github.com/SerenityOS/serenity/pull/15388
4 changed files with 19 additions and 15 deletions
|
@ -43,6 +43,7 @@ public:
|
|||
Gfx::IntRect const& bounding_box() const { return m_bounding_box; }
|
||||
|
||||
void set_focused(bool focused) { m_focused = focused; }
|
||||
bool make_top_card_visible(); // Returns true if the card was flipped.
|
||||
|
||||
void push(NonnullRefPtr<Card> card);
|
||||
NonnullRefPtr<Card> pop();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue