opynsim
Unofficial C++ Documentation
Loading...
Searching...
No Matches
save_changes_popup_config.h
Go to the documentation of this file.
1#pragma once
2
3#include <functional>
4#include <string>
5
6namespace osc
7{
9 std::string popup_name = "Save changes?";
10 std::function<bool()> on_user_clicked_save = []{ return true; };
11 std::function<bool()> on_user_clicked_dont_save = []{ return true; };
12 std::function<bool()> on_user_cancelled = []{ return true; };
13 std::string content = popup_name;
14 };
15}
Definition custom_decoration_generator.h:5
constexpr U to(T &&value)
Definition conversion.h:56
Definition save_changes_popup_config.h:8
std::string popup_name
Definition save_changes_popup_config.h:9
std::function< bool()> on_user_cancelled
Definition save_changes_popup_config.h:12
std::function< bool()> on_user_clicked_dont_save
Definition save_changes_popup_config.h:11
std::function< bool()> on_user_clicked_save
Definition save_changes_popup_config.h:10
std::string content
Definition save_changes_popup_config.h:13