BuGUI
BUtton Grid User Interface
Loading...
Searching...
No Matches
ctrlr_shifter.hpp
1#pragma once
2#include "ctrlr_deleter.hpp"
3
4namespace bugui
5{
10template <typename T>
12{
15 void on_Shift(auto& p) {};
17};
18
20template <has_Shift T>
23
24} // namespace bugui
25
26
Ensures that buttons labeled Delete triggers the delete funcitonlaity on the widget tree,...
Definition ctrlr_deleter.hpp:12
Ensures that buttons labeled Shift are registered on press and can be queried with Shift_held,...
Definition ctrlr_shifter.hpp:12
void on_Shift(auto &p)
Empty funciton acting as a workaround, ensuring it is always defined in the controller.
Definition ctrlr_shifter.hpp:15