PieDock  1.6.3
Classes | Public Member Functions | Protected Member Functions | List of all members
PieDock::MenuItemWithWorkspaces Class Reference

#include <MenuItemWithWorkspaces.h>

Inheritance diagram for PieDock::MenuItemWithWorkspaces:
Inheritance graph
[legend]
Collaboration diagram for PieDock::MenuItemWithWorkspaces:
Collaboration graph
[legend]

Public Member Functions

 MenuItemWithWorkspaces (Icon *)
 
virtual ~MenuItemWithWorkspaces ()
 
virtual IcongetIcon () const
 
virtual void showWorkspace (WorkspaceLayout *, unsigned int, unsigned int)
 
- Public Member Functions inherited from PieDock::MenuItem
 MenuItem (std::string, std::string, bool=true)
 
 MenuItem (Icon *)
 
virtual const std::string & getTitle () const
 
virtual void setTitle (std::string t)
 
virtual const std::string & getCommand () const
 
virtual void setCommand (std::string c)
 
virtual void setIcon (Icon *i)
 
virtual const bool isSticky () const
 
virtual void makeSticky ()
 
- Public Member Functions inherited from PieDock::WindowStack
WindowInfos & getWindowInfos ()
 
const bool hasWindows () const
 
void clearWindows ()
 
void addWindow (Display *, Window)
 
const Window getNextWindow ()
 
const Window getPreviousWindow ()
 
const bool isUnmapped ()
 

Protected Member Functions

virtual void freeWorkspaceIcon ()
 

Additional Inherited Members

- Public Types inherited from PieDock::WindowStack
typedef std::vector< WindowInfoWindowInfos
 

Detailed Description

Menu item with workspaces

Author
Markus Fisch mf@ma.nosp@m.rkus.nosp@m.fisch.nosp@m..de

Constructor & Destructor Documentation

MenuItemWithWorkspaces::MenuItemWithWorkspaces ( Icon i)

Create menu item from icon

Parameters
i- icon
MenuItemWithWorkspaces::~MenuItemWithWorkspaces ( )
virtual

Clean up

References freeWorkspaceIcon().

Member Function Documentation

void MenuItemWithWorkspaces::freeWorkspaceIcon ( )
protectedvirtual

Free workspace icon

Referenced by showWorkspace(), and ~MenuItemWithWorkspaces().

void MenuItemWithWorkspaces::showWorkspace ( WorkspaceLayout wsl,
unsigned int  workspaceColor,
unsigned int  windowColor 
)
virtual

Show workspace icon

Parameters
wsl- workspace layout
workspaceColor- ARGB value of workspace
windowColor- ARGB value of window

References PieDock::Blender::blend(), freeWorkspaceIcon(), and PieDock::WorkspaceLayout::isOnAnotherWorkspace().

Referenced by PieDock::Menu::update().


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