[gbrainy] Move IDraw* interfaces to Core since they do not belong to the Views
- From: Jordi Mas <jmas src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gbrainy] Move IDraw* interfaces to Core since they do not belong to the Views
- Date: Sun, 17 Jan 2010 20:01:17 +0000 (UTC)
commit 8a8e2bf3571001876117880098e5481f3aaf7eaf
Author: Jordi Mas <jmas softcatala org>
Date: Sun Jan 17 21:01:34 2010 +0100
Move IDraw* interfaces to Core since they do not belong to the Views
src/Core/Main/Game.cs | 2 +-
src/Core/{Views => Main}/IDrawRequest.cs | 2 +-
src/Core/{Views => Main}/IDrawable.cs | 2 +-
src/Core/Makefile.am | 4 ++--
src/Core/Views/CountDownView.cs | 1 +
5 files changed, 6 insertions(+), 5 deletions(-)
---
diff --git a/src/Core/Main/Game.cs b/src/Core/Main/Game.cs
index 1937d2a..bd38124 100644
--- a/src/Core/Main/Game.cs
+++ b/src/Core/Main/Game.cs
@@ -26,7 +26,7 @@ using gbrainy.Core.Libraries;
namespace gbrainy.Core.Main
{
- abstract public class Game : Views.IDrawable, IDrawRequest
+ abstract public class Game : IDrawable, IDrawRequest
{
// See: GetGameTypeDescription
public enum Types
diff --git a/src/Core/Views/IDrawRequest.cs b/src/Core/Main/IDrawRequest.cs
similarity index 97%
rename from src/Core/Views/IDrawRequest.cs
rename to src/Core/Main/IDrawRequest.cs
index e2e420d..27974fb 100644
--- a/src/Core/Views/IDrawRequest.cs
+++ b/src/Core/Main/IDrawRequest.cs
@@ -22,7 +22,7 @@ using System.ComponentModel;
using gbrainy.Core.Libraries;
-namespace gbrainy.Core.Views
+namespace gbrainy.Core.Main
{
// Used by any class that can draw and due to logic requirements may need to request a redraw
public interface IDrawRequest
diff --git a/src/Core/Views/IDrawable.cs b/src/Core/Main/IDrawable.cs
similarity index 97%
rename from src/Core/Views/IDrawable.cs
rename to src/Core/Main/IDrawable.cs
index f4cdd02..f6dcfa8 100644
--- a/src/Core/Views/IDrawable.cs
+++ b/src/Core/Main/IDrawable.cs
@@ -22,7 +22,7 @@ using System.ComponentModel;
using gbrainy.Core.Libraries;
-namespace gbrainy.Core.Views
+namespace gbrainy.Core.Main
{
// Used by any class that can draw in drawing context
public interface IDrawable
diff --git a/src/Core/Makefile.am b/src/Core/Makefile.am
index ff89bec..ae24e3c 100644
--- a/src/Core/Makefile.am
+++ b/src/Core/Makefile.am
@@ -25,8 +25,8 @@ CSFILES = \
Main/Verbal/Analogy.cs \
Views/CountDownView.cs \
Views/FinishView.cs \
- Views/IDrawable.cs \
- Views/IDrawRequest.cs \
+ Main/IDrawable.cs \
+ Main/IDrawRequest.cs \
Views/PlayerHistoryView.cs \
Views/ViewsControler.cs \
Views/WelcomeView.cs \
diff --git a/src/Core/Views/CountDownView.cs b/src/Core/Views/CountDownView.cs
index 0d848c5..04d94ba 100644
--- a/src/Core/Views/CountDownView.cs
+++ b/src/Core/Views/CountDownView.cs
@@ -25,6 +25,7 @@ using System.Timers;
using System.ComponentModel;
using gbrainy.Core.Libraries;
+using gbrainy.Core.Main;
namespace gbrainy.Core.Views
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]