Even more BLayout fixes.

This commit is contained in:
Pietro Gagliardi 2015-11-20 14:11:55 -05:00
parent 4445e5ee47
commit a49b193df4
10 changed files with 10 additions and 19 deletions

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);