Author: alanmc
Date: 2007-07-10 15:45:15 -0400 (Tue, 10 Jul 2007)
New Revision: 81740
Modified:
trunk/lunareclipse/ChangeLog
trunk/lunareclipse/Controller/MoonlightController.cs
trunk/lunareclipse/Properties/IPropertyGroup.cs
trunk/lunareclipse/Properties/Properties.cs
trunk/lunareclipse/Properties/PropertyGroup.cs
trunk/lunareclipse/Properties/PropertyGroupAppearance.cs
trunk/lunareclipse/Properties/PropertyGroupLayout.cs
Log:
* Model/Draw/DrawBase.cs, Model/SelectionRectangle.cs: Removed
writelines
Modified: trunk/lunareclipse/ChangeLog
===================================================================
--- trunk/lunareclipse/ChangeLog 2007-07-10 19:44:56 UTC (rev 81739)
+++ trunk/lunareclipse/ChangeLog 2007-07-10 19:45:15 UTC (rev 81740)
@@ -3,6 +3,11 @@
* Model/Draw/DrawBase.cs, Model/SelectionRectangle.cs: Removed
writelines
+2007-07-10 Alan McGovern <[EMAIL PROTECTED]>
+
+ * Model/Draw/DrawBase.cs, Model/SelectionRectangle.cs: Removed
+ writelines
+
2007-07-09 Alan McGovern <[EMAIL PROTECTED]>
Partial support for selecting rotated objects
Modified: trunk/lunareclipse/Controller/MoonlightController.cs
===================================================================
--- trunk/lunareclipse/Controller/MoonlightController.cs 2007-07-10
19:44:56 UTC (rev 81739)
+++ trunk/lunareclipse/Controller/MoonlightController.cs 2007-07-10
19:45:15 UTC (rev 81740)
@@ -109,7 +109,7 @@
if (selection.SelectedObjects.Count == 1)
foreach(KeyValuePair<Visual, SelectedBorder> keypair in
selection.SelectedObjects)
{
- properties.DependencyObject = keypair.Key;
+ properties.SelectedObject = keypair.Value;
Console.WriteLine("Selected: " +
keypair.Key.ToString());
}
}
Modified: trunk/lunareclipse/Properties/IPropertyGroup.cs
===================================================================
--- trunk/lunareclipse/Properties/IPropertyGroup.cs 2007-07-10 19:44:56 UTC
(rev 81739)
+++ trunk/lunareclipse/Properties/IPropertyGroup.cs 2007-07-10 19:45:15 UTC
(rev 81740)
@@ -3,14 +3,13 @@
//
using System;
-
using System.Windows;
-
+using LunarEclipse.Model;
using Gtk;
namespace LunarEclipse {
public interface IPropertyGroup {
- DependencyObject DependencyObject { set; }
+ SelectedBorder SelectedObject { set; }
bool HasProperties { get; }
}
}
Modified: trunk/lunareclipse/Properties/Properties.cs
===================================================================
--- trunk/lunareclipse/Properties/Properties.cs 2007-07-10 19:44:56 UTC (rev
81739)
+++ trunk/lunareclipse/Properties/Properties.cs 2007-07-10 19:45:15 UTC (rev
81740)
@@ -6,7 +6,7 @@
using System.Reflection;
using System.Collections;
using System.Collections.Generic;
-
+using LunarEclipse.Model;
using System.Windows;
using Gtk;
@@ -14,7 +14,7 @@
namespace LunarEclipse {
public partial class Properties : Gtk.Bin, IPropertyGroup {
DependencyProperty nameProp;
- DependencyObject item;
+ SelectedBorder item;
PropertyGroup brush;
PropertyGroup appearance;
@@ -56,8 +56,8 @@
public bool HasProperties {
get { return item != null; }
}
-
- public DependencyObject DependencyObject {
+
+ public SelectedBorder SelectedObject {
set {
nameProp = null;
item = value;
@@ -87,14 +87,14 @@
// Brush
// Appearance
- appearance.DependencyObject = item;
+ appearance.SelectedObject = item;
if (((PropertyGroup) appearance).HasProperties)
appearance.Show ();
else
appearance.Hide ();
// Layout
- layout.DependencyObject = item;
+ layout.SelectedObject = item;
if (((PropertyGroup) layout).HasProperties)
layout.Show ();
else
Modified: trunk/lunareclipse/Properties/PropertyGroup.cs
===================================================================
--- trunk/lunareclipse/Properties/PropertyGroup.cs 2007-07-10 19:44:56 UTC
(rev 81739)
+++ trunk/lunareclipse/Properties/PropertyGroup.cs 2007-07-10 19:45:15 UTC
(rev 81740)
@@ -5,7 +5,7 @@
using System;
using System.Windows;
-
+using LunarEclipse.Model;
using Gtk;
namespace LunarEclipse {
@@ -40,7 +40,7 @@
get { return false; }
}
- public virtual DependencyObject DependencyObject {
+ public virtual SelectedBorder SelectedObject {
set {
if (properties != null)
properties.Destroy ();
Modified: trunk/lunareclipse/Properties/PropertyGroupAppearance.cs
===================================================================
--- trunk/lunareclipse/Properties/PropertyGroupAppearance.cs 2007-07-10
19:44:56 UTC (rev 81739)
+++ trunk/lunareclipse/Properties/PropertyGroupAppearance.cs 2007-07-10
19:45:15 UTC (rev 81740)
@@ -6,7 +6,7 @@
using System.Reflection;
using System.Collections;
using System.Collections.Generic;
-
+using LunarEclipse.Model;
using System.Windows;
using System.Windows.Media;
@@ -224,7 +224,7 @@
get { return hasProps; }
}
- public override DependencyObject DependencyObject {
+ public override SelectedBorder SelectedObject {
set {
propTable = null;
SetDependencyObject (value);
Modified: trunk/lunareclipse/Properties/PropertyGroupLayout.cs
===================================================================
--- trunk/lunareclipse/Properties/PropertyGroupLayout.cs 2007-07-10
19:44:56 UTC (rev 81739)
+++ trunk/lunareclipse/Properties/PropertyGroupLayout.cs 2007-07-10
19:45:15 UTC (rev 81740)
@@ -6,7 +6,7 @@
using System.Reflection;
using System.Collections;
using System.Collections.Generic;
-
+using LunarEclipse.Model;
using System.Windows;
using System.Windows.Controls;
@@ -169,7 +169,7 @@
get { return item != null; }
}
- public override DependencyObject DependencyObject {
+ public override SelectedBorder SelectedObject {
set {
propTable = null;
spinTable = null;
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches