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