aboutsummaryrefslogtreecommitdiff
path: root/src/widgets/checkbox/lv_checkbox_private.h
diff options
context:
space:
mode:
authorLiam <30486941+liamHowatt@users.noreply.github.com>2024-08-02 01:46:42 -0400
committerGitHub <noreply@github.com>2024-08-02 07:46:42 +0200
commit1d14386b99cdff731cc3367d1d8b5e96ffb8fcea (patch)
tree6c0ac804a785f54efebd372fd7070a5e2f840036 /src/widgets/checkbox/lv_checkbox_private.h
parenta8c8275b560fa74b8bdd72d1d180c98d22a33fc8 (diff)
downloadlvgl-1d14386b99cdff731cc3367d1d8b5e96ffb8fcea.tar.gz
lvgl-1d14386b99cdff731cc3367d1d8b5e96ffb8fcea.zip
refactor(API): don't expose private symbols in lvgl.h. phase-out "_lv*" names (#6068)
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
Diffstat (limited to 'src/widgets/checkbox/lv_checkbox_private.h')
-rw-r--r--src/widgets/checkbox/lv_checkbox_private.h54
1 files changed, 54 insertions, 0 deletions
diff --git a/src/widgets/checkbox/lv_checkbox_private.h b/src/widgets/checkbox/lv_checkbox_private.h
new file mode 100644
index 000000000..dabc05d18
--- /dev/null
+++ b/src/widgets/checkbox/lv_checkbox_private.h
@@ -0,0 +1,54 @@
+/**
+ * @file lv_checkbox_private.h
+ *
+ */
+
+#ifndef LV_CHECKBOX_PRIVATE_H
+#define LV_CHECKBOX_PRIVATE_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/*********************
+ * INCLUDES
+ *********************/
+
+#include "lv_checkbox.h"
+
+#if LV_USE_CHECKBOX != 0
+
+/*********************
+ * DEFINES
+ *********************/
+
+/**********************
+ * TYPEDEFS
+ **********************/
+
+/**********************
+ * TYPEDEFS
+ **********************/
+
+struct lv_checkbox_t {
+ lv_obj_t obj;
+ char * txt;
+ uint32_t static_txt : 1;
+};
+
+
+/**********************
+ * GLOBAL PROTOTYPES
+ **********************/
+
+/**********************
+ * MACROS
+ **********************/
+
+#endif /* LV_USE_CHECKBOX != 0 */
+
+#ifdef __cplusplus
+} /*extern "C"*/
+#endif
+
+#endif /*LV_CHECKBOX_PRIVATE_H*/