mirror of
https://github.com/lc-soft/LCUI.git
synced 2026-11-30 16:48:21 +01:00
- Add examples/doc-viewer, an LCUI-based documentation viewer with an MDX compiler pipeline that converts source MDX files into C/TSX page components rendered by lcui build. - Add zh-CN and en documentation for 5 widgets (anchor, button, scrollarea, text, text-input), each with C/TSX/XML example variants and widget-fields data. - Add handbook and overview documentation. Co-authored-by: Liu <lc-soft@live.cn>
11 lines
238 B
C
11 lines
238 B
C
#include <LCUI.h>
|
|
|
|
void text_input_basic_init(ui_widget_t *parent)
|
|
{
|
|
ui_widget_t *w;
|
|
|
|
w = ui_create_widget("textinput");
|
|
ui_textinput_set_placeholder(w, u8"请输入...");
|
|
ui_widget_append(parent, w);
|
|
}
|