libui/haiku/datetimepicker.cpp

43 lines
797 B
C++

// 18 november 2015
#include "uipriv_haiku.hpp"
struct uiDateTimePicker {
uiHaikuControl c;
BStringView *dummy;
};
uiHaikuDefineControl(
uiDateTimePicker, // type name
uiDateTimePickerType, // type function
dummy // handle
)
static uiDateTimePicker *finishNewDateTimePicker(void)
{
uiDateTimePicker *d;
d = (uiDateTimePicker *) uiNewControl(uiDateTimePickerType());
d->dummy = new BStringView(BRect(0, 0, 1, 1), NULL,
"TODO uiDateTimePicker not implemented");
uiHaikuFinishNewControl(d, uiDateTimePicker);
return d;
}
uiDateTimePicker *uiNewDateTimePicker(void)
{
return finishNewDateTimePicker();
}
uiDateTimePicker *uiNewDatePicker(void)
{
return finishNewDateTimePicker();
}
uiDateTimePicker *uiNewTimePicker(void)
{
return finishNewDateTimePicker();
}