35 #include "../api_gui.h"
36 #include "../gui_component.h"
79 Image get_image()
const;
88 void set_sprite(
const Sprite &image);
93 void set_image(
const Image &image);
101 void set_scale_to_fit(
bool enable);
107 void set_scale(
float x,
float y);
112 float get_preferred_content_width();
117 float get_preferred_content_height(
float width);
123 std::shared_ptr<ImageView_Impl> impl;
Pixel data container.
Definition: pixel_buffer.h:69
Sprite class.
Definition: sprite.h:57
GUI base component class.
Definition: gui_component.h:80
GUIComponent * get_named_item(const std::string &id)
Find child component with the specified component ID name.
Image class.
Definition: image.h:60
Frame component.
Definition: imageview.h:48