Unravel Engine C++ Reference
Loading...
Searching...
No Matches
footer_panel.h
Go to the documentation of this file.
1#pragma once
2#include <base/basetypes.hpp>
3#include <context/context.hpp>
4
5#include <functional>
6#include <chrono>
7
8namespace unravel
9{
11{
12public:
13 void on_frame_ui_render(rtti::context& ctx, float footer_size, const std::function<void()>& on_draw = {});
14
15private:
16 void draw_footer_child(rtti::context& ctx, float footer_size, const std::function<void()>& on_draw);
17
18 std::chrono::steady_clock::time_point last_notification_time_;
19};
20} // namespace unravel
void on_frame_ui_render(rtti::context &ctx, float footer_size, const std::function< void()> &on_draw={})