{
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);