2015-11-19 07:47:53 -06:00
|
|
|
// 18 november 2015
|
|
|
|
#include "uipriv_haiku.hpp"
|
|
|
|
|
|
|
|
struct uiTab {
|
|
|
|
uiHaikuControl c;
|
2015-11-19 11:41:58 -06:00
|
|
|
BTabView *tabview;
|
2015-11-19 07:47:53 -06:00
|
|
|
};
|
|
|
|
|
|
|
|
uiHaikuDefineControl(
|
|
|
|
uiTab, // type name
|
|
|
|
uiTabType, // type function
|
2015-11-19 11:41:58 -06:00
|
|
|
tabview // handle
|
2015-11-19 07:47:53 -06:00
|
|
|
)
|
|
|
|
|
|
|
|
void uiTabAppend(uiTab *t, const char *name, uiControl *c)
|
|
|
|
{
|
|
|
|
// TODO
|
|
|
|
}
|
|
|
|
|
|
|
|
void uiTabInsertAt(uiTab *t, const char *name, uintmax_t before, uiControl *c)
|
|
|
|
{
|
|
|
|
// TODO
|
|
|
|
}
|
|
|
|
|
|
|
|
void uiTabDelete(uiTab *t, uintmax_t index)
|
|
|
|
{
|
|
|
|
// TODO
|
|
|
|
}
|
|
|
|
|
|
|
|
uintmax_t uiTabNumPages(uiTab *t)
|
|
|
|
{
|
|
|
|
// TODO
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
int uiTabMargined(uiTab *t, uintmax_t page)
|
|
|
|
{
|
|
|
|
// TODO
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
void uiTabSetMargined(uiTab *t, uintmax_t page, int margined)
|
|
|
|
{
|
|
|
|
// TODO
|
|
|
|
}
|
|
|
|
|
|
|
|
uiTab *uiNewTab(void)
|
|
|
|
{
|
|
|
|
uiTab *t;
|
|
|
|
|
|
|
|
t = (uiTab *) uiNewControl(uiTabType());
|
|
|
|
|
2015-11-19 11:41:58 -06:00
|
|
|
t->tabview = new BTabView(BRect(0, 0, 1, 1), NULL);
|
2015-11-19 07:47:53 -06:00
|
|
|
|
|
|
|
uiHaikuFinishNewControl(t, uiTab);
|
|
|
|
|
|
|
|
return t;
|
|
|
|
}
|