[dasher] g/c GameGroup GameInfoLabel GameModeHelper



commit c0705e95054609f58e895e3ea3a7549f376f1195
Author: Patrick Welche <prlw1 cam ac uk>
Date:   Sat Aug 20 10:23:11 2011 +0100

    g/c GameGroup GameInfoLabel GameModeHelper

 Src/Gtk2/dasher_editor.cpp          |    3 ---
 Src/Gtk2/dasher_editor_external.cpp |    1 -
 Src/Gtk2/dasher_editor_internal.cpp |    9 ---------
 Src/Win32/DasherWindow.h            |    1 -
 4 files changed, 0 insertions(+), 14 deletions(-)
---
diff --git a/Src/Gtk2/dasher_editor.cpp b/Src/Gtk2/dasher_editor.cpp
index 2c40b1c..580d33c 100644
--- a/Src/Gtk2/dasher_editor.cpp
+++ b/Src/Gtk2/dasher_editor.cpp
@@ -28,7 +28,6 @@
 #include "dasher_editor.h"
 #include "dasher_lock_dialogue.h"
 #include "dasher_main.h"
-//#include "game_mode_helper.h"
 
 typedef struct _DasherEditorPrivate DasherEditorPrivate;
 
@@ -38,7 +37,6 @@ struct _DasherEditorPrivate {
   GtkTextBuffer *pBuffer;
   GtkClipboard *pTextClipboard;
   GtkClipboard *pPrimarySelection;
-  //  GameModeHelper *pGameModeHelper;
   GtkTextMark *pNewMark;
   DasherAppSettings *pAppSettings;
   gchar *szFilename;
@@ -126,7 +124,6 @@ dasher_editor_init(DasherEditor *pDasherControl) {
   pPrivate->szFilename = NULL;
   pPrivate->pTextClipboard = gtk_clipboard_get(GDK_SELECTION_CLIPBOARD);
   pPrivate->pPrimarySelection = gtk_clipboard_get(GDK_SELECTION_PRIMARY);
-  //  pPrivate->pGameModeHelper = NULL;
   pPrivate->bFileModified = FALSE;
 }
 
diff --git a/Src/Gtk2/dasher_editor_external.cpp b/Src/Gtk2/dasher_editor_external.cpp
index 57cf119..208edcb 100644
--- a/Src/Gtk2/dasher_editor_external.cpp
+++ b/Src/Gtk2/dasher_editor_external.cpp
@@ -21,7 +21,6 @@
 #include "dasher_lock_dialogue.h"
 #include "dasher_main.h"
 #include "../DasherCore/ControlManager.h"
-//#include "game_mode_helper.h"
 #include "DasherSpi.h"
 
 // TODO: Figure out if we need this stuff and re-implement
diff --git a/Src/Gtk2/dasher_editor_internal.cpp b/Src/Gtk2/dasher_editor_internal.cpp
index d2c2ba5..16e0d63 100644
--- a/Src/Gtk2/dasher_editor_internal.cpp
+++ b/Src/Gtk2/dasher_editor_internal.cpp
@@ -22,9 +22,6 @@ struct _DasherEditorInternalPrivate {
   GtkTextBuffer *pBuffer;
   GtkClipboard *pTextClipboard;
   GtkClipboard *pPrimarySelection;
-  GtkTable *pGameGroup;
-  GtkLabel *pGameInfoLabel;
-  //  GameModeHelper *pGameModeHelper;
   GtkTextMark *pNewMark;
   DasherAppSettings *pAppSettings;
   gchar *szFilename;
@@ -163,7 +160,6 @@ dasher_editor_internal_init(DasherEditorInternal *pSelf) {
   pPrivate->szFilename = NULL;
   pPrivate->pTextClipboard = gtk_clipboard_get(GDK_SELECTION_CLIPBOARD);
   pPrivate->pPrimarySelection = gtk_clipboard_get(GDK_SELECTION_PRIMARY);
-  //  pPrivate->pGameModeHelper = NULL;
   GtkTextIter oStartIter;
   gtk_text_buffer_get_start_iter(pPrivate->pBuffer, &oStartIter);
   pPrivate->pNewMark =
@@ -226,8 +222,6 @@ dasher_editor_internal_initialise(DasherEditor *pSelf, DasherAppSettings *pAppSe
     dasher_editor_internal_generate_filename(pSelf);
     dasher_editor_internal_clear(pSelf);
   }
-
-//  pPrivate->pGameModeHelper = GAME_MODE_HELPER(game_mode_helper_new(pXML, (void*)pSelf));
 }
 
 static void
@@ -390,9 +384,6 @@ dasher_editor_internal_delete(DasherEditor *pSelf, int iLength, int iOffset) {
   gtk_text_view_scroll_mark_onscreen(pPrivate->pTextView, gtk_text_buffer_get_insert(pPrivate->pBuffer));
   //  g_bIgnoreCursorMove = false;
 
-//   if(pPrivate->pGameModeHelper)
-//     game_mode_helper_delete(pPrivate->pGameModeHelper, iLength);
-
   pPrivate->bFileModified = TRUE;
 }
 
diff --git a/Src/Win32/DasherWindow.h b/Src/Win32/DasherWindow.h
index 79fcdec..1e28e0a 100644
--- a/Src/Win32/DasherWindow.h
+++ b/Src/Win32/DasherWindow.h
@@ -22,7 +22,6 @@
 #include "../Common/WinOptions.h"
 
 class CToolbar;
-class CGameGroup;
 namespace Dasher {
   class CDasher;
 };



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