diff --git a/src/add-ons/translators/icotranslator/ConfigView.cpp b/src/add-ons/translators/icotranslator/ConfigView.cpp index 0bcbde9d58..9ef151cc11 100644 --- a/src/add-ons/translators/icotranslator/ConfigView.cpp +++ b/src/add-ons/translators/icotranslator/ConfigView.cpp @@ -8,6 +8,7 @@ #include "ICOTranslator.h" #include +#include #include #include @@ -46,6 +47,27 @@ ConfigView::ConfigView(const BRect &frame, uint32 resize, uint32 flags) stringView = new BStringView(rect, "copyright", B_UTF8_COPYRIGHT "2005 Haiku Inc."); stringView->ResizeToPreferred(); AddChild(stringView); + + rect.OffsetBy(0, height + 20); + BCheckBox *checkBox = new BCheckBox(rect, "color", "Write 32 bit images on true color input", NULL); + checkBox->ResizeToPreferred(); + AddChild(checkBox); + + rect.OffsetBy(0, height + 10); + checkBox = new BCheckBox(rect, "size", "Enforce valid icon sizes", NULL); + checkBox->ResizeToPreferred(); + checkBox->SetValue(1); + AddChild(checkBox); + + rect.OffsetBy(0, height + 15); + stringView = new BStringView(rect, "valid1", "Valid icon sizes are 16, 32, or 48"); + stringView->ResizeToPreferred(); + AddChild(stringView); + + rect.OffsetBy(0, height + 5); + stringView = new BStringView(rect, "valid2", "pixel in either direction."); + stringView->ResizeToPreferred(); + AddChild(stringView); }