From 79b8f594d6b59b8ef3e2f1c25fd41d1bcc5ca363 Mon Sep 17 00:00:00 2001 From: Edouard DUPIN Date: Thu, 24 Oct 2013 07:46:24 +0200 Subject: [PATCH] [DEV] think paintin glyph api --- sources/appl/glyphDecoration/GlyphPainting.h | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/sources/appl/glyphDecoration/GlyphPainting.h b/sources/appl/glyphDecoration/GlyphPainting.h index 11b5168..a135af6 100644 --- a/sources/appl/glyphDecoration/GlyphPainting.h +++ b/sources/appl/glyphDecoration/GlyphPainting.h @@ -25,8 +25,22 @@ namespace appl { const char* getType(void) { return "appl::GlyphPainting"; }; + /** + * @brief Load or reload data from config + */ void reload(void); - + /** + * @brief Register a decoration with his name and get the ref id. + * @param[in] _name Name of the deco. + * @return id of the deco. + */ + esize_t registerDeco(const etk::UString& _name); + /** + * @brief Get Decoration handle. + * @param[in] _id Id of the decoration. + * @return pointer on deco. + */ + appl::GlyphDecoration* getDeco(esize_t _id); public: /** * @brief keep the resource pointer.