Martín Lucas Golini
02433b13d3
Some minor fixes and improvements.
...
Added verbose layout loading to get more info about the performance when loading layouts.
2020-04-18 19:45:29 -03:00
Martín Lucas Golini
fa20d393cd
Several performance improvements.
...
Added events: Node::onIdChange, UIWidget::onClassChange, UIWidget::onTagChange.
UIItemContainer is now a widget (required for CSS).
Fixes in UIListBox and UITable.
CSS::StyleSheetStyle is now stored as a shared pointer.
Fixes in UICheckBox, UIRadioButton, UISlider, UIScrollBar, UITab, UIWinMenu, and more.
Better debug tooltips (now shows padding and margin).
Fix in UISceneNode::loadLayoutNodes, ensures that the current SceneNode is the one that it's loading.
2020-04-16 05:31:43 -03:00
Martín Lucas Golini
9c457f4f21
Pure CSS themes support improvements.
...
Improvementes for dp sizes, now are being rounded to the closest int in several locations.
2020-04-14 02:02:08 -03:00
Martín Lucas Golini
aa9202e8b7
More work into supporting pure CSS themes.
...
Fixed a bug where dirty polygons were unreported.
UISceneNodes now are updated forcing the current UISceneNode as the one that it's being updated.
Added "poly" function for background/foreground images.
Added "tab-height" and "window-title" CSS properties.
2020-04-11 05:42:49 -03:00
Martín Lucas Golini
5d17e42d03
Texture packer fixes and new version (this breaks older ETA files). Now the MD5 hash is saved into the texture region info, in order to verify on the texture atlas update if the file changed (instead of relying on the file modification date that's local).
...
UIViewPager now takes into account the amount of displacement when starting a page change animation, shortening the animation when it's closer to the objective.
TexturePacker now accepts any pixel density instead of the fixed PixelDensitySizes.
2020-03-02 13:31:00 -03:00
Martín Lucas Golini
1920909678
Added UIViewPager::setCurrentPage.
2020-03-01 16:06:22 -03:00
Martín Lucas Golini
502a5f4ca9
Fixed Windows build (for real).
2020-01-19 18:45:59 -03:00
Martín Lucas Golini
9d32e29ffb
Added TexturePacker console tool and updated to a new version of the Texture Atlas format.
...
More premake5 project refactor.
Fixed some Stysheet Properties types and fixed some StyleSheetProperty transitions.
2020-01-19 17:17:09 -03:00
Martín Lucas Golini
89df736630
premake5.lua: replaced includedirs with sysincludedirs that should work better in some cases.
...
Reformated README.md.
Docs improvements.
2020-01-18 05:37:52 -03:00
Martín Lucas Golini
7b6a3d2f66
Some minor fixes.
2020-01-14 05:13:43 -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
7caa7e8b55
Fixed modal UIWindow.
...
--HG--
branch : dev
2019-12-17 02:18:58 -03:00
Martín Lucas Golini
9c9d3edddf
Minor clean up.
...
--HG--
branch : dev
2019-12-13 01:31:02 -03:00
Martín Lucas Golini
35a9006b4c
Fixed Node::removeEventListener.
...
Fixed UIWidget CSS setBorderWidth.
Fixed a bug in the UIEditor.
--HG--
branch : dev
2019-12-12 03:10:20 -03:00
Martín Lucas Golini
bdbae585c9
UITextInput hint support.
...
--HG--
branch : dev
2019-12-12 01:58:14 -03:00
Martín Lucas Golini
3a21f2e640
Added TriangleDrawable.
...
CSS vector properties now are separated by space instead of comma.
Added offset to ArcDrawable.
Added new background-image and foreground-image functions: rectangle(), triangle(), circle().
Added some new parameters for the UIEditor, also some minor fixes.
--HG--
branch : dev
2019-12-11 19:56:32 -03:00
Martín Lucas Golini
90f6f4bdc3
Removed UIThemeManager as a single instance manager, now each UISceneNode owns and
...
instances a UIThemeManager, this allows to use different settings for each UISceneNode
(useful for the UIEditor for example).
Fixed word-wrap CSS property.
Added UINode::getUISceneNode().
UIEditor now takes argument parameters.
Also some minor fixes for controls without a default theme.
--HG--
branch : dev
2019-12-09 17:30:55 -03:00
Martín Lucas Golini
2c64910048
Transitions mostly working.
...
--HG--
branch : dev-css-refactor
2019-11-30 03:51:44 -03:00
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
8cf77ffd2b
Minor fix.
...
--HG--
branch : dev
2019-11-21 00:43:44 -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
8b437876b0
UIColorPicker implemented.
...
--HG--
branch : dev
2019-11-10 19:21:30 -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
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
46a62c6fdb
More clean up.
...
--HG--
branch : dev
2019-11-05 01:35:02 -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
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
120f277a7f
Texture modifications are thread-safe with shared OpenGL contexts.
...
--HG--
branch : dev-css
2019-05-21 01:47:13 -03:00
Martín Lucas Golini
2a936fe7eb
More UIEditor improvements.
...
--HG--
branch : dev
2019-01-20 02:27:34 -03:00
Martín Lucas Golini
9de37a61a7
Minor UIEditor fixes.
...
--HG--
branch : dev
2019-01-20 02:02:30 -03:00
Martín Lucas Golini
023f00167e
emscripten fixes.
...
--HG--
branch : dev
2019-01-12 05:44:26 -03:00
Martín Lucas Golini
8bd92fc8df
Fixed Android build.
...
--HG--
branch : dev
2019-01-05 04:11:57 -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
fa5b958c8e
Some clean up.
...
--HG--
branch : dev-css
2019-01-01 04:32:55 -03:00
Martín Lucas Golini
b7908851b0
UIWidget padding support WIP.
...
--HG--
branch : dev-widget-padding
2018-12-09 04:59:50 -03:00
Martín Lucas Golini
46824f3af5
UI Editor improvements.
...
--HG--
branch : dev
2018-03-25 20:12:00 -03:00
Martín Lucas Golini
feeafde073
Updated Audio module.
...
--HG--
branch : dev
2018-03-17 18:50:24 -03:00
Martín Lucas Golini
ac75530bd5
Minor changes to the UIEditor.
...
--HG--
branch : dev
2018-03-16 21:27:27 -03:00
Martín Lucas Golini
2f6bc4dcdc
Added Window::getBorderSize.
...
--HG--
branch : dev
2018-03-16 15:22:42 -03:00
Martín Lucas Golini
dae13bda2d
Minor change in the UIEditor.
...
--HG--
branch : dev
2018-03-16 15:13:11 -03:00
Martín Lucas Golini
610c1c6720
UINode::setTheme fixes.
...
--HG--
branch : dev
2018-03-16 14:24:57 -03:00
Martín Lucas Golini
d52ff835fb
UIEditor working.
...
--HG--
branch : dev
2018-03-16 14:04:54 -03:00
Martín Lucas Golini
1961515be2
WIP basic UIEditor.
...
--HG--
branch : dev
2018-03-16 13:09:52 -03:00
Martín Lucas Golini
c5de0fb1ff
WIP basic UIEditor.
...
--HG--
branch : dev
2018-03-16 02:24:48 -03:00
Martín Lucas Golini
a1c016ad3f
WIP SceneNode, SceneManager, UISceneNode, EventDispatcher.
...
--HG--
branch : dev-scenenode
2018-02-04 04:27:38 -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
9fa2a453ba
Added Window::setCloseRequestCallback to be able to control the window close request from the window manager.
...
--HG--
branch : dev-2.1-float
2018-01-29 23:30:08 -03:00
Martín Lucas Golini
9478edf3b0
Typo.
...
--HG--
branch : dev-2.1
2018-01-28 04:56:45 -03:00
Martín Lucas Golini
6edbf33ac6
Some bugfixes and added Map Editor tool.
...
--HG--
branch : dev-2.1
2018-01-28 04:55:26 -03:00