projects
/
platform
/
core
/
uifw
/
dali-adaptor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Revert "[Tizen] Revert "Support screen rotation""
[platform/core/uifw/dali-adaptor.git]
/
adaptors
/
common
/
adaptor.cpp
diff --git
a/adaptors/common/adaptor.cpp
b/adaptors/common/adaptor.cpp
index
55bea40
..
847f42e
100644
(file)
--- a/
adaptors/common/adaptor.cpp
+++ b/
adaptors/common/adaptor.cpp
@@
-1,5
+1,5
@@
/*
/*
- * Copyright (c) 201
4
Samsung Electronics Co., Ltd.
+ * Copyright (c) 201
7
Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@
-22,7
+22,7
@@
#include <dali/integration-api/debug.h>
// INTERNAL INCLUDES
#include <dali/integration-api/debug.h>
// INTERNAL INCLUDES
-#include <accessibility-
manage
r.h>
+#include <accessibility-
adapto
r.h>
#include <imf-manager.h>
#include <style-monitor.h>
#include <render-surface.h>
#include <imf-manager.h>
#include <style-monitor.h>
#include <render-surface.h>
@@
-84,6
+84,11
@@
bool Adaptor::AddIdle( CallbackBase* callback )
return mImpl->AddIdle( callback );
}
return mImpl->AddIdle( callback );
}
+void Adaptor::RemoveIdle( CallbackBase* callback )
+{
+ mImpl->RemoveIdle( callback );
+}
+
void Adaptor::ReplaceSurface( Any nativeWindow, Dali::RenderSurface& surface )
{
mImpl->ReplaceSurface(nativeWindow, surface);
void Adaptor::ReplaceSurface( Any nativeWindow, Dali::RenderSurface& surface )
{
mImpl->ReplaceSurface(nativeWindow, surface);
@@
-104,6
+109,11
@@
RenderSurface& Adaptor::GetSurface()
return mImpl->GetSurface();
}
return mImpl->GetSurface();
}
+Any Adaptor::GetNativeWindowHandle()
+{
+ return mImpl->GetNativeWindowHandle();
+}
+
void Adaptor::ReleaseSurfaceLock()
{
mImpl->ReleaseSurfaceLock();
void Adaptor::ReleaseSurfaceLock()
{
mImpl->ReleaseSurfaceLock();
@@
-159,6
+169,21
@@
void Adaptor::FeedKeyEvent( KeyEvent& keyEvent )
mImpl->FeedKeyEvent(keyEvent);
}
mImpl->FeedKeyEvent(keyEvent);
}
+void Adaptor::SceneCreated()
+{
+ mImpl->SceneCreated();
+}
+
+void Adaptor::SetViewMode( ViewMode mode )
+{
+ mImpl->SetViewMode( mode );
+}
+
+void Adaptor::SetStereoBase( float stereoBase )
+{
+ mImpl->SetStereoBase( stereoBase );
+}
+
Adaptor::Adaptor()
: mImpl( NULL )
{
Adaptor::Adaptor()
: mImpl( NULL )
{