Mercurial > MadButterfly
comparison src/geo.c @ 185:c7e5b8779bb5 include_mb_test
Move header files into include/mb/ subdirectory and remove symlink 'mb'.
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Tue, 04 Nov 2008 17:00:26 +0800 |
parents | 7444dea34c6b |
children | 530bb7728546 |
comparison
equal
deleted
inserted
replaced
184:13c1d49c198b | 185:c7e5b8779bb5 |
---|---|
4 * the components effected or overlaid should be re-drawed. This module | 4 * the components effected or overlaid should be re-drawed. This module |
5 * figures out components that should be re-drawed. | 5 * figures out components that should be re-drawed. |
6 */ | 6 */ |
7 #include <stdio.h> | 7 #include <stdio.h> |
8 #include <string.h> | 8 #include <string.h> |
9 #include "mb_types.h" | 9 #include "mb/mb_types.h" |
10 | 10 |
11 static int is_scale_overlay(co_aix x1, co_aix w1, co_aix x2, co_aix w2) { | 11 static int is_scale_overlay(co_aix x1, co_aix w1, co_aix x2, co_aix w2) { |
12 if(x1 > x2) { | 12 if(x1 > x2) { |
13 if((x1 - x2) >= w2) | 13 if((x1 - x2) >= w2) |
14 return 0; | 14 return 0; |