From badfb31888a6bd62e0a019b3f3dec517df4121ec Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sat, 18 Sep 2010 22:11:27 +0000 Subject: trade updates --- src/ui/widget.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/ui/widget.h') diff --git a/src/ui/widget.h b/src/ui/widget.h index 880b71c..3ae75d2 100644 --- a/src/ui/widget.h +++ b/src/ui/widget.h @@ -139,6 +139,9 @@ public: /// returns true if the widget has mouse focus bool has_mouse_focus() const; + + /// return true of the widget is a child widget + bool is_child(const Widget *widget) const; /* -- mutators --------------------------------------------- */ -- cgit v1.2.3