-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
16dffb8
commit 742dccb
Showing
61 changed files
with
3,988 additions
and
394 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
//------------------------------------------------------------------------------ | ||
// <auto-generated /> | ||
// | ||
// This file was automatically generated by SWIG (http://www.swig.org). | ||
// Version 3.0.10 | ||
// | ||
// Do not make changes to this file unless you know what you are doing--modify | ||
// the SWIG interface file instead. | ||
//------------------------------------------------------------------------------ | ||
|
||
|
||
using System; | ||
using System.Runtime.InteropServices; | ||
|
||
namespace Noesis | ||
{ | ||
|
||
public abstract class BooleanAnimationBase : AnimationTimeline { | ||
internal BooleanAnimationBase(IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn) { | ||
} | ||
|
||
internal static HandleRef getCPtr(BooleanAnimationBase obj) { | ||
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; | ||
} | ||
|
||
protected BooleanAnimationBase() { | ||
} | ||
|
||
public sealed override Type TargetPropertyType { | ||
get { | ||
return typeof(bool); | ||
} | ||
} | ||
|
||
public sealed override object GetCurrentValue(object defaultOriginValue, object defaultDestinationValue, AnimationClock animationClock) { | ||
if (defaultOriginValue == null) { | ||
throw new ArgumentNullException("defaultOriginValue"); | ||
} | ||
if (defaultDestinationValue == null) { | ||
throw new ArgumentNullException("defaultDestinationValue"); | ||
} | ||
return GetCurrentValue((bool)defaultOriginValue, (bool)defaultDestinationValue, animationClock); | ||
} | ||
|
||
/// <summary>Gets the current value of the animation.</summary> | ||
public bool GetCurrentValue(bool defaultOriginValue, bool defaultDestinationValue, AnimationClock animationClock) { | ||
if (animationClock == null) { | ||
throw new ArgumentNullException("animationClock"); | ||
} | ||
if (animationClock.CurrentState == ClockState.Stopped) { | ||
return defaultDestinationValue; | ||
} | ||
return GetCurrentValueCore(defaultOriginValue, defaultDestinationValue, animationClock); | ||
} | ||
|
||
/// <summary>Calculates a value that represents the current value of the property being animated, as determined by the host animation. </summary> | ||
protected internal abstract bool GetCurrentValueCore(bool defaultOriginValue, bool defaultDestinationValue, AnimationClock animationClock); | ||
|
||
internal new static IntPtr Extend(string typeName) { | ||
return NoesisGUI_PINVOKE.Extend_BooleanAnimationBase(Marshal.StringToHGlobalAnsi(typeName)); | ||
} | ||
} | ||
|
||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.