Commit Graph

596 Commits

Author SHA1 Message Date
Martín Lucas Golini
eea0f6dfbc CSS clean up.
--HG--
branch : dev
2019-01-21 00:51:27 -03:00
Martín Lucas Golini
7e6e07099b Minor improvements in CSS selector parsing.
Some minor bug fixes.

--HG--
branch : dev
2019-01-20 01:51:01 -03:00
Martí­n Lucas Golini
b86338ce75 Minor fixes.
--HG--
branch : dev
2019-01-19 19:14:31 -03:00
Martín Lucas Golini
41e1fbf2fc Added TSafeDataPointer<T> and now SafeDataPointer implements TSafeDataPointer<Uint8>.
Renamed: Node::onMouseEnter and Node::onMouseExit in favor of: Node::onMouseOver and Node::onMouseLeave.
Renamed events NodeMessage::MouseEnter and NodeMessage::MouseExit for: NodeMessage::MouseOver and NodeMessage::MouseLeave.
Renamed events Event::MouseEnter and Event::MouseExit for: Event::MouseOver and Event::MouseLeave.
Node::onMouseOver and Node::onMouseLeave now reports the message to its parent tree.
Node flags now all passed as `const Uint32&`.

--HG--
branch : dev
2019-01-19 04:13:25 -03:00
Martín Lucas Golini
343d386d7a UI Scene Node now uses scheduled update by default.
--HG--
branch : dev
2019-01-17 20:11:42 -03:00
Martín Lucas Golini
02c8afee20 Allow parse CSS from string.
--HG--
branch : dev
2019-01-17 02:42:25 -03:00
Martín Lucas Golini
388bcdfbc9 Fix.
--HG--
branch : dev
2019-01-14 04:56:20 -03:00
Martín Lucas Golini
6e4fb306b3 Working on some optimizations and bug fixes.
--HG--
branch : dev
2019-01-14 04:34:00 -03:00
Martín Lucas Golini
b2b6aca4b9 Fixes from last commit.
--HG--
branch : dev
2019-01-13 18:42:55 -03:00
Martín Lucas Golini
7839a95f77 Node::getRealSize is now Node::getPixelsSize.
Node::writeCtrlFlag is now Node::writeNodeFlag.
Const correctness in some Scene and UI classes.

--HG--
branch : dev
2019-01-13 16:00:04 -03:00
Martín Lucas Golini
b050e39d30 Windows and Visual Studio compilation fixes.
--HG--
branch : dev
2019-01-12 15:22:56 -03:00
Martín Lucas Golini
1e1ace05f7 Text tint css transitions.
--HG--
branch : dev
2019-01-12 03:55:39 -03:00
Martín Lucas Golini
2cda2304d8 Cursor refactor.
--HG--
branch : dev
2019-01-12 02:22:31 -03:00
Martín Lucas Golini
cbe59866a8 Basic css linear-gradient support.
--HG--
branch : dev
2019-01-11 03:16:56 -03:00
Martín Lucas Golini
4c93e28929 Minor clean up.
--HG--
branch : dev
2019-01-11 01:18:25 -03:00
Martín Lucas Golini
8f4b94ee3d Margin and padding CSS transitions fixes.
--HG--
branch : dev
2019-01-09 02:13:06 -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
b16f4b8421 Added support for skin fill color.
Added movement transition support for x and y properties.
Some fixes.

--HG--
branch : dev
2019-01-09 00:42:13 -03:00
Martín Lucas Golini
fa57c2393e Improvements for CSS Transitions.
Reimplemented UINode border.

--HG--
branch : dev
2019-01-07 23:59:19 -03:00
Martín Lucas Golini
d376f6506f Auto size fixes.
Tab initial state fix.

--HG--
branch : dev
2019-01-07 16:46:46 -03:00
Martín Lucas Golini
9f0f5185d7 Added more CSS Transitions.
--HG--
branch : dev
2019-01-07 13:39:01 -03:00
Martín Lucas Golini
ecbf592eb3 CSS Transitions WIP.
--HG--
branch : dev
2019-01-07 03:51:08 -03:00
Martín Lucas Golini
ab1715c9c5 More work in CSS Transitions.
--HG--
branch : dev
2019-01-07 00:10:17 -03:00
Martín Lucas Golini
d9c2a4ec0a CSS Transitions WIP.
--HG--
branch : dev
2019-01-06 20:22:28 -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
c0d69b8446 More clean up.
--HG--
branch : dev-css
2019-01-03 01:57:45 -03:00
Martín Lucas Golini
cd3084295d CSS selectors seemingly working.
--HG--
branch : dev-css
2019-01-02 20:58:53 -03:00
Martí­n Lucas Golini
527f1e9d45 Real CSS selectors WIP.
--HG--
branch : dev-css
2019-01-02 02:58:49 -03:00
Martín Lucas Golini
0e3369da47 Font style clean up.
--HG--
branch : dev-css
2019-01-01 17:02:17 -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
4f988a3c3d More clean up and fixes.
--HG--
branch : dev-css
2018-12-31 20:37:05 -03:00
Martín Lucas Golini
e6f2cbe155 More fixes.
--HG--
branch : dev-css
2018-12-31 17:19:47 -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
5d3990ecd7 CSS Fixes.
--HG--
branch : dev
2018-12-29 22:49:20 -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
f2c45e3f39 Replaced eeTexCoord to Vector2f in BatchRenderer class.
Added BatchRenderer::batchPointList.

--HG--
branch : dev
2018-12-29 14:09:42 -03:00
Martín Lucas Golini
33d0cb5086 Moved StyleSheet classes into classes files.
--HG--
branch : dev-stateful-drawable
2018-12-28 01:28:07 -03:00
Martín Lucas Golini
d37091f643 Simple StyleSheet model WIP.
--HG--
branch : dev-stateful-drawable
2018-12-27 02:33:08 -03:00
Martín Lucas Golini
2468dbe72b Crash fix when closing windows.
--HG--
branch : dev-stateful-drawable
2018-12-26 21:50:23 -03:00
Martín Lucas Golini
cabf3e7f30 Crash fix when frame buffer fails to create.
--HG--
branch : dev-stateful-drawable
2018-12-26 17:21:17 -03:00
Martín Lucas Golini
5449286b04 UIStyle WIP.
--HG--
branch : dev-stateful-drawable
2018-12-26 15:23:55 -03:00
Martín Lucas Golini
3d0c54e1d3 Minor UIWidget creator changes.
--HG--
branch : dev-stateful-drawable
2018-12-24 03:48:18 -03:00
Martín Lucas Golini
8206a8e720 Safer glBlitFrameBuffferEXT implementation.
--HG--
branch : dev-stateful-drawable
2018-12-23 13:44:18 -03:00
Martín Lucas Golini
33ba62193b UIState now is an interface. UISkinState implements Skin states.
Some minor fixes.

--HG--
branch : dev-stateful-drawable
2018-12-22 18:31:18 -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
db223942ab Fixes.
--HG--
branch : dev-stateful-drawable
2018-12-22 04:32:04 -03:00
Martín Lucas Golini
0bc90c0b7b Clean up.
--HG--
branch : dev-stateful-drawable
2018-12-22 03:34:57 -03:00
Martín Lucas Golini
b6aa5c1e05 Improvements and fixes.
--HG--
branch : dev-stateful-drawable
2018-12-22 02:58:09 -03:00
Martín Lucas Golini
725738091e Added support for combined UI states.
--HG--
branch : dev-stateful-drawable
2018-12-21 22:03:17 -03:00