Lines Matching refs:text
1 /* gui_label.c - GUI component to display a line of text. */
48 char *text;
63 grub_free (self->text);
98 - grub_font_get_string_width (self->font, self->text)) / 2;
101 - grub_font_get_string_width (self->font, self->text));
110 grub_font_draw_string (self->text,
150 *width = grub_font_get_string_width (self->font, self->text);
162 grub_free (self->text);
163 self->text = grub_xasprintf (self->template ? : "%d", self->value);
170 if (grub_strcmp (name, "text") == 0)
172 grub_free (self->text);
177 self->text = grub_strdup ("");
182 self->text = grub_xasprintf (value, self->value);
248 label->text = grub_strdup ("");