Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Class image_widget

boost::ui::image_widget — Widget that displays image.

Synopsis

// 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;
};

Description

See Also:

boost::ui::image

image_widget public construct/copy/destruct

  1. explicit image_widget(widget & parent);
    Creates image_widget without image.
  2. explicit image_widget(widget & parent, const ui::image & img);
    Creates image_widget with image.
  3. image_widget();

image_widget public member functions

  1. image_widget & image(const image & img);
    Sets image.
  2. void clear();
    Clears image.

image_widget private member functions

  1. void init();
  2. detail_impl * get_impl();
  3. const detail_impl * get_impl() const;

PrevUpHomeNext