Commit Graph

353 Commits

Author SHA1 Message Date
Martín Lucas Golini
d4cf1efc7f UIViewPager fixes.
Fixed structural pseudo-classes states in some specific scenario.
2020-02-28 23:58:00 -03:00
Martín Lucas Golini
5e4562b3ec Minor fixes and clean up. 2020-02-26 01:25:49 -03:00
Martín Lucas Golini
16e6e1f8d1 Improvements in emscripten build.
Added support in emscripten for Http:getAsync and Http::postAsync.
Fixes with modal dialogs.
Fixes in texture atlas editor.
Fixes in UIColorPicker.
Fix in UITextView text selection.
Improvements in WindowSDL2.
UICheckBox not uses setChecked and isChecked instead of setActive and isActive.
2020-01-20 05:15:18 -03:00
Martín Lucas Golini
6eccb23a73 Android build now uses mojoAL.
Updated SOIL2 and efsw.
2020-01-17 18:44:44 -03:00
Martín Lucas Golini
f60d4c183e clang-formated all project source files.
Improved documentation.

--HG--
branch : dev
2020-01-10 04:39:46 -03:00
Martín Lucas Golini
6b13111d19 General enums refactor. This will break the API for several things.
The idea is that this enums should never be used by code from now on, and
always use the XML+CSS features.

--HG--
branch : dev
2019-12-15 17:21:39 -03:00
Martín Lucas Golini
9c9d3edddf Minor clean up.
--HG--
branch : dev
2019-12-13 01:31:02 -03:00
Martín Lucas Golini
90f6f4bdc3 Removed UIThemeManager as a single instance manager, now each UISceneNode owns and
instances a UIThemeManager, this allows to use different settings for each UISceneNode
(useful for the UIEditor for example).
Fixed word-wrap CSS property.
Added UINode::getUISceneNode().
UIEditor now takes argument parameters.
Also some minor fixes for controls without a default theme.

--HG--
branch : dev
2019-12-09 17:30:55 -03:00
Martín Lucas Golini
ba7594b83c Added FrameRateLimit to Context variables.
Updated SOIL2 and efsw.
Minor changes in UILoader.

--HG--
branch : dev
2019-11-21 23:29:23 -03:00
Martín Lucas Golini
ae6fda1faf UIWindow modal mode fixes.
UIColor picker improvements.

--HG--
branch : dev
2019-11-11 02:53:01 -03:00
Martín Lucas Golini
8b437876b0 UIColorPicker implemented.
--HG--
branch : dev
2019-11-10 19:21:30 -03:00
Martín Lucas Golini
d65ecdf63b Color Picker more progress.
UIWindow invalidation fix.
UIWidget new functions: findByClass(), findByTag(), findAllByClass(), findAllByTag().

--HG--
branch : dev
2019-11-10 16:18:40 -03:00
Martín Lucas Golini
58eda1da03 Color Picker WIP.
--HG--
branch : dev
2019-11-10 04:14:33 -03:00
Martín Lucas Golini
c1d586eaf9 Reworking input implementation (might have some bugs).
Minor bug fixes.

--HG--
branch : dev
2019-11-07 17:34:44 -03:00
Martín Lucas Golini
46a62c6fdb More clean up.
--HG--
branch : dev
2019-11-05 01:35:02 -03:00
Martín Lucas Golini
35a7aa6641 Crash fix.
--HG--
branch : dev
2019-11-04 18:29:30 -03:00
Martín Lucas Golini
9aa7b4b7d0 Renamed TextureSaver to ScopedTexture.
Added System::ThreadPool.
Refactored ResourceLoader.
Removed OjbectLoader and all object type loaders.
Some minor refactors.

--HG--
branch : dev
2019-09-08 02:26:33 -03:00
Martín Lucas Golini
2e663e86b9 More accurate Sys::Sleep for Windows.
More accurate Milliseconds().
More accurate Window::setFrameRateLimit.

--HG--
branch : dev
2019-07-02 02:34:15 -03:00
Martín Lucas Golini
f122c1554c Texture is now a DrawableResource.
DrawableResource now can emit events on resource changes, load and unload.
UIImage improvements.

--HG--
branch : dev
2019-06-24 23:42:47 -03:00
Martín Lucas Golini
a6c82095a3 UIScrollView, UIScrollBar, UISlider, UITabWidget fixes.
Fixed * selector with pseudoclasses.

--HG--
branch : dev
2019-06-23 23:14:37 -03:00
Martín Lucas Golini
c3b368ee76 UI bug fixes and minor changes.
--HG--
branch : dev-css
2019-05-22 00:35:01 -03:00
Martín Lucas Golini
3a43043fe5 Initial support for non-cacheable CSS styles.
Some minor colors refactor.
Some minor bug fixes.

