comparison mde/gui/widget/miscContent.d @ 163:24d77c52243f

Provided sensible conversions for setting the value of one AStringContent from another, along with unittest. Updated layout and Translation unittests to run.
author Diggory Hardy <diggory.hardy@gmail.com>
date Sat, 23 May 2009 15:47:32 +0200
parents 2476790223b8
children 55667d048c31
comparison
equal deleted inserted replaced
162:2476790223b8 163:24d77c52243f
49 override IContent content () { 49 override IContent content () {
50 return content_; 50 return content_;
51 } 51 }
52 52
53 override bool dropContent (IContent content) { 53 override bool dropContent (IContent content) {
54 if (content_.setContent (content)) 54 if (content_.set (content))
55 return true; 55 return true;
56 return parent.dropContent (content); 56 return parent.dropContent (content);
57 } 57 }
58 58
59 override void draw () { 59 override void draw () {