Top/ps process monitor
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

74 lines
1.2 KiB

#ifndef __CONFIGURATION_H__
#define __CONFIGURATION_H__
#include "ui/ui.h"
#define CONFIG_VERSION 0x000f
typedef struct _Evisum_Config
{
int version;
Eina_Bool effects;
Eina_Bool backgrounds;
struct
{
Evas_Object *win;
int width;
int height;
int x, y;
Eina_Bool restart;
Eina_Bool show_kthreads;
Eina_Bool show_user;
unsigned char sort_type;
Eina_Bool sort_reverse;
unsigned char poll_delay;
unsigned int fields;
Eina_Bool show_scroller;
Eina_Bool transparant;
unsigned char alpha;
} proc;
struct
{
int width;
int height;
int x, y;
Eina_Bool restart;
} cpu;
struct
{
int width;
int height;
int x, y;
Eina_Bool restart;
} mem;
struct
{
int width;
int height;
int x, y;
Eina_Bool restart;
} disk;
struct
{
int width;
int height;
int x, y;
Eina_Bool restart;
} sensors;
} Evisum_Config;
void config_init(void);
void config_shutdown(void);
Evisum_Config *config_load(void);
Eina_Bool config_save(Evisum_Config *);
#endif