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