]> git.tdb.fi Git - libs/gltk.git/blobdiff - source/part.cpp
Add a shortcut for defining normal graphic
[libs/gltk.git] / source / part.cpp
index 7c98545c87a49ea5442b88a4463bfaf1c18c620b..4726b4c007daed4e665d64b13cadf76e28e8fc2b 100644 (file)
@@ -58,6 +58,11 @@ Part::Loader::~Loader()
                }
 }
 
+void Part::Loader::graphic_normal(const string &n)
+{
+       graphic(NORMAL, n);
+}
+
 void Part::Loader::graphic(State s, const string &n)
 {
        Graphic *grph = &get_collection().get<Graphic>(n);