Aurore
A Switch-like interface for your app, on every screen
Loading...
Searching...
No Matches
action_sheet.hpp
Go to the documentation of this file.
1// What a sheet over the screen (ui::pick() and the others of action_sheet.cpp,
2// the icon sheet of a forwarder) shares: closing it, and the room around its
3// panel, where a touch closes it.
4// Copyright (C) 2026 JigSawFr. GPLv3-or-later (see LICENSE.GPL).
5#pragma once
6
7#include <functional>
8#include <aurore.hpp>
9
10namespace ui
11{
12
14void close_sheet(std::function<void()> then);
15
18aurore::Box* sheet_outside(float width, bool grow);
19
20} // namespace ui
Generic FlexBox layout.
Definition box.hpp:74
Definition action_sheet.hpp:11
aurore::Box * sheet_outside(float width, bool grow)
void close_sheet(std::function< void()> then)
Pops the sheet (a fade), then runs then (if any) on the next frame.