[Gcblue-commits] gcb_wx/include/sim tcCreditView.h,1.3,1.3.2.1
Status: Alpha
Brought to you by:
ddcforge
From: <ddc...@pr...> - 2004-01-25 17:37:37
|
Update of /cvsroot/gcblue/gcb_wx/include/sim In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11285/include/sim Modified Files: Tag: v0_5_0 tcCreditView.h Log Message: Bug with arrow scroll causing bad symbol placement for initial map view Index: tcCreditView.h =================================================================== RCS file: /cvsroot/gcblue/gcb_wx/include/sim/tcCreditView.h,v retrieving revision 1.3 retrieving revision 1.3.2.1 diff -C2 -d -r1.3 -r1.3.2.1 *** tcCreditView.h 30 Nov 2003 17:23:52 -0000 1.3 --- tcCreditView.h 25 Jan 2004 17:36:09 -0000 1.3.2.1 *************** *** 39,46 **** tcString mzCaption; float mfTrailSpace; ! bool mbBold; }; public: ! void AddCredit(tcString& s, float afTrailSpace, bool abBold); void AttachSound(tcSound *apSound) {mpSound=apSound;} bool Init(void); --- 39,46 ---- tcString mzCaption; float mfTrailSpace; ! int mnEffect; ///< 0 - standard text, 1 - bold, 2 - small }; public: ! void AddCredit(tcString& s, float afTrailSpace, int effect); void AttachSound(tcSound *apSound) {mpSound=apSound;} bool Init(void); *************** *** 53,60 **** virtual ~tcCreditView(void); private: ! enum {MAX_CREDITS = 64}; Gdiplus::SolidBrush *mpBrush; Gdiplus::Font *mpFont; Gdiplus::Font *mpFontLarge; Gdiplus::Pen *mpPen; tcTime mcTime; --- 53,61 ---- virtual ~tcCreditView(void); private: ! enum {MAX_CREDITS = 96}; Gdiplus::SolidBrush *mpBrush; Gdiplus::Font *mpFont; Gdiplus::Font *mpFontLarge; + Gdiplus::Font *mpFontSmall; Gdiplus::Pen *mpPen; tcTime mcTime; |