9 #ifndef C_API_GUI_CONTROLS_EDIT_H
10 #define C_API_GUI_CONTROLS_EDIT_H
12 #include "../definitions.h"
50 ADDON_INPUT_TYPE_PASSWORD_NUMBER_VERIFY_NEW
57 void (*set_visible)(KODI_HANDLE kodiBase, KODI_GUI_CONTROL_HANDLE handle,
bool visible);
58 void (*set_enabled)(KODI_HANDLE kodiBase, KODI_GUI_CONTROL_HANDLE handle,
bool enabled);
59 void (*set_label)(KODI_HANDLE kodiBase, KODI_GUI_CONTROL_HANDLE handle,
const char* label);
60 char* (*get_label)(KODI_HANDLE kodiBase, KODI_GUI_CONTROL_HANDLE handle);
61 void (*set_text)(KODI_HANDLE kodiBase, KODI_GUI_CONTROL_HANDLE handle,
const char* text);
62 char* (*get_text)(KODI_HANDLE kodiBase, KODI_GUI_CONTROL_HANDLE handle);
63 void (*set_cursor_position)(KODI_HANDLE kodiBase,
64 KODI_GUI_CONTROL_HANDLE handle,
65 unsigned int position);
66 unsigned int (*get_cursor_position)(KODI_HANDLE kodiBase, KODI_GUI_CONTROL_HANDLE handle);
67 void (*set_input_type)(KODI_HANDLE kodiBase,
68 KODI_GUI_CONTROL_HANDLE handle,
AddonGUIInputType
Text input types used on kodi::gui::controls::CEdit.
Definition: edit.h:25
@ ADDON_INPUT_TYPE_TIME
To insert time.
Definition: edit.h:35
@ ADDON_INPUT_TYPE_SECONDS
To insert seconds.
Definition: edit.h:33
@ ADDON_INPUT_TYPE_FILTER
Text field as filter.
Definition: edit.h:48
@ ADDON_INPUT_TYPE_PASSWORD_MD5
Definition: edit.h:44
@ ADDON_INPUT_TYPE_SEARCH
Use text field for search purpose.
Definition: edit.h:46
@ ADDON_INPUT_TYPE_DATE
To insert a date.
Definition: edit.h:37
@ ADDON_INPUT_TYPE_NUMBER
To use on edit control only numeric numbers.
Definition: edit.h:31
@ ADDON_INPUT_TYPE_READONLY
Text inside edit control only readable.
Definition: edit.h:27
@ ADDON_INPUT_TYPE_TEXT
Normal text entries.
Definition: edit.h:29
@ ADDON_INPUT_TYPE_PASSWORD
Text field used as password entry field with not visible text.
Definition: edit.h:41
@ ADDON_INPUT_TYPE_IPADDRESS
Used for write in IP addresses.
Definition: edit.h:39