[go: up one dir, main page]

Menu

[12172e]: / src / aworkspaces.h  Maximize  Restore  History

Download this file

35 lines (26 with data), 769 Bytes

 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
30
31
32
33
34
#ifndef AWORKSPACES_H_
#define AWORKSPACES_H_
#include "ywindow.h"
#include "ybutton.h"
#include "ytimer.h"
class WorkspaceButton: public YButton, public YTimerListener {
public:
WorkspaceButton(long workspace, YWindow *parent);
virtual void handleClick(const XButtonEvent &up, int count);
virtual void handleDNDEnter();
virtual void handleDNDLeave();
virtual bool handleTimer(YTimer *t);
virtual void actionPerformed(YAction *button, unsigned int modifiers);
private:
static YTimer *fRaiseTimer;
long fWorkspace;
};
class WorkspacesPane: public YWindow {
public:
WorkspacesPane(YWindow *parent);
~WorkspacesPane();
WorkspaceButton *workspaceButton(long n);
private:
WorkspaceButton **fWorkspaceButton;
};
#endif