Updated project file, removed compiler warnings, worked around

compilation problem on windows related to directory removal
for the add on server. 


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5895 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
hikerstk
2010-09-05 01:04:50 +00:00
parent 908116c983
commit 2f25be8333
3 changed files with 12 additions and 3 deletions

View File

@@ -89,8 +89,9 @@ void BubbleWidget::updateSize()
const int y2_top = m_expanded_size.UpperLeftCorner.Y;
const int y2_bottom = m_expanded_size.LowerRightCorner.Y;
currsize.UpperLeftCorner.Y = y1_top + (y2_top - y1_top)*m_zoom;
currsize.LowerRightCorner.Y = y1_bottom + (y2_bottom - y1_bottom)*m_zoom;
currsize.UpperLeftCorner.Y = (int)(y1_top + (y2_top - y1_top)*m_zoom);
currsize.LowerRightCorner.Y = (int)(y1_bottom
+(y2_bottom - y1_bottom)*m_zoom);
m_element->setRelativePosition(currsize);

View File

@@ -361,6 +361,10 @@
<Filter
Name="widgets"
>
<File
RelativePath="..\..\guiengine\widgets\bubble_widget.cpp"
>
</File>
<File
RelativePath="..\..\guiengine\widgets\button_widget.cpp"
>
@@ -1147,6 +1151,10 @@
<Filter
Name="widgets"
>
<File
RelativePath="..\..\guiengine\widgets\bubble_widget.hpp"
>
</File>
<File
RelativePath="..\..\guiengine\widgets\button_widget.hpp"
>

View File

@@ -43,7 +43,7 @@
#ifdef WIN32
/* FIXME : for the remove directory function*/
# include <shellapi.h>
// FIXME: doesn't work, many errors # include <shellapi.h>
# include <io.h>
# include <stdio.h>
# ifndef __CYGWIN__