iv::LumaSystem Class Reference
#include <LumaSystem.hpp>
Public Member Functions | |
LumaSystem (SystemContainer *sc) | |
virtual std::string | debug_name () const override |
void | current_style (LumaStyleId) |
LumaStyleId | current_style () const |
void | style (LumaStyleId, LumaStyle const &) |
const LumaStyle & | style (LumaStyleId) const |
void | AddListener (LumaListener *) |
void | RemoveListener (LumaListener *) |
Public Member Functions inherited from iv::System | |
System (SystemContainer *sc) | |
virtual | ~System () |
virtual bool | flushSystem () |
virtual void | status (TextDebugView *view) |
SystemContainer * | system_container () const |
void | retain () |
void | release () |
Public Member Functions inherited from iv::Context | |
Context () | |
virtual | ~Context () |
template<class ... Items> | |
void | log (SrcInfo const &info, LogId id, Items const &... items) const |
bool | log_enabled (LogId id) const |
template<class ... Items> | |
void | warning (SrcInfo const &info, Items const &... items) const |
Additional Inherited Members | |
Protected Member Functions inherited from iv::System | |
virtual bool | log_process_enabled (LogId id) const override final |
virtual void | log_process (SrcInfo const &info, LogId id, std::string const &message) const override final |
Detailed Description
Definition at line 99 of file LumaSystem.hpp.
Constructor & Destructor Documentation
◆ LumaSystem()
iv::LumaSystem::LumaSystem | ( | SystemContainer * | sc | ) |
Definition at line 120 of file LumaSystem.cpp.
Member Function Documentation
◆ debug_name()
|
inlineoverridevirtual |
Reimplemented from iv::System.
Definition at line 103 of file LumaSystem.hpp.
◆ current_style() [1/2]
void iv::LumaSystem::current_style | ( | LumaStyleId | id | ) |
All elements that use luma styling will read current default style from system and use it, unless style is explicitly specified in constructor.
Definition at line 129 of file LumaSystem.cpp.
◆ current_style() [2/2]
LumaStyleId iv::LumaSystem::current_style | ( | ) | const |
Definition at line 134 of file LumaSystem.cpp.
◆ style() [1/2]
void iv::LumaSystem::style | ( | LumaStyleId | id, |
LumaStyle const & | style | ||
) |
Definition at line 139 of file LumaSystem.cpp.
◆ style() [2/2]
const LumaStyle & iv::LumaSystem::style | ( | LumaStyleId | id | ) | const |
Definition at line 152 of file LumaSystem.cpp.
◆ AddListener()
void iv::LumaSystem::AddListener | ( | LumaListener * | listener | ) |
Notified when style changes.
Definition at line 160 of file LumaSystem.cpp.
◆ RemoveListener()
void iv::LumaSystem::RemoveListener | ( | LumaListener * | listener | ) |
Definition at line 165 of file LumaSystem.cpp.
The documentation for this class was generated from the following files:
- ivorium_UI/LumaSystem.hpp
- ivorium_UI/LumaSystem.cpp