Commit Graph

1427 Commits

Author SHA1 Message Date
Martín Lucas Golini
87c80a0872 Fixed UISlider (again).
UIImage now can own Drawables.
UIColorPicker improvements.
Removed UISliderButton (not used anymore).

--HG--
branch : dev
2019-11-11 00:51:24 -03:00
Martín Lucas Golini
cb14426b6d Fixed a bug in UISlider.
--HG--
branch : dev
2019-11-10 23:30:10 -03:00
Martín Lucas Golini
b0d767c992 Added String::endsWith().
Added support for "!important" in CSS properties.

--HG--
branch : dev
2019-11-10 21:58:12 -03:00
Martín Lucas Golini
78696fc004 Added UIWidget::querySelector() and UIWidget::querySelectorAll().
--HG--
branch : dev
2019-11-10 21:12:15 -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
092268f2e4 Color picker layout WIP.
--HG--
branch : dev
2019-11-10 01:41:34 -03:00
Martín Lucas Golini
652521961a Updated efsw.
--HG--
branch : dev
2019-11-10 01:16:27 -03:00
Martín Lucas Golini
588ce9251a Fix in editor for Windows.
--HG--
branch : dev
2019-11-10 00:45:59 -03:00
Martín Lucas Golini
c2a82455d8 UIEditor: Remember loaded layout files.
--HG--
branch : dev
2019-11-09 23:14:34 -03:00
Martín Lucas Golini
da74085a06 Fixed Color::toHsv(), Color::fromHsv(), Color::toHsl().
Added to Colors::fromString(): rgb(), rgba(), hsl(), hsla(), hsv(), hsva().

--HG--
branch : dev
2019-11-09 21:51:09 -03:00
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
478a9ef20b Crash fix.
--HG--
branch : dev
2019-11-09 15:43:28 -03:00
Martín Lucas Golini
c750000a10 Support CSS property "url" function.
Added "foreground-image" CSS property.

--HG--
branch : dev
2019-11-08 22:22:47 -03:00
Martín Lucas Golini
45f4337308 GL3CP clipping fix (is this a driver bug?).
--HG--
branch : dev
2019-11-08 20:19:37 -03:00
Martín Lucas Golini
5ba55c5432 Minor fix on UIDropDownList.
--HG--
branch : dev
2019-11-08 12:51:43 -03:00
Martín Lucas Golini
94a1328690 Minor bug fix.
--HG--
branch : dev
2019-11-08 03:13:00 -03:00
Martín Lucas Golini
203bf674d5 UITextEdit scroll fix.
--HG--
branch : dev
2019-11-08 02:57:26 -03:00
Martín Lucas Golini
bb2a782f25 Minor clean up.
--HG--
branch : dev
2019-11-08 01:36:35 -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
0b883ede96 Clean up code.
--HG--
branch : dev
2019-11-04 22:18:52 -03:00
Martín Lucas Golini
ffcf72deaf Minor fixes.
--HG--
branch : dev
2019-11-04 19:55:25 -03:00
Martín Lucas Golini
f38e7437f1 UILoader fix.
--HG--
branch : dev
2019-11-04 19:16:47 -03:00
Martín Lucas Golini
35a7aa6641 Crash fix.
--HG--
branch : dev
2019-11-04 18:29:30 -03:00
Martín Lucas Golini
7219454355 Fix android build.
--HG--
branch : dev
2019-11-04 17:56:19 -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
99b867cc79 A couple of fixes.
--HG--
branch : dev
2019-11-01 19:05:49 -03:00
Martín Lucas Golini
727a356e9b Minor fix in http_request.
--HG--
branch : dev
2019-10-20 23:32:46 -03:00
Martín Lucas Golini
0322d13206 Fixed Window::isMaximized.
http_request without parameters now prints --help.

--HG--
branch : dev
2019-10-18 18:07:15 -03:00
Martín Lucas Golini
bb30c62fab Removed support for SFML2 module (mantaining this backend does not make any sense at this point).
Removed custom Platform implementations for windows and cursor control (control is taken by the SDL2 backend).
And some clean up.

--HG--
branch : dev
2019-10-06 02:49:41 -03:00
Martín Lucas Golini
82116c4323 Minor clean up.
--HG--
branch : dev
2019-09-30 18:40:23 -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
78a66ea0fa Some fixes to image resize and Color constructors
--HG--
branch : dev
2019-08-11 18:16:21 -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
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
484696e34b Updated mbedtls.
--HG--
branch : dev
2019-07-01 23:24:12 -03:00
Martín Lucas Golini
ef7f9da317 Texture minor fixes.
--HG--
branch : dev
2019-07-01 23:21:01 -03:00
Martín Lucas Golini
ecc401fb5b Minor fixes.
--HG--
branch : dev
2019-06-27 01:27:38 -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
3056622861 Fixed FileSystem::getDiskFreeSpace.
--HG--
branch : dev
2019-06-21 01:23:59 -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
9db34b27fd Config.
--HG--
branch : dev
2019-06-19 23:46:32 -03:00