comparison libmlk-ui/mlk/ui/notify.c @ 472:bc5483849614

core: texture -> mlk_texture
author David Demelier <markand@malikania.fr>
date Mon, 27 Feb 2023 11:24:38 +0100
parents 90a097b1aa0f
children 02b16dd49b54
comparison
equal deleted inserted replaced
471:3761e33d429e 472:bc5483849614
113 } 113 }
114 114
115 static void 115 static void
116 draw_icon(const struct geo *geo, const struct notify *n) 116 draw_icon(const struct geo *geo, const struct notify *n)
117 { 117 {
118 texture_draw(n->icon, geo->icon_x, geo->icon_y); 118 mlk_texture_draw(n->icon, geo->icon_x, geo->icon_y);
119 } 119 }
120 120
121 #include <stdio.h> 121 #include <stdio.h>
122 122
123 static void 123 static void
159 draw_title(&geo, n); 159 draw_title(&geo, n);
160 draw_body(&geo, n); 160 draw_body(&geo, n);
161 } 161 }
162 162
163 void 163 void
164 notify(const struct texture *icon, const char *title, const char *body) 164 notify(const struct mlk_texture *icon, const char *title, const char *body)
165 { 165 {
166 assert(icon); 166 assert(icon);
167 assert(title); 167 assert(title);
168 assert(body); 168 assert(body);
169 169