| Line 29... |
Line 29... |
| 29 |
#include "../blend.h"
|
29 |
#include "../blend.h"
|
| 30 |
#include "../chooser.h"
|
30 |
#include "../chooser.h"
|
| 31 |
#include "../chooser_action_handler_wheel.h"
|
31 |
#include "../chooser_action_handler_wheel.h"
|
| 32 |
#include "../chooser_renderer_list.h"
|
32 |
#include "../chooser_renderer_list.h"
|
| 33 |
#include "../chooser_renderer_iconflow.h"
|
33 |
#include "../chooser_renderer_iconflow.h"
|
| - |
|
34 |
#include "../settingchooser.h"
|
| 34 |
|
35 |
|
| 35 |
|
36 |
|
| 36 |
/* emCORE library identifier */
|
37 |
/* emCORE library identifier */
|
| 37 |
#define LIBUI_IDENTIFIER 0x49554365
|
38 |
#define LIBUI_IDENTIFIER 0x49554365
|
| 38 |
|
39 |
|
| 39 |
/* increase this every time the api struct changes */
|
40 |
/* increase this every time the api struct changes */
|
| 40 |
#define LIBUI_API_VERSION 2
|
41 |
#define LIBUI_API_VERSION 3
|
| 41 |
|
42 |
|
| 42 |
/* update this to latest version if a change to the api struct breaks
|
43 |
/* update this to latest version if a change to the api struct breaks
|
| 43 |
backwards compatibility (and please take the opportunity to sort in any
|
44 |
backwards compatibility (and please take the opportunity to sort in any
|
| 44 |
new function which are "waiting" at the end of the function table) */
|
45 |
new function which are "waiting" at the end of the function table) */
|
| 45 |
#define LIBUI_MIN_API_VERSION 2
|
46 |
#define LIBUI_MIN_API_VERSION 3
|
| 46 |
|
47 |
|
| 47 |
/* NOTE: To support backwards compatibility, only add new functions at
|
48 |
/* NOTE: To support backwards compatibility, only add new functions at
|
| 48 |
the end of the structure. Every time you add a new function,
|
49 |
the end of the structure. Every time you add a new function,
|
| 49 |
remember to increase LIBUI_API_VERSION. If you make changes to the
|
50 |
remember to increase LIBUI_API_VERSION. If you make changes to the
|
| 50 |
existing APIs, also update LIBUI_MIN_API_VERSION to current version */
|
51 |
existing APIs, also update LIBUI_MIN_API_VERSION to current version */
|
| Line 59... |
Line 60... |
| 59 |
typeof(blend)* blenda;
|
60 |
typeof(blend)* blenda;
|
| 60 |
typeof(chooser_run)* chooser_run;
|
61 |
typeof(chooser_run)* chooser_run;
|
| 61 |
typeof(chooser_action_handler_wheel)* chooser_action_handler_wheel;
|
62 |
typeof(chooser_action_handler_wheel)* chooser_action_handler_wheel;
|
| 62 |
typeof(chooser_renderer_list)* chooser_renderer_list;
|
63 |
typeof(chooser_renderer_list)* chooser_renderer_list;
|
| 63 |
typeof(chooser_renderer_iconflow)* chooser_renderer_iconflow;
|
64 |
typeof(chooser_renderer_iconflow)* chooser_renderer_iconflow;
|
| - |
|
65 |
typeof(chooser_renderer_list_render_attached_text)* chooser_renderer_list_render_attached_text;
|
| - |
|
66 |
typeof(chooser_renderer_list_show_arrow_right)* chooser_renderer_list_show_arrow_right;
|
| - |
|
67 |
typeof(chooser_renderer_list_show_arrow_left)* chooser_renderer_list_show_arrow_left;
|
| - |
|
68 |
typeof(settingchooser_run)* settingchooser_run;
|
| 64 |
};
|
69 |
};
|
| 65 |
|
70 |
|
| 66 |
#endif
|
71 |
#endif
|