xbrushwidth settable from keyboard

This commit is contained in:
h_vogt 2009-12-07 21:16:55 +00:00
parent 3b0b4ff454
commit 71104809b2
2 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,6 @@
2009-12-07 Holger Vogt
* windisp.c: allow aeeting of linewidth by keyboard entry
2009-12-05: Dietmar Warning
* inpcom.c, line 3090: allow parameter without curly braces in subckt definition
(e.g.: as1=as), there was a wrong memory access before

View File

@ -120,15 +120,20 @@ int WIN_Init( )
if (cieq(colorstring, "white")) isblack = FALSE;
else isblack = TRUE;
}
/* get linewidth information from spinit */
if (!cp_getvar("xbrushwidth", VT_NUM, &linewidth))
linewidth = 0;
if (linewidth < 0) linewidth = 0;
/* only for the first time: */
if (!IsRegistered) {
isblackold = isblack;
/* get linewidth information from spinit */
/* get linewidth information from spinit
if (!cp_getvar("xbrushwidth", VT_NUM, &linewidth))
linewidth = 0;
if (linewidth < 0) linewidth = 0;
if (linewidth < 0) linewidth = 0; */
/* Initialize colors */
if (isblack) {