Guiliani  Version 2.6 revision 7293 (documentation build 12)
GUIConfigDebug.h
1/*
2* Copyright (C) TES Electronic Solutions GmbH,
3* All Rights Reserved.
4* Contact: info@guiliani.de
5*
6* This file is part of the Guiliani HMI framework
7* for the development of graphical user interfaces on embedded systems.
8*/
9
10#ifndef GUICONFIGDEBUG__H_
11#define GUICONFIGDEBUG__H_
12
17#if defined _DEBUG || defined DEBUG
18
19// sanity check of the build environment
20#ifdef NDEBUG
21 #error 'NDEBUG and _DEBUG' or 'NDEBUG and DEBUG' are set.
22#endif
23
24// For the documented defines, see below.
25#if !defined(DOXYGEN)
26
27//#define GUILIANI_LEAK_DETECTION
28//#define GUILIANI_OVERLOAD_CPP_FUNCS
29//#define GUILIANI_OVERLOAD_C_FUNCS
30//#define GUILIANI_GFXDEBUG
31//#define GUILIANI_GFXDEBUG_BLIT_LINE
32//#define GUILIANI_GFXDEBUG_REFRESH_AFTER_EACH_BLIT
33//#define GUILIANI_GFXDEBUG_REFRESH_AFTER_EACH_FILLEDRECT
34//#define GUILIANI_DEBUG_RECTANGLES
35//#define GUILIANI_IGNORE_MOUSEMOVE_EVENTS
36//#define GUILIANI_CMDHDL_DEBUGGING
37//#define GUILIANI_DEBUG_FOCUSSING
38//#define GUILIANI_MEMORY_ALLOCATION_LOGGING
39//#define GUILIANI_WINDOWS_LEAK_WATCHER
40//#define GUILIANI_USE_PERFMON
41
42//sanity checks
43#if defined GUILIANI_LEAK_DETECTION && defined GUILIANI_WINDOWS_LEAK_WATCHER
44 #error Please do only define one leak detection.
45#endif
46
47#else // DOXYGEN is defined - all defines enabled for documentation
48
56#define GUILIANI_LEAK_DETECTION
57
63#define GUILIANI_OVERLOAD_CPP_FUNCS
64
69#define GUILIANI_OVERLOAD_C_FUNCS
70
72#define GUILIANI_GFXDEBUG
73
75#define GUILIANI_GFXDEBUG_BLIT_LINE
76
78#define GUILIANI_GFXDEBUG_REFRESH_AFTER_EACH_BLIT
79
81#define GUILIANI_GFXDEBUG_REFRESH_AFTER_EACH_FILLEDRECT
82
84#define GUILIANI_DEBUG_RECTANGLES
85
91#define GUILIANI_USE_RTTI
92
94#define GUILIANI_IGNORE_MOUSEMOVE_EVENTS
95
97#define GUILIANI_CMDHDL_DEBUGGING
98
100#define GUILIANI_DEBUG_FOCUSSING
101
107#define GUILIANI_MEMORY_ALLOCATION_LOGGING
108
112#define GUILIANI_MEMORY_ALLOCATION_LOG_FILENAME
113
118#define GUILIANI_WINDOWS_LEAK_WATCHER
119
120#define GUILIANI_USE_PERFMON
121
122#endif // DOXYGEN
123
124#endif // defined _DEBUG || defined DEBUG
125
126#endif //#ifndef GUICONFIGDEBUG__H_