[go: up one dir, main page]

Menu

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

Download this file

29 lines (21 with data), 719 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
#ifndef __WMCONTAINER_H
#define __WMCONTAINER_H
#include "ywindow.h"
class YFrameWindow;
class YClientContainer: public YWindow {
public:
YClientContainer(YWindow *parent, YFrameWindow *frame);
virtual ~YClientContainer();
virtual void handleButton(const XButtonEvent &button);
virtual void handleConfigureRequest(const XConfigureRequestEvent &configureRequest);
virtual void handleMapRequest(const XMapRequestEvent &mapRequest);
virtual void handleCrossing(const XCrossingEvent &crossing);
void grabButtons();
void releaseButtons();
YFrameWindow *getFrame() const { return fFrame; };
private:
YFrameWindow *fFrame;
bool fHaveGrab;
bool fHaveActionGrab;
};
#endif