mirror of https://github.com/AxioDL/boo.git
95 lines
1.3 KiB
C++
95 lines
1.3 KiB
C++
#include "boo/IWindow.hpp"
|
|
#include "boo/IGraphicsContext.hpp"
|
|
|
|
namespace boo
|
|
{
|
|
|
|
IGraphicsContext* _CGraphicsContextWaylandNew(IGraphicsContext::EGraphicsAPI api,
|
|
IWindow* parentWindow);
|
|
|
|
struct WindowWayland : IWindow
|
|
{
|
|
WindowWayland(const std::string& title)
|
|
{
|
|
|
|
}
|
|
|
|
~WindowWayland()
|
|
{
|
|
|
|
}
|
|
|
|
void setCallback(IWindowCallback* cb)
|
|
{
|
|
|
|
}
|
|
|
|
void showWindow()
|
|
{
|
|
|
|
}
|
|
|
|
void hideWindow()
|
|
{
|
|
|
|
}
|
|
|
|
std::string getTitle()
|
|
{
|
|
|
|
}
|
|
|
|
void setTitle(const std::string& title)
|
|
{
|
|
|
|
}
|
|
|
|
void setWindowFrameDefault()
|
|
{
|
|
|
|
}
|
|
|
|
void getWindowFrame(float& xOut, float& yOut, float& wOut, float& hOut) const
|
|
{
|
|
|
|
}
|
|
|
|
void setWindowFrame(float x, float y, float w, float h)
|
|
{
|
|
|
|
}
|
|
|
|
float getVirtualPixelFactor() const
|
|
{
|
|
|
|
}
|
|
|
|
bool isFullscreen() const
|
|
{
|
|
|
|
}
|
|
|
|
void setFullscreen(bool fs)
|
|
{
|
|
|
|
}
|
|
|
|
uintptr_t getPlatformHandle() const
|
|
{
|
|
|
|
}
|
|
|
|
ETouchType getTouchType() const
|
|
{
|
|
|
|
}
|
|
|
|
};
|
|
|
|
IWindow* _CWindowWaylandNew(const std::string& title)
|
|
{
|
|
return new WindowWayland(title);
|
|
}
|
|
|
|
}
|