Lines 376-381
Link Here
|
376 |
/* border */ |
376 |
/* border */ |
377 |
static int draw_borders; |
377 |
static int draw_borders; |
378 |
static int draw_graph_borders; |
378 |
static int draw_graph_borders; |
|
|
379 |
static int draw_bar_borders; |
379 |
static int stippled_borders; |
380 |
static int stippled_borders; |
380 |
|
381 |
|
381 |
int get_stippled_borders(void) |
382 |
int get_stippled_borders(void) |
Lines 2946-2956
Link Here
|
2946 |
w = 0; |
2947 |
w = 0; |
2947 |
} |
2948 |
} |
2948 |
|
2949 |
|
|
|
2950 |
if (draw_bar_borders) { |
2949 |
XSetLineAttributes(display, window.gc, 1, LineSolid, |
2951 |
XSetLineAttributes(display, window.gc, 1, LineSolid, |
2950 |
CapButt, JoinMiter); |
2952 |
CapButt, JoinMiter); |
2951 |
|
2953 |
|
2952 |
XDrawRectangle(display, window.drawable, window.gc, cur_x, |
2954 |
XDrawRectangle(display, window.drawable, window.gc, cur_x, |
2953 |
by, w, h); |
2955 |
by, w, h); |
|
|
2956 |
} |
2957 |
|
2954 |
XFillRectangle(display, window.drawable, window.gc, cur_x, |
2958 |
XFillRectangle(display, window.drawable, window.gc, cur_x, |
2955 |
by, w * bar_usage / 255, h); |
2959 |
by, w * bar_usage / 255, h); |
2956 |
if (h > cur_y_add |
2960 |
if (h > cur_y_add |
Lines 4257-4262
Link Here
|
4257 |
draw_shades = 1; |
4261 |
draw_shades = 1; |
4258 |
draw_borders = 0; |
4262 |
draw_borders = 0; |
4259 |
draw_graph_borders = 1; |
4263 |
draw_graph_borders = 1; |
|
|
4264 |
draw_bar_borders = 1; |
4260 |
draw_outline = 0; |
4265 |
draw_outline = 0; |
4261 |
set_first_font("6x10"); |
4266 |
set_first_font("6x10"); |
4262 |
gap_x = 5; |
4267 |
gap_x = 5; |
Lines 4774-4779
Link Here
|
4774 |
CONF("draw_graph_borders") { |
4779 |
CONF("draw_graph_borders") { |
4775 |
draw_graph_borders = string_to_bool(value); |
4780 |
draw_graph_borders = string_to_bool(value); |
4776 |
} |
4781 |
} |
|
|
4782 |
CONF("draw_bar_borders") { |
4783 |
draw_bar_borders = string_to_bool(value); |
4784 |
} |
4777 |
CONF("draw_shades") { |
4785 |
CONF("draw_shades") { |
4778 |
draw_shades = string_to_bool(value); |
4786 |
draw_shades = string_to_bool(value); |
4779 |
} |
4787 |
} |