mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-05-24 09:21:33 -04:00
Add virtual title() to View class.
This commit is contained in:
parent
a13e19a907
commit
0efe2ea0ae
2 changed files with 6 additions and 0 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue