Commit Graph
695 Commits
Author SHA1 Message Date
Martín Lucas Golini 8917dfebf0 Fixed UIMenu::remove() and UIMenu::removeAll() crashes.
Fixed UIImage size bugs.
Minor improvements in UIEditor.
Started implementing the color picker UI.
Fix when closing a Scene::Node when mouse was over that Node.

--HG--
branch : dev
2019-11-09 18:13:24 -03:00
Martín Lucas Golini 33f8a2eebb Several bug fixes.
CSS properties now support real CSS properties names.

--HG--
branch : dev
2019-11-03 03:34:02 -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 cc5d5a7630 Removed a test printf.
--HG--
branch : dev
2019-08-10 15:15:20 -03:00
Martín Lucas Golini 53681be832 Allow custom colors.
--HG--
branch : dev
2019-06-26 01:18:21 -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 e3873780ad Added Actions::Runnable.
UINode::setSkinColor invalidates draw.
Added Node::runOnMainThread.

--HG--
branch : dev
2019-06-24 22:03:36 -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 8d5ee2348e Fixed Window::setGLContextThread, now can only be acquired by one thread at once.
--HG--
branch : dev
2019-06-23 01:30:36 -03:00
Martín Lucas Golini ddf335fd79 Minor fixes.
--HG--
branch : dev
2019-06-22 15:15:53 -03:00
Martín Lucas Golini a176383c07 Fixed crash when changing skin states from the stylesheet.
--HG--
branch : dev
2019-06-21 01:00:44 -03:00
Martín Lucas Golini efe79e929a Fixed a bug on StyleSheet::addStyle. Now a unique selector can be declared more
than one time without overriding the old one.
UINodes now are only drawn when intersect the viewport ( discard draw if not visible ).
Added a scrolling test.

--HG--
branch : dev
2019-06-20 18:21:52 -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 61c9a10361 Minor bug fix.
More css and xml clean up.

--HG--
branch : dev-css
2019-05-21 00:33:34 -03:00
Martín Lucas Golini 8b6ba8920a Added get/set volatile for StyleSheetProperty. Flag used for properties from
non-cacheable selectors. This fixes pseudo-classes events.
Removed unused functions.
Cleaned up CSS code.

--HG--
branch : dev-css
2019-05-20 21:24:30 -03:00
Martín Lucas Golini 59e2ca8038 CSS Improvements and tests.
--HG--
branch : dev-css
2019-05-20 00:19:44 -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 9f9aaccb45 Bug fixes.
--HG--
branch : dev-css
2019-05-18 03:03:45 -03:00
Martín Lucas Golini b7eda360ba Bug fix.
--HG--
branch : dev-css
2019-05-17 01:50:06 -03:00
Martín Lucas Golini 6bf721ef2f Fixed skin set color.
--HG--
branch : dev-css
2019-05-16 00:59:25 -03:00
Martín Lucas Golini 5df2ec9703 Widget "background" attribute fix.
--HG--
branch : dev
2019-01-13 18:47:06 -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 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 c88ec38c1e More WIP.
--HG--
branch : dev
2019-01-06 22:21:49 -03:00
Martí­n Lucas Golini c69dc884c2 Minor fix in CSS Transitions WIP.
--HG--
branch : dev
2019-01-06 21:00:37 -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 5f7281e808 More clean up.
--HG--
branch : dev-css
2019-01-01 15:39:18 -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 8094b26310 CSS support WIP.
--HG--
branch : dev
2018-12-29 20:27:31 -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 725738091e Added support for combined UI states.
--HG--
branch : dev-stateful-drawable
2018-12-21 22:03:17 -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 3eb6b5c295 Renamed ui states names:
"menter" is now "hover"
"mdown" is now "pressed"

--HG--
branch : dev-stateful-drawable
2018-12-20 00:10:58 -03:00
Martín Lucas Golini fede513762 Minor change in test.xml.
--HG--
branch : dev-widget-padding
2018-12-16 20:35:49 -03:00
Martín Lucas Golini 08bcbe1ca1 UITabWidget padding.
--HG--
branch : dev-widget-padding
2018-12-16 20:30:24 -03:00
Martín Lucas Golini 1a55a75d0c UITextEdit padding.
--HG--
branch : dev-widget-padding
2018-12-16 19:57:49 -03:00