mirror of
https://github.com/edeproject/ede.git
synced 2023-08-10 21:13:03 +03:00
39ffa8406b
Removing usage of EDE_PANEL_APPLET_CLASS since there is no much usage of it. Also, marked all applet widgets as EDE_PANEL_WIDGET_TYPE so panel knows it is widget. Added license info in some code, but whole ede2 tree needs to be revised for that.
33 lines
559 B
C++
33 lines
559 B
C++
#ifndef __TASKBAR_H__
|
|
#define __TASKBAR_H__
|
|
|
|
#include <FL/Fl_Group.H>
|
|
#include "Applet.h"
|
|
|
|
class TaskButton;
|
|
class Panel;
|
|
|
|
class Taskbar : public Fl_Group {
|
|
public:
|
|
TaskButton *curr_active, *prev_active;
|
|
Panel *panel;
|
|
|
|
public:
|
|
Taskbar();
|
|
~Taskbar();
|
|
|
|
void create_task_buttons(void);
|
|
|
|
void resize(int X, int Y, int W, int H);
|
|
void layout_children(void);
|
|
|
|
void update_active_button(int xid = -1);
|
|
void activate_window(TaskButton *b);
|
|
void update_child_title(Window xid);
|
|
void update_child_icon(Window xid);
|
|
|
|
void panel_redraw(void);
|
|
};
|
|
|
|
#endif
|