#include <boost/signals/signal0.hpp>
+class BufferView;
class MetricsInfo;
class PainterInfo;
/// Refresh the info about which file to display and how to display it.
void update(grfx::Params const & params);
- /// File name, image size, rotation angle etc.
- grfx::Params const & params() const;
/// compute the size of the object returned in dim
void metrics(MetricsInfo & mi, Dimension & dim) const;
/// Is the stored checksum different to that of the graphics loader?
bool hasFileChanged() const;
- /// Set the cached store.
- void view(BufferView *) const;
/// An accessor function to the cached store.
BufferView * view() const;
typedef boost::signal0<void>::slot_type slot_type;
boost::signals::connection connect(slot_type const &) const;
+private:
+ /// Not implemented.
+ GraphicInset & operator=(GraphicInset const &);
+
/// The message to display instead of the graphic itself.
string const statusMessage() const;
-private:
enum DisplayType {
IMAGE,
STATUS_MESSAGE,