repo.or.cz
/
dockapps.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
wmcube: imported Upstream version 0.99-pre1
[dockapps.git]
/
wmcube
/
wmapp
/
wmbutton.h
blob
83fa1d90f4afdc6fcb00fb59faae60a71eed1960
1
#include
"wmimage.h"
2
#include
"wmcallback.h"
3
4
#ifndef _WMBUTTON_H
5
#define _WMBUTTON_H
6
7
// WMButton: An image that can execute callback functions when clicked upon
8
class
WMButton
:
public
WMCallback
,
public
WMImage
{
9
private
:
10
void
real_display
();
11
12
public
:
13
WMButton
();
14
bool
press
(
int
button
,
int
x
,
int
y
);
15
bool
release
(
int
button
,
int
x
,
int
y
);
16
};
17
18
#endif