Added some not-yet-connected configuration check boxes.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11300 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2005-02-09 18:28:55 +00:00
parent 3f17567e63
commit c59cdc87d9
@@ -8,6 +8,7 @@
#include "ICOTranslator.h"
#include <StringView.h>
#include <CheckBox.h>
#include <stdio.h>
#include <string.h>
@@ -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);
}