Commit Graph

33 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
cd34f7f4e4 Several fixes for UIViewPager.
Added min-width and max-width CSS properties (still needs testing).
Fixed CSS animations with multiple steps.
Fixed menu sub-menues not appearing.
2020-02-28 04:40:32 -03:00
Martín Lucas Golini
8c108c5ed9 Added UIViewPager.
Node::onChildCountChange reports the child that's being added or removed.
Added Ease::toString.
Added UIWidget::lengthFromValueAsDp.
2020-02-27 14:16:11 -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
36fae19cdb Replaced some mDpSize for getSize().
Implementing CSS::StyleSheetLength.

--HG--
branch : dev
2019-11-22 16:18:57 -03:00
Martín Lucas Golini
676af424fd Added Http::Pool class.
Added static functions:
Http::request, Http::get, Http:post, Http:requestAsync, Http::getAsync, Http:postAsync.
Fixed UILayout::isType, UILinearLayout::isType.
Fixed recursive loop on UILinearLayout::pack.
Added DrawableSearcher HTTP resources support.

--HG--
branch : dev
2019-05-23 02:42:51 -03:00
Martí­n Lucas Golini
b86338ce75 Minor fixes.
--HG--
branch : dev
2019-01-19 19:14: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
1f80dcce30 Layouts and widgets padding fixes.
--HG--
branch : dev-widget-padding
2018-12-09 17:29:56 -03:00
Martín Lucas Golini
0446c4e19a Layout margin on layout position rule.
--HG--
branch : dev
2018-06-16 18:27:29 -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
Martín Lucas Golini
81ff7cdaed Scene::Node WIP.
--HG--
branch : dev-scene
2018-02-01 03:00:55 -03:00
Martín Lucas Golini
dd20e489f1 Renamed UINode::mSize to UINode::mDpSize and UINode::mRealSize to UINode::mSize.
--HG--
branch : dev-2.1
2018-01-31 22:46:32 -03:00
Martín Lucas Golini
64379c9211 UINode::setSize is float ( and a lot of related fields too ).
--HG--
branch : dev-2.1-float
2018-01-30 02:19:42 -03:00
Martín Lucas Golini
1361f5e002 Testing if i can move to UI float positions without breaking everything.
--HG--
branch : dev-2.1-float
2018-01-29 03:04:40 -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
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
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
f7b8b41677 Accept margins on centered layout gravity for relative layouts.
--HG--
branch : dev
2017-07-26 01:57:59 -03:00
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
8e203fc99e Minor clean up.
--HG--
branch : dev
2017-04-18 22:19:10 -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
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
775eb656ca More refactor and fixes.
--HG--
branch : dev-font
2017-03-15 01:57:35 -03:00
Martí­n Lucas Golini
59cdda55d0 Fixed compilation in clang and some clean up.
--HG--
branch : dev
2017-03-11 13:49:04 -03:00
Martí­n Lucas Golini
8596c9391a Load UI from XML WIP.
--HG--
branch : dev
2017-03-10 02:54:24 -03:00
Martín Lucas Golini
69aa3c7419 Added position rules for widgets in the relative layout.
--HG--
branch : dev
2017-03-08 17:12:12 -03:00
Martín Lucas Golini
9c91fece4c Fixes.
--HG--
branch : dev
2017-03-08 16:01:04 -03:00
Martí­n Lucas Golini
70f415ee06 UIRelativeLayout WIP.
--HG--
branch : dev
2017-03-08 13:32:31 -03:00