Lasse Öörni
|
8cc5ad7fd2
Improved and unified API for Text & Text3D: get number of Unicode characters, get width of row by index, get position of character by index, get size of character by index. Store positions & sizes in the same vector to reduce amount of dynamic memory allocations.
|
há 12 anos atrás |
Lasse Öörni
|
694e41c42a
If font face uses mutable glyphs, reacquire all glyphs before constructing text batch.
|
há 12 anos atrás |
Lasse Öörni
|
0c76216202
Simplify and optimize Text code. If text does not change, do not look up glyphs & kerning each frame. Fix display of wordwrapped right-aligned texts.
|
há 12 anos atrás |
Lasse Öörni
|
6d5ddc23e0
Bump the copyright for 2014.
|
há 12 anos atrás |
Lasse Öörni
|
6219289e9f
Optimize text batch preparation by avoiding dynamic allocation each frame. Use last glyph if rendering the same glyph several times in a row. Changed repeated postincrement of a destination pointer to indexing where applicable.
|
há 12 anos atrás |
Lasse Öörni
|
eb9bc8847f
UI drawing code cleanup.
|
há 12 anos atrás |
Lasse Öörni
|
7a7e86589b
Optimized drawing of color-modified UI quads. UIBatch has new function SetColor() which can be used before drawing with modified color, and which performs the uint-conversion only once. This overrides the element's gradient if any.
|
há 12 anos atrás |
Lasse Öörni
|
712345aa56
Added log macros with formatting. Closes #114.
|
há 12 anos atrás |
Lasse Öörni
|
ee0e3aa663
Removed the mechanism of binary-serializing resource name hashes instead of resource names. This is to allow correct resource loading from binary scene files on platforms that cannot iterate the resources in the application installation (eg. Android). This also affects networking, downside is increased network payload size when resource attributes are transferred. All binary scenes saved with old Urho versions are also invalidated.
|
há 12 anos atrás |
Lasse Öörni
|
267523a738
Adapted Aster Jian's mutable glyph mechanism. Globally switchable on from the UI subsystem. Configurable font texture max size in UI subsystem.
|
há 12 anos atrás |
Lasse Öörni
|
ecc37d1f2e
If all font's glyph do not fit into one page, begin filling texture pages dynamically as glyphs are used.
|
há 12 anos atrás |
aster2013
|
475ddbe99d
Fixed Text Shadow Effect bug.
|
há 12 anos atrás |
Lasse Öörni
|
dbd7687c56
Added configurable Z bias to Text3D effect.
|
há 12 anos atrás |
Aster Jian
|
318d2bd5ef
Add TextEffect in Text class.
|
há 12 anos atrás |
Wei Tjong Yao
|
02512cecf9
In order to move the out-of-source 'build' directory back to Urho3D project root directory, all the source codes sub-directories are now moved down one level to a new directory under project root called 'Source'.
|
há 12 anos atrás |