--- /dev/null
+using System.Reflection;\r
+using System.Runtime.CompilerServices;\r
+using System.Runtime.InteropServices;\r
+\r
+// General Information about an assembly is controlled through the following\r
+// set of attributes. Change these attribute values to modify the information\r
+// associated with an assembly.\r
+[assembly: AssemblyTitle("Tizen.NUI")]\r
+[assembly: AssemblyDescription("nui dll")]\r
+[assembly: AssemblyConfiguration("")]\r
+[assembly: AssemblyCompany("sec")]\r
+[assembly: AssemblyProduct("DALi/NUI")]\r
+[assembly: AssemblyCopyright("sec")]\r
+[assembly: AssemblyTrademark("sec")]\r
+[assembly: AssemblyCulture("")]\r
+\r
+// Setting ComVisible to false makes the types in this assembly not visible\r
+// to COM components. If you need to access a type in this assembly from\r
+// COM, set the ComVisible attribute to true on that type.\r
+[assembly: ComVisible(false)]\r
+\r
+// The following GUID is for the ID of the typelib if this project is exposed to COM\r
+[assembly: Guid("f03a3b48-9d9b-4bf3-92ce-bd63cadc3cd3")]\r
+\r
+// Version information for an assembly consists of the following four values:\r
+//\r
+// Major Version\r
+// Minor Version\r
+// Build Number\r
+// Revision\r
+//\r
+// You can specify all the values or you can default the Build and Revision Numbers\r
+// by using the '*' as shown below:\r
+// [assembly: AssemblyVersion("1.0.*")]\r
+[assembly: AssemblyVersion("0.2.39.0519")]\r
+[assembly: AssemblyFileVersion("0.2.39.0519")]\r
--- /dev/null
+\r
+Microsoft Visual Studio Solution File, Format Version 12.00\r
+# Visual Studio 14\r
+VisualStudioVersion = 14.0.25420.1\r
+MinimumVisualStudioVersion = 10.0.40219.1\r
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tizen.NUI", "Tizen.NUI.csproj", "{F03A3B48-9D9B-4BF3-92CE-BD63CADC3CD3}"\r
+EndProject\r
+Global\r
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution\r
+ Debug|Any CPU = Debug|Any CPU\r
+ Release|Any CPU = Release|Any CPU\r
+ EndGlobalSection\r
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution\r
+ {F03A3B48-9D9B-4BF3-92CE-BD63CADC3CD3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU\r
+ {F03A3B48-9D9B-4BF3-92CE-BD63CADC3CD3}.Debug|Any CPU.Build.0 = Debug|Any CPU\r
+ {F03A3B48-9D9B-4BF3-92CE-BD63CADC3CD3}.Release|Any CPU.ActiveCfg = Release|Any CPU\r
+ {F03A3B48-9D9B-4BF3-92CE-BD63CADC3CD3}.Release|Any CPU.Build.0 = Release|Any CPU\r
+ EndGlobalSection\r
+ GlobalSection(SolutionProperties) = preSolution\r
+ HideSolutionNode = FALSE\r
+ EndGlobalSection\r
+EndGlobal\r
}
+
+ //temporary fix for TCT
+ public class VisualAnimator : VisualMap
+ {
+ public VisualAnimator() : base()
+ {
+ }
+
+ private string _alphaFunction = null;
+ private int _startTime = 0;
+ private int _endTime = 0;
+ private string _target = null;
+ private string _propertyIndex = null;
+ private object _destinationValue = null;
+
+ public AlphaFunction.BuiltinFunctions AlphaFunction
+ {
+ get
+ {
+ switch (_alphaFunction)
+ {
+ case "LINEAR":
+ return Tizen.NUI.AlphaFunction.BuiltinFunctions.Linear;
+ case "REVERSE":
+ return Tizen.NUI.AlphaFunction.BuiltinFunctions.Reverse;
+ case "EASE_IN_SQUARE":
+ return Tizen.NUI.AlphaFunction.BuiltinFunctions.EaseInSquare;
+ case "EASE_OUT_SQUARE":
+ return Tizen.NUI.AlphaFunction.BuiltinFunctions.EaseOutSquare;
+ case "EASE_IN":
+ return Tizen.NUI.AlphaFunction.BuiltinFunctions.EaseIn;
+ case "EASE_OUT":
+ return Tizen.NUI.AlphaFunction.BuiltinFunctions.EaseOut;
+ case "EASE_IN_OUT":
+ return Tizen.NUI.AlphaFunction.BuiltinFunctions.EaseInOut;
+ case "EASE_IN_SINE":
+ return Tizen.NUI.AlphaFunction.BuiltinFunctions.EaseInSine;
+ case "EASE_OUT_SINE":
+ return Tizen.NUI.AlphaFunction.BuiltinFunctions.EaseOutSine;
+ case "EASE_IN_OUT_SINE":
+ return Tizen.NUI.AlphaFunction.BuiltinFunctions.EaseInOutSine;
+ case "BOUNCE":
+ return Tizen.NUI.AlphaFunction.BuiltinFunctions.Bounce;
+ case "SIN":
+ return Tizen.NUI.AlphaFunction.BuiltinFunctions.Sin;
+ case "EASE_OUT_BACK":
+ return Tizen.NUI.AlphaFunction.BuiltinFunctions.EaseOutBack;
+ default:
+ return Tizen.NUI.AlphaFunction.BuiltinFunctions.Default;
+ }
+ }
+ set
+ {
+ switch (value)
+ {
+ case Tizen.NUI.AlphaFunction.BuiltinFunctions.Linear:
+ {
+ _alphaFunction = "LINEAR";
+ break;
+ }
+ case Tizen.NUI.AlphaFunction.BuiltinFunctions.Reverse:
+ {
+ _alphaFunction = "REVERSE";
+ break;
+ }
+ case Tizen.NUI.AlphaFunction.BuiltinFunctions.EaseInSquare:
+ {
+ _alphaFunction = "EASE_IN_SQUARE";
+ break;
+ }
+ case Tizen.NUI.AlphaFunction.BuiltinFunctions.EaseOutSquare:
+ {
+ _alphaFunction = "EASE_OUT_SQUARE";
+ break;
+ }
+ case Tizen.NUI.AlphaFunction.BuiltinFunctions.EaseIn:
+ {
+ _alphaFunction = "EASE_IN";
+ break;
+ }
+ case Tizen.NUI.AlphaFunction.BuiltinFunctions.EaseOut:
+ {
+ _alphaFunction = "EASE_OUT";
+ break;
+ }
+ case Tizen.NUI.AlphaFunction.BuiltinFunctions.EaseInOut:
+ {
+ _alphaFunction = "EASE_IN_OUT";
+ break;
+ }
+ case Tizen.NUI.AlphaFunction.BuiltinFunctions.EaseInSine:
+ {
+ _alphaFunction = "EASE_IN_SINE";
+ break;
+ }
+ case Tizen.NUI.AlphaFunction.BuiltinFunctions.EaseOutSine:
+ {
+ _alphaFunction = "EASE_OUT_SINE";
+ break;
+ }
+ case Tizen.NUI.AlphaFunction.BuiltinFunctions.EaseInOutSine:
+ {
+ _alphaFunction = "EASE_IN_OUT_SINE";
+ break;
+ }
+ case Tizen.NUI.AlphaFunction.BuiltinFunctions.Bounce:
+ {
+ _alphaFunction = "BOUNCE";
+ break;
+ }
+ case Tizen.NUI.AlphaFunction.BuiltinFunctions.Sin:
+ {
+ _alphaFunction = "SIN";
+ break;
+ }
+ case Tizen.NUI.AlphaFunction.BuiltinFunctions.EaseOutBack:
+ {
+ _alphaFunction = "EASE_OUT_BACK";
+ break;
+ }
+ default:
+ {
+ _alphaFunction = "DEFAULT";
+ break;
+ }
+ }
+ }
+ }
+
+ public int StartTime
+ {
+ get
+ {
+ return _startTime;
+ }
+ set
+ {
+ _startTime = value;
+ }
+ }
+
+ public int EndTime
+ {
+ get
+ {
+ return _endTime;
+ }
+ set
+ {
+ _endTime = value;
+ }
+ }
+
+ public string Target
+ {
+ get
+ {
+ return _target;
+ }
+ set
+ {
+ _target = value;
+ }
+ }
+
+ public string PropertyIndex
+ {
+ get
+ {
+ return _propertyIndex;
+ }
+ set
+ {
+ _propertyIndex = value;
+ }
+ }
+
+ public object DestinationValue
+ {
+ get
+ {
+ return _destinationValue;
+ }
+ set
+ {
+ _destinationValue = value;
+ }
+ }
+
+ protected override void ComposingPropertyMap()
+ {
+ PropertyMap _animator = new PropertyMap();
+ _animator.Add("alphaFunction", new PropertyValue(_alphaFunction));
+
+ PropertyMap _timePeriod = new PropertyMap();
+ _timePeriod.Add("duration", new PropertyValue((_endTime - _startTime) / 1000.0f));
+ _timePeriod.Add("delay", new PropertyValue(_startTime / 1000.0f));
+ _animator.Add("timePeriod", new PropertyValue(_timePeriod));
+
+ string _str1 = _propertyIndex.Substring(0, 1);
+ string _str2 = _propertyIndex.Substring(1);
+ string _str = _str1.ToLower() + _str2;
+
+ PropertyValue val = PropertyValue.CreateFromObject(_destinationValue);
+
+ PropertyMap _transition = new PropertyMap();
+ _transition.Add("target", new PropertyValue(_target));
+ _transition.Add("property", new PropertyValue(_str));
+ _transition.Add("targetValue", val);
+ _transition.Add("animator", new PropertyValue(_animator));
+
+ _outputVisualMap = _transition;
+ }
+ }
+ //temporary fix for TCT
+
+
+
}