2024-03-18 15:41:46 -03:00
|
|
|
#ifndef XNA_GAME_WINDOW_HPP
|
|
|
|
#define XNA_GAME_WINDOW_HPP
|
|
|
|
|
2024-05-24 12:31:24 -03:00
|
|
|
#include "../default.hpp"
|
2024-05-18 16:22:00 -03:00
|
|
|
#include "../common/numerics.hpp"
|
2024-03-18 15:41:46 -03:00
|
|
|
|
|
|
|
namespace xna {
|
2024-05-24 12:31:24 -03:00
|
|
|
class GameWindow {
|
2024-03-18 15:41:46 -03:00
|
|
|
public:
|
2024-05-24 12:31:24 -03:00
|
|
|
GameWindow();
|
|
|
|
~GameWindow();
|
|
|
|
String Title() const;
|
|
|
|
void Title(String const& title);
|
|
|
|
Rectangle ClientBounds() const;
|
|
|
|
intptr_t Handle() const;
|
2024-03-18 15:41:46 -03:00
|
|
|
|
2024-05-24 12:31:24 -03:00
|
|
|
public:
|
|
|
|
struct PlatformImplementation;
|
|
|
|
uptr<PlatformImplementation> impl = nullptr;
|
2024-03-18 15:41:46 -03:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|