{
namespace
{
-const std::string DEFAULT_DEVICE_NAME = "";
+const char* DEFAULT_DEVICE_NAME = "";
const Device::Class::Type DEFAULT_DEVICE_CLASS = Device::Class::NONE;
const Device::Subclass::Type DEFAULT_DEVICE_SUBCLASS = Device::Subclass::NONE;
if(mOwnSurface)
{
XDestroyWindow(WindowSystem::GetImplementation().GetXDisplay(), mWindow);
-
- /**** @todo Should not be destroyed here! ****/
- WindowSystem::Shutdown();
}
}
// if the surface is empty, create a new one.
if(surfaceId == 0)
{
- /**** @todo Should be created from somewhere else! ****/
- WindowSystem::Initialize();
-
// we own the surface about to created
mOwnSurface = true;
CreateWindow(positionSize, isTransparent);
WindowSystem::GetImplementation().MoveResize(mWindow, positionSize.x, positionSize.y, positionSize.width, positionSize.height);
}
+void WindowBaseX::SetLayout(unsigned int numCols, unsigned int numRows, unsigned int column, unsigned int row, unsigned int colSpan, unsigned int rowSpan)
+{
+}
+
void WindowBaseX::SetClass(const std::string& name, const std::string& className)
{
WindowSystem::GetImplementation().SetClass(mWindow, name, className);
{
}
+bool WindowBaseX::PointerConstraintsLock()
+{
+ return false;
+}
+
+bool WindowBaseX::PointerConstraintsUnlock()
+{
+ return false;
+}
+
+void WindowBaseX::LockedPointerRegionSet(int32_t x, int32_t y, int32_t width, int32_t height)
+{
+}
+
+void WindowBaseX::LockedPointerCursorPositionHintSet(int32_t x, int32_t y)
+{
+}
+
+bool WindowBaseX::PointerWarp(int32_t x, int32_t y)
+{
+ return false;
+}
+
+void WindowBaseX::CursorVisibleSet(bool visible)
+{
+}
+
+bool WindowBaseX::KeyboardGrab(Device::Subclass::Type deviceSubclass)
+{
+ return false;
+}
+
+bool WindowBaseX::KeyboardUnGrab()
+{
+ return false;
+}
+
+void WindowBaseX::SetFullScreen(bool fullscreen)
+{
+ return;
+}
+
+bool WindowBaseX::GetFullScreen()
+{
+ return false;
+}
+
+void WindowBaseX::SetFrontBufferRendering(bool enable)
+{
+}
+
+bool WindowBaseX::GetFrontBufferRendering()
+{
+ return false;
+}
+
+void WindowBaseX::SetEglWindowFrontBufferMode(bool enable)
+{
+}
+
} // namespace Adaptor
} // namespace Internal