Shaper.hpp
Go to the documentation of this file.
225 void setShape(const vec2& _origin, const vec2& _size, const vec2& _insidePos, const vec2& _insideSize);
229 setShape(_origin, _size, _origin+vec2(tmp.xLeft(), tmp.yButtom()), _size - vec2(tmp.x(), tmp.y()));
ewol::Padding getBorder()
get the padding declared by the user in the config file
void draw(bool _disableDepthTest=true)
draw All the refistered text in the current element on openGL
void setActivateState(int32_t _status)
Set activate state of the element.
Definition: Shaper.hpp:262
Definition: Time.hpp:14
void setShape(const vec2 &_origin, const vec2 &_size, const vec2 &_insidePos, const vec2 &_insideSize)
set the shape property:
const etk::Color< float > & getColor(int32_t _id)
Get The color associated at an ID.
int32_t getCurrentDisplayedStatus()
get the current displayed status of the shaper
Definition: Shaper.hpp:127
Definition: Area.hpp:16
void clear()
clear alll tre registered element in the current element
bool hasSources()
Sometimes the user declare an image but not allocate the ressources all the time, this is to know it ...
Definition: Padding.hpp:14
Definition: Compositing.hpp:13
ewol::Padding getPadding()
get the padding declared by the user in the config file
double getConfigNumber(int32_t _id)
Get The number associated at an ID.
bool periodicCall(const ewol::event::Time &_event)
Same as the widfget periodic call (this is for change display)
int32_t getNextDisplayedStatus()
get the next displayed status of the shaper
Definition: Shaper.hpp:134
int32_t requestColor(const std::string &_name)
Get an ID on the color instance element.
the Shaper system is a basic theme configuration for every widget, it corespond at a background displ...
Definition: Shaper.hpp:39
int32_t requestConfig(const std::string &_name)
Get an ID on the configuration instance element.
const std::string & getSource() const
get the shaper file Source
Definition: Shaper.hpp:172
void setSource(const std::string &_newFile)
change the shaper Source
bool changeStatusIn(int32_t _newStatusId)
change the current status in an other
Render 4 squares for coiner, and renctangle for border, a big rentangle for background and 8 rectangl...
Definition: Shaper.hpp:21
float getTransitionStatus()
get the current trasion status
Definition: Shaper.hpp:141