|
80 | 80 |
|
81 | 81 | //============================================================================== |
82 | 82 |
|
| 83 | +#include <tuple> |
| 84 | +#include <unordered_map> |
| 85 | + |
| 86 | +//============================================================================== |
| 87 | + |
83 | 88 | #if YUP_ENABLE_COMPONENT_PAINT_PROFILING |
84 | 89 | #define YUP_IF_COMPONENT_PAINT_PROFILING_ENABLED(CODE) CODE |
| 90 | +#include "profiling/yup_PaintProfileSample.h" |
| 91 | +#include "profiling/yup_PaintProfileStats.h" |
85 | 92 | #else |
86 | 93 | #define YUP_IF_COMPONENT_PAINT_PROFILING_ENABLED(CODE) |
87 | 94 | #endif |
88 | 95 |
|
89 | 96 | //============================================================================== |
90 | 97 |
|
91 | | -#include <tuple> |
92 | | -#include <unordered_map> |
93 | | - |
94 | | -//============================================================================== |
95 | | - |
96 | 98 | #include "application/yup_Application.h" |
97 | 99 | #include "keyboard/yup_KeyModifiers.h" |
98 | 100 | #include "keyboard/yup_KeyPress.h" |
|
104 | 106 | #include "clipboard/yup_SystemClipboard.h" |
105 | 107 | #include "desktop/yup_Screen.h" |
106 | 108 | #include "desktop/yup_Desktop.h" |
107 | | -#include "profiling/yup_PaintProfileSample.h" |
108 | | -#include "profiling/yup_PaintProfileStats.h" |
109 | 109 | #include "component/yup_ComponentNative.h" |
110 | 110 | #include "component/yup_ComponentStyle.h" |
111 | 111 | #include "component/yup_Component.h" |
112 | | -#include "profiling/yup_PaintProfiler.h" |
113 | 112 | #include "menus/yup_PopupMenu.h" |
114 | 113 | #include "buttons/yup_Button.h" |
115 | 114 | #include "buttons/yup_TextButton.h" |
|
131 | 130 |
|
132 | 131 | //============================================================================== |
133 | 132 |
|
| 133 | +#if YUP_ENABLE_COMPONENT_PAINT_PROFILING |
| 134 | +#include "profiling/yup_PaintProfiler.h" |
| 135 | +#endif |
| 136 | + |
| 137 | +//============================================================================== |
| 138 | + |
134 | 139 | #include "native/yup_WindowingHelpers.h" |
135 | 140 |
|
136 | 141 | //============================================================================== |
|
0 commit comments