mirror of
https://gitee.com/idea4good/GuiLite.git
synced 2026-04-13 09:18:04 +08:00
support modal/non-modal dialog
This commit is contained in:
@@ -477,7 +477,7 @@ bool c_wnd::on_touch(int x, int y, TOUCH_ACTION action)
|
||||
if (GL_ATTR_VISIBLE == (child->m_style & GL_ATTR_VISIBLE))
|
||||
{
|
||||
child->get_wnd_rect(rect);
|
||||
if (TRUE == rect.PtInRect(x, y) || child->m_style & GL_ATTR_PRIORITY)
|
||||
if (TRUE == rect.PtInRect(x, y) || child->m_style & GL_ATTR_MODAL)
|
||||
{
|
||||
if (TRUE == child->is_focus_wnd())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user