A Label is a printf-like format string displayed to the user, that is automatically updated in the GUI.
- See also
- print(), SharedValue
More...
#include <label.h>
|
| template<typename... Args> |
| | Label (const std::string &name, const std::string_view fmt, Args &... args) |
| | Construct a label. More...
|
| |
| | ~Label () |
| |
A Label is a printf-like format string displayed to the user, that is automatically updated in the GUI.
- See also
- print(), SharedValue
◆ Label()
template<typename... Args>
| ape::Label::Label |
( |
const std::string & |
name, |
|
|
const std::string_view |
fmt, |
|
|
Args &... |
args |
|
) |
| |
|
inline |
Construct a label.
- Parameters
-
| name | The title of the label. |
| fmt | A format string where the nth % char is substituded for the nth SharedValue in the following args . Use two %% to display a single %. - See also
- print()
|
| args | A list of SharedValue to be displayed in the fmt |
◆ ~Label()
The documentation for this class was generated from the following file:
- C:/Code/ape/make/skeleton/includes/label.h