00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024 #ifndef FBROOTWINDOW_HH
00025 #define FBROOTWINDOW_HH
00026
00027 #include "FbWindow.hh"
00028
00029 class FbRootWindow: public FbTk::FbWindow {
00030 public:
00031 explicit FbRootWindow(int screen_num);
00032
00033 void move(int x, int y) { }
00034 void resize(unsigned int width, unsigned int height) { }
00035 void moveResize(int x, int y, unsigned int width, unsigned int height) { }
00036 void show() { }
00037 void hide() { }
00038
00039 FbTk::FbWindow &operator = (Window win) { return *this; }
00040 void updateGeometry();
00041 inline Visual *visual() const { return m_visual; }
00042 inline Colormap colormap() const { return m_colormap; }
00043
00044 private:
00045 Visual *m_visual;
00046 Colormap m_colormap;
00047 };
00048
00049 #endif // FBROOTWINDOW_HH