Commit Graph

269 Commits

Author SHA1 Message Date
Martín Lucas Golini
ec689dd667 Fixes.
--HG--
branch : dev
2017-10-24 01:30:55 -03:00
Martín Lucas Golini
a86e1538f5 Draw invalidation WIP.
UIWindow with FBO WIP.

--HG--
branch : dev
2017-10-23 02:30:31 -03:00
Martí­n Lucas Golini
e57e09dec8 Refactored UIMessage and UIEvent.
--HG--
branch : dev
2017-10-16 19:40:41 -03:00
Martín Lucas Golini
4e1f476ee1 Replaced default font.
Added beginPropertiesTransaction() and endPropertiesTransaction().
Added UILayout.
Added EventOnDragStart and EventOnDragStop.
Renamed MsgDragEnd to MsgDragStop.

--HG--
branch : dev
2017-10-16 01:33:34 -03:00
Martí­n Lucas Golini
bb4aab426a Clean up.
--HG--
branch : dev
2017-10-08 17:32:20 -03:00
Martín Lucas Golini
26889629e9 JoystickManagerSDL::openAsync() avoid crashes.
UI_WIN_DRAW_SHADOW renamed to UI_WIN_SHADOW.

--HG--
branch : dev
2017-10-07 16:58:11 -03:00
Martín Lucas Golini
1586230aa0 UITheme now uses Nine Patch images.
Added HDPI theme.

--HG--
branch : dev-ninepatch
2017-08-20 14:13:49 -03:00
Martín Lucas Golini
bb7a3ae650 More work on NinePatch support.
--HG--
branch : dev-ninepatch
2017-08-20 02:12:35 -03:00
Martí­n Lucas Golini
10be0ce6ce WIP nine patch.
--HG--
branch : dev-ninepatch
2017-08-19 23:36:32 -03:00
Martín Lucas Golini
24e4736235 Texture Atlas New refactored.
--HG--
branch : dev
2017-08-10 22:52:51 -03:00
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
0a487f7b92 Fixed FBOs.
Minor fixes for Emscripten and Android.

--HG--
branch : dev
2017-08-05 17:46:35 -03:00
Martín Lucas Golini
6c9f968b7d Minor eetest fix.
--HG--
branch : dev
2017-08-05 01:12:54 -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
44f6bc24d6 Fixed font load from packs.
--HG--
branch : dev
2017-07-30 05:23:12 -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
b9685c6bd2 Pixel Density fixes.
--HG--
branch : dev
2017-07-13 22:57:09 -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
cd389fa70d Minor fixes.
--HG--
branch : dev
2017-04-18 21:03:22 -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
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
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
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
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
f2ccbf65c8 Nothing relevant, some testing.
--HG--
branch : dev
2017-04-11 03:33:31 -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
3605bf894d Minor UI API changes.
--HG--
branch : dev
2017-04-09 20:32:51 -03:00
Martín Lucas Golini
a570cd2812 UILoader outline thickness fix.
--HG--
branch : dev
2017-04-09 18:54:52 -03:00
Martí­n Lucas Golini
304a97f0b1 Added UILoader.
--HG--
branch : dev
2017-04-08 21:51:34 -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
b0d4d7e9db Removed some compilation warnings emitted by clang.
And some minor fixes.

--HG--
branch : dev
2017-03-29 01:22:33 -03:00
Martí­n Lucas Golini
a68bb5e4b5 Fixed a bug in Text::setFillColor.
--HG--
branch : dev
2017-03-26 13:26:56 -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
ca9950b282 Minor clean up.
--HG--
branch : dev
2017-03-21 23:34:50 -03:00
Martí­n Lucas Golini
4a085c1928 Minor fixes.
--HG--
branch : dev
2017-03-21 02:30:43 -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
4bfd40b7b9 Refactored color classes.
Added Graphics::Drawable class.

--HG--
branch : dev
2017-03-18 04:09:53 -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
Martí­n Lucas Golini
0a71104127 Translator class WIP.
--HG--
branch : dev
2017-03-16 02:41:55 -03:00
Martín Lucas Golini
96adf132a2 Fixed console performance issues.
--HG--
branch : dev
2017-03-15 20:12:06 -03:00