Mercurial > fife-parpg
comparison tools/editor/scripts/gui/mapeditor.py @ 582:5e04f6349894
* Improved the floatingtextrenderer. You can now set a background speech quad.
* Added a speech quad example to rio de hola.
* Little fix to the editor stuff.
author | helios2000@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Tue, 03 Aug 2010 13:57:12 +0000 |
parents | b2feacaed53c |
children | 32539411bf0d |
comparison
equal
deleted
inserted
replaced
581:1e69fd582c94 | 582:5e04f6349894 |
---|---|
593 elif keystr == 'b': | 593 elif keystr == 'b': |
594 blockrenderer = self._controller._camera.getRenderer('BlockingInfoRenderer') | 594 blockrenderer = self._controller._camera.getRenderer('BlockingInfoRenderer') |
595 blockrenderer.setEnabled(not blockrenderer.isEnabled()) | 595 blockrenderer.setEnabled(not blockrenderer.isEnabled()) |
596 | 596 |
597 elif keystr == 'c': | 597 elif keystr == 'c': |
598 #coordinaterenderer = self._controller._camera.getRenderer('CoordinateRenderer') | |
599 #coordinaterenderer.setEnabled(not coordinaterenderer.isEnabled()) | |
600 self._editor.toggleCoordinates("Toggle Coordinates") | 598 self._editor.toggleCoordinates("Toggle Coordinates") |
601 | 599 |
602 elif keystr == 'z': | 600 elif keystr == 'z': |
603 if self._eventlistener.controlPressed: | 601 if self._eventlistener.controlPressed: |
604 if self._eventlistener.altPressed: | 602 if self._eventlistener.altPressed: |