Commit Graph

316 Commits

Author SHA1 Message Date
Martín Lucas Golini
d4e5d84631 Fixed Android build.
Updated SDL2 to SDL 2.0.8 (current dev).

--HG--
branch : dev-2.1
2018-01-26 01:25:11 -03:00
Martín Lucas Golini
b4982e5554 Added Texture Atlas Editor as a tool app.
Added Window::getCurrentDisplayDPI and Window::getDisplayPixelDensity.
Also some minor fixes.

--HG--
branch : dev-2.1
2018-01-26 00:28:32 -03:00
Martín Lucas Golini
fba9460bfd Added FontSprite class for font sprite support ( XNA Font Sprites ).
--HG--
branch : dev-2.1
2018-01-22 00:17:48 -03:00
Martín Lucas Golini
04e4646130 TextureFactory::bind fixed.
Added BMFont support.

--HG--
branch : dev-2.1
2018-01-21 20:38:16 -03:00
Martín Lucas Golini
8cd531602b Simplified the renderers, added RendererGLShader, a base class for all the shader based renderers ( GL3, GL3CP, GLES2 ).
Converted the shaders strings as raw string literals.

--HG--
branch : dev-2.1
2018-01-19 00:08:44 -03:00
Martí­n Lucas Golini
b1947d6d0b Minor refactor.
Added Math::Transformable.

--HG--
branch : dev-2.1
2018-01-14 19:59:37 -03:00
Martín Lucas Golini
20a07c86f3 Cache UINode polygon and screen position.
Renamed all UI_CTRL_FLAG_* to NODE_FLAG_*.
Several minor fixes.

--HG--
branch : dev-2.1
2018-01-14 03:51:08 -03:00
Martí­n Lucas Golini
a89b0a78bd Added Actions: Dealy, Sequence, Spawn.
Fixed several minor bugs in Actions.

--HG--
branch : dev-2.1
2018-01-13 19:29:59 -03:00
Martí­n Lucas Golini
37720c3fc8 Added Action::MarginMove.
--HG--
branch : dev-2.1
2018-01-12 17:00:05 -03:00
Martín Lucas Golini
ea427b21bc Added UIAction and UIActionManager. Every node now can implement actions.
Implemented base actions: Move, Scale, Fade, Rotate.

--HG--
branch : dev-2.1
2018-01-12 01:41:53 -03:00
Martín Lucas Golini
29b5251f97 Renamed SubTexture to TextureRegion.
Fixed a bug with frambuffers and views.

--HG--
branch : dev-2.1
2018-01-11 21:17:01 -03:00
Martín Lucas Golini
68534548a3 Moved Window::View to Graphics::View.
Force DefaultView for UI.

--HG--
branch : dev-2.1
2018-01-11 19:06:36 -03:00
Martín Lucas Golini
3a4a51423f Optimized imports.
--HG--
branch : dev-2.1
2018-01-11 18:43:24 -03:00
Martín Lucas Golini
f0d070556c Minor clean up and fixes.
--HG--
branch : dev-2.1
2018-01-11 00:51:06 -03:00
Martín Lucas Golini
c458f19cf0 Added System::DirectoryPack.
--HG--
branch : dev-2.1
2018-01-06 03:45:09 -03:00
Martín Lucas Golini
2ffa9e4734 Added System::VirtualFileSystem.
--HG--
branch : dev-2.1
2018-01-06 02:55:52 -03:00
Martín Lucas Golini
4ee322b8b0 Added IOStreamPak.
--HG--
branch : dev-2.1
2018-01-05 21:03:08 -03:00
Martín Lucas Golini
de72fac876 Implemented IOStreamZip.
Added Pack::getFileStream.

--HG--
branch : dev-2.1
2018-01-05 02:40:15 -03:00
Martín Lucas Golini
29fbf473e3 Removed AGL dependency on macOS ( deprecated a long time ago ).
--HG--
branch : dev-2.1
2018-01-05 01:23:12 -03:00
Martí­n Lucas Golini
e21daabe65 Renamed UIControl to UINode.
Removed UIControlAnim and UIDragableControl.
UIControlAnim and UIDragableControl implemented in base UINode.

--HG--
branch : dev-2.1
2018-01-02 02:37:23 -03:00
Martín Lucas Golini
d00587c318 Better android build scripts.
--HG--
branch : dev-2.1
2017-12-31 14:00:41 -03:00
Martín Lucas Golini
77637f71fa Moved "src/eepp/helper" folder to "src/thirdparty".
Also some minor fixes.

--HG--
branch : dev-2.1
2017-12-30 14:29:38 -03:00
Martín Lucas Golini
e28f606f38 Added PlatformHelper ( moved all the Android platform helpers there ).
Fixed a couple of minor bugs.

--HG--
branch : dev
2017-12-29 22:06:36 -03:00
Martín Lucas Golini
4709d662e4 Removed null backend.
--HG--
branch : dev
2017-12-27 01:28:31 -03:00
Martín Lucas Golini
21e2a52c8c Don't invalidate UITextView setters if same value is passed.
--HG--
branch : dev
2017-12-16 13:55:16 -03:00
Martí­n Lucas Golini
d32d362328 Enum types refactor.
Renderer refactor and more.

--HG--
branch : dev
2017-12-10 21:29:43 -03:00
Martí­n Lucas Golini
a0ea822978 Sys::getProcessPath now doesn't need a window to return a valid path.
--HG--
branch : dev
2017-12-10 03:28:41 -03:00
Martí­n Lucas Golini
0ff5a90494 Added android gradle project.
--HG--
branch : dev
2017-12-10 00:30:00 -03:00
Martí­n Lucas Golini
07dd0ae516 Moved app icon.
--HG--
branch : dev
2017-12-10 00:08:17 -03:00
Martí­n Lucas Golini
4d38101c08 Moved android ant project.
--HG--
branch : dev
2017-12-10 00:05:09 -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
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
db07b32264 NinePatch class WIP.
--HG--
branch : dev
2017-08-18 02:31:21 -03:00
Martín Lucas Golini
19310bb976 Added ScrollBarType.
--HG--
branch : dev
2017-08-10 01:12:29 -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
eaf4fa3a81 Emscripten fixes.
--HG--
branch : dev
2017-08-05 05:27:06 -03:00
Martín Lucas Golini
019b541b30 Minor changes.
--HG--
branch : dev
2017-07-30 19:14:34 -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
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
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
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
32c8ba1819 Many UI fixes.
TextureAtlasEditor now uses XML layout.
Added UIWidgetCreator.

--HG--
branch : dev
2017-04-10 05:02:38 -03:00