|
From: Joachim W. <wu...@cr...> - 2002-12-10 14:10:04
|
Since plSetOpt is not yet documented in the
on-line reference, here a clue:
For generic options, use
plSetOpt("<option_name>", "<argument>"),
e.g.
plSetOpt("np", "").
For driver-specific options, in contrast, use
plSetOpt("drvopt", "<option_name>=3D<argument>"),
e.g.
plSetOpt("drvopt", "color=3D0").
The W2000 driver has the option "hwnd" which takes
as argument a pointer to a HWND handle. To use
this, one has to convert the pointer through=20
something like sprintf(drvopt_arg, "hwnd=3D%x", m_hwnd)
to a string; I doubt whether this has ever been
tested. A more sensible way to influence the
plot window from the main application would be
to pass a number of individual parameters like
xpos, xwidth, title, ... Is there any convention
I should follow in introducing such parameters ?
The option "np" has hitherto been ineffective in
the Win binding. To correct this, it might be
sufficient to chnge one line in win3.cpp into
dev->nextPlot =3D pls->nopause;
- Joachim
|