mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-09 13:01:49 +00:00
fix UINode function typedefs naming
This commit is contained in:
parent
7abe552e3c
commit
f9bab5a5cf
7 changed files with 16 additions and 16 deletions
|
|
@ -19,9 +19,9 @@ namespace gui {
|
|||
class GUI;
|
||||
class Container;
|
||||
|
||||
using onaction = std::function<void(GUI&)>;
|
||||
using onnumberchange = std::function<void(GUI&, double)>;
|
||||
using onstringchange = std::function<void(GUI&, const std::string&)>;
|
||||
using OnAction = std::function<void(GUI&)>;
|
||||
using OnNumberChange = std::function<void(GUI&, double)>;
|
||||
using OnStringChange = std::function<void(GUI&, const std::string&)>;
|
||||
|
||||
template<typename... Args>
|
||||
class CallbacksSet {
|
||||
|
|
@ -187,10 +187,10 @@ namespace gui {
|
|||
/// @brief Get element z-index
|
||||
int getZIndex() const;
|
||||
|
||||
virtual UINode* listenAction(const onaction& action);
|
||||
virtual UINode* listenDoubleClick(const onaction& action);
|
||||
virtual UINode* listenFocus(const onaction& action);
|
||||
virtual UINode* listenDefocus(const onaction& action);
|
||||
virtual UINode* listenAction(const OnAction& action);
|
||||
virtual UINode* listenDoubleClick(const OnAction& action);
|
||||
virtual UINode* listenFocus(const OnAction& action);
|
||||
virtual UINode* listenDefocus(const OnAction& action);
|
||||
|
||||
virtual void onFocus();
|
||||
virtual void doubleClick(int x, int y);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue