Etk
Main Page Object Hierarchy Data Structures Related Pages
Etk

etk_alignment.h File Reference


Detailed Description


Data Structures

struct  Etk_Alignment
 [Widget] A container containing one child which can be aligned and scaled More...

Defines

#define ETK_ALIGNMENT_TYPE   (etk_alignment_type_get())
#define ETK_ALIGNMENT(obj)   (ETK_OBJECT_CAST((obj), ETK_ALIGNMENT_TYPE, Etk_Alignment))
#define ETK_IS_ALIGNMENT(obj)   (ETK_OBJECT_CHECK_TYPE((obj), ETK_ALIGNMENT_TYPE))

Functions

Etk_Widget * etk_alignment_new (float xalign, float yalign, float xscale, float yscale)
 Creates a new alignment.
void etk_alignment_set (Etk_Alignment *alignment, float xalign, float yalign, float xscale, float yscale)
 Changes the parameters of the alignment.
void etk_alignment_get (Etk_Alignment *alignment, float *xalign, float *yalign, float *xscale, float *yscale)
 Gets the different parameters of the alignment.