Commit Graph

111 Commits

Author SHA1 Message Date
Martí­n Lucas Golini
c008ff2003 Added background-repeat support.
--HG--
branch : dev
2019-12-02 17:55: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
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
567d19aaed Fix in UINode::lengthAsPixels().
--HG--
branch : dev
2019-11-24 01:30:09 -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
6fc6385718 Edge offsets values support for background-position.
--HG--
branch : dev
2019-11-23 19:41:58 -03:00
Martín Lucas Golini
3f6f121d79 New TextureRegions from textures respect current pixel density.
--HG--
branch : dev
2019-11-23 19:14:17 -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
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
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
8b437876b0 UIColorPicker implemented.
--HG--
branch : dev
2019-11-10 19:21:30 -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
588ce9251a Fix in editor for Windows.
--HG--
branch : dev
2019-11-10 00:45:59 -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
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