Mercurial > MadButterfly
comparison src/tools.c @ 30:e06a4a667ce2
Accept mouse/pointer event and hint the shape that the pointer is over.
- add find_shape_at_pos()
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Tue, 05 Aug 2008 12:40:45 +0800 |
parents | 79e9edf4c00a |
children | a6763f080da5 |
comparison
equal
deleted
inserted
replaced
29:f56c96b035a8 | 30:e06a4a667ce2 |
---|---|
106 free(blk); | 106 free(blk); |
107 blk = next_blk; | 107 blk = next_blk; |
108 } | 108 } |
109 } | 109 } |
110 | 110 |
111 | |
111 #ifdef UNITTEST | 112 #ifdef UNITTEST |
112 | 113 |
113 #include <CUnit/Basic.h> | 114 #include <CUnit/Basic.h> |
114 | 115 |
115 void test_elmpool(void) { | 116 void test_elmpool(void) { |