Minor code enhancements

This commit is contained in:
Matthias Koefferlein
2022-05-29 11:41:40 +02:00
parent 68f05bf069
commit 1d8db227e5
3 changed files with 18 additions and 6 deletions
@@ -71,6 +71,11 @@ void LayoutView::set_current (LayoutView *view)
s_current_view.reset (view);
}
void LayoutView::set_current ()
{
s_current_view.reset (this);
}
} // namespace lay
#endif
+5
View File
@@ -66,6 +66,11 @@ public:
*/
void timer ();
/**
* @brief Makes this view the current one
*/
void set_current ();
/**
* @brief Gets the current view
*/