mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-08 12:31:51 +00:00
feat: key pressed event interception & 'owner' input.add_callback third argument
This commit is contained in:
parent
7fce735ca1
commit
b9ff1db086
17 changed files with 192 additions and 63 deletions
|
|
@ -7,6 +7,8 @@
|
|||
#include <memory>
|
||||
#include <string>
|
||||
|
||||
class Engine;
|
||||
|
||||
namespace guiutil {
|
||||
/// @brief Create element from XML
|
||||
/// @param source XML
|
||||
|
|
@ -19,7 +21,7 @@ namespace guiutil {
|
|||
);
|
||||
|
||||
void confirm(
|
||||
const std::shared_ptr<gui::Menu>& menu,
|
||||
Engine& engine,
|
||||
const std::wstring& text,
|
||||
const runnable& on_confirm=nullptr,
|
||||
const runnable& on_deny=nullptr,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue