Lasse Öörni
|
b4599e046d
Hardware sRGB texture support. OpenGL sRGB framebuffer writing implementation still missing.
|
12 tahun lalu |
Wei Tjong Yao
|
cb357e8859
Fixed the default UIBatch constructor to init all new member variables. Reapply speed optimisation logic in Text batch.
|
12 tahun lalu |
Lasse Öörni
|
f166775a1d
If UI element does not have a gradient, only convert the color once.
|
12 tahun lalu |
Lasse Öörni
|
c54a81c261
Calculate inverse texture size once during UIBatch construction.
|
12 tahun lalu |
Lasse Öörni
|
895819e8d2
Removed use of the UIQuad intermediate structure. Instead construct vertex data directly.
|
12 tahun lalu |
Lasse Öörni
|
5160610e25
Refactored freely rotating / scaling UIElements into a separate Sprite class; removed rotation from the base class as it would not work correctly with element hierarchies in most cases.
|
12 tahun lalu |
Wei Tjong Yao
|
d7f6b4d0b6
Enhanced UIElement to be able to set a default style file for later reference by children elements, added horizontal indentation feature, and added new E_LAYOUTUPDATED event. Enhanced ListView to better support hierarchy mode and added feature to show 'expansion triangle' in hierarchy mode. Fixed a bug in ScrollView to update view size correctly when resizing content element. Fixed a bug in Log's WriteRaw() method so it sends error message to stderr even in quite mode. Refactored Editor to take advantage of the enhancement.
|
12 tahun lalu |
Lasse Öörni
|
9ef8625e33
Fixed BorderImage attributes (tiled, blendmode) missing from script API.
|
13 tahun lalu |
Wei Tjong Yao
|
37cd015353
Further improvement.
|
13 tahun lalu |
Wei Tjong Yao
|
5544602c9e
Enhance Font class to support saving of font (TTF or bitmap type) as another bitmap font resource in xml format. For bitmap font type, saving yet to another bitmap font is only meaningful when called with the optional parameter turned on to save only used glyphs. Refactored UIBatch class to enable better performance in Text class UI batch generation in relation to multi-pages/textures font.
|
13 tahun lalu |
Lasse Öörni
|
a40fead7dc
Updated license for the new year.
|
13 tahun lalu |
Lasse Öörni
|
7d8558a51f
Applied massive patch from weitjong.
|
13 tahun lalu |
Lasse Öörni
|
4cafb5c0d7
Added tiled BorderImage patch from primitivewaste.
|
13 tahun lalu |
Lasse Öörni
|
88aaa46465
Corrected formatting issues. License.txt & Readme.txt encoded as UTF-8, source code uses ASCII encoding.
|
13 tahun lalu |
Lasse Öörni
|
f0b6d55b28
Enclosed Urho3D classes inside Urho3D namespace to avoid clashes with external libraries.
|
13 tahun lalu |
Lasse Öörni
|
cc3ee34f58
Increased occlusion buffer depth bias.
|
14 tahun lalu |
Lasse Öörni
|
71d2e019e6
Use a vertex buffer for UI rendering instead of several immediate mode draw operations. The vertex buffer is locked and updated once per frame, instead of several smaller locks.
|
14 tahun lalu |
Lasse Öörni
|
861091d375
Fixed performance problems caused by offscreen UI elements being queued for rendering unnecessarily. Fixed missing file extension filtering on Unix. Added String::StartsWith() & String::EndsWith() functions.
|
14 tahun lalu |
Lasse Öörni
|
b90c1386be
Removed unnecessary parentheses.
|
14 tahun lalu |
Lasse Öörni
|
483413e472
Fixed the UI not rendering on OpenGL.
|
14 tahun lalu |
Lasse Öörni
|
7da01092b6
Renamed ShaderProgram to ShaderVariation.
|
14 tahun lalu |
Lasse Öörni
|
3ca3f84df9
Refactored shader loading. A binary format is now used instead of XML data.
|
14 tahun lalu |
Lasse Öörni
|
0dee3e592c
Migrated the UI library to use PODVector for batches & quads.
|
14 tahun lalu |
Lasse Öörni
|
97d698e922
Code cleanup.
|
14 tahun lalu |
Lasse Öörni
|
7c45da5588
Import new code.
|
14 tahun lalu |
Lasse Öörni
|
a48885a729
Make way for import of new code.
|
14 tahun lalu |
Lasse Öörni
|
ee5a087570
Added hover background color & selection color to Text.
|
15 tahun lalu |
Lasse Öörni
|
3dddb2be16
LineEdit scrolling fix and code cleanup.
|
15 tahun lalu |
Lasse Öörni
|
523559f1a0
Added setFixedUpdateFps() to ScriptInstance.
|
15 tahun lalu |
Lasse Öörni
|
74b348c0a5
Fixed bug with rendering nontextured UI elements.
|
15 tahun lalu |