[go: up one dir, main page]

Menu

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

Download this file

27 lines (19 with data), 695 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
#ifndef __WMMINIICON_H
#define __WMMINIICON_H
#include "ywindow.h"
class YFrameWindow;
class MiniIcon: public YWindow {
public:
MiniIcon(YWindow *aParent, YFrameWindow *frame);
virtual ~MiniIcon();
virtual void paint(Graphics &g, int x, int y, unsigned int width, unsigned int height);
virtual void handleButton(const XButtonEvent &button);
virtual void handleClick(const XButtonEvent &up, int count);
virtual void handleCrossing(const XCrossingEvent &crossing);
virtual void handleDrag(const XButtonEvent &down, const XMotionEvent &motion);
YFrameWindow *getFrame() const { return fFrame; };
private:
YFrameWindow *fFrame;
int selected;
};
#endif