[Scummvm-cvs-logs] CVS: scummvm/gui PopUpWidget.cpp,1.22,1.23 options.cpp,1.32,1.33

Max Horn fingolfin at users.sourceforge.net
Sun Nov 2 17:05:27 CET 2003


Update of /cvsroot/scummvm/scummvm/gui
In directory sc8-pr-cvs1:/tmp/cvs-serv12038

Modified Files:
	PopUpWidget.cpp options.cpp 
Log Message:
tiny position tweaks

Index: PopUpWidget.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/gui/PopUpWidget.cpp,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -d -r1.22 -r1.23
--- PopUpWidget.cpp	3 Nov 2003 01:00:25 -0000	1.22
+++ PopUpWidget.cpp	3 Nov 2003 01:04:55 -0000	1.23
@@ -317,7 +317,7 @@
 
 	// Draw the label, if any
 	if (_labelWidth > 0)
-		gui->drawString(_label, _x, _y + 2, _labelWidth, isEnabled() ? gui->_textcolor : gui->_color, kTextAlignRight);
+		gui->drawString(_label, _x, _y + 3, _labelWidth, isEnabled() ? gui->_textcolor : gui->_color, kTextAlignRight);
 
 	// Draw a thin frame around us.
 	gui->hLine(x, _y, x + w - 1, gui->_color);

Index: options.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/gui/options.cpp,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -d -r1.32 -r1.33
--- options.cpp	3 Nov 2003 01:00:26 -0000	1.32
+++ options.cpp	3 Nov 2003 01:04:55 -0000	1.33
@@ -79,7 +79,7 @@
 	// TODO - add an API to query the list of available GFX modes, and to get/set the mode
 	//new StaticTextWidget(tab, 5, vBorder+2, 100, kLineHeight, "Graphics mode: ", kTextAlignRight);
 	PopUpWidget *gfxPopUp;
-	gfxPopUp = new PopUpWidget(tab, 6, vBorder, 280, kLineHeight, "Graphics mode: ", 100);
+	gfxPopUp = new PopUpWidget(tab, 5, vBorder, 280, kLineHeight, "Graphics mode: ", 100);
 	gfxPopUp->appendEntry("<default>");
 	gfxPopUp->appendEntry("");
 	gfxPopUp->appendEntry("Normal (no scaling)");
@@ -107,7 +107,7 @@
 
 	// The MIDI mode popup & a label
 	//new StaticTextWidget(tab, 5, vBorder+2, 100, kLineHeight, "Music driver: ", kTextAlignRight);
-	_midiPopUp = new PopUpWidget(tab, 6, vBorder, 280, kLineHeight, "Music driver: ", 100);
+	_midiPopUp = new PopUpWidget(tab, 5, vBorder, 280, kLineHeight, "Music driver: ", 100);
 	
 	// Populate it
 	const MidiDriverDescription *md = getAvailableMidiDrivers();





More information about the Scummvm-git-logs mailing list