]> git.pld-linux.org Git - packages/ekg2.git/blob - ekg2-shadow_colour.patch
- cosmetics
[packages/ekg2.git] / ekg2-shadow_colour.patch
1 diff -urN plugins/xosd/osd.h plugins/xosd.new/osd.h
2 --- plugins/xosd/osd.h  2004-12-24 12:02:05.545131496 +0100
3 +++ plugins/xosd.new/osd.h      2004-12-24 12:26:01.202878344 +0100
4 @@ -1,6 +1,7 @@
5  /* variables */
6  char *xosd_font;
7  char *xosd_colour;
8 +char *xosd_shadow_colour;
9  
10  int xosd_shadow_offset;
11  int xosd_vertical_position;
12 diff -urN plugins/xosd/vars.txt plugins/xosd.new/vars.txt
13 --- plugins/xosd/vars.txt       2004-12-23 18:00:23.000000000 +0100
14 +++ plugins/xosd.new/vars.txt   2004-12-24 12:31:17.084856984 +0100
15 @@ -21,6 +21,12 @@
16         wielko¶æ wektora (podana w pikselach), o który ma byæ przesuniêty 
17         cieñ komunikatu wzglêdem samego napisu. warto¶æ 0 wy³±cza cieñ.
18  
19 +shadow_colour
20 +       typ: tekst
21 +       domy¶lna warto¶æ: "#000000"
22 +
23 +       kolor cienia 
24 +
25  vertical_position
26         typ: liczba
27         domy¶lna warto¶æ: 2
28 diff -urN plugins/xosd/xosd.c plugins/xosd.new/xosd.c
29 --- plugins/xosd/xosd.c 2004-12-24 11:27:46.843101776 +0100
30 +++ plugins/xosd.new/xosd.c     2004-12-24 12:26:01.203878192 +0100
31 @@ -42,6 +42,8 @@
32         xosd_set_font(osd, xosd_font); 
33         
34         xosd_set_shadow_offset(osd, xosd_shadow_offset);
35 +
36 +       xosd_set_shadow_colour(osd, xosd_shadow_colour);
37         
38         xosd_set_colour(osd, xosd_colour);
39  
40 @@ -200,11 +202,14 @@
41  {
42         xfree(xosd_font);
43         xfree(xosd_colour);
44 +       xfree(xosd_shadow_colour);
45  
46         xosd_font = xstrdup("-adobe-helvetica-bold-r-normal-*-*-120-*-*-p-*-iso8859-2");
47         xosd_colour = xstrdup("#00dd00");
48         
49         xosd_shadow_offset = 2;
50 +       xosd_shadow_colour = xstrdup("#000000");
51 +       
52         xosd_vertical_position = 2;
53         xosd_vertical_offset = 48;
54         xosd_horizontal_position = 0;
55 @@ -234,6 +239,7 @@
56         variable_add(&xosd_plugin, "font", VAR_STR, 1, &xosd_font, NULL, NULL, NULL);
57         variable_add(&xosd_plugin, "colour", VAR_STR, 1, &xosd_colour, NULL, NULL, NULL);
58         variable_add(&xosd_plugin, "shadow_offset", VAR_INT, 1, &xosd_shadow_offset, NULL, NULL, NULL);
59 +       variable_add(&xosd_plugin, "shadow_colour", VAR_STR, 1, &xosd_shadow_colour, NULL, NULL, NULL);
60         variable_add(&xosd_plugin, "vertical_position", VAR_INT, 1, &xosd_vertical_position, NULL, NULL, NULL);
61         variable_add(&xosd_plugin, "vertical_offset", VAR_INT, 1, &xosd_vertical_offset, NULL, NULL, NULL);
62         variable_add(&xosd_plugin, "horizontal_position", VAR_INT, 1, &xosd_horizontal_position, NULL, NULL, NULL);
This page took 0.024363 seconds and 3 git commands to generate.