[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Wesnoth-cvs-commits] wesnoth/src show_dialog.cpp
From: |
Guillaume Melquiond |
Subject: |
[Wesnoth-cvs-commits] wesnoth/src show_dialog.cpp |
Date: |
Fri, 10 Sep 2004 14:28:11 -0400 |
CVSROOT: /cvsroot/wesnoth
Module name: wesnoth
Branch:
Changes by: Guillaume Melquiond <address@hidden> 04/09/10 18:08:56
Modified files:
src : show_dialog.cpp
Log message:
Don't show the position/size of the dialog
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/show_dialog.cpp.diff?tr1=1.91&tr2=1.92&r1=text&r2=text
Patches:
Index: wesnoth/src/show_dialog.cpp
diff -u wesnoth/src/show_dialog.cpp:1.91 wesnoth/src/show_dialog.cpp:1.92
--- wesnoth/src/show_dialog.cpp:1.91 Mon Aug 30 01:23:16 2004
+++ wesnoth/src/show_dialog.cpp Fri Sep 10 18:08:56 2004
@@ -1,4 +1,4 @@
-/* $Id: show_dialog.cpp,v 1.91 2004/08/30 01:23:16 Sirp Exp $ */
+/* $Id: show_dialog.cpp,v 1.92 2004/09/10 18:08:56 silene Exp $ */
/*
Copyright (C) 2003 by David White <address@hidden>
Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net
@@ -569,9 +569,9 @@
int xframe = maximum<int>(0,xloc >= 0 ? xloc : scr->w/2 - (frame_width
+ left_preview_pane_width + right_preview_pane_width)/2);
int yframe = maximum<int>(0,yloc >= 0 ? yloc : scr->h/2 - (frame_height
+ above_preview_pane_height)/2);
- std::cerr << "above_preview_pane_height: " << above_preview_pane_height
<< "\n";
- std::cerr << "yframe: " << scr->h/2 << " - " << (frame_height +
above_preview_pane_height)/2 << " = " << yframe << "\n";
- std::cerr << "frame_height: " << frame_height << "\n";
+ //std::cerr << "above_preview_pane_height: " <<
above_preview_pane_height << "\n";
+ //std::cerr << "yframe: " << scr->h/2 << " - " << (frame_height +
above_preview_pane_height)/2 << " = " << yframe << "\n";
+ //std::cerr << "frame_height: " << frame_height << "\n";
if(xloc <= -1 || yloc <= -1) {
xloc = xframe + left_preview_pane_width;
- [Wesnoth-cvs-commits] wesnoth/src show_dialog.cpp,
Guillaume Melquiond <=