mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-01-12 14:03:44 +00:00
Add virtual title() to View class.
This commit is contained in:
parent
a13e19a907
commit
0efe2ea0ae
@ -247,6 +247,10 @@ Widget* View::initial_focus() {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
std::string View::title() const {
|
||||
return "";
|
||||
};
|
||||
|
||||
/* Rectangle *************************************************************/
|
||||
|
||||
Rectangle::Rectangle(
|
||||
|
@ -155,6 +155,8 @@ public:
|
||||
|
||||
virtual Widget* initial_focus();
|
||||
|
||||
virtual std::string title() const;
|
||||
|
||||
protected:
|
||||
std::vector<Widget*> children_;
|
||||
Rect dirty_screen_rect;
|
||||
|
Loading…
x
Reference in New Issue
Block a user