[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    playground/libs/kgllib/core/kgllib
From:       Rivo Laks <rivolaks () hot ! ee>
Date:       2008-07-20 17:30:19
Message-ID: 1216575019.873873.19956.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 835487 by rivol:

Add a method to check if initializeGL() has been called

 M  +5 -0      glwidget.h  


--- trunk/playground/libs/kgllib/core/kgllib/glwidget.h #835486:835487
@@ -71,6 +71,11 @@
      **/
     KGLLib::TextRenderer* textRenderer() const;
 
+    /**
+     * @return whether @ref initializeGL() has been called
+     **/
+    bool glInitialized() const  { return mGLInitialized; }
+
 public Q_SLOTS:
     void toggleShowFps();
     void toggleWireframeMode();
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic