xbrushwidth settable from keyboard
This commit is contained in:
parent
3b0b4ff454
commit
71104809b2
|
|
@ -1,3 +1,6 @@
|
||||||
|
2009-12-07 Holger Vogt
|
||||||
|
* windisp.c: allow aeeting of linewidth by keyboard entry
|
||||||
|
|
||||||
2009-12-05: Dietmar Warning
|
2009-12-05: Dietmar Warning
|
||||||
* inpcom.c, line 3090: allow parameter without curly braces in subckt definition
|
* inpcom.c, line 3090: allow parameter without curly braces in subckt definition
|
||||||
(e.g.: as1=as), there was a wrong memory access before
|
(e.g.: as1=as), there was a wrong memory access before
|
||||||
|
|
|
||||||
|
|
@ -120,15 +120,20 @@ int WIN_Init( )
|
||||||
if (cieq(colorstring, "white")) isblack = FALSE;
|
if (cieq(colorstring, "white")) isblack = FALSE;
|
||||||
else isblack = TRUE;
|
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: */
|
/* only for the first time: */
|
||||||
if (!IsRegistered) {
|
if (!IsRegistered) {
|
||||||
|
|
||||||
isblackold = isblack;
|
isblackold = isblack;
|
||||||
|
|
||||||
/* get linewidth information from spinit */
|
/* get linewidth information from spinit
|
||||||
if (!cp_getvar("xbrushwidth", VT_NUM, &linewidth))
|
if (!cp_getvar("xbrushwidth", VT_NUM, &linewidth))
|
||||||
linewidth = 0;
|
linewidth = 0;
|
||||||
if (linewidth < 0) linewidth = 0;
|
if (linewidth < 0) linewidth = 0; */
|
||||||
|
|
||||||
/* Initialize colors */
|
/* Initialize colors */
|
||||||
if (isblack) {
|
if (isblack) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue