libui/haiku/area.cpp

38 lines
559 B
C++
Raw Normal View History

2015-11-18 22:47:20 -06:00
// 18 november 2015
#include "uipriv_haiku.hpp"
struct uiArea {
uiHaikuControl c;
BStringView *dummy;
};
uiHaikuDefineControl(
uiArea, // type name
uiAreaType, // type function
dummy // handle
)
void uiAreaUpdateScroll(uiArea *a)
{
// TODO
}
void uiAreaQueueRedrawAll(uiArea *a)
{
// TODO
}
uiArea *uiNewArea(uiAreaHandler *ah)
{
uiArea *a;
a = (uiArea *) uiNewControl(uiAreaType());
a->dummy = new BStringView(BRect(0, 0, 1, 1), NULL,
"TODO uiArea not implemented");
uiHaikuFinishNewControl(a, uiArea);
return a;
}