rendering of <atom>

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@127 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
twanvl
2006-12-19 17:27:38 +00:00
parent fc4ae65e28
commit c3ae5dfa1b
7 changed files with 47 additions and 33 deletions
+5 -1
View File
@@ -14,7 +14,11 @@
void TextValueViewer::draw(RotatedDC& dc) {
drawFieldBorder(dc);
v.prepare(dc, value().value(), style(), viewer.getContext());
v.draw(dc, style(), DRAW_NORMAL);
v.draw(dc, style(), (DrawWhat)(
DRAW_NORMAL
| (viewer.drawBorders() ? DRAW_BORDERS : 0)
| (viewer.drawEditing() && isCurrent() ? DRAW_ACTIVE : 0)
));
}
void TextValueViewer::onValueChange() {