[Gcblue-commits] gcb_wx/include/common tcSoundConsole.h,1.8,1.9
Status: Alpha
Brought to you by:
ddcforge
|
From: Dewitt C. <ddc...@us...> - 2004-10-07 22:01:21
|
Update of /cvsroot/gcblue/gcb_wx/include/common In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12334/include/common Modified Files: tcSoundConsole.h Log Message: Changes related to GDI+ replacement Index: tcSoundConsole.h =================================================================== RCS file: /cvsroot/gcblue/gcb_wx/include/common/tcSoundConsole.h,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** tcSoundConsole.h 8 Aug 2004 00:31:32 -0000 1.8 --- tcSoundConsole.h 7 Oct 2004 22:01:11 -0000 1.9 *************** *** 1,6 **** ! /* ! ** tcSoundConsole.h ! ** ! ** Copyright (C) 2003 Dewitt Colclough (de...@tw...) ** All rights reserved. --- 1,6 ---- ! /** ! ** @file tcSoundConsole.h ! */ ! /* Copyright (C) 2003 Dewitt Colclough (de...@tw...) ** All rights reserved. *************** *** 29,50 **** #include "wx/wx.h" ! #ifdef WIN32 ! #include "wx/msw/private.h" // for MS Windows specific definitions ! #endif // WIN32 ! #include "tcConsole.h" ! class tcSoundConsole : public tcConsole { public: ! virtual int Draw(); ! int Print(const char* line); void SetEffect(int anEffect) {mnSoundEffect=anEffect;} ! tcSoundConsole(wxWindow *parent, const wxPoint& pos, const wxSize& size, const wxString& name = "SoundConsole"); virtual ~tcSoundConsole(); private: ! int mnSoundEffect; // sound effect to use when printing }; --- 29,56 ---- #include "wx/wx.h" ! #include "tcXmlWindow.h" + class tcConsoleBox; ! class tcSoundConsole : public tcXmlWindow { public: ! virtual void Draw(); ! tcConsoleBox* GetConsoleBox(); ! void Print(const char* line); ! ! void SetDelayedTextEffect(bool effectOn); void SetEffect(int anEffect) {mnSoundEffect=anEffect;} ! void SetLineSpacing(int anSpacing); ! void SetWrap(int n); ! ! tcSoundConsole(wxWindow* parent, const wxPoint& pos, const wxSize& size, + const wxString& configFile, const wxString& name = "SoundConsole"); virtual ~tcSoundConsole(); private: ! tcConsoleBox* textBox; ! int mnSoundEffect; ///< sound effect to use when printing text }; |