1
0
mirror of https://github.com/borgesdan/xn65 synced 2024-12-29 21:54:47 +01:00
xn65/framework/game/window.hpp

30 lines
562 B
C++
Raw Normal View History

2024-03-18 15:41:46 -03:00
#ifndef XNA_GAME_WINDOW_HPP
#define XNA_GAME_WINDOW_HPP
#include "../enums.hpp"
#include "../common/rectangle.hpp"
namespace xna {
class GameWindow {
public:
PLATFORM_DEVELOPMENT
GameWindow();
PLATFORM_DEVELOPMENT
String Title() const;
PLATFORM_DEVELOPMENT
void Title(String const& title);
PLATFORM_DEVELOPMENT
Rectangle ClientBounds() const;
PLATFORM_DEVELOPMENT
intptr_t Handle() const;
private:
class InternalProperty;
friend class InternalProperty;
public:
sptr<InternalProperty> ip_GameWindow{ nullptr };
};
}
#endif