예제 #1
0
    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()
예제 #2
0
    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()
예제 #3
0
    def __del__(self):

        OpenGLRenderer.destroySystem()
예제 #4
0
    def __del__(self):

        OpenGLRenderer.destroySystem()
예제 #5
0
 def initializePyCEGUI(self):
     self.renderer = Renderer.bootstrapSystem()
     return