Commit Graph

365 Commits

Author SHA1 Message Date
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
Martí­n Lucas Golini
7121b0a8e7 Fixed a couple of getter/setter.
--HG--
branch : dev
2017-03-22 03:21:54 -03:00
Martí­n Lucas Golini
ca9950b282 Minor clean up.
--HG--
branch : dev
2017-03-21 23:34:50 -03:00
Martí­n Lucas Golini
8d1535fa62 UISkinSimple and UISkinComplex now use Drawables instead of SubTextures.
--HG--
branch : dev
2017-03-21 03:04:48 -03:00
Martí­n Lucas Golini
4a085c1928 Minor fixes.
--HG--
branch : dev
2017-03-21 02:30:43 -03:00
Martí­n Lucas Golini
18033b0c3d Fixed a stack overflow bug in the memory manager.
Updated SOIL2.

--HG--
branch : dev
2017-03-21 01:49:50 -03:00
Martí­n Lucas Golini
03080c4478 Fixes.
--HG--
branch : dev
2017-03-20 11:59:57 -03:00
Martí­n Lucas Golini
a2fd80c7e8 Made UIManager::loadLayoutNodes. There's no reason to no make public this.
( this will enable users to create custom windows from code ).

--HG--
branch : dev
2017-03-20 00:56:01 -03:00
Martí­n Lucas Golini
338940a177 UIImage is now UISubTexture.
Implemented a new UIImage based on Drawables instead of SubTextures.
Added DrawableSearcher class.
Fixed some UI bugs.

--HG--
branch : dev
2017-03-19 22:32:02 -03:00
Martí­n Lucas Golini
b0d0e2e579 Renderer refactor.
--HG--
branch : dev
2017-03-19 20:10:24 -03:00
Martí­n Lucas Golini
8fe28f8d99 Other minor clean up.
--HG--
branch : dev
2017-03-19 19:18:30 -03:00
Martí­n Lucas Golini
95cc075cc6 Minor clean up.
--HG--
branch : dev
2017-03-19 13:51:32 -03:00
Martí­n Lucas Golini
b00b6908ea More clean up.
--HG--
branch : dev
2017-03-18 04:38:37 -03:00
Martí­n Lucas Golini
4bfd40b7b9 Refactored color classes.
Added Graphics::Drawable class.

--HG--
branch : dev
2017-03-18 04:09:53 -03:00
Martí­n Lucas Golini
59d428f663 Reimplemented UIProgressBar without using the ScrollParallax class.
Removed UISkin::getSubTexture.

--HG--
branch : dev
2017-03-18 01:32:40 -03:00
Martí­n Lucas Golini
58ca5b82ca UIMenuSubMenu and UIMenuCheckbox don't rely on UISkin::getSubTexture anymore.
--HG--
branch : dev
2017-03-18 00:38:37 -03:00
Martí­n Lucas Golini
c0975dd80d Code clean up and refactoring.
Removed HaikuTTF from the project.

--HG--
branch : dev
2017-03-17 23:17:21 -03:00