[banshee/grid: 1/4] [Grid] Added DataViewLayoutStyle.cs to build



commit d1e602f5d28bded96ce5d2dd70f15f101439ec29
Author: Aaron Bockover <abockover novell com>
Date:   Sat Nov 21 17:05:35 2009 -0500

    [Grid] Added DataViewLayoutStyle.cs to build

 .../Hyena.Data.Gui/DataViewLayoutStyle.cs          |   37 ++++++++++++++++++++
 src/Libraries/Hyena.Gui/Hyena.Gui.csproj           |    3 +-
 src/Libraries/Hyena.Gui/Makefile.am                |    1 +
 3 files changed, 40 insertions(+), 1 deletions(-)
---
diff --git a/src/Libraries/Hyena.Gui/Hyena.Data.Gui/DataViewLayoutStyle.cs b/src/Libraries/Hyena.Gui/Hyena.Data.Gui/DataViewLayoutStyle.cs
new file mode 100644
index 0000000..ba9c5e3
--- /dev/null
+++ b/src/Libraries/Hyena.Gui/Hyena.Data.Gui/DataViewLayoutStyle.cs
@@ -0,0 +1,37 @@
+//
+// DataViewLayoutStyle.cs
+// 
+// Author:
+//   Aaron Bockover <abockover novell com>
+// 
+// Copyright 2009 Novell, Inc.
+// 
+// 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.
+
+using System;
+
+namespace Hyena.Data.Gui
+{
+    public enum DataViewLayoutStyle
+    {
+        List,
+        Grid
+    }
+}
diff --git a/src/Libraries/Hyena.Gui/Hyena.Gui.csproj b/src/Libraries/Hyena.Gui/Hyena.Gui.csproj
index ca4a22f..10e3ebb 100644
--- a/src/Libraries/Hyena.Gui/Hyena.Gui.csproj
+++ b/src/Libraries/Hyena.Gui/Hyena.Gui.csproj
@@ -80,6 +80,7 @@
     <Compile Include="Hyena.Gui\GtkUtilities.cs" />
     <Compile Include="Hyena.Data.Gui\CellContext.cs" />
     <Compile Include="Hyena.Data.Gui\IHeaderCell.cs" />
+    <Compile Include="Hyena.Data.Gui\DataViewLayoutStyle.cs" />
     <Compile Include="Hyena.Widgets\ScrolledWindow.cs" />
     <Compile Include="Hyena.Widgets\RoundedFrame.cs" />
     <Compile Include="Hyena.Gui.Theatrics\Actor.cs" />
@@ -179,4 +180,4 @@
   <ItemGroup>
     <Folder Include="Hyena.Data.Gui\Accessibility\" />
   </ItemGroup>
-</Project>
\ No newline at end of file
+</Project>
diff --git a/src/Libraries/Hyena.Gui/Makefile.am b/src/Libraries/Hyena.Gui/Makefile.am
index e8b3de6..ee5bf7f 100644
--- a/src/Libraries/Hyena.Gui/Makefile.am
+++ b/src/Libraries/Hyena.Gui/Makefile.am
@@ -18,6 +18,7 @@ SOURCES =  \
 	Hyena.Data.Gui/ColumnCellText.cs \
 	Hyena.Data.Gui/ColumnController.cs \
 	Hyena.Data.Gui/ColumnHeaderCellText.cs \
+	Hyena.Data.Gui/DataViewLayoutStyle.cs \
 	Hyena.Data.Gui/IHeaderCell.cs \
 	Hyena.Data.Gui/IInteractiveCell.cs \
 	Hyena.Data.Gui/IListView.cs \



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]