microui
14.5.5
microui
bsp
ui
inc
ui_util.h
Go to the documentation of this file.
1
/*
2
* C
3
*
4
* Copyright 2024-2026 MicroEJ Corp. All rights reserved.
5
* MicroEJ Corp. PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
6
*/
7
8
#ifndef UI_UTIL_H
9
#define UI_UTIL_H
10
11
#ifdef __cplusplus
12
extern
"C"
{
13
#endif
14
23
// -----------------------------------------------------------------------------
24
// Macros and defines
25
// -----------------------------------------------------------------------------
26
30
#ifndef MIN
31
#define MIN(a, b) ((a) < (b) ? (a) : (b))
32
#endif
33
37
#ifndef MAX
38
#define MAX(a, b) ((a) > (b) ? (a) : (b))
39
#endif
40
41
// --------------------------------------------------------------------------------
42
// EOF
43
// --------------------------------------------------------------------------------
44
45
#ifdef __cplusplus
46
}
47
#endif
48
49
#endif
// UI_UTIL_H
Generated by
1.9.1