From c59cdc87d901b0c66e29820aa955d2e13fca098e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Wed, 9 Feb 2005 18:28:55 +0000 Subject: [PATCH] Added some not-yet-connected configuration check boxes. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11300 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- .../translators/icotranslator/ConfigView.cpp | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) 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); }