File: iconmenu.hh

package info (click to toggle)
aewm%2B%2B 1.1.2-4
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 208 kB
  • ctags: 424
  • sloc: cpp: 3,013; makefile: 82; sh: 35
file content (29 lines) | stat: -rw-r--r-- 508 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/* 
 * frankhale@gmail.com
 * http://frankhale.org
 *
 * This code is released under the GPL license www.gnu.org
 */
#ifndef _ICONMENU_HH
#define _ICONMENU_HH

#include "aewm.hh"

class IconMenu : public GenericMenu
{
private:
	Client *client;

public:
	IconMenu(Display * dpy);

	virtual void handleButtonReleaseEvent(XButtonEvent *e);

	void setThisClient(Client *c) { client = c; }

	void addThisClient(Client *c);
	void removeClientFromIconMenu(Client *c);
	void updateClientName(Client *c);
};

#endif