mirror of
https://gitee.com/idea4good/GuiLite.git
synced 2025-12-17 17:41:29 +08:00
fix warnings, simplify cmd_target
This commit is contained in:
@@ -53,7 +53,7 @@ int c_rect::IsEmpty() const
|
||||
return m_top == m_bottom || m_left == m_right;
|
||||
}
|
||||
|
||||
int c_rect::PtInRect(int x, int y) const
|
||||
bool c_rect::PtInRect(int x, int y) const
|
||||
{
|
||||
return x >= m_left && x <= m_right && y >= m_top && y <= m_bottom;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user