mirror of
https://gitee.com/zlgopen/awtk.git
synced 2024-12-03 12:37:43 +08:00
fix stm3F103 warnings
This commit is contained in:
parent
1ee873e720
commit
e6905f6e82
@ -1,4 +1,4 @@
|
||||
/**
|
||||
/**
|
||||
* File: hscrollable.c
|
||||
* Author: AWTK Develop Team
|
||||
* Brief: hscrollable
|
||||
@ -77,6 +77,7 @@ static ret_t hscrollable_on_pointer_move(hscrollable_t* hscrollable, pointer_eve
|
||||
return RET_OK;
|
||||
}
|
||||
|
||||
#ifndef WITHOUT_WIDGET_ANIMATOR
|
||||
static ret_t hscrollable_on_scroll_done(void* ctx, event_t* e) {
|
||||
hscrollable_t* hscrollable = (hscrollable_t*)(ctx);
|
||||
return_value_if_fail(hscrollable != NULL, RET_BAD_PARAMS);
|
||||
@ -86,6 +87,7 @@ static ret_t hscrollable_on_scroll_done(void* ctx, event_t* e) {
|
||||
|
||||
return RET_REMOVE;
|
||||
}
|
||||
#endif/*WITHOUT_WIDGET_ANIMATOR*/
|
||||
|
||||
static ret_t hscrollable_fix_end_offset_default(hscrollable_t* hscrollable) {
|
||||
int32_t xoffset_end = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user