diff options
Diffstat (limited to 'plugingui/guievent.h')
-rw-r--r-- | plugingui/guievent.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/plugingui/guievent.h b/plugingui/guievent.h index fa42483..4ad0798 100644 --- a/plugingui/guievent.h +++ b/plugingui/guievent.h @@ -202,6 +202,11 @@ struct Rect std::size_t y1; std::size_t x2; std::size_t y2; + + bool empty() const + { + return x1 == x2 && y1 == y2; + } }; } // GUI:: |