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
10
namespace
ui
11
{
12
14
void
close_sheet
(std::function<
void
()> then);
15
18
aurore::Box
*
sheet_outside
(
float
width,
bool
grow);
19
20
}
// namespace ui
aurore.hpp
aurore::Box
Generic FlexBox layout.
Definition
box.hpp:74
ui
Definition
action_sheet.hpp:11
ui::sheet_outside
aurore::Box * sheet_outside(float width, bool grow)
ui::close_sheet
void close_sheet(std::function< void()> then)
Pops the sheet (a fade), then runs then (if any) on the next frame.
aurore
cadran
ui
action_sheet.hpp
Generated by
1.9.8