fixed line endings

This commit is contained in:
techdragon.nguyen@gmail.com
2010-11-08 11:36:28 +00:00
parent 8ba33c9b58
commit 7d25523a19

View File

@@ -1,6 +1,6 @@
#include "PrecompiledHeader.h" #include "PrecompiledHeader.h"
#include <iomanip> #include <iomanip>
#include "DeckEditorMenu.h" #include "DeckEditorMenu.h"
#include "PrecompiledHeader.h" #include "PrecompiledHeader.h"
#include "DeckEditorMenu.h" #include "DeckEditorMenu.h"
#include "DeckDataWrapper.h" #include "DeckDataWrapper.h"
@@ -31,8 +31,8 @@ DeckEditorMenu::DeckEditorMenu(int id, JGuiListener* listener, int fontId, const
statsHeight = 50; statsHeight = 50;
statsWidth = 185; statsWidth = 185;
statsX = 280; statsX = 280;
statsY = 12; statsY = 12;
avatarX = 222; avatarX = 222;
avatarY = 8; avatarY = 8;
@@ -54,15 +54,15 @@ void DeckEditorMenu::Render()
WFont *mainFont = resources.GetWFont( Fonts::OPTION_FONT ); WFont *mainFont = resources.GetWFont( Fonts::OPTION_FONT );
DWORD currentColor = mainFont->GetColor(); DWORD currentColor = mainFont->GetColor();
mainFont->SetColor( ARGB(255,255,255,255) ); mainFont->SetColor( ARGB(255,255,255,255) );
mainFont->DrawString( deckTitle.c_str(), statsX + (statsWidth / 2), statsHeight / 2 , JGETEXT_CENTER); mainFont->DrawString( deckTitle.c_str(), statsX + (statsWidth / 2), statsHeight / 2 , JGETEXT_CENTER);
mainFont->SetColor( currentColor ); mainFont->SetColor( currentColor );
} }
if ( stw && selectedDeck ) if ( stw && selectedDeck )
drawDeckStatistics(); drawDeckStatistics();
} }
void DeckEditorMenu::drawDeckStatistics() void DeckEditorMenu::drawDeckStatistics()
{ {
ostringstream deckStatsString; ostringstream deckStatsString;