comparison src/geo.c @ 186:530bb7728546 include_mb_test

Move header files to $(top_srcdir)/include/ and prefixed with 'mb_'. This is the solution that I dicussed with FourDollars, last night.
author Thinker K.F. Li <thinker@branda.to>
date Wed, 05 Nov 2008 15:24:01 +0800
parents c7e5b8779bb5
children 65cabbdd5284
comparison
equal deleted inserted replaced
185:c7e5b8779bb5 186:530bb7728546
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/mb_types.h" 9 #include "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;