+void Theme::set_appearance(const string &name, const Appearance &app)
+{
+ appearances[name] = app;
+}
+
+const Appearance &Theme::get_appearance(const string &name) const
+{
+ return get_item(appearances, name);
+}
+
+const Appearance *Theme::find_appearance(const string &name) const
+{
+ AppearanceMap::const_iterator i = appearances.find(name);
+ return (i!=appearances.end() ? &i->second : 0);
+}
+