implemented import formats

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@102 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
twanvl
2006-12-09 23:22:33 +00:00
parent c130916465
commit a400644b25
12 changed files with 260 additions and 18 deletions
+2 -2
View File
@@ -15,7 +15,7 @@ DECLARE_TYPEOF_COLLECTION(ColorField::ChoiceP);
void ColorValueViewer::draw(RotatedDC& dc) {
// draw in the value color
dc.SetPen(*wxTRANSPARENT_PEN);
dc.SetBrush(value().value.get());
dc.SetBrush(value().value());
if (nativeLook()) {
// native look
// find name of color
@@ -24,7 +24,7 @@ void ColorValueViewer::draw(RotatedDC& dc) {
color_name = field().default_name;
} else {
FOR_EACH_CONST(c, field().choices) {
if (value().value.get() == c->color) {
if (value().value() == c->color) {
color_name = capitalize(c->name);
break;
}