Mercurial > molko
comparison examples/example-message/example-message.c @ 491:734b598534c4
ui: frame -> mlk_frame
author | David Demelier <markand@malikania.fr> |
---|---|
date | Tue, 28 Feb 2023 13:16:47 +0100 |
parents | d6757c30658e |
children | 2af25db99273 |
comparison
equal
deleted
inserted
replaced
490:d4e50da7e5c5 | 491:734b598534c4 |
---|---|
107 mlk_game_push(&state); | 107 mlk_game_push(&state); |
108 mlk_game_loop(); | 108 mlk_game_loop(); |
109 } | 109 } |
110 | 110 |
111 static void | 111 static void |
112 my_draw_frame(const struct theme *th, const struct frame *f) | 112 my_draw_frame(const struct theme *th, const struct mlk_frame *f) |
113 { | 113 { |
114 (void)th; | 114 (void)th; |
115 | 115 |
116 mlk_painter_set_color(0xff0000ff); | 116 mlk_painter_set_color(0xff0000ff); |
117 mlk_painter_draw_rectangle(f->x, f->y, f->w, f->h); | 117 mlk_painter_draw_rectangle(f->x, f->y, f->w, f->h); |