Author: toshok Date: 2007-06-25 18:25:12 -0400 (Mon, 25 Jun 2007) New Revision: 80735
Added: trunk/olive/class/PresentationFramework/System.Windows.Controls.Primitive/ trunk/olive/class/PresentationFramework/System.Windows.Controls.Primitive/ButtonBase.cs trunk/olive/class/PresentationFramework/System.Windows.Controls/ trunk/olive/class/PresentationFramework/System.Windows.Controls/Button.cs trunk/olive/class/PresentationFramework/System.Windows.Controls/ContentControl.cs trunk/olive/class/PresentationFramework/System.Windows.Controls/Control.cs trunk/olive/class/PresentationFramework/System.Windows.Media.Animation/ trunk/olive/class/PresentationFramework/System.Windows.Media.Animation/Storyboard.cs Log: add tons of useless stubbery Added: trunk/olive/class/PresentationFramework/System.Windows.Controls/Button.cs =================================================================== --- trunk/olive/class/PresentationFramework/System.Windows.Controls/Button.cs 2007-06-25 22:23:05 UTC (rev 80734) +++ trunk/olive/class/PresentationFramework/System.Windows.Controls/Button.cs 2007-06-25 22:25:12 UTC (rev 80735) @@ -0,0 +1,52 @@ +// Permission is hereby granted, free of charge, to any person obtaining +// a copy of this software and associated documentation files (the +// "Software"), to deal in the Software without restriction, including +// without limitation the rights to use, copy, modify, merge, publish, +// distribute, sublicense, and/or sell copies of the Software, and to +// permit persons to whom the Software is furnished to do so, subject to +// the following conditions: +// +// The above copyright notice and this permission notice shall be +// included in all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +// +// Copyright (c) 2007 Novell, Inc. (http://www.novell.com) +// +// Authors: +// Chris Toshok ([EMAIL PROTECTED]) +// + +using System; +using System.Windows.Controls.Primitive; + +namespace System.Windows.Controls { + + public class Button : ButtonBase { + public static readonly DependencyProperty IsCancelProperty; + public static readonly DependencyProperty IsDefaultedProperty; + public static readonly DependencyProperty IsDefaultProperty; + + public Button () + { + } + + protected override void OnClick () + { + } + + protected override AutomationPeer OnCreateAutomationPeer () + { + } + + public bool IsCancel { get; set; } + public bool IsDefault { get; set; } + } + +} Added: trunk/olive/class/PresentationFramework/System.Windows.Controls/ContentControl.cs =================================================================== --- trunk/olive/class/PresentationFramework/System.Windows.Controls/ContentControl.cs 2007-06-25 22:23:05 UTC (rev 80734) +++ trunk/olive/class/PresentationFramework/System.Windows.Controls/ContentControl.cs 2007-06-25 22:25:12 UTC (rev 80735) @@ -0,0 +1,89 @@ +// Permission is hereby granted, free of charge, to any person obtaining +// a copy of this software and associated documentation files (the +// "Software"), to deal in the Software without restriction, including +// without limitation the rights to use, copy, modify, merge, publish, +// distribute, sublicense, and/or sell copies of the Software, and to +// permit persons to whom the Software is furnished to do so, subject to +// the following conditions: +// +// The above copyright notice and this permission notice shall be +// included in all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +// +// Copyright (c) 2007 Novell, Inc. (http://www.novell.com) +// +// Authors: +// Chris Toshok ([EMAIL PROTECTED]) +// + +using System; + +namespace System.Windows.Controls { + + [LocalizabilityAttribute(LocalizationCategory.None, Readability=Readability.Unreadable)] + [ContentPropertyAttribute("Content")] + public class ContentControl : Control, IAddChild { + + public static readonly DependencyProperty ContentProperty; + public static readonly DependencyProperty ContentTemplateProperty; + public static readonly DependencyProperty ContentTemplateSelectorProperty; + public static readonly DependencyProperty HasContentProperty; + + protected virtual void AddChild (Object value) + { + } + + protected virtual void AddText (string text) + { + } + + protected virtual void OnContentChanged (Object oldContent, + Object newContent) + { + } + + protected virtual void OnContentTemplateChanged (DataTemplate oldContentTemplate, + DataTemplate newContentTemplate) + { + } + + protected virtual void OnContentTemplateSelectorChanged (DataTemplateSelector oldContentTemplateSelector, + DataTemplateSelector newContentTemplateSelector) + { + } + + public virtual bool ShouldSerializeContent () + { + } + + void IAddChild.AddChild (Object value) + { + } + + void IAddChild.AddText (string text) + { + } + + [BindableAttribute(true)] + public Object Content { get; set; } + + + [BindableAttribute(true)] + public DataTemplate ContentTemplate { get; set; } + + [BindableAttribute(true)] + public DataTemplateSelector ContentTemplateSelector { get; set; } + + public bool HasContent { get; } + + protected internal override IEnumerator LogicalChildren { get; } + } + +} Added: trunk/olive/class/PresentationFramework/System.Windows.Controls/Control.cs =================================================================== --- trunk/olive/class/PresentationFramework/System.Windows.Controls/Control.cs 2007-06-25 22:23:05 UTC (rev 80734) +++ trunk/olive/class/PresentationFramework/System.Windows.Controls/Control.cs 2007-06-25 22:25:12 UTC (rev 80735) @@ -0,0 +1,32 @@ +// Permission is hereby granted, free of charge, to any person obtaining +// a copy of this software and associated documentation files (the +// "Software"), to deal in the Software without restriction, including +// without limitation the rights to use, copy, modify, merge, publish, +// distribute, sublicense, and/or sell copies of the Software, and to +// permit persons to whom the Software is furnished to do so, subject to +// the following conditions: +// +// The above copyright notice and this permission notice shall be +// included in all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +// +// Copyright (c) 2007 Novell, Inc. (http://www.novell.com) +// +// Authors: +// Chris Toshok ([EMAIL PROTECTED]) +// + + +namespace System.Windows.Controls { + + public class Control : FrameworkElement { + } + +} Added: trunk/olive/class/PresentationFramework/System.Windows.Controls.Primitive/ButtonBase.cs =================================================================== --- trunk/olive/class/PresentationFramework/System.Windows.Controls.Primitive/ButtonBase.cs 2007-06-25 22:23:05 UTC (rev 80734) +++ trunk/olive/class/PresentationFramework/System.Windows.Controls.Primitive/ButtonBase.cs 2007-06-25 22:25:12 UTC (rev 80735) @@ -0,0 +1,116 @@ +// Permission is hereby granted, free of charge, to any person obtaining +// a copy of this software and associated documentation files (the +// "Software"), to deal in the Software without restriction, including +// without limitation the rights to use, copy, modify, merge, publish, +// distribute, sublicense, and/or sell copies of the Software, and to +// permit persons to whom the Software is furnished to do so, subject to +// the following conditions: +// +// The above copyright notice and this permission notice shall be +// included in all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +// +// Copyright (c) 2007 Novell, Inc. (http://www.novell.com) +// +// Authors: +// Chris Toshok ([EMAIL PROTECTED]) +// + +using System; + +namespace System.Windows.Controls.Primitive { + + [LocalizabilityAttribute(LocalizationCategory.Button)] + public abstract class ButtonBase : ContentControl, ICommandSource { + public static readonly RoutedEvent ClickEvent; + public static readonly DependencyProperty ClickModeProperty; + public static readonly DependencyProperty CommandParameterProperty; + public static readonly DependencyProperty CommandProperty; + public static readonly DependencyProperty CommandTargetProperty; + public static readonly DependencyProperty IsPressedProperty; + + protected ButtonBase () + { + } + + protected override void OnAccessKey (AccessKeyEventArgs e) + { + } + + protected virtual void OnClick () + { + } + + protected virtual void OnIsPressedChanged (DependencyPropertyChangedEventArgs e) + { + } + + protected override void OnKeyDown (KeyEventArgs e) + { + } + + protected override void OnKeyUp (KeyEventArgs e) + { + } + + protected override void OnLostKeyboardFocus (KeyboardFocusChangedEventArgs e) + { + } + + protected override void OnLostMouseCapture (MouseEventArgs e) + { + } + + protected override void OnMouseEnter (MouseEventArgs e) + { + } + + protected override void OnMouseLeave (MouseEventArgs e) + { + } + + protected override void OnMouseLeftButtonDown (MouseButtonEventArgs e) + { + } + + protected override void OnMouseLeftButtonUp (MouseButtonEventArgs e) + { + } + + protected override void OnMouseMove (MouseEventArgs e) + { + } + + protected internal override void OnRenderSizeChanged (SizeChangedInfo sizeInfo) + { + } + + [BindableAttribute(true)] + public ClickMode ClickMode { get; set; } + + [BindableAttribute(true)] + [LocalizabilityAttribute(LocalizationCategory.NeverLocalize)] + public ICommand Command { get; set; } + + [LocalizabilityAttribute(LocalizationCategory.NeverLocalize)] + [BindableAttribute(true)] + public Object CommandParameter { get; set; } + + [BindableAttribute(true)] + public IInputElement CommandTarget { get; set; } + + protected override bool IsEnabledCore { get; } + + public bool IsPressed { get; } + + public event RoutedEventHandler Click; + } + +} Added: trunk/olive/class/PresentationFramework/System.Windows.Media.Animation/Storyboard.cs =================================================================== --- trunk/olive/class/PresentationFramework/System.Windows.Media.Animation/Storyboard.cs 2007-06-25 22:23:05 UTC (rev 80734) +++ trunk/olive/class/PresentationFramework/System.Windows.Media.Animation/Storyboard.cs 2007-06-25 22:25:12 UTC (rev 80735) @@ -0,0 +1,248 @@ +// Permission is hereby granted, free of charge, to any person obtaining +// a copy of this software and associated documentation files (the +// "Software"), to deal in the Software without restriction, including +// without limitation the rights to use, copy, modify, merge, publish, +// distribute, sublicense, and/or sell copies of the Software, and to +// permit persons to whom the Software is furnished to do so, subject to +// the following conditions: +// +// The above copyright notice and this permission notice shall be +// included in all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +// +// Copyright (c) 2007 Novell, Inc. (http://www.novell.com) +// +// Authors: +// Chris Toshok ([EMAIL PROTECTED]) +// + +namespace System.Windows.Media.Animation { + + public class Storyboard : ParallelTimeline { + public static readonly DependencyProperty TargetNameProperty; + public static readonly DependencyProperty TargetPropertyProperty; + + public Storyboard () + { + } + + + public void Begin (FrameworkContentElement containingObject) + { + } + + public void Begin (FrameworkContentElement containingObject, + bool isControllable) + { + } + + public void Begin (FrameworkContentElement containingObject, + HandoffBehavior handoffBehavior) + { + } + + public void Begin (FrameworkElement containingObject, + bool isControllable) + { + } + + public void Begin (FrameworkElement containingObject, + FrameworkTemplate frameworkTemplate) + { + } + + public void Begin (FrameworkElement containingObject, + HandoffBehavior handoffBehavior) + { + } + + public void Begin (FrameworkContentElement containingObject, + HandoffBehavior handoffBehavior, + bool isControllable) + { + } + + public void Begin (FrameworkElement containingObject, + FrameworkTemplate frameworkTemplate, + bool isControllable) + { + } + + public void Begin (FrameworkElement containingObject, + FrameworkTemplate frameworkTemplate, + HandoffBehavior handoffBehavior) + { + } + + + public void Begin (FrameworkElement containingObject, + HandoffBehavior handoffBehavior, + bool isControllable) + { + } + + public void Begin (FrameworkElement containingObject, + FrameworkTemplate frameworkTemplate, + HandoffBehavior handoffBehavior, + bool isControllable) + { + } + + public Storyboard Clone () + { + } + + protected override Freezable CreateInstanceCore () + { + } + + public Nullable<double> GetCurrentGlobalSpeed (FrameworkContentElement containingObject) + { + } + + public Nullable<double> GetCurrentGlobalSpeed (FrameworkElement containingObject) + { + } + + public Nullable<int> GetCurrentIteration (FrameworkContentElement containingObject) + { + } + + public Nullable<int> GetCurrentIteration (FrameworkElement containingObject) + { + } + + public Nullable<double> GetCurrentProgress (FrameworkContentElement containingObject) + { + } + + public Nullable<double> GetCurrentProgress (FrameworkContentElement containingObject) + { + } + + public ClockState GetCurrentState (FrameworkContentElement containingObject) + { + } + + public ClockState GetCurrentState (FrameworkElement containingObject) + { + } + + public Nullable<TimeSpan> GetCurrentTime (FrameworkContentElement containingObject) + { + } + + public Nullable<TimeSpan> GetCurrentTime (FrameworkElement containingObject) + { + } + + public bool GetIsPaused (FrameworkContentElement containingObject) + { + } + + public bool GetIsPaused (FrameworkElement containingObject) + { + } + + public static string GetTargetName (DependencyObject element) + { + } + + public static PropertyPath GetTargetProperty (DependencyObject element) + { + } + + public void Pause (FrameworkContentElement containingObject) + { + } + + public void Pause (FrameworkElement containingObject) + { + } + + public void Remove (FrameworkContentElement containingObject) + { + } + + public void Remove (FrameworkElement containingObject) + { + } + + public void Resume (FrameworkContentElement containingObject) + { + } + + public void Resume (FrameworkElement containingObject) + { + } + + public void Seek (FrameworkContentElement containingObject, + TimeSpan offset, + TimeSeekOrigin origin) + { + } + + public void Seek (FrameworkElement containingObject, + TimeSpan offset, + TimeSeekOrigin origin) + { + } + + public void SeekAlignedToLastTick (FrameworkContentElement containingObject, + TimeSpan offset, + TimeSeekOrigin origin) + { + } + + public void SeekAlignedToLastTick (FrameworkElement containingObject, + TimeSpan offset, + TimeSeekOrigin origin) + { + } + + + public void SetSpeedRatio (FrameworkContentElement containingObject, + double speedRatio) + { + } + + public void SetSpeedRatio (FrameworkElement containingObject, + double speedRatio) + { + } + + public static void SetTargetName (DependencyObject element, + string name) + { + } + + public static void SetTargetProperty (DependencyObject element, + PropertyPath path) + { + } + + public void SkipToFill (FrameworkContentElement containingObject) + { + } + + public void SkipToFill (FrameworkElement containingObject) + { + } + + public void Stop (FrameworkContentElement containingObject) + { + } + + public void Stop (FrameworkElement containingObject) + { + } + } + +} _______________________________________________ Mono-patches maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-patches
