Date and time display widget

Disabled handwriting text input (not that useful for now)
Bugfix: Trim long filenames in fileman
Slight cleanup of 7-seg display widget
This commit is contained in:
furrtek 2017-09-20 07:50:59 +01:00
parent 37ce81383d
commit c0f51c2690
11 changed files with 162 additions and 143 deletions

View file

@ -83,18 +83,18 @@ private:
};
ImageButton button_stealth {
{ 152, 0, 2 * 8, 1 * 16 },
{ 170, 0, 2 * 8, 1 * 16 },
&bitmap_icon_stealth,
Color::light_grey(),
Color::dark_grey()
};
ImageButton button_textentry {
/*ImageButton button_textentry {
{ 170, 0, 2 * 8, 1 * 16 },
&bitmap_icon_unistroke,
Color::white(),
Color::dark_grey()
};
};*/
ImageButton button_camera {
{ 188, 0, 2 * 8, 1 * 16 },
@ -115,7 +115,7 @@ private:
};
void on_stealth();
void on_textentry();
//void on_textentry();
void on_camera();
};
@ -143,7 +143,7 @@ public:
void pop_modal();
void display_modal(const std::string& title, const std::string& message);
void display_modal(const std::string& title, const std::string& message, const modal_t type, const std::function<void(bool)> on_choice);
void display_modal(const std::string& title, const std::string& message, const modal_t type, const std::function<void(bool)> on_choice = nullptr);
void focus() override;