mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-21 13:14:46 +00:00
30 lines
716 B
C
30 lines
716 B
C
|
|
#ifndef OPENGL_BROWSER_GUI_H
|
||
|
|
#define OPENGL_BROWSER_GUI_H
|
||
|
|
|
||
|
|
#include "ExampleBrowserInterface.h"
|
||
|
|
|
||
|
|
class OpenGLExampleBrowser : public ExampleBrowserInterface
|
||
|
|
{
|
||
|
|
|
||
|
|
struct OpenGLExampleBrowserInternalData* m_internalData;
|
||
|
|
|
||
|
|
public:
|
||
|
|
|
||
|
|
OpenGLExampleBrowser(class ExampleEntries* examples);
|
||
|
|
virtual ~OpenGLExampleBrowser();
|
||
|
|
|
||
|
|
virtual CommonExampleInterface* getCurrentExample();
|
||
|
|
|
||
|
|
virtual bool init(int argc, char* argv[]);
|
||
|
|
|
||
|
|
virtual void update(float deltaTime);
|
||
|
|
|
||
|
|
virtual bool requestedExit();
|
||
|
|
|
||
|
|
virtual void setSharedMemoryInterface(class SharedMemoryInterface* sharedMem);
|
||
|
|
|
||
|
|
static void registerFileImporter(const char* extension, CommonExampleInterface::CreateFunc* createFunc);
|
||
|
|
};
|
||
|
|
|
||
|
|
#endif //OPENGL_BROWSER_GUI_H
|