Logo Search packages:      
Sourcecode: fbdesk version File versions  Download package

FbTk::FbWindow Class Reference

#include <FbWindow.hh>

List of all members.


Detailed Description

Wrapper for X window

Definition at line 36 of file FbWindow.hh.


Public Member Functions

size_t borderWidth () const
int bpp () const
void clear ()
 clear window with background pixmap or color
 FbWindow (const FbWindow &parent, int x, int y, size_t width, size_t height, long eventmask, bool overrride_redirect=false, int depth=CopyFromParent, int class_type=InputOutput)
 FbWindow (int screen_num, int x, int y, size_t width, size_t height, long eventmask, bool overrride_redirect=false, int depth=CopyFromParent, int class_type=InputOutput)
 FbWindow (const FbWindow &win_copy)
size_t height () const
virtual void hide ()
void lower ()
virtual void move (int x, int y)
virtual void moveResize (int x, int y, size_t width, size_t height)
bool operator!= (const FbWindow &win) const
bool operator!= (Window win) const
virtual FbWindowoperator= (Window win)
 assign a new X window to this
bool operator== (const FbWindow &win) const
 compare two windows
bool operator== (Window win) const
 compare X window
const FbWindowparent () const
void raise ()
virtual void resize (size_t width, size_t height)
int screenNumber () const
void setBackgroundColor (const FbTk::Color &bg_color)
void setBackgroundPixmap (Pixmap bg_pixmap)
void setBorderColor (const FbTk::Color &border_color)
void setBorderWidth (size_t size)
void setEventMask (long mask)
void setName (const char *name)
 set window name (for title)
virtual void show ()
virtual void showSubwindows ()
size_t width () const
Window window () const
int x () const
int y () const

Private Member Functions

void create (Window parent, int x, int y, size_t width, size_t height, long eventmask, bool override_redirect, int depth, int class_type)
void updateGeometry ()

Private Attributes

size_t m_border_width
int m_bpp
size_t m_height
 size of window
const FbWindowm_parent
int m_screen_num
size_t m_width
Window m_window
 the X window
int m_x
int m_y
 position of window

Static Private Attributes

static Display * s_display = 0

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index