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

FbPager::Workspace Class Reference

#include <Workspace.hh>

Inheritance diagram for FbPager::Workspace:

FbTk::NotCopyable

List of all members.


Detailed Description

Workspace window for fbpager

Definition at line 44 of file Workspace.hh.


Public Member Functions

void add (Window win)
 add a window to workspace, and associate a FbWindow to it
void clearWindows ()
void deiconifyWindow (Window win)
const FbTk::FbWindowfind (Window win) const
 find associated FbWindow to win
FbTk::FbWindowfind (Window win)
 Find associated FbWindow to win.
ClientWindow findClient (const FbTk::FbWindow &win) const
void iconifyWindow (Window win)
void lowerWindow (Window win)
const std::string & name () const
void raiseWindow (Window win)
void remove (Window win)
 remove a window from workspace
void resize (unsigned int width, unsigned int height)
void setAlpha (unsigned char alpha)
void setName (const char *name)
 set new name for this workspace
void setWindowColor (const std::string &focused, const std::string &unfocused, const std::string &bordercolor_str)
void shadeWindow (Window win)
void unshadeWindow (Window win)
void updateFocusedWindow ()
void updateGeometry (Window win)
FbTk::FbWindowwindow ()
const FbTk::FbWindowwindow () const
 Workspace (FbTk::EventHandler &evh, FbTk::FbWindow &parent, unsigned int width, unsigned int height, const FbTk::Color &focused_win_color, const FbTk::Color &wincolor, const FbTk::Color &border_color, const FbTk::Color &background_color, const char *name=0, const bool use_pixmap=true, const int window_border_width=1)
 create a workspace with specified name, size, parent and eventhandler
 ~Workspace ()
 destructor

Static Public Member Functions

static void setFocusedWindow (Window win)

Private Types

typedef std::map< Window,
FbTk::FbWindow * > 
WindowList

Private Member Functions

void updateBackground (Window win, const FbTk::Color &bg_color)

Private Attributes

FbTk::EventHandlerm_eventhandler
FbTk::FbWindowm_focused_window
FbTk::Color m_focused_window_color
std::string m_name
 name of this workspace
bool m_use_pixmap
FbTk::FbWindow m_window
 FbWindow of this workspace.
int m_window_border_width
FbTk::Color m_window_bordercolor
FbTk::Color m_window_color
WindowList m_windowlist
 holds a set of Window to FbWindow association

Static Private Attributes

static Window s_focused_window = 0

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

Generated by  Doxygen 1.6.0   Back to index