]> git.tdb.fi Git - libs/gltk.git/blobdiff - source/style.h
Rename some get functions as find because they can return null
[libs/gltk.git] / source / style.h
index 56870da615b8e1a9efb7062d0fea9869c7512a4c..2c4863ac4a340e627ecd1984c9ba79f6f5cde956 100644 (file)
@@ -48,7 +48,7 @@ public:
        const GL::Color &get_font_color(State) const;
        const GL::Sampler &get_sampler() const;
        const PartSeq &get_parts() const { return parts; }
-       const Part *get_part(const std::string &) const;
+       const Part *find_part(const std::string &) const;
        bool compare_states(State, State) const;
 };