projects
/
platform
/
core
/
uifw
/
dali-toolkit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Stop setting crazy Z value with controls (at the moment depth is ignored by...
[platform/core/uifw/dali-toolkit.git]
/
dali-toolkit
/
internal
/
text
/
rendering
/
atlas
/
atlas-glyph-manager-impl.h
diff --git
a/dali-toolkit/internal/text/rendering/atlas/atlas-glyph-manager-impl.h
b/dali-toolkit/internal/text/rendering/atlas/atlas-glyph-manager-impl.h
index
9fe8ead
..
ce937a8
100644
(file)
--- a/
dali-toolkit/internal/text/rendering/atlas/atlas-glyph-manager-impl.h
+++ b/
dali-toolkit/internal/text/rendering/atlas/atlas-glyph-manager-impl.h
@@
-62,20
+62,15
@@
public:
Vector< GlyphRecordEntry > mGlyphRecords;
};
Vector< GlyphRecordEntry > mGlyphRecords;
};
- AtlasGlyphManager();
-
- virtual ~AtlasGlyphManager();
-
-/**
- * Create a new AtlasGlyphManager
+ /**
+ * @brief Constructor
*/
*/
-
static AtlasGlyphManagerPtr New
();
+
AtlasGlyphManager
();
/**
* @copydoc Toolkit::AtlasGlyphManager::Add
*/
/**
* @copydoc Toolkit::AtlasGlyphManager::Add
*/
- void Add( Text::FontId fontId,
- const Text::GlyphInfo& glyph,
+ void Add( const Text::GlyphInfo& glyph,
const BufferImage& bitmap,
Dali::Toolkit::AtlasManager::AtlasSlot& slot );
const BufferImage& bitmap,
Dali::Toolkit::AtlasManager::AtlasSlot& slot );
@@
-117,7
+112,7
@@
public:
/**
* @copydoc toolkit::AtlasGlyphManager::AdjustReferenceCount
*/
/**
* @copydoc toolkit::AtlasGlyphManager::AdjustReferenceCount
*/
- void AdjustReferenceCount( Text::FontId fontId,
uint32_t imageId
, int32_t delta );
+ void AdjustReferenceCount( Text::FontId fontId,
Text::GlyphIndex index
, int32_t delta );
/**
* @copydoc Toolkit::AtlasGlyphManager::GetMaterial
/**
* @copydoc Toolkit::AtlasGlyphManager::GetMaterial
@@
-150,6
+145,13
@@
public:
return mShadowShader;
}
return mShadowShader;
}
+protected:
+
+ /**
+ * A reference counted object may only be deleted by calling Unreference()
+ */
+ virtual ~AtlasGlyphManager();
+
private:
Dali::Toolkit::AtlasManager mAtlasManager; ///> Atlas Manager created by GlyphManager
private:
Dali::Toolkit::AtlasManager mAtlasManager; ///> Atlas Manager created by GlyphManager