27 lines
397 B
C++
27 lines
397 B
C++
#ifndef __FISHBONE_WINDOW_H__
|
|
#define __FISHBONE_WINDOW_H__
|
|
|
|
namespace fishbone {
|
|
class Window;
|
|
}; // namespace fishbone
|
|
|
|
#include <fishbone/pre.h>
|
|
|
|
namespace fishbone {
|
|
class Window {
|
|
struct Impl;
|
|
Impl* impl;
|
|
|
|
public:
|
|
Window(std::string title, int width, int height);
|
|
~Window();
|
|
|
|
void poll();
|
|
void swapBuffer();
|
|
|
|
int width;
|
|
int height;
|
|
};
|
|
}; // namespace fishbone
|
|
|
|
#endif
|