1
/*********************************************************
2
* Copyright (C) 2009 VMware, Inc. All rights reserved.
4
* This program is free software; you can redistribute it and/or modify it
5
* under the terms of the GNU Lesser General Public License as published
6
* by the Free Software Foundation version 2.1 and no later version.
8
* This program is distributed in the hope that it will be useful, but
9
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
10
* or FITNESS FOR A PARTICULAR PURPOSE. See the Lesser GNU General Public
11
* License for more details.
13
* You should have received a copy of the GNU Lesser General Public License
14
* along with this program; if not, write to the Free Software Foundation, Inc.,
15
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
17
*********************************************************/
22
* Header for the DragDetWnd class.
25
#ifndef DRAG_DET_WND_H
26
#define DRAG_DET_WND_H
30
#if !defined(DETWNDTEST)
38
class DragDetWnd : public Gtk::Invisible
42
virtual ~DragDetWnd();
49
int GetScreenHeight();
50
void SetGeometry(const int x, const int y,
51
const int width, const int height);
52
void GetGeometry(int &x, int &y, int &width, int &height);
53
void SetIsVisible(const bool isVisible) {m_isVisible = isVisible;};
54
bool GetIsVisible() {return m_isVisible;};
55
#if defined(DETWNDEBUG)
56
void DebugSetAttributes();
63
#if defined(DETWNDTEST)
64
class DragDetWndTest : public Gtk::Window
69
virtual void RunUnitTests();
75
#endif // DRAG_DET_WND_H