From 9db217ac4b03231f37b81cc2fb525b0c3b392e94 Mon Sep 17 00:00:00 2001 From: fluxgen Date: Fri, 13 Dec 2002 20:29:31 +0000 Subject: not equal operator --- src/FbTk/FbWindow.hh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/FbTk/FbWindow.hh b/src/FbTk/FbWindow.hh index 732ab83..fb89382 100644 --- a/src/FbTk/FbWindow.hh +++ b/src/FbTk/FbWindow.hh @@ -19,7 +19,7 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: FbWindow.hh,v 1.2 2002/12/04 00:02:52 fluxgen Exp $ +// $Id: FbWindow.hh,v 1.3 2002/12/13 20:29:31 fluxgen Exp $ #ifndef FBTK_FBWINDOW_HH #define FBTK_FBWINDOW_HH @@ -77,8 +77,10 @@ public: size_t height() const { return m_height; } /// compare X window bool operator == (Window win) const { return m_window == win; } + bool operator != (Window win) const { return m_window != win; } /// compare two windows bool operator == (const FbWindow &win) const { return m_window == win.m_window; } + bool operator != (const FbWindow &win) const { return m_window != win.m_window; } private: void updateGeometry(); void create(Window parent, int x, int y, size_t width, size_t height, long eventmask, -- cgit v0.11.2