From 172056e7598d3447c682a694d824041076f3255e Mon Sep 17 00:00:00 2001 From: "chirs241097@gmail.com" Date: Mon, 24 Feb 2014 03:25:05 +0000 Subject: M trunk/CHANGELOG.TXT M trunk/background.h M trunk/effects.h M trunk/global.h M trunk/hge/CxImage/ximagif.cpp M trunk/hge/CxImage/ximaint.cpp M trunk/hge/CxImage/ximapng.cpp M trunk/hge/graphics.cpp M trunk/hge/input.cpp M trunk/hge/resource.cpp M trunk/hge/sound.cpp M trunk/hge/system.cpp M trunk/hgehelp/hgefont.cpp M trunk/levels.h M trunk/libcgh.h M trunk/libcghEx.cpp M trunk/menuitem.cpp M trunk/menuitem.h M trunk/menus.h M trunk/music.h M trunk/scorec.h M trunk/scoresystem.h M trunk/towernbullet.h --- menuitem.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'menuitem.cpp') diff --git a/menuitem.cpp b/menuitem.cpp index 55317d3..0b6c0b2 100644 --- a/menuitem.cpp +++ b/menuitem.cpp @@ -12,11 +12,11 @@ #include "menuitem.h" #define UnfocColor 0xFFCCCC40 #define FocColor 0xFFFFCC66 -static const char* MENUITEM_SRC_FN="menuitem.cpp"; +//static const char* MENUITEM_SRC_FN="menuitem.cpp"; // This is a GUI control constructor, // we should initialize all the variables here -hgeGUIMenuItem::hgeGUIMenuItem(int _id, hgeFont *_fnt, HEFFECT _snd, float _x, float _y, float _delay, char *_title) +hgeGUIMenuItem::hgeGUIMenuItem(int _id, hgeFont *_fnt, HEFFECT _snd, float _x, float _y, float _delay, const char *_title) { float w; @@ -24,7 +24,7 @@ hgeGUIMenuItem::hgeGUIMenuItem(int _id, hgeFont *_fnt, HEFFECT _snd, float _x, f fnt=_fnt; snd=_snd; delay=_delay; - title=_title; + title=(char*)_title; color.SetHWColor(UnfocColor); shadow.SetHWColor(0x30000000); -- cgit v1.2.3