mirror of
https://gitee.com/zlgopen/awtk.git
synced 2024-11-30 02:58:26 +08:00
improve highlight
This commit is contained in:
parent
9eb5cae07e
commit
50adf4bb51
@ -126,9 +126,9 @@ ret_t dialog_highlighter_set_bg(dialog_highlighter_t* h, bitmap_t* img);
|
||||
|
||||
/**
|
||||
* @method dialog_highlighter_set_bg_clip_rect
|
||||
* 设置背景图片的显示裁减区。
|
||||
* 设置背景图片的显示裁剪区。
|
||||
* @param {dialog_highlighter_t*} h 对话框高亮策略对象。
|
||||
* @param {rect_t*} clip_rect 背景显示裁减区。
|
||||
* @param {rect_t*} clip_rect 背景显示裁剪区。
|
||||
*
|
||||
* @return {ret_t} 返回RET_OK表示成功,否则表示失败。
|
||||
*/
|
||||
|
@ -40,7 +40,6 @@ ret_t window_base_on_paint_self(widget_t* widget, canvas_t* c) {
|
||||
}
|
||||
|
||||
ret_t window_base_on_paint_begin(widget_t* widget, canvas_t* c) {
|
||||
window_base_t* win = WINDOW_BASE(widget);
|
||||
font_manager_t* fm = widget_get_font_manager(widget);
|
||||
image_manager_t* imm = widget_get_image_manager(widget);
|
||||
assets_manager_t* am = widget_get_assets_manager(widget);
|
||||
|
@ -1378,7 +1378,7 @@ static ret_t window_manager_default_native_window_resized(widget_t* widget, void
|
||||
|
||||
if (wm->dialog_highlighter != NULL) {
|
||||
bitmap_t img;
|
||||
widget_t* prev = window_manager_get_prev_window(widget);
|
||||
widget_t* prev = window_manager_find_prev_normal_window(widget);
|
||||
|
||||
memset(&img, 0x00, sizeof(img));
|
||||
if (prev != NULL) {
|
||||
|
Loading…
Reference in New Issue
Block a user