XAMEUS / projet_cig

Projet C - Interfaces Graphiques
1 stars 0 forks source link

ei_place #14

Closed XAMEUS closed 7 years ago

XAMEUS commented 7 years ago

Initialise le gestionnaire de géométrie

void ei_place(struct ei_widget_t* widget,
                ei_anchor_t* anchor,
                int* x,
                int* y,
                int* width,
                int* height,
                float* rel_x,
                float* rel_y,
                float* rel_width,
                float* rel_height)
XAMEUS commented 7 years ago

Normalement c'est bon, il faut ensuite utiliser ei_placer_run pour mettre à jour.

XAMEUS commented 7 years ago

Il ne faut pas "initialiser" les _data si les pointeurs sont nuls.