mirror of
https://github.com/lc-soft/LCUI.git
synced 2026-11-30 16:48:21 +01:00
feat(widgets): add spinner and shimmer widgets
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
#include <LCUI.h>
|
||||
|
||||
int main(void)
|
||||
{
|
||||
lcui_init();
|
||||
ui_load_xml_file("ui.xml");
|
||||
return lcui_main();
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<lcui-app>
|
||||
<resource type="text/css">
|
||||
.spinner-basic-box spinner {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
}
|
||||
</resource>
|
||||
<ui>
|
||||
<w class="spinner-basic-box">
|
||||
<spinner />
|
||||
</w>
|
||||
</ui>
|
||||
</lcui-app>
|
||||
Reference in New Issue
Block a user