comparison examples/example-ui/example-ui.c @ 528:95792046d3d2

core: doxygenize maths
author David Demelier <markand@malikania.fr>
date Sat, 04 Mar 2023 20:16:03 +0100
parents f45a023f6690
children c7664b679a95
comparison
equal deleted inserted replaced
527:3d004b068744 528:95792046d3d2
227 227
228 static int 228 static int
229 headerclick(int x, int y) 229 headerclick(int x, int y)
230 { 230 {
231 return mlk_maths_is_boxed( 231 return mlk_maths_is_boxed(
232 x,
233 y,
232 ui.panel.frame.x, 234 ui.panel.frame.x,
233 ui.panel.frame.y, 235 ui.panel.frame.y,
234 ui.panel.frame.w, 236 ui.panel.frame.w,
235 HEADER_HEIGHT, 237 HEADER_HEIGHT
236 x,
237 y
238 ); 238 );
239 } 239 }
240 240
241 static void 241 static void
242 handle(struct mlk_state *st, const union mlk_event *ev) 242 handle(struct mlk_state *st, const union mlk_event *ev)