| 200 | } |
| 201 | |
| 202 | void GuiIconButtonCtrl::setBitmap(const char *name) |
| 203 | { |
| 204 | if(!isAwake()) |
| 205 | return; |
| 206 | |
| 207 | _setBitmap(getBitmap()); |
| 208 | |
| 209 | // So that extent is recalculated if autoSize is set. |
| 210 | resize( getPosition(), getExtent() ); |
| 211 | |
| 212 | setUpdate(); |
| 213 | } |
| 214 | |
| 215 | void GuiIconButtonCtrl::onRender(Point2I offset, const RectI& updateRect) |
| 216 | { |
no test coverage detected