X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fresources.h;h=8fb2185448b7d20c291b07e3560486a75660e779;hb=1fde94c15fc65e85f5931a9daf74dd8806e682e0;hp=cf8116dbc7392f1eb9a60d51df959c081040db48;hpb=d7ae291415a21cc886fe318070b41ac8d3e57a30;p=libs%2Fgltk.git diff --git a/source/resources.h b/source/resources.h index cf8116d..8fb2185 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: @@ -26,6 +37,7 @@ public: public: Loader(Resources &); private: + void default_font(const std::string &); void font(const std::string &); };