PieDock
1.6.3
Main Page
Classes
Files
File List
src
Hotspot.h
1
/*
2
* O ,-
3
* ° o . -´ ' ,-
4
* ° .´ ` . ´,´
5
* ( ° )) . (
6
* `-;_ . -´ `.`.
7
* `._' ´
8
*
9
* Copyright (c) 2007-2010 Markus Fisch <mf@markusfisch.de>
10
*
11
* Licensed under the MIT license:
12
* http://www.opensource.org/licenses/mit-license.php
13
*/
14
#ifndef _PieDock_Hotspot_
15
#define _PieDock_Hotspot_
16
17
#include <X11/Xlib.h>
18
19
namespace
PieDock
20
{
26
class
Hotspot
27
{
28
public
:
29
Hotspot
( Display *, Window = 0 );
30
virtual
~
Hotspot
() {}
31
inline
const
Window &getRoot()
const
{
return
root; }
32
inline
const
Window &getChild()
const
{
return
child; }
33
inline
const
int
&getRootX()
const
{
return
rootX; }
34
inline
const
int
&getRootY()
const
{
return
rootY; }
35
inline
const
int
&getX()
const
{
return
childX; }
36
inline
const
int
&getY()
const
{
return
childY; }
37
inline
const
unsigned
int
&getMask()
const
{
return
mask; }
38
39
private
:
40
Window root;
41
Window child;
42
int
rootX;
43
int
rootY;
44
int
childX;
45
int
childY;
46
unsigned
int
mask;
47
};
48
}
49
50
#endif
Generated on Fri Feb 28 2014 19:48:22 for PieDock by
1.8.3.1