Skip to content

Commit

Permalink
refactor: remove some dependencies of libui
Browse files Browse the repository at this point in the history
  • Loading branch information
lc-soft committed Apr 1, 2023
1 parent 4769ad7 commit d4ea54a
Show file tree
Hide file tree
Showing 138 changed files with 1,869 additions and 3,084 deletions.
6 changes: 3 additions & 3 deletions examples/hello/src/main.c
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#include <LCUI.h>
#include <platform/main.h>
#include <LCUI/ui/builder.h>
#include <LCUI/ui/widgets/textview.h>
#include <LCUI/ui/widgets/textedit.h>
#include <ui_builder.h>
#include <ui_widgets/textview.h>
#include <ui_widgets/textedit.h>

static void on_btn_click(ui_widget_t* self, ui_event_t* e, void *arg)
{
Expand Down
10 changes: 7 additions & 3 deletions include/LCUI.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
#include <pandagl.h>
#include <yutil.h>
#include <css.h>
#include <LCUI/ui.h>
#include <LCUI/timer.h>
#include <pandagl.h>
#include <ui.h>
#include <ui_widgets.h>
#include <ui_cursor.h>
#include <ui_server.h>
#include <ui_builder.h>
#include <platform.h>
#include <LCUI/timer.h>
#include <LCUI/app.h>
Loading

0 comments on commit d4ea54a

Please sign in to comment.