|
PieDock
1.6.3
|
#include <MenuItemWithWorkspaces.h>


Public Member Functions | |
| MenuItemWithWorkspaces (Icon *) | |
| virtual | ~MenuItemWithWorkspaces () |
| virtual Icon * | getIcon () 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< WindowInfo > | WindowInfos |
Menu item with workspaces
| MenuItemWithWorkspaces::MenuItemWithWorkspaces | ( | Icon * | i | ) |
Create menu item from icon
| i | - icon |
|
virtual |
Clean up
References freeWorkspaceIcon().
|
protectedvirtual |
Free workspace icon
Referenced by showWorkspace(), and ~MenuItemWithWorkspaces().
|
virtual |
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().
1.8.3.1