添加关闭settingui协议
This commit is contained in:
parent
da9be16227
commit
292c0df30e
|
@ -1,4 +1,4 @@
|
|||
|
||||
|
||||
|
||||
#include "scanner.h"
|
||||
|
||||
|
@ -3052,8 +3052,17 @@ COM_API_IMPLEMENT(scanner, bool, ui_show_setting(HWND parent, bool with_scan, bo
|
|||
|
||||
break;
|
||||
case UI_RESULT_CLOSE_NORMAL:
|
||||
is_show_ui_ = false;
|
||||
uev = SANE_EVENT_UI_CLOSE_NORMAL;
|
||||
on_ui_event(uev, (void*)uev);
|
||||
break;
|
||||
case UI_RESULT_CLOSE_CANCEL:
|
||||
is_show_ui_ = false;
|
||||
uev = SANE_EVENT_UI_CLOSE_CANCEL;
|
||||
on_ui_event(uev, (void*)uev);
|
||||
break;
|
||||
case UI_RESULT_CLOSE_SETTING:
|
||||
is_show_setting_ = false;
|
||||
uev = SANE_EVENT_UI_CLOSE_SETTING;
|
||||
on_ui_event(uev, (void*)uev);
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue