aster2013
|
7e46f0c862
Add MIXED_ACCESSOR_ATTRIBUTE.
|
hace 11 años |
Lasse Öörni
|
d7924f907f
Added glyph offset functionality to Font. Closes #13.
|
hace 11 años |
Lasse Öörni
|
2dc6c117cd
When a wordwrap text element exists in a parent layout, force a final layout update on the parent to prevent the parent remaining too large. Closes #475.
|
hace 11 años |
Lasse Öörni
|
8357e50afb
Merge remote-tracking branch 'remotes/ninjastone/master'
|
hace 11 años |
ninjastone
|
6347724b66
Fix index out of range
|
hace 11 años |
aster2013
|
09baed3460
Add text effect code to text shader for Text3D.
|
hace 11 años |
aster
|
d72dcde96d
Remove useSDF parameter in Text and Text3D classes, now signed distance field font is a bitmap font file with .sdf extension.
|
hace 11 años |
aster2013
|
68c879d1fd
Add Use SDF in Text class.
|
hace 11 años |
aster
|
0ffbd4d575
Move font face class out of font files.
|
hace 11 años |
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.
|
hace 12 años |
Lasse Öörni
|
694e41c42a
If font face uses mutable glyphs, reacquire all glyphs before constructing text batch.
|
hace 12 años |
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.
|
hace 12 años |
Lasse Öörni
|
6d5ddc23e0
Bump the copyright for 2014.
|
hace 12 años |
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.
|
hace 12 años |
Lasse Öörni
|
eb9bc8847f
UI drawing code cleanup.
|
hace 12 años |
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.
|
hace 12 años |
Lasse Öörni
|
712345aa56
Added log macros with formatting. Closes #114.
|
hace 12 años |
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.
|
hace 12 años |
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.
|
hace 12 años |
Lasse Öörni
|
ecc37d1f2e
If all font's glyph do not fit into one page, begin filling texture pages dynamically as glyphs are used.
|
hace 12 años |
aster2013
|
475ddbe99d
Fixed Text Shadow Effect bug.
|
hace 12 años |
Lasse Öörni
|
dbd7687c56
Added configurable Z bias to Text3D effect.
|
hace 12 años |
Aster Jian
|
318d2bd5ef
Add TextEffect in Text class.
|
hace 12 años |
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'.
|
hace 12 años |