libui/wpf/group.cpp

54 lines
725 B
C++

// 18 november 2015
#include "uipriv_wpf.hpp"
struct uiGroup {
uiWindowsControl c;
DUMMY dummy;
};
uiWindowsDefineControl(
uiGroup, // type name
uiGroupType, // type function
dummy // handle
)
char *uiGroupTitle(uiGroup *g)
{
// TODO
return NULL;
}
void uiGroupSetTitle(uiGroup *g, const char *title)
{
// TODO
}
void uiGroupSetChild(uiGroup *g, uiControl *c)
{
// TODO
}
int uiGroupMargined(uiGroup *g)
{
// TODO
return 0;
}
void uiGroupSetMargined(uiGroup *g, int margined)
{
// TODO
}
uiGroup *uiNewGroup(const char *title)
{
uiGroup *g;
g = (uiGroup *) uiNewControl(uiGroupType());
g->dummy = mkdummy(L"uiGroup");
uiWindowsFinishNewControl(g, uiGroup, dummy);
return g;
}