Commit Graph

381 Commits

Author SHA1 Message Date
Martín Lucas Golini
19310bb976 Added ScrollBarType.
--HG--
branch : dev
2017-08-10 01:12:29 -03:00
Martín Lucas Golini
f69f75a552 TexturePacker now tries to create the smallest texture atlas as possible.
--HG--
branch : dev
2017-08-06 04:18:00 -03:00
Martín Lucas Golini
0481f869d2 Improved UITheme load.
--HG--
branch : dev
2017-08-06 01:21:49 -03:00
Martín Lucas Golini
95715c60f5 Emscripten is little endian but architecture is not defined as a preprocessor macro, so we force it.
Some minor changes.

--HG--
branch : dev
2017-08-05 18:35:22 -03:00
Martín Lucas Golini
c4a35ea724 Backported some fixes from SFML2.
--HG--
branch : dev
2017-08-05 03:48:13 -03:00
Martín Lucas Golini
29fc879c34 A couple of fixes.
--HG--
branch : dev
2017-08-04 23:59:33 -03:00
Martín Lucas Golini
882dacfca5 UITextView fix.
--HG--
branch : dev
2017-08-03 11:54:39 -03:00
Martín Lucas Golini
aed0c04835 Critical fixes on loadLayout* on UIManager.
--HG--
branch : dev
2017-08-03 03:16:18 -03:00
Martín Lucas Golini
59c1405424 Fixes and changes mostly on UITextView.
--HG--
branch : dev
2017-08-02 15:01:05 -03:00
Martín Lucas Golini
a6f00f18e4 Allow reverse draw on UIGridLayout ( and any UIControl ).
Allow set ArcStartAngle on UILoader.
Allow configure Multisample for the OpenGL context.
Fixed some minor bugs.

--HG--
branch : dev
2017-08-01 01:15:09 -03:00
Martín Lucas Golini
5e358c555d Fixed a critical bug that prevented fonts loaded from memory to load correctly.
--HG--
branch : dev
2017-07-30 23:58:56 -03:00
Martín Lucas Golini
d5409ab6d3 Big endian fix.
--HG--
branch : dev
2017-07-30 23:45:43 -03:00
Martín Lucas Golini
d26c349429 Fixes for GLES1.
--HG--
branch : dev
2017-07-30 15:33:50 -03:00
Martín Lucas Golini
35d02cc3d1 More minor fixes.
--HG--
branch : dev
2017-07-30 12:24:24 -03:00
Martín Lucas Golini
feee056b40 Fixed Android compilation.
--HG--
branch : dev
2017-07-30 02:42:47 -03:00
Martín Lucas Golini
74821c85b1 Added onWidgetCreated.
--HG--
branch : dev
2017-07-24 22:16:36 -03:00
Martín Lucas Golini
34651aaced Fix in relative layout margins.
--HG--
branch : dev
2017-07-24 15:11:42 -03:00
Martín Lucas Golini
cad843f58d Some minor fixes.
--HG--
branch : dev
2017-06-10 04:20:18 -03:00
Martí­n Lucas Golini
81ce04da59 UILinearLayout fixes.
--HG--
branch : dev
2017-04-18 22:07:55 -03:00
Martí­n Lucas Golini
f66f6c9d1f Added UIGridLayout.
Also some fixes for the UI layouts and ScrollView.

--HG--
branch : dev
2017-04-18 04:41:38 -03:00
Martí­n Lucas Golini
7ea7cd51cd Fixed clip planes initial push clip state.
Minor refactor on onDrag* functions.

--HG--
branch : dev
2017-04-18 01:13:12 -03:00
Martí­n Lucas Golini
5da3e5ee60 Added DrawableGroup.
--HG--
branch : dev
2017-04-17 01:53:36 -03:00
Martín Lucas Golini
3b891043d8 Implemented ConvexShapeDrawable.
Refactored Polygon2.
Fixed Outline color not being updated in Text.

--HG--
branch : dev
2017-04-16 17:22:35 -03:00
Martín Lucas Golini
694f3c91b9 Refactored 2d clip planes stack.
--HG--
branch : dev
2017-04-16 16:07:31 -03:00
Martín Lucas Golini
9cf73262f4 Changed Recti as Rect.
Removed eeAABB in favor of Rectf.
Implemented UIScrollView XML load.

