diff options
Diffstat (limited to 'xbmc/addons/kodi-dev-kit/include/kodi/c-api/gui/controls/text_box.h')
| -rw-r--r-- | xbmc/addons/kodi-dev-kit/include/kodi/c-api/gui/controls/text_box.h | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/xbmc/addons/kodi-dev-kit/include/kodi/c-api/gui/controls/text_box.h b/xbmc/addons/kodi-dev-kit/include/kodi/c-api/gui/controls/text_box.h new file mode 100644 index 0000000..276d04c --- /dev/null +++ b/xbmc/addons/kodi-dev-kit/include/kodi/c-api/gui/controls/text_box.h | |||
| @@ -0,0 +1,36 @@ | |||
| 1 | /* | ||
| 2 | * Copyright (C) 2005-2020 Team Kodi | ||
| 3 | * This file is part of Kodi - https://kodi.tv | ||
| 4 | * | ||
| 5 | * SPDX-License-Identifier: GPL-2.0-or-later | ||
| 6 | * See LICENSES/README.md for more information. | ||
| 7 | */ | ||
| 8 | |||
| 9 | #pragma once | ||
| 10 | |||
| 11 | #ifndef C_API_GUI_CONTROLS_TEXT_BOX_H | ||
| 12 | #define C_API_GUI_CONTROLS_TEXT_BOX_H | ||
| 13 | |||
| 14 | #include "../definitions.h" | ||
| 15 | |||
| 16 | #ifdef __cplusplus | ||
| 17 | extern "C" | ||
| 18 | { | ||
| 19 | #endif /* __cplusplus */ | ||
| 20 | |||
| 21 | typedef struct AddonToKodiFuncTable_kodi_gui_control_text_box | ||
| 22 | { | ||
| 23 | void (*set_visible)(KODI_HANDLE kodiBase, KODI_GUI_CONTROL_HANDLE handle, bool visible); | ||
| 24 | void (*reset)(KODI_HANDLE kodiBase, KODI_GUI_CONTROL_HANDLE handle); | ||
| 25 | void (*set_text)(KODI_HANDLE kodiBase, KODI_GUI_CONTROL_HANDLE handle, const char* text); | ||
| 26 | char* (*get_text)(KODI_HANDLE kodiBase, KODI_GUI_CONTROL_HANDLE handle); | ||
| 27 | void (*scroll)(KODI_HANDLE kodiBase, KODI_GUI_CONTROL_HANDLE handle, unsigned int scroll); | ||
| 28 | void (*set_auto_scrolling)( | ||
| 29 | KODI_HANDLE kodiBase, KODI_GUI_CONTROL_HANDLE handle, int delay, int time, int repeat); | ||
| 30 | } AddonToKodiFuncTable_kodi_gui_control_text_box; | ||
| 31 | |||
| 32 | #ifdef __cplusplus | ||
| 33 | } /* extern "C" */ | ||
| 34 | #endif /* __cplusplus */ | ||
| 35 | |||
| 36 | #endif /* !C_API_GUI_CONTROLS_TEXT_BOX_H */ | ||
