diff options
Diffstat (limited to 'apps/main_clock.cpp')
-rw-r--r-- | apps/main_clock.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/apps/main_clock.cpp b/apps/main_clock.cpp index 9933775..21c9e5d 100644 --- a/apps/main_clock.cpp +++ b/apps/main_clock.cpp @@ -47,14 +47,13 @@ namespace app_main_clock { // date date_as_str(datetime_str, sizeof(datetime_buf), &t); - app_api->display_write_string(0,0,7, datetime_str, FONT_8x8, 0, 1); + app_api->gui_footer_text((std::string)datetime_str); } // Rendering of the app int render(Api *app_api) { - app_api->display_write_string(0,15,0, (char *)"Test clock", FONT_8x8, 0, 1); + app_api->gui_header_text("Test clock", 17); show_datetime(app_api); - //app_api->display_write_string(0,0,0, &data[0], FONT_6x8, 0, 1); return 0; } |