--HG--
branch : dev
2017-04-16 15:28:36 -03:00
Martí­n Lucas Golini
80720302ea Minor clean up.
--HG--
branch : dev
2017-04-16 13:47:14 -03:00
Martí­n Lucas Golini
8456dedab8 Added UITouchDragableWidget.
Implemented UITouchDragableWidget on UIListBox, UITable and UIScrollView.

--HG--
branch : dev
2017-04-16 03:42:20 -03:00
Martí­n Lucas Golini
6392e4d4b6 Minor changes.
--HG--
branch : dev
2017-04-14 13:12:08 -03:00
Martí­n Lucas Golini
988e756f74 Added stencil support for FBOs.
--HG--
branch : dev
2017-04-13 12:57:14 -03:00
Martí­n Lucas Golini
68854a0abc Added UIScrollView.
ClippingMask fix for negative values.
UIImage src fixed.
Some other minor fixes.

--HG--
branch : dev
2017-04-13 04:00:47 -03:00
Martín Lucas Golini
78e8b7fd33 Windows compilation fix.
--HG--
branch : dev
2017-04-12 02:51:33 -03:00
Martí­n Lucas Golini
fd23b52f68 Added Translator support for the UI elements created from xml, access with "@string/key".
--HG--
branch : dev
2017-04-11 23:44:33 -03:00
Martí­n Lucas Golini
427c8e2ff1 UIMessageBox with layouts.
LinearLayout fixes.
Some minor refactor.

--HG--
branch : dev
2017-04-11 14:28:10 -03:00
Martí­n Lucas Golini
0b8c51df3d Added HSL and HSV color conversion.
--HG--
branch : dev
2017-04-11 03:02:02 -03:00
Martí­n Lucas Golini
6d14696337 Color now is RGB.
ColorA now is Color.

--HG--
branch : dev
2017-04-11 02:03:52 -03:00
Martí­n Lucas Golini
7c69ea0f45 Added UIControl::find and UIControl::bind to easy layout element binding.
--HG--
branch : dev
2017-04-10 22:07:27 -03:00
Martí­n Lucas Golini
32c8ba1819 Many UI fixes.
TextureAtlasEditor now uses XML layout.
Added UIWidgetCreator.

--HG--
branch : dev
2017-04-10 05:02:38 -03:00
Martí­n Lucas Golini
eee63bf784 Renamed EE::Gaming module to EE::Maps.
--HG--
branch : dev
2017-04-10 00:28:04 -03:00
Martín Lucas Golini
3605bf894d Minor UI API changes.
--HG--
branch : dev
2017-04-09 20:32:51 -03:00
Martí­n Lucas Golini
304a97f0b1 Added UILoader.
--HG--
branch : dev
2017-04-08 21:51:34 -03:00
Martí­n Lucas Golini
b5e2920aa3 Minor changes.
--HG--
branch : dev
2017-04-08 18:16:55 -03:00
Martí­n Lucas Golini
c4804482c5 Renamed UIFontStyleConfig::updateFontStyleConfig to UIFontStyleConfig::updateStyleConfig
to stop clang complaining.

--HG--
branch : dev
2017-03-30 01:20:18 -03:00
Martí­n Lucas Golini
e09b07ecc0 Added ClippingMask class, for clipping with scissor test, clip planes and stencil test.
Fixed some minor problems.

--HG--
branch : dev
2017-03-30 01:17:11 -03:00
Martí­n Lucas Golini
12c74347ac RectangleDrawable WIP.
Drawables now can keep a position.
Some code clean up.

--HG--
branch : dev
2017-03-29 03:02:59 -03:00
Martí­n Lucas Golini
867f640e36 PrimitiveDrawables WIP.
--HG--
branch : dev
2017-03-27 12:13:16 -03:00
Martín Lucas Golini
a870de7db4 PrimitiveDrawable and ArcDrawable WIP.
--HG--
branch : dev
2017-03-26 22:16:03 -03:00
Martí­n Lucas Golini
bb0a6cacda Refactored Font and Text classes.
--HG--
branch : dev
2017-03-24 04:49:14 -03:00
Martí­n Lucas Golini
97558261ae Minor fix.
--HG--
branch : dev
2017-03-24 03:33:58 -03:00
Martí­n Lucas Golini
e88dd406b3 Optimized text selection performance.
--HG--
branch : dev
2017-03-24 03:10:27 -03:00
Martí­n Lucas Golini
b29b8bcd69 Added Text::setFillColor to substrings from the text string.
Renamed Text::setFlags and Text::getFlags to Text::setAlign and Text::getAlign.
A couple of random fixes.

--HG--
branch : dev
2017-03-24 02:10:39 -03:00