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:
@@ -2,6 +2,7 @@
|
||||
#define __CPUMONITOR_H__
|
||||
|
||||
#include <FL/Fl_Box.H>
|
||||
#include "Applet.h"
|
||||
|
||||
/*
|
||||
#ifdef HAVE_KSTAT_H
|
||||
@@ -18,7 +19,7 @@ enum {
|
||||
IWM_STATES
|
||||
};
|
||||
|
||||
class CPUMonitor : public Fl_Box {
|
||||
EDE_PANEL_APPLET_CLASS(CPUMonitor, Fl_Box) {
|
||||
private:
|
||||
bool m_draw_label;
|
||||
int m_old_samples;
|
||||
|
||||
Reference in New Issue
Block a user