mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 09:05:27 +00:00
draft back/forward actions
This commit is contained in:
parent
b3c00d29be
commit
75aaa6e717
11 changed files with 69 additions and 31 deletions
|
|
@ -98,30 +98,20 @@ void Tab::close_all()
|
|||
}
|
||||
}
|
||||
|
||||
void Tab::history_back(
|
||||
void Tab::back(
|
||||
const int & PAGE_NUMBER
|
||||
) {
|
||||
auto tabPage = get_tabPage(
|
||||
get_tabPage(
|
||||
PAGE_NUMBER
|
||||
);
|
||||
|
||||
// @TODO tabPage->back()
|
||||
|
||||
// Refresh children widgets
|
||||
tabPage->refresh();
|
||||
)->back();
|
||||
}
|
||||
|
||||
void Tab::history_forward(
|
||||
void Tab::forward(
|
||||
const int & PAGE_NUMBER
|
||||
) {
|
||||
auto tabPage = get_tabPage(
|
||||
get_tabPage(
|
||||
PAGE_NUMBER
|
||||
);
|
||||
|
||||
// @TODO tabPage->forward()
|
||||
|
||||
// Refresh children widgets
|
||||
tabPage->refresh();
|
||||
)->forward();
|
||||
}
|
||||
|
||||
void Tab::refresh(
|
||||
|
|
@ -134,9 +124,6 @@ void Tab::refresh(
|
|||
get_tabLabel(PAGE_NUMBER)->set_label(
|
||||
tabPage->get_title()
|
||||
);
|
||||
|
||||
// Refresh children widgets
|
||||
tabPage->refresh();
|
||||
}
|
||||
|
||||
void Tab::update(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue