X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2FElmSharp%2FElmSharp%2FLayout.cs;h=ad087aacc397888bbccc7a3dbd6dd862778d94cb;hb=58283d6a09a7f531af61ae7b27b574603ef244df;hp=4d38b6d1bed49147959dec4adf249159af3f33a0;hpb=16b1ed4adbaec9db2ac306d17aacfb4489057da2;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git
diff --git a/src/ElmSharp/ElmSharp/Layout.cs b/src/ElmSharp/ElmSharp/Layout.cs
old mode 100755
new mode 100644
index 4d38b6d..ad087aa
--- a/src/ElmSharp/ElmSharp/Layout.cs
+++ b/src/ElmSharp/ElmSharp/Layout.cs
@@ -23,6 +23,7 @@ namespace ElmSharp
/// Inherits Widget.
///
/// preview
+ [Obsolete("This has been deprecated in API12")]
public class Layout : Container
{
SmartEvent _languageChanged;
@@ -35,6 +36,7 @@ namespace ElmSharp
///
/// The parent is a given container, which will be attached by the layout as a child. It's type.
/// preview
+ [Obsolete("This has been deprecated in API12")]
public Layout(EvasObject parent) : base(parent)
{
}
@@ -43,6 +45,7 @@ namespace ElmSharp
/// Creates and initializes a new instance of the Layout class.
///
/// preview
+ [Obsolete("This has been deprecated in API12")]
protected Layout() : base()
{
}
@@ -51,18 +54,21 @@ namespace ElmSharp
/// LanguageChanged will be triggered when the program's language is changed.
///
/// preview
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler LanguageChanged;
///
/// ThemeChanged will be triggered when the theme is changed.
///
/// preview
+ [Obsolete("This has been deprecated in API12")]
public event EventHandler ThemeChanged;
///
/// Gets the edje layout.
///
/// preview
+ [Obsolete("This has been deprecated in API12")]
public EdjeObject EdjeObject
{
get
@@ -77,6 +83,7 @@ namespace ElmSharp
/// Gets or sets the accessibility state of texblock (text) parts in a layout object.
///
/// preview
+ [Obsolete("This has been deprecated in API12")]
public bool TextBlockAccessibility
{
get
@@ -96,6 +103,7 @@ namespace ElmSharp
///
/// The frozen state, or 0 if the object is not frozen or on error.
/// preview
+ [Obsolete("This has been deprecated in API12")]
public int Freeze()
{
return Interop.Elementary.elm_layout_freeze(RealHandle);
@@ -107,6 +115,7 @@ namespace ElmSharp
///
/// The frozen state, or 0 if the object is not frozen or on error.
/// preview
+ [Obsolete("This has been deprecated in API12")]
public int Thaw()
{
return Interop.Elementary.elm_layout_thaw(RealHandle);
@@ -121,6 +130,7 @@ namespace ElmSharp
/// All of this can change due to state changes, and that's when this function should be called.
///
/// preview
+ [Obsolete("This has been deprecated in API12")]
public void Resizing()
{
Interop.Elementary.elm_layout_sizing_eval(RealHandle);
@@ -133,6 +143,7 @@ namespace ElmSharp
/// Restrict minimum size of the current width.
/// Restrict minimum size of the current height.
/// preview
+ [Obsolete("This has been deprecated in API12")]
public void Resizing(bool width, bool height)
{
Interop.Elementary.elm_layout_sizing_restricted_eval(RealHandle, width, height);
@@ -146,6 +157,7 @@ namespace ElmSharp
/// The data key.
/// The data.
/// preview
+ [Obsolete("This has been deprecated in API12")]
public string GetEdjeData(string key)
{
return Interop.Elementary.elm_layout_data_get(RealHandle, key);
@@ -157,6 +169,7 @@ namespace ElmSharp
/// The text part to retrieve the text off.
///
/// preview
+ [Obsolete("This has been deprecated in API12")]
public override string GetPartText(string part)
{
return Interop.Elementary.elm_layout_text_get(RealHandle, part);
@@ -169,6 +182,7 @@ namespace ElmSharp
/// The text to set.
///
/// preview
+ [Obsolete("This has been deprecated in API12")]
public override bool SetPartText(string part, string text)
{
return Interop.Elementary.elm_layout_text_set(RealHandle, part, text);
@@ -186,6 +200,7 @@ namespace ElmSharp
/// The object to append.
/// Success is true.
/// preview
+ [Obsolete("This has been deprecated in API12")]
public bool BoxAppend(string part, EvasObject child)
{
AddChild(child);
@@ -204,6 +219,7 @@ namespace ElmSharp
/// The object to prepend.
/// Success is true.
/// preview
+ [Obsolete("This has been deprecated in API12")]
public bool BoxPrepend(string part, EvasObject child)
{
AddChild(child);
@@ -221,6 +237,7 @@ namespace ElmSharp
/// The object to remove.
/// Success if true
/// preview
+ [Obsolete("This has been deprecated in API12")]
public bool BoxRemove(string part, EvasObject child)
{
RemoveChild(child);
@@ -238,6 +255,7 @@ namespace ElmSharp
/// If true, then all the objects will be deleted as well, otherwise they will just be removed and will be dangling on the canvas.
/// Success if true.
/// preview
+ [Obsolete("This has been deprecated in API12")]
public bool BoxRemoveAll(string part, bool clear)
{
ClearChildren();
@@ -257,6 +275,7 @@ namespace ElmSharp
/// The numeric position >=0 to insert the child.
/// Success if true.
/// preview
+ [Obsolete("This has been deprecated in API12")]
public bool BoxInsertAt(string part, EvasObject child, uint position)
{
AddChild(child);
@@ -276,6 +295,7 @@ namespace ElmSharp
/// Another reference object to insert before the box.
/// Success is true.
/// preview
+ [Obsolete("This has been deprecated in API12")]
public bool BoxInsertBefore(string part, EvasObject child, EvasObject reference)
{
AddChild(child);
@@ -289,6 +309,7 @@ namespace ElmSharp
/// The child that will be added in this layout object.
/// TRUE on success, FALSE otherwise.
/// preview
+ [Obsolete("This has been deprecated in API12")]
public override bool SetPartContent(string part, EvasObject content)
{
return SetPartContent(part, content, false);
@@ -302,6 +323,7 @@ namespace ElmSharp
/// true, preserve old content will be unset. false, preserve old content will not be unset.
/// TRUE on success, FALSE otherwise.
/// preview
+ [Obsolete("This has been deprecated in API12")]
public override bool SetPartContent(string part, EvasObject content, bool preserveOldContent)
{
if (preserveOldContent)
@@ -319,6 +341,7 @@ namespace ElmSharp
/// The group.
/// The style to use.
/// preview
+ [Obsolete("This has been deprecated in API12")]
public void SetTheme(string klass, string group, string style)
{
Interop.Elementary.elm_layout_theme_set(RealHandle, klass, group, style);
@@ -330,6 +353,7 @@ namespace ElmSharp
/// The path to the file (edje) that is used as a layout.
/// The group that the layout belongs to in the edje file.
/// preview
+ [Obsolete("This has been deprecated in API12")]
public void SetFile(string file, string group)
{
Interop.Elementary.elm_layout_file_set(RealHandle, file, group);
@@ -339,6 +363,7 @@ namespace ElmSharp
/// Sets the background color of a layout.
///
/// preview
+ [Obsolete("This has been deprecated in API12")]
public override Color BackgroundColor
{
set
@@ -362,6 +387,7 @@ namespace ElmSharp
/// API, elm_layout_text_valign_set, is an internal API only in Tizen. Available since Tizen_4.0.
///
/// preview
+ [Obsolete("This has been deprecated in API12")]
public virtual void SetVerticalTextAlignment(string part, double valign)
{
Interop.Elementary.elm_layout_text_valign_set(RealHandle, part, valign);
@@ -374,6 +400,7 @@ namespace ElmSharp
/// API, elm_layout_text_valign_get, is an internal API only in Tizen. Available since Tizen_4.0.
///
/// preview
+ [Obsolete("This has been deprecated in API12")]
public virtual double GetVerticalTextAlignment(string part)
{
return Interop.Elementary.elm_layout_text_valign_get(RealHandle, part);
@@ -383,6 +410,7 @@ namespace ElmSharp
/// The callback of the Realized Event.
///
/// preview
+ [Obsolete("This has been deprecated in API12")]
protected override void OnRealized()
{
base.OnRealized();
@@ -405,6 +433,7 @@ namespace ElmSharp
/// The parent is a given container which will be attached by the layout as a child. It's type.
/// The new object, otherwise null if it cannot be created.
/// preview
+ [Obsolete("This has been deprecated in API12")]
protected override IntPtr CreateHandle(EvasObject parent)
{
return Interop.Elementary.elm_layout_add(parent.Handle);