]> git.tdb.fi Git - libs/gltk.git/blobdiff - source/resources.h
Clear focus in Panel if focused child is removed
[libs/gltk.git] / source / resources.h
index cf8116dbc7392f1eb9a60d51df959c081040db48..c12215c04eb9c72095a22f55b7f921e36ee03607 100644 (file)
@@ -1,3 +1,10 @@
+/* $Id$
+
+This file is part of libmspgltk
+Copyright © 2007  Mikko Rasa, Mikkosoft Productions
+Distributed under the LGPL
+*/
+
 #ifndef MSP_GLTK_RESOURCES_H_
 #define MSP_GLTK_RESOURCES_H_
 
 namespace Msp {
 namespace GLtk {
 
+/**
+Stores resources such as styles and graphics.  All widgets require a Resources
+instance in constructor.
+*/
 class Resources: public DataFile::Collection
 {
 private:
@@ -26,7 +37,9 @@ public:
        public:
                Loader(Resources &);
        private:
+               void default_font(const std::string &);
                void font(const std::string &);
+               void style(const std::string &);
        };
 
        Resources();