Image.hpp
Go to the documentation of this file.
bool loadXML(const exml::Element &_node) override
load properties with an XML node.
eproperty::Value< bool > propertyUseThemeColor
Use the themo color management ("{ewol}THEME:COLOR:Image.json") default false.
Definition: Image.hpp:36
Definition: Input.hpp:12
vec2 m_imageRenderSize
size of the image when we render it
Definition: Image.hpp:59
eproperty::Value< bool > propertyKeepRatio
keep the image ratio between width and hight
Definition: Image.hpp:31
eproperty::Value< std::string > propertySource
file name of the image.
Definition: Image.hpp:28
eproperty::Value< gale::Dimension > propertyImageSize
border to add at the image.
Definition: Image.hpp:30
eproperty::Value< bool > propertySmooth
display is done in the pixed approximation if false
Definition: Image.hpp:35
Definition: Image.hpp:24
Definition: Area.hpp:16
void onRegenerateDisplay() override
Event generated when a redraw is needed.
void onDraw() override
Common widget drawing function (called by the drawing thread [Android, X11, ...]) ...
eproperty::Range< vec2 > propertyPosStart
position in the image to start the sisplay (when we want not to display all the image) ...
Definition: Image.hpp:32
Widget class is the main widget interface, it hase some generic properties: :** known his parent :** ...
Definition: Widget.hpp:73
Definition: Image.hpp:16
eproperty::Value< gale::Dimension > propertyBorder
border to add at the image.
Definition: Image.hpp:29
bool onEventInput(const ewol::event::Input &_event) override
Event on an input of this Widget (finger, mouse, stilet)
void calculateMinMaxSize() override
calculate the minimum and maximum size (need to estimate expend properties of the widget) ...
ememory::SharedPtr< ewol::resource::ColorFile > m_colorProperty
theme color property
Definition: Image.hpp:39
eproperty::Range< vec2 > propertyPosStop
position in the image to start the sisplay (when we want not to display all the image) ...
Definition: Image.hpp:33
ewol::compositing::Image m_compositing
compositing element of the image.
Definition: Image.hpp:38
eproperty::Value< bool > propertyDistanceFieldMode
to have a parameter
Definition: Image.hpp:34