--HG--
branch : dev-css
2019-05-19 04:00:24 -03:00
Martín Lucas Golini
5eab4ab11a Working on orienting the UI to CSS states, and removing states from the base UIWidget.
--HG--
branch : dev-css
2019-02-01 21:30:08 -03:00
Martín Lucas Golini
bccc4b0766 Fixed eetest release build.
--HG--
branch : dev
2019-01-13 04:51:01 -03:00
Martín Lucas Golini
2cda2304d8 Cursor refactor.
--HG--
branch : dev
2019-01-12 02:22:31 -03:00
Martín Lucas Golini
6b05bae813 String::strFormat is now String::formatBuffer.
String::strFormated is now String::format.
Added Actions::ResizeBorderRadius and implemented Border Radius CSS transition.
Renamed BackgroundCorners for BorderRadius.
Renamed ForegroundCorners for ForgroundRadius.

--HG--
branch : dev
2019-01-09 01:13:57 -03:00
Martín Lucas Golini
6e46bf9968 Minor clean up.
--HG--
branch : dev
2019-01-06 14:46:20 -03:00
Martín Lucas Golini
8bd92fc8df Fixed Android build.
--HG--
branch : dev
2019-01-05 04:11:57 -03:00
Martín Lucas Golini
5f7281e808 More clean up.
--HG--
branch : dev-css
2019-01-01 15:39:18 -03:00
Martín Lucas Golini
fa5b958c8e Some clean up.
--HG--
branch : dev-css
2019-01-01 04:32:55 -03:00
Martín Lucas Golini
3962de8e43 More CSS work.
--HG--
branch : dev-css
2018-12-30 03:28:31 -03:00
Martín Lucas Golini
8094b26310 CSS support WIP.
--HG--
branch : dev
2018-12-29 20:27:31 -03:00
Martín Lucas Golini
dd2bfc083c Moved ActionManager as a global SceneNode action manager, instead of an Action
Manager per Node approach.

--HG--
branch : dev-stateful-drawable
2018-12-22 17:57:38 -03:00
Martín Lucas Golini
fba7a467e2 Removed UIBorder in favor of stateful UISkin.
--HG--
branch : dev-stateful-drawable
2018-12-21 02:02:41 -03:00
Martín Lucas Golini
ae9f00cf81 Replaced UIBackground in favor of stateful UISkin.
--HG--
branch : dev-stateful-drawable
2018-12-21 01:35:58 -03:00
Martín Lucas Golini
6ef328ef31 Added Scene Actions: Enable, Disable, Visible.
Removed all the start[ActionName] functions in UINode in favor of using runAction.

--HG--
branch : dev-stateful-drawable
2018-12-20 13:10:29 -03:00
Martín Lucas Golini
02cf8773ed Some eeNew replaced with Class::New.
--HG--
branch : dev-stateful-drawable
2018-12-17 22:16:38 -03:00
Martín Lucas Golini
280931e236 Stateful Drawable skeleton.
--HG--
branch : dev-stateful-drawable
2018-12-17 02:13:28 -03:00
Martín Lucas Golini
2aa56c630a Minor clean up.
--HG--
branch : dev-widget-padding
2018-12-13 02:31:22 -03:00
Martín Lucas Golini
3ffb8db85a Node childs now updates they NodeDrawInvalidator no parent change.
Fixed a bug that prevented a correct draw invalidation in Windows.

--HG--
branch : dev-widget-padding
2018-12-11 01:25:13 -03:00
Martín Lucas Golini
b7908851b0 UIWidget padding support WIP.
--HG--
branch : dev-widget-padding
2018-12-09 04:59:50 -03:00
Martín Lucas Golini
1250eb967b Replacement of PlusCallback in favor of std::functional ( just for lambdas ).
--HG--
branch : dev-functional
2018-07-17 10:31:34 -03:00
Martín Lucas Golini
ae9228887e Fix.
--HG--
branch : dev
2018-03-17 19:37:54 -03:00
Martín Lucas Golini
2d96bb169c Added Image::svgScale.
Added TexturePacker option scalable svg.
Clean up.

--HG--
branch : dev
2018-03-17 03:16:00 -03:00
Martín Lucas Golini
bd2b08e9b2 Minor fix.
--HG--
branch : dev
2018-03-07 21:03:16 -03:00
Martín Lucas Golini
d8e8e601ef Android build fix.
--HG--
branch : dev
2018-03-07 20:41:23 -03:00
Martín Lucas Golini
b64b092bb5 Android build fix.
--HG--
branch : dev
2018-03-07 20:40:58 -03:00
Martín Lucas Golini
c58252075a Several fixes and clean up.
--HG--
branch : dev-scenenode
2018-02-04 20:59:20 -03:00
Martín Lucas Golini
a1c016ad3f WIP SceneNode, SceneManager, UISceneNode, EventDispatcher.
--HG--
branch : dev-scenenode
2018-02-04 04:27:38 -03:00
Martín Lucas Golini
f748454f8b UI::UIMessage is now Scene::NodeMessage.
UI::UIEvent is now Scene::Event.
UI::UIEventMouse is now Scene::MouseEvent.
UI::UIEventKey is now Scene::KeyEvent.
Also some fixes.

--HG--
branch : dev-scene
2018-02-02 01:06:43 -03:00