aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/FbWindow.hh
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2002-12-25 11:29:34 (GMT)
committerfluxgen <fluxgen>2002-12-25 11:29:34 (GMT)
commit21bf0c15f1e074c6948ddf9a311fc094ebc63f26 (patch)
tree5523b58857fa8f93fb19bdf9248d9583fafad121 /src/FbTk/FbWindow.hh
parent885ddd9322ea4a175e992e4a6fe757d19e8e86e2 (diff)
downloadfluxbox-21bf0c15f1e074c6948ddf9a311fc094ebc63f26.zip
fluxbox-21bf0c15f1e074c6948ddf9a311fc094ebc63f26.tar.bz2
virtual for hide/show and showsubwindows
Diffstat (limited to 'src/FbTk/FbWindow.hh')
-rw-r--r--src/FbTk/FbWindow.hh12
1 files changed, 5 insertions, 7 deletions
diff --git a/src/FbTk/FbWindow.hh b/src/FbTk/FbWindow.hh
index e52bddd..00c3026 100644
--- a/src/FbTk/FbWindow.hh
+++ b/src/FbTk/FbWindow.hh
@@ -19,7 +19,7 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22// $Id: FbWindow.hh,v 1.4 2002/12/16 11:14:08 fluxgen Exp $ 22// $Id: FbWindow.hh,v 1.5 2002/12/25 11:29:34 fluxgen Exp $
23 23
24#ifndef FBTK_FBWINDOW_HH 24#ifndef FBTK_FBWINDOW_HH
25#define FBTK_FBWINDOW_HH 25#define FBTK_FBWINDOW_HH
@@ -35,7 +35,6 @@ class Color;
35 */ 35 */
36class FbWindow { 36class FbWindow {
37public: 37public:
38
39 FbWindow(); 38 FbWindow();
40 FbWindow(const FbWindow &win_copy); 39 FbWindow(const FbWindow &win_copy);
41 FbWindow(int screen_num, 40 FbWindow(int screen_num,
@@ -49,7 +48,6 @@ public:
49 int depth = CopyFromParent, 48 int depth = CopyFromParent,
50 int class_type = InputOutput); 49 int class_type = InputOutput);
51 50
52
53 virtual ~FbWindow(); 51 virtual ~FbWindow();
54 void setBackgroundColor(const FbTk::Color &bg_color); 52 void setBackgroundColor(const FbTk::Color &bg_color);
55 void setBackgroundPixmap(Pixmap bg_pixmap); 53 void setBackgroundPixmap(Pixmap bg_pixmap);
@@ -61,10 +59,10 @@ public:
61 /// clear window with background pixmap or color 59 /// clear window with background pixmap or color
62 void clear(); 60 void clear();
63 /// assign a new X window to this 61 /// assign a new X window to this
64 FbWindow &operator = (Window win); 62 virtual FbWindow &operator = (Window win);
65 void hide(); 63 virtual void hide();
66 void show(); 64 virtual void show();
67 void showSubwindows(); 65 virtual void showSubwindows();
68 66
69 virtual void move(int x, int y); 67 virtual void move(int x, int y);
70 virtual void resize(size_t width, size_t height); 68 virtual void resize(size_t width, size_t height);