2015-11-19 07:47:53 -06:00
|
|
|
// 18 november 2015
|
|
|
|
#include "uipriv_haiku.hpp"
|
|
|
|
|
|
|
|
struct uiProgressBar {
|
|
|
|
uiHaikuControl c;
|
|
|
|
BStringView *dummy;
|
|
|
|
};
|
|
|
|
|
|
|
|
uiHaikuDefineControl(
|
|
|
|
uiProgressBar, // type name
|
|
|
|
uiProgressBarType, // type function
|
|
|
|
dummy // handle
|
|
|
|
)
|
|
|
|
|
|
|
|
void uiProgressBarSetValue(uiProgressBar *p, int n)
|
|
|
|
{
|
|
|
|
// TODO
|
|
|
|
}
|
|
|
|
|
|
|
|
uiProgressBar *uiNewProgressBar(void)
|
|
|
|
{
|
|
|
|
uiProgressBar *p;
|
|
|
|
|
|
|
|
p = (uiProgressBar *) uiNewControl(uiProgressBarType());
|
|
|
|
|
2015-11-20 13:11:55 -06:00
|
|
|
p->dummy = new BStringView(NULL, "TODO uiProgressBar not implemented");
|
2015-11-19 07:47:53 -06:00
|
|
|
|
|
|
|
uiHaikuFinishNewControl(p, uiProgressBar);
|
|
|
|
|
|
|
|
return p;
|
|
|
|
}
|