diff options
author | ConfuSomu | 2021-03-01 14:47:56 -0500 |
---|---|---|
committer | ConfuSomu | 2021-03-01 14:47:56 -0500 |
commit | 2e0650864058f3fb312d2527398fda8d7e97a60d (patch) | |
tree | cecc6c031dac0d7573edb18432132a9c23f713ed /apps | |
parent | 416168bf2b95366a04fed67177294aa2d90a8263 (diff) | |
download | pico-watch-2e0650864058f3fb312d2527398fda8d7e97a60d.tar pico-watch-2e0650864058f3fb312d2527398fda8d7e97a60d.tar.gz pico-watch-2e0650864058f3fb312d2527398fda8d7e97a60d.zip |
Implement method in API for drawing a popup
I had to modify the OLED library to correctly work with newlines.
Diffstat (limited to 'apps')
-rw-r--r-- | apps/home_menu.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/home_menu.cpp b/apps/home_menu.cpp index a3a0691..996b713 100644 --- a/apps/home_menu.cpp +++ b/apps/home_menu.cpp @@ -40,6 +40,7 @@ namespace app_home_menu { show_title(app_api); app_api->display_write_string(0,0,2, pressed_button, FONT_6x8, 0, 1); app_api->display_write_string(0,5,3, APPS_NAME[*selected_app], FONT_12x16, 0, 1); + app_api->gui_popup_text("Title is a string", "Body text, and new line. And this is a pretty long string.\nIterating is very fun!"); return 0; } |