|
| | base (Eo *eo) |
| | Eo Constructor. More...
|
| |
| | base (std::nullptr_t) |
| | nullptr_t Constructor. More...
|
| |
|
| base (base const &other) |
| | Copy Constructor.
|
| |
| void | position_get (int *x_, int *y_) const |
| | Retrieves the position of the given Evas object. More...
|
| |
| void | position_set (int x_, int y_) const |
| | Move the given Evas object to the given location inside its canvas' viewport. More...
|
| |
| void | size_get (int *w_, int *h_) const |
| | Retrieves the (rectangular) size of the given Evas object. More...
|
| |
| void | size_set (int w_, int h_) const |
| | Changes the size of the given Evas object. More...
|
| |
| void | color_get (int *r_, int *g_, int *b_, int *a_) const |
| | Retrieves the general/main color of the given Evas object. More...
|
| |
| void | color_set (int r_, int g_, int b_, int a_) const |
| | Sets the general/main color of the given Evas object to the given one. More...
|
| |
| bool | color_part_get (::efl::eina::string_view part_, int *r_, int *g_, int *b_, int *a_) const |
| | Retrieves a specific color of the given Evas object. More...
|
| |
| bool | color_part_set (::efl::eina::string_view part_, int r_, int g_, int b_, int a_) const |
| | Sets a specifc color of the given Efl.Gfx.Base object to the given one. More...
|
| |
| bool | visible_get () const |
| | Retrieves whether or not the given Evas object is visible. More...
|
| |
| void | visible_set (bool v_) const |
| | Makes the given Evas object visible or invisible. More...
|
| |
|
| | base (::efl::eo::parent_type _p) |
| | Constructs a new efl::gfx::base object. More...
|
| |
| | concrete (Eo *eo) |
| | Class constructor. More...
|
| |
| | concrete () |
| | Default constructor. More...
|
| |
|
| ~concrete () |
| | Class destructor.
|
| |
|
| concrete (concrete const &other) |
| |
|
| concrete (concrete &&other) |
| |
|
concrete & | operator= (concrete const &other) |
| | Assignment operator.
|
| |
|
concrete & | operator= (concrete &&other) |
| |
| Eo * | _eo_ptr () const |
| | Return a pointer to the EO Object stored in this instance. More...
|
| |
| Eo * | _release () |
| | Releases the reference from this concrete object and return the pointer to the EO Object stored in this instance. More...
|
| |
|
void | _reset (Eo *_ptr=nullptr) |
| | Reset the current pointer to reference a new Eo object.
|
| |
| int | ref_get () const |
| | Get the reference count of this object. More...
|
| |
| void | parent_set (concrete parent) |
| | Set the parent of this object. More...
|
| |
| eina::optional< concrete > | parent_get () |
| | Get the parent of this object. More...
|
| |
| Eo_Dbg_Info | dbg_info_get () |
| | Get debug information of this object. More...
|
| |
|
| operator bool () const |
| |
| bool efl::gfx::base::color_part_get |
( |
::efl::eina::string_view |
part_, |
|
|
int * |
r_, |
|
|
int * |
g_, |
|
|
int * |
b_, |
|
|
int * |
a_ |
|
) |
| const |
Retrieves a specific color of the given Evas object.
Retrieves a specific color's RGB component (and alpha channel) values, which range from 0 to 255. For the alpha channel, which defines the object's transparency level, 0 means totally transparent, while 255 means opaque. These color values are premultiplied by the alpha value.
The “main“ color being mapped to NULL.
Usually you’ll use this attribute for text and rectangle objects, where the “main” color is their unique one. If set for objects which themselves have colors, like the images one, those colors get modulated by this one.
- Note
- Use
NULL pointers on the components you're not interested in: they'll be ignored by the function.
- Parameters
-
| r | The red component of the given color. |
| g | The green component of the given color. |
| b | The blue component of the given color. |
| a | The alpha component of the given color. |