Exemple #1
0
struct s_checkbox_attributes *p_checkbox_alloc(struct s_object *self, char *string_content, TTF_Font *font, struct s_object *environment) {
    struct s_checkbox_attributes *result = d_prepare(self, checkbox);
    f_label_new_alignment(self, string_content, font, d_checkbox_background, d_checkbox_alignment, d_checkbox_alignment, environment); /* inherit */
    return result;
}
Exemple #2
0
struct s_object *f_label_new(struct s_object *self, char *string_content, TTF_Font *font, struct s_object *environment) {
    return f_label_new_alignment(self, string_content, font, e_label_background_format_adaptable, e_label_alignment_left, e_label_alignment_top,
            environment);
}