def initializePyCEGUI(self): if TheConfig.useConfigFile: # Needed for CEGUI config. file support self.renderer = OpenGLRenderer.create() PyCEGUI.System.create(self.renderer, None, None, None, None, "datafiles/cegui.config") else: # Simpler way, but no possible config. file self.renderer = OpenGLRenderer.bootstrapSystem()
def __del__(self): OpenGLRenderer.destroySystem()
def initializePyCEGUI(self): self.renderer = Renderer.bootstrapSystem() return