Update with the change of Orientation in adaptor
[platform/core/uifw/dali-toolkit.git] / dali-toolkit / public-api / controls / control.cpp
index a66f2ae..5bbc4e7 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2014 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2015 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.
@@ -104,6 +104,16 @@ LongPressGestureDetector Control::GetLongPressGestureDetector() const
   return GetImplementation().GetLongPressGestureDetector();
 }
 
+void Control::SetStyleName( const std::string& styleName )
+{
+  GetImplementation().SetStyleName( styleName );
+}
+
+const std::string& Control::GetStyleName() const
+{
+  return GetImplementation().GetStyleName();
+}
+
 void Control::SetBackgroundColor( const Vector4& color )
 {
   GetImplementation().SetBackgroundColor( color );
@@ -134,6 +144,16 @@ Control::KeyEventSignalType& Control::KeyEventSignal()
   return GetImplementation().KeyEventSignal();
 }
 
+Control::KeyInputFocusSignalType& Control::KeyInputFocusGainedSignal()
+{
+  return GetImplementation().KeyInputFocusGainedSignal();
+}
+
+Control::KeyInputFocusSignalType& Control::KeyInputFocusLostSignal()
+{
+  return GetImplementation().KeyInputFocusLostSignal();
+}
+
 Control::Control(Internal::Control& implementation)
 : CustomActor(implementation)
 {