2026-05-29 01:10:45 +09:00
|
|
|
#ifndef __FISHBONE_WINDOW_H__
|
|
|
|
|
#define __FISHBONE_WINDOW_H__
|
|
|
|
|
|
|
|
|
|
namespace fishbone {
|
|
|
|
|
class Window;
|
|
|
|
|
}; // namespace fishbone
|
|
|
|
|
|
2026-06-01 13:50:35 +09:00
|
|
|
#include <fishbone/pre.h>
|
2026-05-29 01:10:45 +09:00
|
|
|
|
|
|
|
|
namespace fishbone {
|
|
|
|
|
class Window {
|
|
|
|
|
struct Impl;
|
|
|
|
|
Impl* impl;
|
|
|
|
|
|
2026-05-29 14:23:50 +09:00
|
|
|
public:
|
2026-05-29 01:10:45 +09:00
|
|
|
Window(std::string title, int width, int height);
|
|
|
|
|
~Window();
|
2026-06-01 13:50:35 +09:00
|
|
|
|
|
|
|
|
void poll();
|
2026-05-29 01:10:45 +09:00
|
|
|
};
|
2026-05-29 14:23:50 +09:00
|
|
|
}; // namespace fishbone
|
2026-05-29 01:10:45 +09:00
|
|
|
|
|
|
|
|
#endif
|