Home | Libraries | People | FAQ | More |
boost::ui::image_widget — Widget that displays image.
// In header: <boost/ui/image_widget.hpp> class image_widget : public boost::ui::widget { public: // construct/copy/destruct explicit image_widget(widget &); explicit image_widget(widget &, const ui::image &); image_widget(); // public member functions image_widget & image(const image &); void clear(); // private member functions void init(); detail_impl * get_impl(); const detail_impl * get_impl() const; };
See Also:
image_widget
public
construct/copy/destructexplicit image_widget(widget & parent);Creates
image_widget
without image. explicit image_widget(widget & parent, const ui::image & img);Creates
image_widget
with image. image_widget();
image_widget
public member functionsimage_widget & image(const image & img);Sets image.
void clear();Clears image.