2016-05-17 03:04:11 +12:00
|
|
|
#pragma once
|
2016-03-19 06:57:51 +13:00
|
|
|
|
|
|
|
#ifndef TABPAGE_H
|
|
|
|
#define TABPAGE_H
|
|
|
|
|
|
|
|
#include "tw/tw.h"
|
|
|
|
|
2016-06-15 18:43:10 +12:00
|
|
|
class TabPage : public TWidget {
|
2016-03-19 06:57:51 +13:00
|
|
|
public:
|
2016-06-15 18:43:10 +12:00
|
|
|
TabPage(TWidget *parent, const string &name) : TWidget(parent, name) {}
|
|
|
|
virtual ~TabPage() {}
|
2016-03-19 06:57:51 +13:00
|
|
|
|
2016-06-15 18:43:10 +12:00
|
|
|
virtual void onActivate() {}
|
|
|
|
virtual void onDeactivate() {}
|
2016-03-19 06:57:51 +13:00
|
|
|
|
2016-06-15 18:43:10 +12:00
|
|
|
virtual void update() {}
|
2016-03-19 06:57:51 +13:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|