Créé branche
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
#include <string>
|
||||
#include <SFML/Window.hpp>
|
||||
#include "define.h"
|
||||
#include "texture.h"
|
||||
|
||||
// Documentation de SFML: http://www.sfml-dev.org/documentation/index-fr.php
|
||||
class OpenglContext
|
||||
@@ -30,7 +31,7 @@ public:
|
||||
virtual void MouseMoveEvent(int x, int y) = 0;
|
||||
virtual void MousePressEvent(const MOUSE_BUTTON &button, int x, int y) = 0;
|
||||
virtual void MouseReleaseEvent(const MOUSE_BUTTON &button, int x, int y) = 0;
|
||||
|
||||
virtual void RenderSplashScreen();
|
||||
|
||||
bool Start(const std::string& title, int width, int height, bool fullscreen);
|
||||
bool Stop();
|
||||
@@ -62,6 +63,7 @@ private:
|
||||
bool m_fullscreen;
|
||||
std::string m_title;
|
||||
float m_lastFrameTime;
|
||||
Texture m_textureSplash;
|
||||
};
|
||||
|
||||
#endif // OPENGLCONTEXT_H__
|
||||
|
Reference in New Issue
Block a user