Martín Lucas Golini
909088b46d
Layout improvements WIP.
2020-05-04 04:52:36 -03:00
Martín Lucas Golini
87e3d64b63
Added renamed Display::getPixelDensity() to Display::getPixelDensitySize() and now Display::getPixelDensity() returns the float value of the pixel density.
...
Moved the global test to tests/test_all.
Added a ui_perf_test used to test specific performance issues in the UI.
Fixed the element/widget inline style (now respects the specificity).
Some optimizations in UIListBox.
2020-05-03 03:39:31 -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
9a43551b6b
More CSS specification clean up and improvements.
...
UIPushButton refactorization.
Fixed crash on tooltip close.
And several minor changes to adapt the CSS specification changes into the widgets.
2020-04-04 02:43:19 -03:00
Martín Lucas Golini
a3afe7a8e2
Added em and rem units support.
...
Fixed a bug in tooltips.
2020-03-25 03:19:56 -03:00
Martín Lucas Golini
3921f81ced
Added border-radius support.
...
Added alias support for shorthands.
Added BorderType::Outline.
Added support for background/foreground masks.
Fixes to the border rendering.
Several fixes and clean up.
2020-03-13 05:10:53 -03:00
Martín Lucas Golini
359685cb6f
Added UIBackgroundDrawable. WIP CSS Borders.
2020-03-10 03:57:49 -03:00
Martín Lucas Golini
312f02105f
CSS Borders WIP (not working yet).
2020-03-09 15:12:43 -03:00
Martín Lucas Golini
04c407077f
Several improvements in the CSS Animations.
...
UITabWidget now acts as a draw invalidator, skipping the draw invalidation if the element invalidating is not visible in the current tab.
premake5 file now supports different architectures.
Updated README.md and docs.
Minor fixes in UIColorPicker.
Updated SOIL2 and efsw.
Added LICENSE file.
2020-02-25 01:15:27 -03:00
Martín Lucas Golini
73e9489f81
InputEvents improvements and some minor fixes and optimizations.
2020-02-19 02:07:03 -03:00
Martín Lucas Golini
48d0f06b2b
Started implementation of CSS Animations, WIP.
2020-02-18 03:58:58 -03:00
Martín Lucas Golini
c2e0d867fd
Added support for multiple background-image and foreground-image.
...
Added support for structural pseudo class :not().
2020-02-17 04:06:47 -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
57c31ffcb4
Code clean up and some minor fixes.
...
premake5 is being reworked, might fail in some situations.
2020-01-18 19:40:27 -03:00
Martín Lucas Golini
9880829fc5
Migrated to Github (remove hg stuffs, added git submodules).
...
Fixed compilation (SoundFileReaderFlac needed some updateds).
Updated README.md.
2020-01-13 04:19:37 -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
6b13111d19
General enums refactor. This will break the API for several things.
...
The idea is that this enums should never be used by code from now on, and
always use the XML+CSS features.
--HG--
branch : dev
2019-12-15 17:21:39 -03:00
Martín Lucas Golini
a856357047
Fixed Action::removeEventListener.
...
--HG--
branch : dev
2019-12-12 03:13:06 -03:00
Martín Lucas Golini
f20f4beba4
More progress.
...
--HG--
branch : dev-css-refactor
2019-11-28 21:32:56 -03:00
Martín Lucas Golini
ad08beb76f
Experimental refactor in progress.
...
--HG--
branch : dev-css-refactor
2019-11-28 01:22:15 -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
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
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
9db34b27fd
Config.
...
--HG--
branch : dev
2019-06-19 23:46:32 -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
c0d69b8446
More clean up.
...
--HG--
branch : dev-css
2019-01-03 01:57:45 -03:00
Martín Lucas Golini
280931e236
Stateful Drawable skeleton.
...
--HG--
branch : dev-stateful-drawable
2018-12-17 02:13:28 -03:00
Martín Lucas Golini
95a90eb4d4
Font line centering fix. Selection fixes.
...
--HG--
branch : dev-widget-padding
2018-12-10 17:49:32 -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
787e68230c
Minor clean up.
...
--HG--
branch : dev-functional
2018-11-26 10:39:35 -03:00
Martín Lucas Golini
1250eb967b
Replacement of PlusCallback in favor of std::functional ( just for lambdas ).
...
--HG--
branch : dev-functional
2018-07-17 10:31:34 -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
2d96bb169c
Added Image::svgScale.
...
Added TexturePacker option scalable svg.
Clean up.
--HG--
branch : dev
2018-03-17 03:16:00 -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
866b8e543e
Minor change.
...
--HG--
branch : dev-2.1
2018-01-29 01:35:52 -03:00
Martín Lucas Golini
b4982e5554
Added Texture Atlas Editor as a tool app.
...
Added Window::getCurrentDisplayDPI and Window::getDisplayPixelDensity.
Also some minor fixes.
--HG--
branch : dev-2.1
2018-01-26 00:28:32 -03:00
Martín Lucas Golini
20a07c86f3
Cache UINode polygon and screen position.
...
Renamed all UI_CTRL_FLAG_* to NODE_FLAG_*.
Several minor fixes.
--HG--
branch : dev-2.1
2018-01-14 03:51:08 -03:00
Martín Lucas Golini
a89b0a78bd
Added Actions: Dealy, Sequence, Spawn.
...
Fixed several minor bugs in Actions.
--HG--
branch : dev-2.1
2018-01-13 19:29:59 -03:00
Martín Lucas Golini
77637f71fa
Moved "src/eepp/helper" folder to "src/thirdparty".
...
Also some minor fixes.
--HG--
branch : dev-2.1
2017-12-30 14:29:38 -03:00
Martín Lucas Golini
19310bb976
Added ScrollBarType.
...
--HG--
branch : dev
2017-08-10 01:12:29 -03:00
Martín Lucas Golini
0481f869d2
Improved UITheme load.
...
--HG--
branch : dev
2017-08-06 01:21:49 -03:00
Martín Lucas Golini
35d02cc3d1
More minor fixes.
...
--HG--
branch : dev
2017-07-30 12:24:24 -03:00
Martín Lucas Golini
775eb656ca
More refactor and fixes.
...
--HG--
branch : dev-font
2017-03-15 01:57:35 -03:00
Martín Lucas Golini
454bbf63ee
Refactored some UI control names.
...
Implementing UILinearLayout.
--HG--
branch : dev
2017-03-08 02:28:14 -03:00
Martín Lucas Golini
b34e922e70
Some clean up.
...
--HG--
branch : dev
2017-03-04 20:55:38 -03:00
Martín Lucas Golini
7815dc6511
Pixel density support WIP.
...
--HG--
branch : dev
2017-02-22 05:42:05 -03:00
Martín Lucas Golini
676162f8ea
Physics module refactored.
...
--HG--
branch : dev
2017-02-18 22:49:28 -03:00