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
Collaboration diagram for PieDock::MenuItemWithWorkspaces:
Collaboration graph

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

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

i- icon
MenuItemWithWorkspaces::~MenuItemWithWorkspaces ( )

Clean up

References freeWorkspaceIcon().

Member Function Documentation

void MenuItemWithWorkspaces::freeWorkspaceIcon ( )

Free workspace icon

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

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

Show workspace icon

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: