6663b6c9
adorian
projet complet av...
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#include <escher/tab_view_data_source.h>
TabViewDataSource::TabViewDataSource() :
m_activeChildIndex(-1),
m_selectedChildIndex(-1)
{
}
int TabViewDataSource::activeTab() const {
return m_activeChildIndex;
}
int TabViewDataSource::selectedTab() const {
return m_selectedChildIndex;
}
void TabViewDataSource::setActiveTab(int i) {
m_activeChildIndex = i;
}
void TabViewDataSource::setSelectedTab(int i) {
m_selectedChildIndex = i;
}
|