Added config reading
This commit is contained in:
parent
e72fa567a3
commit
f68527f418
@ -98,8 +98,11 @@ void Grid::setup(cairo_t* context, const cairo_rectangle_t& rect) {
|
||||
}
|
||||
|
||||
void Grid::configure() {
|
||||
// do something with _j["key"]
|
||||
|
||||
_d = _j["dist"];
|
||||
_wait = _j["wait"];
|
||||
_fade = _j["fade"];
|
||||
_border = _j["border"];
|
||||
_new.bg = Color {_j["bg"]};
|
||||
}
|
||||
|
||||
int Grid::fps() const {
|
||||
|
Loading…
x
Reference in New Issue
Block a user