| 141 | } |
| 142 | |
| 143 | void Element::Draw(Graphics& gfx) const |
| 144 | { |
| 145 | if (attrCache->display == Display::Visible) |
| 146 | { |
| 147 | if (pBorder) |
| 148 | { |
| 149 | pBorder->Draw(gfx); |
| 150 | } |
| 151 | if (pBackground) |
| 152 | { |
| 153 | pBackground->Draw(gfx); |
| 154 | } |
| 155 | |
| 156 | Draw_(gfx); |
| 157 | } |
| 158 | } |
| 159 | |
| 160 | Element::~Element() |
| 161 | {} |