cleanup logging in the GUI

This commit is contained in:
Cedric Roux
2016-05-02 09:47:30 +02:00
parent c3e59b16b3
commit e4e4647345
10 changed files with 56 additions and 55 deletions
+2 -2
View File
@@ -9,7 +9,7 @@ static void paint(gui *_gui, widget *_w)
{
struct gui *g = _gui;
struct label_widget *l = _w;
printf("PAINT label '%s'\n", l->t);
LOGD("PAINT label '%s'\n", l->t);
x_draw_string(g->x, g->xwin, l->color,
l->common.x, l->common.y + l->baseline, l->t);
}
@@ -17,7 +17,7 @@ printf("PAINT label '%s'\n", l->t);
static void hints(gui *_gui, widget *_w, int *width, int *height)
{
struct label_widget *l = _w;
printf("HINTS label '%s'\n", l->t);
LOGD("HINTS label '%s'\n", l->t);
*width = l->width;
*height = l->height;
}