Adaptations to changes in GDL.

git-svn-id: svn://localhost@508 8062f311-0dae-4547-b526-b8ab9ac864a5
This commit is contained in:
Florian
2011-08-22 18:45:19 +00:00
parent 2e75575bd5
commit d39045b360
6 changed files with 51 additions and 54 deletions
+3 -2
View File
@@ -31,11 +31,12 @@ freely, subject to the following restrictions:
#include "GDL/tinyxml.h"
#include "GDL/FontManager.h"
#include "GDL/Position.h"
#include "GDL/RotatedRectangle.h"
#include "GDL/CommonTools.h"
#include "TextObject.h"
#if defined(GD_IDE_ONLY)
#include <wx/wx.h>
#include "GDL/CommonTools.h"
#include "GDL/ResourcesMergingHelper.h"
#include "GDL/MainEditorCommand.h"
#include "TextObjectEditor.h"
@@ -337,7 +338,7 @@ void TextObject::SetColor( unsigned int r, unsigned int g, unsigned int b )
void TextObject::SetColor(const std::string & colorStr)
{
vector < string > colors = SpliterStringToVector<string>(colorStr, ';');
vector < string > colors = SplitString<string>(colorStr, ';');
if ( colors.size() < 3 ) return; //La couleur est incorrecte