From: Mikko Rasa Date: Sun, 20 Jul 2008 12:40:21 +0000 (+0000) Subject: Migrate from msppath to mspfs X-Git-Tag: 0.9~5 X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=34724c2c2f2d30cf66e74ef3e848547171c7fee9;p=libs%2Fgltk.git Migrate from msppath to mspfs --- diff --git a/Build b/Build index 7afd6c0..9ee98b9 100644 --- a/Build +++ b/Build @@ -4,7 +4,7 @@ package "mspgltk" { require "mspgl"; require "mspgbase"; - require "msppath"; + require "mspfs"; library "mspgltk" { diff --git a/source/resources.cpp b/source/resources.cpp index 01426a2..886b416 100644 --- a/source/resources.cpp +++ b/source/resources.cpp @@ -24,7 +24,7 @@ Resources::Resources(): add_creator(&Resources::create_texture); } -void Resources::set_path(const Path &p) +void Resources::set_path(const FS::Path &p) { path=p; } diff --git a/source/resources.h b/source/resources.h index c12215c..c61d38a 100644 --- a/source/resources.h +++ b/source/resources.h @@ -11,7 +11,7 @@ Distributed under the LGPL #include #include #include -#include +#include #include "graphic.h" #include "style.h" @@ -25,7 +25,7 @@ instance in constructor. class Resources: public DataFile::Collection { private: - Path path; + FS::Path path; GL::Font *default_font; public: @@ -44,7 +44,7 @@ public: Resources(); - void set_path(const Path &); + void set_path(const FS::Path &); const GL::Font &get_default_font() const; private: GL::Font *create_font(const std::string &);