{
Window* window = new Window();
window->mIsTransparent = windowData.GetTransparency();
+ window->mIsFrontBufferRendering = windowData.GetFrontBufferRendering();
window->Initialize(surface, windowData.GetPositionSize(), name, className, windowData.GetWindowType());
return window;
}
mFocused(false),
mIsWindowRotating(false),
mIsEnabledUserGeometry(false),
- mIsEmittedWindowCreatedEvent(false)
+ mIsEmittedWindowCreatedEvent(false),
+ mIsFrontBufferRendering(false)
{
}
// For Debugging
mNativeWindowId = mWindowBase->GetNativeWindowId();
+
+ if(mIsFrontBufferRendering)
+ {
+ SetFrontBufferRendering(mIsFrontBufferRendering);
+ }
}
void Window::SetRenderNotification(TriggerEventInterface* renderNotification)
mEventHandler = EventHandlerPtr(new EventHandler(mWindowSurface->GetWindowBase(), *mAdaptor));
mEventHandler->AddObserver(*this);
+ if(mWindowBase->GetType() == WindowType::IME)
+ {
+ mWindowBase->InitializeIme();
+ mWindowSurface->InitializeImeSurface();
+ }
+
// Add Window to bridge for ATSPI
auto bridge = Accessibility::Bridge::GetCurrentBridge();
return mWindowBase->KeyboardUnGrab();
}
+void Window::SetFullScreen(bool fullscreen)
+{
+ mWindowBase->SetFullScreen(fullscreen);
+}
+
+bool Window::GetFullScreen()
+{
+ return mWindowBase->GetFullScreen();
+}
+
+void Window::SetFrontBufferRendering(bool enable)
+{
+ mWindowBase->SetFrontBufferRendering(enable);
+ mWindowSurface->SetFrontBufferRendering(enable);
+}
+
+bool Window::GetFrontBufferRendering()
+{
+ return mWindowBase->GetFrontBufferRendering();
+}
+
} // namespace Adaptor
} // namespace Internal