Even more BLayout fixes.
This commit is contained in:
parent
4445e5ee47
commit
a49b193df4
|
@ -28,8 +28,7 @@ uiArea *uiNewArea(uiAreaHandler *ah)
|
|||
|
||||
a = (uiArea *) uiNewControl(uiAreaType());
|
||||
|
||||
a->dummy = new BStringView(BRect(0, 0, 1, 1), NULL,
|
||||
"TODO uiArea not implemented");
|
||||
a->dummy = new BStringView(NULL, "TODO uiArea not implemented");
|
||||
|
||||
uiHaikuFinishNewControl(a, uiArea);
|
||||
|
||||
|
|
|
@ -39,8 +39,7 @@ static uiCombobox *finishNewCombobox(void)
|
|||
|
||||
c = (uiCombobox *) uiNewControl(uiComboboxType());
|
||||
|
||||
c->dummy = new BStringView(BRect(0, 0, 1, 1), NULL,
|
||||
"TODO uiCombobox not implemented");
|
||||
c->dummy = new BStringView(NULL, "TODO uiCombobox not implemented");
|
||||
|
||||
uiHaikuFinishNewControl(c, uiCombobox);
|
||||
|
||||
|
|
|
@ -18,8 +18,7 @@ static uiDateTimePicker *finishNewDateTimePicker(void)
|
|||
|
||||
d = (uiDateTimePicker *) uiNewControl(uiDateTimePickerType());
|
||||
|
||||
d->dummy = new BStringView(BRect(0, 0, 1, 1), NULL,
|
||||
"TODO uiDateTimePicker not implemented");
|
||||
d->dummy = new BStringView(NULL, "TODO uiDateTimePicker not implemented");
|
||||
|
||||
uiHaikuFinishNewControl(d, uiDateTimePicker);
|
||||
|
||||
|
|
|
@ -45,8 +45,7 @@ uiGroup *uiNewGroup(const char *title)
|
|||
|
||||
g = (uiGroup *) uiNewControl(uiGroupType());
|
||||
|
||||
g->dummy = new BStringView(BRect(0, 0, 1, 1), NULL,
|
||||
"TODO uiGroup not implemented");
|
||||
g->dummy = new BStringView(NULL, "TODO uiGroup not implemented");
|
||||
|
||||
uiHaikuFinishNewControl(g, uiGroup);
|
||||
|
||||
|
|
|
@ -30,7 +30,7 @@ uiLabel *uiNewLabel(const char *text)
|
|||
|
||||
l = (uiLabel *) uiNewControl(uiLabelType());
|
||||
|
||||
l->label = new BStringView(BRect(0, 0, 1, 1), NULL, text);
|
||||
l->label = new BStringView(NULL, text);
|
||||
|
||||
uiHaikuFinishNewControl(l, uiLabel);
|
||||
|
||||
|
|
|
@ -23,8 +23,7 @@ uiProgressBar *uiNewProgressBar(void)
|
|||
|
||||
p = (uiProgressBar *) uiNewControl(uiProgressBarType());
|
||||
|
||||
p->dummy = new BStringView(BRect(0, 0, 1, 1), NULL,
|
||||
"TODO uiProgressBar not implemented");
|
||||
p->dummy = new BStringView(NULL, "TODO uiProgressBar not implemented");
|
||||
|
||||
uiHaikuFinishNewControl(p, uiProgressBar);
|
||||
|
||||
|
|
|
@ -23,8 +23,7 @@ uiRadioButtons *uiNewRadioButtons(void)
|
|||
|
||||
r = (uiRadioButtons *) uiNewControl(uiRadioButtonsType());
|
||||
|
||||
r->dummy = new BStringView(BRect(0, 0, 1, 1), NULL,
|
||||
"TODO uiRadioButtons not implemented");
|
||||
r->dummy = new BStringView(NULL, "TODO uiRadioButtons not implemented");
|
||||
|
||||
uiHaikuFinishNewControl(r, uiRadioButtons);
|
||||
|
||||
|
|
|
@ -18,8 +18,7 @@ uiSeparator *uiNewHorizontalSeparator(void)
|
|||
|
||||
s = (uiSeparator *) uiNewControl(uiSeparatorType());
|
||||
|
||||
s->dummy = new BStringView(BRect(0, 0, 1, 1), NULL,
|
||||
"TODO uiSeparator not implemented");
|
||||
s->dummy = new BStringView(NULL, "TODO uiSeparator not implemented");
|
||||
|
||||
uiHaikuFinishNewControl(s, uiSeparator);
|
||||
|
||||
|
|
|
@ -34,8 +34,7 @@ uiSlider *uiNewSlider(intmax_t min, intmax_t max)
|
|||
|
||||
s = (uiSlider *) uiNewControl(uiSliderType());
|
||||
|
||||
s->dummy = new BStringView(BRect(0, 0, 1, 1), NULL,
|
||||
"TODO uiSlider not implemented");
|
||||
s->dummy = new BStringView(NULL, "TODO uiSlider not implemented");
|
||||
|
||||
uiHaikuFinishNewControl(s, uiSlider);
|
||||
|
||||
|
|
|
@ -34,8 +34,7 @@ uiSpinbox *uiNewSpinbox(intmax_t min, intmax_t max)
|
|||
|
||||
s = (uiSpinbox *) uiNewControl(uiSpinboxType());
|
||||
|
||||
s->dummy = new BStringView(BRect(0, 0, 1, 1), NULL,
|
||||
"TODO uiSpinbox not implemented");
|
||||
s->dummy = new BStringView(NULL, "TODO uiSpinbox not implemented");
|
||||
|
||||
uiHaikuFinishNewControl(s, uiSpinbox);
|
||||
|
||||
|
|
Loading…
Reference in New Issue