Commit Graph

424 Commits

Author SHA1 Message Date
Martín Lucas Golini
aada050aa3 Added FileSystem::changeWorkingDirectory, FileSystem::getCurrentWorkingDirectory
and FileSystem::filePathRemoveCurrentWorkingDirectory.

--HG--
branch : dev
2017-12-29 10:52:58 -03:00
Martín Lucas Golini
a7c1d587ed Renamed FileSystem::getOSlash to FileSystem::getOSSlash.
Added FileSystem::dirRemoveSlashAtEnd.
FileSystem::fileExists now returns true if directory exists.

--HG--
branch : dev
2017-12-28 15:49:00 -03:00
Martín Lucas Golini
3606290585 Make shared gl context optional.
--HG--
branch : dev
2017-12-24 13:35:54 -03:00
Martín Lucas Golini
3303defc5f Refactorized Interpolation1d and Interpolation2d.
--HG--
branch : dev
2017-12-24 03:50:43 -03:00
Martí­n Lucas Golini
032be3a754 Allow text to set originpoint for rotation and scale.
Also some minor changes.

--HG--
branch : dev
2017-12-22 02:25:30 -03:00
Martín Lucas Golini
0c18dc5bd8 Fixed Window::toggleFullscreen.
--HG--
branch : dev
2017-12-20 02:23:54 -03:00
Martín Lucas Golini
421c1c4434 Color buffer support.
--HG--
branch : dev
2017-12-19 02:11:30 -03:00
Martín Lucas Golini
e807877cdd Added:
UIWidgetCreator::registerWidget
UIWidgetCreator::unregisterWidget
UIWidgetCreator::isWidgetRegistered

--HG--
branch : dev
2017-12-17 03:17:27 -03:00
Martín Lucas Golini
1902a22783 Fixed wrong time elapsed in UIManager.
Fixed backgorunds drawable alpha.

--HG--
branch : dev
2017-12-17 02:58:47 -03:00
Martí­n Lucas Golini
2b8cbd41fb WidgetCallback fix.
--HG--
branch : dev
2017-12-16 22:28:04 -03:00
Martí­n Lucas Golini
f625e9d98a Minor refactor.
--HG--
branch : dev
2017-12-16 21:29:53 -03:00
Martí­n Lucas Golini
5126886b48 Fixes.
--HG--
branch : dev
2017-12-16 19:06:12 -03:00
Martí­n Lucas Golini
864a1a8aa6 Texture Atlas packs the optimal number of channels.
--HG--
branch : dev
2017-12-14 00:24:08 -03:00
Martí­n Lucas Golini
b5a95f4906 Texture packer fix.
Texture Atlas Editor offset set fix.

--HG--
branch : dev
2017-12-11 02:49:20 -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
889db7b107 Drawable Type in Drawable class.
--HG--
branch : dev
2017-12-10 19:08:08 -03:00
Martí­n Lucas Golini
715d2d30b0 Replaced BlendMode with a new class.
--HG--
branch : dev
2017-12-10 18:13:31 -03:00
Martí­n Lucas Golini
8ac301ed73 Added discardFramebuffer for FBOs.
Updated glew.

--HG--
branch : dev
2017-12-10 16:33:26 -03:00
Martí­n Lucas Golini
d706560ea2 Fixed blend func on OpenGL ES.
--HG--
branch : dev
2017-12-10 13:57:32 -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
58e753f418 Framebuffer optimizations.
--HG--
branch : dev
2017-12-09 15:53:50 -03:00
Martí­n Lucas Golini
8908937a3c Added UIWindow::invalidated().
--HG--
branch : dev
2017-12-09 13:31:19 -03:00
Martín Lucas Golini
947b81f069 Improved draw invalidation.
--HG--
branch : dev
2017-10-29 13:26:57 -03:00
Martín Lucas Golini
1503422eeb More fixes.
--HG--
branch : dev
2017-10-28 14:07:05 -03:00
Martín Lucas Golini
c1037f2036 Several fixes.
--HG--
branch : dev
2017-10-28 04:33:40 -03:00
Martín Lucas Golini
121fb2b47a Some minor changes.
Added a minor demo for blurred windows.

--HG--
branch : dev
2017-10-25 01:31:53 -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
eeeac75335 Minor clean up.
--HG--
branch : dev
2017-10-16 01:59:18 -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
f64b2719ef UIWindow frame buffer rotation and scale fix.
--HG--
branch : dev
2017-10-08 22:51:07 -03:00
Martí­n Lucas Golini
bb4aab426a Clean up.
--HG--
branch : dev
2017-10-08 17:32:20 -03:00
Martín Lucas Golini
d16b0f6aa1 Allow nested frame buffer binds.
Allow windows with frame buffers.
Allow resize frame buffers.

--HG--
branch : dev
2017-10-08 04:18:11 -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
b037f0feac Background and Border of UIControls now supports alpha transparency.
--HG--
branch : dev
2017-09-26 01:05:49 -03:00
Martín Lucas Golini
6ff9973acc Pixel Density set for UITheme::loadFromFile.
--HG--
branch : dev-ninepatch
2017-08-26 13:52:59 -03:00
Martín Lucas Golini
b853134c7d More fixes to Nine Patch.
--HG--
branch : dev-ninepatch
2017-08-20 12:33:10 -03:00
Martín Lucas Golini
1aea188c97 Nine Patch fixes.
--HG--
branch : dev-ninepatch
2017-08-20 12:13:28 -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
2916c656b0 UIBackground and UIBorder clean up.
UIBackground now allows a drawable as background.

--HG--
branch : dev
2017-08-13 17:08:09 -03:00
Martín Lucas Golini
a58dcc5b56 UI alpha color fixes.
--HG--
branch : dev
2017-08-11 01:56:30 -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
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