[Scummvm-cvs-logs] CVS: scummvm-new/gui ListWidget.h,1.1.1.1,1.2 newgui.cpp,1.1.1.1,1.2

Max Horn fingolfin at users.sourceforge.net
Sun Aug 25 03:51:03 CEST 2002


Update of /cvsroot/scummvm/scummvm-new/gui
In directory usw-pr-cvs1:/tmp/cvs-serv7513/gui

Modified Files:
	ListWidget.h newgui.cpp 
Log Message:
fixed some endian issues in the new SMUSH decoder; cleanup

Index: ListWidget.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm-new/gui/ListWidget.h,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -d -r1.1.1.1 -r1.2
--- ListWidget.h	21 Aug 2002 16:07:24 -0000	1.1.1.1
+++ ListWidget.h	25 Aug 2002 10:50:18 -0000	1.2
@@ -60,7 +60,7 @@
 	void setList(const StringList& list)		{ _list = list; scrollBarRecalc(); }
 	const StringList& getList()	const			{ return _list; }
 	int getSelected() const						{ return _selectedItem; }
-	const ScummVM::String& getSelectedString() const	{ return _list[_selectedItem]; }
+	const String& getSelectedString() const		{ return _list[_selectedItem]; }
 	void setNumberingMode(int numberingMode)	{ _numberingMode = numberingMode; }
 	
 	virtual void handleMouseDown(int x, int y, int button, int clickCount);

Index: newgui.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm-new/gui/newgui.cpp,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -d -r1.1.1.1 -r1.2
--- newgui.cpp	21 Aug 2002 16:07:24 -0000	1.1.1.1
+++ newgui.cpp	25 Aug 2002 10:50:18 -0000	1.2
@@ -36,8 +36,6 @@
  * - ...
  */
 
-#define ABS(x)	((x) < 0 ? -(x) : (x))
-
 NewGui::NewGui(Scumm *s) : _s(s), _use_alpha_blending(false),
 	_need_redraw(false),_prepare_for_gui(true),
 	_pauseDialog(0), _saveLoadDialog(0), _aboutDialog(0), _optionsDialog(0),





More information about the Scummvm-git-logs mailing list