Skip to content

Commit

Permalink
fixup! feat(ui-widgets): add scrollarea
Browse files Browse the repository at this point in the history
  • Loading branch information
lc-soft committed Dec 6, 2024
1 parent 5c40766 commit 457b9e3
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions lib/ui-widgets/src/scrollbar.c
Original file line number Diff line number Diff line change
Expand Up @@ -322,11 +322,6 @@ static void ui_scrollbar_on_init(ui_widget_t *w)
ui_scrollbar_set_orientation(w, UI_SCROLLBAR_VERTICAL);
}

static void ui_scrollbar_on_destroy(ui_widget_t *w)
{
ui_scrollbar_t *scrollbar = ui_widget_get_data(w, ui_scrollbar_proto);
}

ui_widget_t *ui_create_scrollbar(void)
{
return ui_create_widget_with_prototype(ui_scrollbar_proto);
Expand All @@ -340,6 +335,5 @@ void ui_register_scrollbar(void)
ui_scrollbar_proto = ui_create_widget_prototype("scrollbar", NULL);
ui_scrollbar_proto->init = ui_scrollbar_on_init;
ui_scrollbar_proto->setattr = ui_scrollbar_on_set_attr;
ui_scrollbar_proto->destroy = ui_scrollbar_on_destroy;
ui_load_css_string(ui_scrollbar_css, __FILE__);
}

0 comments on commit 457b9e3

Please sign in to comment.