nanogui@linuxhacker.org
nanogui@linuxhacker.org
: Has anyone looked at making Microwindows work with multiple
: screen devices? As I go thru the code, it seems that there
: are a lot of globals which would need to be packed within
: appropriate structures to make this work (not trivial work).
I've looked at this a bit before. The gr_* globals for the current
fg and bk color could stay as globals in devopen.c. In defvmouse.c,
the cursor globals could stay global, unless it was desired to
have cursors on multiple screens simultaneously, in which case
the globals would be put into the PSD structure.
What other globals are you refering to? The ones in srvmain.c?
The other big mod is to eliminate all references to extern scrdev
and pass a new parm to GdOpenScreen to indicate which screen
device to open. Another cool feature would then be the ability
to open virtual screen devices that might map drawing into multiple
screens simultaneosly, kind of like a "Hollywood Squares" for
Microwindows with 9 monitors...
Regards,
Greg
nanogui@linuxhacker.org