ImageControl* ImageControl::create(const char* id, Theme::Style* style) { ImageControl* imageControl = new ImageControl(); imageControl->_id = id ? id : ""; imageControl->initialize("Image", style, NULL); return imageControl; }
Control* ImageControl::create(Theme::Style* style, Properties* properties) { ImageControl* imageControl = new ImageControl(); imageControl->initialize("Image", style, properties); return imageControl; }