Etk
Main Page Object Hierarchy Data Structures Related Pages
Etk

etk_shadow.c File Reference


Detailed Description


Functions

Etk_Widget * etk_shadow_new (void)
 Creates a new shadow container.
void etk_shadow_shadow_set (Etk_Shadow *shadow, Etk_Shadow_Type type, Etk_Shadow_Edges edges, int radius, int offset_x, int offset_y, int opacity)
 Sets the different settings of the shadow cast by the shadow container.
void etk_shadow_shadow_get (Etk_Shadow *shadow, Etk_Shadow_Type *type, Etk_Shadow_Edges *edges, int *radius, int *offset_x, int *offset_y, int *opacity)
 Gets the different settings of the shadow cast by the shadow container.
void etk_shadow_shadow_color_set (Etk_Shadow *shadow, int r, int g, int b)
 Sets the color of the shadow.
void etk_shadow_shadow_color_get (Etk_Shadow *shadow, int *r, int *g, int *b)
 Gets the color of the shadow.
void etk_shadow_border_set (Etk_Shadow *shadow, int border_width)
 Sets the width of the border of the shadow container.
int etk_shadow_border_get (Etk_Shadow *shadow)
 Gets the width of the border of the shadow container.
void etk_shadow_border_color_set (Etk_Shadow *shadow, int r, int g, int b, int a)
 Sets the color of the border of the shadow container. The color has to be pre-multiplied (i.e. the r, g, b components have to be multiplied by a and divided by 255).
void etk_shadow_border_color_get (Etk_Shadow *shadow, int *r, int *g, int *b, int *a)
 Gets the color of the border of the shadow container.