|Subject:||[Gnash-dev] Implementing Stage.showMenu()|
|Date:||Fri, 10 Jul 2009 16:07:00 -0600|
|User-agent:||Thunderbird 184.108.40.206 (X11/20090608)|
I think gtk.cpp is the only gui that implements this function so far and the method seems to hide or show the menu bar at the top of the screen (I assume for the stand-alone player).
The flash documents say that Stage.showMenu() should instead, limit the contents of the context (right-click) menu in the flash player. When show menu is turned to false the only options on the right-click menu are: Settings, and About.
The gnash player obviously has many different options than the flash player, so my first question is should we allow the swf file to limit what is on the right-click menu in gnash? If so, what do we want to put on the menu when Stage.showMenu() is set to false?
Also, should I replace the functionality of showMenu in gtk.cpp to do what Flash expects it to do? I suppose I could also write some other function and have the AS Stage.showMenu call that function in the gui code, but I am looking for some opinions on what is the best option.
|[Prev in Thread]||Current Thread||[Next in Thread]|