From dfde6fc2463f2f58f6843f1182b7e730da1505a1 Mon Sep 17 00:00:00 2001 From: Antoine Fraboulet Date: Sun, 1 Jan 2006 19:34:05 +0000 Subject: [PATCH] emacs modes --- wxwin/auxframes.cc | 1 + wxwin/auxframes.h | 1 + wxwin/ewx.h | 10 ++++++++-- wxwin/gfxboard.cc | 3 ++- wxwin/gfxboard.h | 3 ++- wxwin/gfxresult.cc | 2 ++ wxwin/gfxresult.h | 1 + wxwin/main.cc | 13 +++++++++++++ wxwin/mainframe.h | 21 +++++++++++++++------ 9 files changed, 45 insertions(+), 10 deletions(-) diff --git a/wxwin/auxframes.cc b/wxwin/auxframes.cc index 5f47d42..8fe8227 100644 --- a/wxwin/auxframes.cc +++ b/wxwin/auxframes.cc @@ -612,4 +612,5 @@ ResultFrame::OnSize(wxSizeEvent& e) /// mode: c++ /// mode: hs-minor /// c-basic-offset: 4 +/// indent-tabs-mode: nil /// End: diff --git a/wxwin/auxframes.h b/wxwin/auxframes.h index f330169..b371595 100644 --- a/wxwin/auxframes.h +++ b/wxwin/auxframes.h @@ -254,4 +254,5 @@ class ResultFrame: public AuxFrame /// mode: c++ /// mode: hs-minor /// c-basic-offset: 4 +/// indent-tabs-mode: nil /// End: diff --git a/wxwin/ewx.h b/wxwin/ewx.h index 93ee4a3..3219173 100644 --- a/wxwin/ewx.h +++ b/wxwin/ewx.h @@ -1,6 +1,5 @@ /* Eliot */ /* Copyright (C) 1999 Antoine Fraboulet */ - /* */ /* This file is part of Eliot. */ /* */ @@ -20,7 +19,7 @@ /** * \file ewx.h - * \brief Eliot wxwidgets defines + * \brief Eliot wxwidgets switch and defines * \author Antoine Fraboulet * \date 2002 */ @@ -74,3 +73,10 @@ #endif // ENABLE_NLS && ENABLE_UTF8 #endif // __EWX__ + +/// Local Variables: +/// mode: c++ +/// mode: hs-minor +/// c-basic-offset: 4 +/// indent-tabs-mode: nil +/// End: diff --git a/wxwin/gfxboard.cc b/wxwin/gfxboard.cc index 2081c5e..5bd0e4f 100644 --- a/wxwin/gfxboard.cc +++ b/wxwin/gfxboard.cc @@ -451,8 +451,9 @@ GfxBoard::DrawBoard(wxDC *dc) dc->SetFont(wxNullFont); } - /// Local Variables: +/// mode: c++ /// mode: hs-minor /// c-basic-offset: 4 +/// indent-tabs-mode: nil /// End: diff --git a/wxwin/gfxboard.h b/wxwin/gfxboard.h index b7b9086..0ade0b3 100644 --- a/wxwin/gfxboard.h +++ b/wxwin/gfxboard.h @@ -108,8 +108,9 @@ class GfxBoard : public wxWindow #endif - /// Local Variables: +/// mode: c++ /// mode: hs-minor /// c-basic-offset: 4 +/// indent-tabs-mode: nil /// End: diff --git a/wxwin/gfxresult.cc b/wxwin/gfxresult.cc index b9203e5..77c1dee 100644 --- a/wxwin/gfxresult.cc +++ b/wxwin/gfxresult.cc @@ -229,6 +229,8 @@ GfxResult::OnSize(wxSizeEvent& e) /* ************************************************** */ /// Local Variables: +/// mode: c++ /// mode: hs-minor /// c-basic-offset: 4 +/// indent-tabs-mode: nil /// End: diff --git a/wxwin/gfxresult.h b/wxwin/gfxresult.h index be67f27..ad60580 100644 --- a/wxwin/gfxresult.h +++ b/wxwin/gfxresult.h @@ -66,4 +66,5 @@ class GfxResult : public wxControl /// mode: c++ /// mode: hs-minor /// c-basic-offset: 4 +/// indent-tabs-mode: nil /// End: diff --git a/wxwin/main.cc b/wxwin/main.cc index 4390666..a109a98 100644 --- a/wxwin/main.cc +++ b/wxwin/main.cc @@ -16,6 +16,13 @@ /* along with this program; if not, write to the Free Software */ /* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +/** + * \file main.cc + * \brief Eliot main entry point + * \author Antoine Fraboulet + * \date 2005 + */ + #ifdef WIN32 // mingw32 hack # undef Yield # undef CreateDialog @@ -82,3 +89,9 @@ EliotApp::OnExit() } +/// Local Variables: +/// mode: c++ +/// mode: hs-minor +/// c-basic-offset: 4 +/// indent-tabs-mode: nil +/// End: diff --git a/wxwin/mainframe.h b/wxwin/mainframe.h index 4018ded..3ba5d60 100644 --- a/wxwin/mainframe.h +++ b/wxwin/mainframe.h @@ -16,9 +16,15 @@ /* along with this program; if not, write to the Free Software */ /* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ -// -*- C++ -*- -#ifndef _MAINFRAME_H -#define _MAINFRAME_H +/** + * \file mainframe.h + * \brief Main frame for the Eliot GUI + * \author Antoine Fraboulet + * \date 2005 + */ + +#ifndef _MAINFRAME_H_ +#define _MAINFRAME_H_ #include "dic.h" #include "game.h" @@ -99,12 +105,15 @@ public: // ******* // Objects // ******* - void OnListCtrlSelected (wxListEvent& event); - void OnListCtrlActivated (wxListEvent& event); - void OnCloseWindow (wxCloseEvent& event); DECLARE_EVENT_TABLE() }; #endif + +/// Local Variables: +/// mode: c++ +/// mode: hs-minor +/// c-basic-offset: 4 +/// End: