Console¶
- group Console
A console for debugging.

A GUI console for debugging. Emulates a standard console output.
Console Functions
-
lv_obj_t *output¶
-
lv_obj_t *output_cont¶
-
std::ostringstream stream¶
-
Console(std::string name = "Console")¶
Create a new Console.
- Parameters:
name – Name to display on screen
-
void clear()¶
Clear all console lines.
-
void print(std::string str)¶
Print to the console.
- Parameters:
str – String to print to console
-
void println(std::string str)¶
Print to the console with a newline.
- Parameters:
str – String to print to console
-
template<typename ...Params>
inline void printf(std::string fmt, Params... args)¶ Print a formatted string to the console.
- Template Parameters:
Params –
- Parameters:
fmt – Format string
args – Args for format string
-
void focus()¶
Set this view to the active view.
-
class Console¶
- #include <console.hpp>
Console class.
Console Functions
-
Console(std::string name = "Console")¶
Create a new Console.
- Parameters:
name – Name to display on screen
-
void clear()¶
Clear all console lines.
-
void print(std::string str)¶
Print to the console.
- Parameters:
str – String to print to console
-
void println(std::string str)¶
Print to the console with a newline.
- Parameters:
str – String to print to console
-
template<typename ...Params>
inline void printf(std::string fmt, Params... args)¶ Print a formatted string to the console.
- Template Parameters:
Params –
- Parameters:
fmt – Format string
args – Args for format string
-
void focus()¶
Set this view to the active view.
-
Console(std::string name = "Console")¶
-
lv_obj_t *output¶