Merge branch 'dev-5.2' of https://github.com/littlevgl/lvgl into dev-5.2

This commit is contained in:
Gabor Kiss-Vamosi
2018-09-11 15:33:18 +02:00
7 changed files with 186 additions and 26 deletions

View File

@@ -176,6 +176,27 @@ lv_coord_t lv_win_get_btn_size(const lv_obj_t * win);
*/
lv_obj_t * lv_win_get_from_btn(const lv_obj_t * ctrl_btn);
/**
* Get the layout of a window
* @param win pointer to a window object
* @return the layout of the window (from 'lv_layout_t')
*/
lv_layout_t lv_win_get_layout(lv_obj_t *win);
/**
* Get the scroll bar mode of a window
* @param win pointer to a window object
* @return the scroll bar mode of the window (from 'lv_sb_mode_t')
*/
lv_sb_mode_t lv_win_get_sb_mode(lv_obj_t *win);
/**
* Get width of the content area (page scrollable) of the window
* @param win pointer to a window object
* @return the width of the content area
*/
lv_coord_t lv_win_get_width(lv_obj_t * win);
/**
* Get a style of a window
* @param win pointer to a button object