4 #include <gkrellm2/gkrellm.h>
7 #include "dockapp_imlib2.h"
15 unsigned char **pre_cnt
;
16 char **intensity
; /* > 0 for swap in, < 0 for swap out */
19 typedef struct IO_op_lst
{
20 enum { OP_READ
, OP_WRITE
} op
;
21 int n
; /* "magnitude" of operation (log2 of kb/s) */
22 int i
,j
; /* location of the IOMatrix */
23 struct IO_op_lst
*next
;
27 typedef struct colormap
{
33 int * __restrict
* __restrict v
; /* dim w+2, h+4 */
40 Imlib_Font bigfont
,smallfont
;
42 char *current_bigfont_name
, *current_smallfont_name
;
43 unsigned update_display_delay_ms
;
44 unsigned update_stats_mult
;
46 unsigned char swap_matrix_luminosity
, swap_matrix_lighting
;
52 enum {HD_ACTIVE
, HD_STANDBY
, HD_SLEEP
, HD_UNKNOWN
} *disk_power_mode
;
53 int *disk_temperature
;
55 int filter_hd
, filter_part
;
56 int displayed_hd_changed
;
60 void reshape(int w
, int h
);
62 int hdplop_main(int w
, int h
, GdkDrawable
*gkdrawable
);
63 void gkrellm_hdplop_update(int update_options
);
65 void change_displayed_hd(int dir
);
66 void next_displayed_hd();
67 void prev_displayed_hd();
68 void init_fonts(App
*);
69 DECL_GLOB_INIT(App
*app
, NULL
);