add initial examples, replacing the 'Demos/Demos3'. Will make it work cross-platform, OpenGL3/OpenGL2 and add more examples to it.
This commit is contained in:
23
examples/ExampleBrowser/OpenGLExampleBrowser.h
Normal file
23
examples/ExampleBrowser/OpenGLExampleBrowser.h
Normal file
@@ -0,0 +1,23 @@
|
||||
#ifndef OPENGL_BROWSER_GUI_H
|
||||
#define OPENGL_BROWSER_GUI_H
|
||||
|
||||
#include "ExampleBrowserInterface.h"
|
||||
|
||||
class OpenGLExampleBrowser : public ExampleBrowserInterface
|
||||
{
|
||||
public:
|
||||
|
||||
OpenGLExampleBrowser(class ExampleEntries* examples);
|
||||
virtual ~OpenGLExampleBrowser();
|
||||
|
||||
virtual ExampleInterface* getCurrentExample();
|
||||
|
||||
virtual bool init(int argc, char* argv[]);
|
||||
|
||||
virtual void update(float deltaTime);
|
||||
|
||||
virtual bool requestedExit();
|
||||
|
||||
};
|
||||
|
||||
#endif //OPENGL_BROWSER_GUI_H
|
||||
Reference in New Issue
Block a user