]> git.tdb.fi Git - libs/gltk.git/commitdiff
Migrate from msppath to mspfs
authorMikko Rasa <tdb@tdb.fi>
Sun, 20 Jul 2008 12:40:21 +0000 (12:40 +0000)
committerMikko Rasa <tdb@tdb.fi>
Sun, 20 Jul 2008 12:40:21 +0000 (12:40 +0000)
Build
source/resources.cpp
source/resources.h

diff --git a/Build b/Build
index 7afd6c03f4ccf2006ec4a5f1e517c9c1084d96b5..9ee98b93c0894ffafcc31e339ff594f5d5d8c264 100644 (file)
--- a/Build
+++ b/Build
@@ -4,7 +4,7 @@ package "mspgltk"
 {
        require "mspgl";
        require "mspgbase";
-       require "msppath";
+       require "mspfs";
 
        library "mspgltk"
        {
index 01426a20ced22d8911c587ab21338201c8d02c1d..886b41654b571571e1cf545ac7d3d766f3f750cc 100644 (file)
@@ -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;
 }
index c12215c04eb9c72095a22f55b7f921e36ee03607..c61d38abdffac50070c6019add97cbcdbbcf5617 100644 (file)
@@ -11,7 +11,7 @@ Distributed under the LGPL
 #include <msp/gl/font.h>
 #include <msp/gl/texture.h>
 #include <msp/datafile/collection.h>
-#include <msp/path/path.h>
+#include <msp/fs/path.h>
 #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 &);