Martín Lucas Golini
246fa4bf80
Removed and repleaced all Nodes delete without a previous close() call. This fixes a possible crash on UIListBox, UITable and UITabWidget.
...
Fixed UIWindow frame buffer pixel density.
Allow "text-decoration" CSS property.
Fixed a crash on the TextureAtlasEditor.
Added Action::getCurrentProgress().
--HG--
branch : dev
2019-11-26 04:21:41 -03:00
Martín Lucas Golini
182b83feb8
Minor clean up.
...
--HG--
branch : dev
2019-11-24 15:17:14 -03:00
Martín Lucas Golini
ec4914a411
background-position transition WIP.
...
Fixed and renamed Node::removeActionByTag() to Node::removeActionsByTag().
--HG--
branch : dev
2019-11-24 03:28:51 -03:00
Martín Lucas Golini
52965eb9d8
Crash fix on DisplayManager.
...
UINodeDrawable clean ups.
Added Node::removeAction(), Node:removeActionByTag(), Node::clearActions().
Store display DPI on scene node creation.
--HG--
branch : dev
2019-11-24 01:15:39 -03:00
Martín Lucas Golini
8b057fed7a
Quick test changed.
...
--HG--
branch : dev
2019-11-23 22:53:57 -03:00
Martín Lucas Golini
068864f9c0
Foreground now renders after childs.
...
Added foreground-size support.
--HG--
branch : dev
2019-11-23 15:10:35 -03:00
Martín Lucas Golini
7a7542aa1d
CSS background-size and background-position WIP.
...
--HG--
branch : dev
2019-11-22 23:40:33 -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
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
841fe68684
Added UIWidget::removeClasses().
...
--HG--
branch : dev
2019-11-15 12:29:50 -03:00
Martín Lucas Golini
c84d528ae4
Added String::replaceAll() and String::replace() for String type.
...
Added Action::on().
--HG--
branch : dev
2019-11-14 16:15:09 -03:00
Martín Lucas Golini
45cf7f4f73
UINodeDrawable replacing UISkinState for UINode background and foreground.
...
WIP new properties support.
Added "text-align" property to UITextView.
Fixed a bug in StyleSheetSelectorRule.
--HG--
branch : dev
2019-11-13 17:40:38 -03:00
Martín Lucas Golini
54a88adff5
Minor clean up.
...
--HG--
branch : dev
2019-11-12 23:07:49 -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
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
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
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
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
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
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
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
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
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
11b3cfc1f4
Added Window::getScale() to get the device scale factor.
...
mingw32 build now uses premake5.
--HG--
branch : dev
2019-06-19 23:46:17 -03:00
Martín Lucas Golini
dd9d2021f2
Windows fixes and some changes in the premake projects.
...
--HG--
branch : dev
2019-06-19 03:15:47 -03:00
Martín Lucas Golini
514bf2da2e
Using String::hash as constexpr.
...
String minor refactor.
--HG--
branch : dev
2019-06-16 20:55:26 -03:00
Martín Lucas Golini
357314f4c8
Minor UIMenuSubMenu improvement.
...
--HG--
branch : dev
2019-06-01 18:01:47 -03:00
Martín Lucas Golini
6a79fdc314
UIWinMenu and UIPopUpMenu fixes.
...
--HG--
branch : dev
2019-06-01 01:00:47 -03:00
Martín Lucas Golini
4d69b2bf7f
Removed typedefs for structs.
...
--HG--
branch : dev
2019-05-24 22:37:42 -03:00
Martín Lucas Golini
4841b871f1
EE::Scene clean up.
...
--HG--
branch : dev
2019-05-24 00:49:34 -03:00
Martín Lucas Golini
648ef47628
TextureAtlasTextureRegionEditor fix.
...
--HG--
branch : dev
2019-05-23 22:21:03 -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
bdd337b229
UILoader don't invalidate draw when not visible.
...
--HG--
branch : dev
2019-05-23 00:34:38 -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
120f277a7f
Texture modifications are thread-safe with shared OpenGL contexts.
...
--HG--
branch : dev-css
2019-05-21 01:47:13 -03:00