Commit f645af32 authored by Martin Schreiber's avatar Martin Schreiber

+ --NOZEROLINES commandline option.

parent 4d63260e
......@@ -76,6 +76,10 @@ MSEgui command line parameters
Change the used fonts. Example for a 16 pixel height default font:
--FONTALIAS=stf_default,,16
--NOZEROLINES
Use 1-width lines instead of 0-width lines. X11 only. Workaround for buggy HW-accelerated
X-servers which don't draw lineends exactly. Can degrade performance.
--NOZORDERHANDLING
Do not touch Z-order of the windows.
......
......@@ -39,9 +39,6 @@ var
screenrenderpictformat,bitmaprenderpictformat,
alpharenderpictformat,
rgbrenderpictformat,argbrenderpictformat: pxrenderpictformat;
zerolineworkaround: boolean;
//use one pixel line width instead of 0-line, new X11 servers don't
//draw 0-line endpixels reliable
function createalphapicture(const size: sizety;
const arepeat: boolean = false): tpicture;
......@@ -3324,7 +3321,7 @@ begin
end;
}
initialization
zerolineworkaround:= true;
// zerolineworkaround:= true;
fhasxft:= getxftlib;
hasxrender:= getxrenderlib;
// gdinumber:= registergdi(x11getgdifuncs);
......
......@@ -19264,6 +19264,11 @@ begin
norestackwindow:= true;
continue;
end;
if ar1[int1] = '--NOZEROLINES' then begin
zerolineworkaround:= true;
deleteitem();
continue;
end;
if ar1[int1] = '--NOZORDERHANDLING' then begin
nozorderhandling:= true;
deleteitem();
......
......@@ -299,6 +299,9 @@ type
const
E_NOINTERFACE = longword($80004002);
var
zerolineworkaround: boolean;
//use one pixel line width instead of 0-line, new X11 servers don't
//draw 0-line endpixels reliable
nozorderhandling: boolean;
norestackwindow: boolean;
stackmodebelowworkaround: boolean;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment