from webbrowser import open_new_tab
from xmlrpc.client import ServerProxy
from panda3d.core import Texture, TextNode, WindowProperties, LVector2i, \
- TextProperties, TextPropertiesManager
+ TextProperties, TextPropertiesManager, NodePath
from direct.gui.DirectGui import DirectButton, DirectCheckButton, \
DirectOptionMenu, DirectSlider
from direct.gui.DirectGuiGlobals import FLAT
**self._common_slider)]
vol_pos = LibP3d.wdg_pos(self._widgets[-1])
self._pos_mgr.register('volume', vol_pos)
- self._pos_mgr.register('volume_0', [vol_pos[0] - 153, vol_pos[1]])
+ np_left = NodePath('left_slider')
+ np_left.set_pos(self._widgets[-1].get_net_transform().get_pos())
+ np_left.set_x(np_left.get_x() - self._widgets[-1].get_scale()[0])
+ lpos = LibP3d.wdg_pos(np_left)
+ self._pos_mgr.register('volume_0', lpos)
self._slider = self._widgets[-1]
self._widgets += [DirectCheckButton(
text=_('Fullscreen'), pos=(0, 1, .3), command=self.on_fullscreen,
#+CATEGORY: pmachines
#+TAGS: bug(b) calendar(c) waiting(w)
-* CODE subclass DirectOptionMenu, do register_position on openpopup, or register an iscallable which returns the position, called after the popup
-* READY do dynamic volume_0
+* CODE remove GameObject
* READY drag and drop positions in the scene files as empty nodes
* READY functional tests for performance (frame rate)
* READY functional tests for "cleaning" i.e. at the end of the states verify:
- [ ] current nodepaths (render3d)
- [ ] current accepting events
- [ ] current buffers
-* BACKLOG remove GameObject
* BACKLOG intro animation (from target item to start position)
* BACKLOG buttons of the scenes enabled sequentially
- [ ] each scene has a version