]> git.tdb.fi Git - libs/gltk.git/commit - source/resources.h
Reintroduce the Resources constructor that immediately loads a file
authorMikko Rasa <tdb@tdb.fi>
Wed, 16 Jan 2013 16:58:51 +0000 (18:58 +0200)
committerMikko Rasa <tdb@tdb.fi>
Wed, 16 Jan 2013 17:01:41 +0000 (19:01 +0200)
commite5da6bc3e1f32342e661893fbb3c1cf873422c2e
tree3a9a8bc8298abfda10d7b7fa87a2c84b0b7c4392
parent9072069993704481d93b71add1f1ecda1009ae88
Reintroduce the Resources constructor that immediately loads a file

This covers many simple use cases and avoids the need of creating a
sub-class to add sources or load data before a Root is created.
source/resources.cpp
source/resources.h