virtual for hide/show and showsubwindows

This commit is contained in:
fluxgen 2002-12-25 11:29:34 +00:00
parent 885ddd9322
commit 21bf0c15f1

View file

@ -19,7 +19,7 @@
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
// DEALINGS IN THE SOFTWARE. // DEALINGS IN THE SOFTWARE.
// $Id: FbWindow.hh,v 1.4 2002/12/16 11:14:08 fluxgen Exp $ // $Id: FbWindow.hh,v 1.5 2002/12/25 11:29:34 fluxgen Exp $
#ifndef FBTK_FBWINDOW_HH #ifndef FBTK_FBWINDOW_HH
#define FBTK_FBWINDOW_HH #define FBTK_FBWINDOW_HH
@ -35,7 +35,6 @@ class Color;
*/ */
class FbWindow { class FbWindow {
public: public:
FbWindow(); FbWindow();
FbWindow(const FbWindow &win_copy); FbWindow(const FbWindow &win_copy);
FbWindow(int screen_num, FbWindow(int screen_num,
@ -49,7 +48,6 @@ public:
int depth = CopyFromParent, int depth = CopyFromParent,
int class_type = InputOutput); int class_type = InputOutput);
virtual ~FbWindow(); virtual ~FbWindow();
void setBackgroundColor(const FbTk::Color &bg_color); void setBackgroundColor(const FbTk::Color &bg_color);
void setBackgroundPixmap(Pixmap bg_pixmap); void setBackgroundPixmap(Pixmap bg_pixmap);
@ -61,10 +59,10 @@ public:
/// clear window with background pixmap or color /// clear window with background pixmap or color
void clear(); void clear();
/// assign a new X window to this /// assign a new X window to this
FbWindow &operator = (Window win); virtual FbWindow &operator = (Window win);
void hide(); virtual void hide();
void show(); virtual void show();
void showSubwindows(); virtual void showSubwindows();
virtual void move(int x, int y); virtual void move(int x, int y);
virtual void resize(size_t width, size_t height); virtual void resize(size_t width, size_t height);