le2d v0.4.7
2D game engine framework
 
Loading...
Searching...
No Matches
le::tweak Namespace Reference

Classes

class  IStore
 
struct  Parser
 Customization point. Specialize this type for custom Tweakable template types. More...
 
struct  Parser< bool >
 
struct  Parser< glm::tvec2< Type > >
 
struct  Parser< std::string >
 
struct  Parser< Type >
 
class  Registry
 Tweakable registry. More...
 
class  Scope
 RAII wrapper to erase added IDs on destruction. More...
 

Concepts

concept  IntegerT
 
concept  UnsignedT
 
concept  FloatT
 
concept  NumberT
 

Typedefs

template<typename Type >
using Callback = std::move_only_function< bool(Type const &new_value)>
 

Typedef Documentation

◆ Callback

template<typename Type >
using le::tweak::Callback = typedef std::move_only_function<bool(Type const& new_value)>
Returns
false if new_value is invalid.