mirror of
https://github.com/edeproject/ede.git
synced 2023-08-10 21:13:03 +03:00
eb175fa89f
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.
19 lines
279 B
C++
19 lines
279 B
C++
#ifndef __MEMMONITOR_H__
|
|
#define __MEMMONITOR_H__
|
|
|
|
#include <FL/Fl_Box.H>
|
|
#include "Applet.h"
|
|
|
|
EDE_PANEL_APPLET_CLASS(MemMonitor, Fl_Box) {
|
|
private:
|
|
int mem_usedp, swap_usedp;
|
|
|
|
public:
|
|
MemMonitor();
|
|
void update_status(void);
|
|
void draw(void);
|
|
int handle(int e);
|
|
};
|
|
|
|
#endif
|