| 103 | imageSize = core::dimension2di(rectangle.getWidth(), rectangle.getHeight()); |
| 104 | } |
| 105 | CGUIImageButton* CGUIImageButton::addImageButton(IGUIEnvironment *env, const core::rect<s32>& rectangle, IGUIElement* parent, s32 id) { |
| 106 | CGUIImageButton* button = new CGUIImageButton(env, parent ? parent : 0, id, rectangle); |
| 107 | button->drop(); |
| 108 | return button; |
| 109 | } |
| 110 | void CGUIImageButton::draw() { |
| 111 | if (!IsVisible) |
| 112 | return; |
nothing calls this directly
no outgoing calls
no test coverage detected