mirror of
https://github.com/edeproject/ede.git
synced 2023-08-10 21:13:03 +03:00
Moving all class declarations to EDE_PANEL_APPLET_CLASS macro.
This change should make base applet code easier to modify without modifying applets itself. This is also a starting point for implementation of better routing netwm messages to applets without adding specific listener to each applet.
This commit is contained in:
@ -1,5 +1,3 @@
|
||||
#include "Applet.h"
|
||||
|
||||
#include <FL/Fl.H>
|
||||
#include <FL/Fl_Button.H>
|
||||
#include <edelib/Debug.h>
|
||||
|
@ -2,11 +2,12 @@
|
||||
#define __TASKBAR_H__
|
||||
|
||||
#include <FL/Fl_Group.H>
|
||||
#include "Applet.h"
|
||||
|
||||
class TaskButton;
|
||||
class Panel;
|
||||
|
||||
class Taskbar : public Fl_Group {
|
||||
EDE_PANEL_APPLET_CLASS(Taskbar, Fl_Group) {
|
||||
public:
|
||||
TaskButton *curr_active, *prev_active;
|
||||
Panel *panel;
|
||||
|
Reference in New Issue
Block a user