imtk

diff src/imtk.h @ 27:48e708baa7be

added predicate imtk_layout_contains(x, y)
author John Tsiombikas <nuclear@member.fsf.org>
date Sat, 12 Dec 2020 17:20:00 +0200
parents 4c2b3e281409
children
line diff
     1.1 --- a/src/imtk.h	Thu Mar 20 07:00:38 2014 +0200
     1.2 +++ b/src/imtk.h	Sat Dec 12 17:20:00 2020 +0200
     1.3 @@ -85,6 +85,7 @@
     1.4  void imtk_layout_newline(void);
     1.5  void imtk_layout_get_pos(int *x, int *y);
     1.6  void imtk_layout_get_bounds(int *bbox);
     1.7 +int imtk_layout_contains(int x, int y);
     1.8  
     1.9  /* defined in draw.c */
    1.10  void imtk_set_color(unsigned int col, float r, float g, float b, float a);