comparison src/pixbuf-renderer.c @ 507:135570a8bd96

Move debug macros from main.h to new debug.h. Make debug_level static to debug.c and add utility functions to manipulate it. Add #include "debug.h" where needed.
author zas_
date Thu, 24 Apr 2008 08:53:39 +0000
parents fc9c8a3e1a8b
children f9bf33be53ff
comparison
equal deleted inserted replaced
506:fc9c8a3e1a8b 507:135570a8bd96
10 * This software comes with no warranty of any kind, use at your own risk! 10 * This software comes with no warranty of any kind, use at your own risk!
11 */ 11 */
12 12
13 #include <stdio.h> 13 #include <stdio.h>
14 #include <stdlib.h> 14 #include <stdlib.h>
15 #include <string.h>
15 #include <math.h> 16 #include <math.h>
17
16 #include "pixbuf-renderer.h" 18 #include "pixbuf-renderer.h"
17 #include "intl.h" 19 #include "intl.h"
18 20
19 #include <gtk/gtk.h> 21 #include <gtk/gtk.h>
20 22
23 * defining GQ_BUILD does these things: 25 * defining GQ_BUILD does these things:
24 * - Sets the shift-click scroller pixbuf to a nice icon instead of a black box 26 * - Sets the shift-click scroller pixbuf to a nice icon instead of a black box
25 */ 27 */
26 #define GQ_BUILD 1 28 #define GQ_BUILD 1
27 29
28
29 #ifdef GQ_BUILD 30 #ifdef GQ_BUILD
30 #include "pixbuf_util.h" 31 #include "main.h"
31 32 #include "pixbuf_util.h"
32 /* for debug */ 33
33 #include "main.h" 34 #include "debug.h"
34 #endif 35 #endif
35 36
36 37
37 /* size to use when breaking up image pane for rendering */ 38 /* size to use when breaking up image pane for rendering */
38 #define PR_TILE_SIZE 128 39 #define PR_TILE_SIZE 128