mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-02-04 08:55:21 -05: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;
|
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…
x
Reference in New Issue
Block a user