-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdisplay.h
More file actions
20 lines (16 loc) · 737 Bytes
/
display.h
File metadata and controls
20 lines (16 loc) · 737 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef DISPLAY_H
#define DISPLAY_H
// PUT
#include <put/cxxutils/vterm.h>
namespace Display
{
extern void init(void) noexcept;
extern void setText (uint16_t row, uint16_t column, string_literal style, const char* text) noexcept;
extern void clearItems(void) noexcept;
extern bool setItemsLocation(uint16_t row, uint16_t column) noexcept;
extern bool addItem(string_literal item) noexcept;
extern bool setItem(string_literal item, uint16_t row, uint16_t column) noexcept;
extern bool setItemState(string_literal item, string_literal style, string_literal state) noexcept;
extern void bailoutLine(string_literal fmt, const char* arg1 = "", const char* arg2 = "", const char* arg3 = "") noexcept;
}
#endif // DISPLAY_H