PieDock
1.6.3
Main Page
Classes
Files
File List
src
ModMask.h
1
/*
2
* Copyright (c) 2008 Tatiana Azundris <hacks@azundris.com>
3
*
4
* Licensed under the MIT license:
5
* http://www.opensource.org/licenses/mit-license.php
6
*/
7
#ifndef _PieDock_ModMask_
8
#define _PieDock_ModMask_
9
10
#include <X11/Xlib.h>
11
12
namespace
PieDock
13
{
19
class
ModMask
20
{
21
public
:
22
ModMask
( Display * );
23
virtual
~ModMask
();
24
unsigned
int
getModMaskFor
(
const
char
* );
25
26
private
:
27
struct
XlatEntry
28
{
29
const
char
*name;
30
int
index;
31
int
mask;
32
};
33
34
struct
ModKeyEntry
35
{
36
KeyCode code;
37
const
char
*name;
38
const
XlatEntry *xlat;
39
char
*type;
40
};
41
42
Display *display;
43
int
modKeyCount;
44
ModKeyEntry *modKey;
45
};
46
}
47
48
#endif
Generated on Fri Feb 28 2014 19:48:22 for PieDock by
1.8.3.1