HomefieldOfView | SPi-V dev

Legend

  • required
  • not yet implemented

Navigation

user

setWindow

Re: setWindow

Can anyone write something about using that action?

For example I want to have a button, that switches full screen mode to normal window with set width/height.

Re: setWindow

At one point, I was going to deprecate this method, which is why I never finished up the documentation. But since the method is still here, I'll share it's argument:

There is a single argument named 'state'. Valid values for the argument are 'fullscreen', 'windowed' or 'toggle'.

You can set the width and height of the normal window using the .ini file of the executable.

Re: setWindow

Actually something like this doesn't work:

<action event="release" type="setWindow" state="toggle" />

Is it written properly?

And another question.
When I put a tour into director, will that xml method work, or should I make a switch function in director?

If I should, could someone help? I'm not good in director stuff...

Re: setWindow

setWindow will only work in the standalone executable, because it requires extra code. This is why I was planning to deprecate it.

VTs not runnung in Firefox or Opera

This comment has been moved here.