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.
19 lines
269 B
C++
19 lines
269 B
C++
#ifndef __MEMMONITOR_H__
|
|
#define __MEMMONITOR_H__
|
|
|
|
#include <FL/Fl_Box.H>
|
|
#include "Applet.h"
|
|
|
|
class MemMonitor : public Fl_Box {
|
|
private:
|
|
int mem_usedp, swap_usedp;
|
|
|
|
public:
|
|
MemMonitor();
|
|
void update_status(void);
|
|
void draw(void);
|
|
int handle(int e);
|
|
};
|
|
|
|
#endif
|