X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fresources.h;h=c12215c04eb9c72095a22f55b7f921e36ee03607;hb=1a6d9006d0a85d8b8266266a4fc5e135f07448ae;hp=3d39393bac979b144f54d152d73dc69563355c5e;hpb=4d1dbf9ab44b915c4f35855cb70742e8fc834d12;p=libs%2Fgltk.git diff --git a/source/resources.h b/source/resources.h index 3d39393..c12215c 100644 --- a/source/resources.h +++ b/source/resources.h @@ -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_ @@ -11,6 +18,10 @@ 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: @@ -28,6 +39,7 @@ public: private: void default_font(const std::string &); void font(const std::string &); + void style(const std::string &); }; Resources();