mirror of
https://github.com/edeproject/ede.git
synced 2023-08-10 21:13:03 +03:00
Merging new panel in the trunk.
This commit is contained in:
24
ede-panel/applets/taskbar/TaskButton.h
Normal file
24
ede-panel/applets/taskbar/TaskButton.h
Normal file
@@ -0,0 +1,24 @@
|
||||
#ifndef __TASKBUTTON_H__
|
||||
#define __TASKBUTTON_H__
|
||||
|
||||
#include <FL/Fl_Button.H>
|
||||
#include <FL/x.H>
|
||||
|
||||
class TaskButton : public Fl_Button {
|
||||
private:
|
||||
/* window ID this button handles */
|
||||
Window xid;
|
||||
|
||||
public:
|
||||
TaskButton(int X, int Y, int W, int H, const char *l = 0);
|
||||
|
||||
void draw(void);
|
||||
void display_menu(void);
|
||||
|
||||
void set_window_xid(Window win) { xid = win; }
|
||||
Window get_window_xid(void) { return xid; }
|
||||
|
||||
void update_title_from_xid(void);
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user