Commit Graph

345 Commits

Author SHA1 Message Date
Martín Lucas Golini
f7119463f1 Some minor refactor for the CSS transitions. Starting new transition system.
--HG--
branch : dev
2019-11-27 01:39: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
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
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
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
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
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
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
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
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
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
90a59c0885 Updated SOIL2 and some minor changes.
--HG--
branch : dev
2019-05-12 01:23:15 -03:00
Martín Lucas Golini
a0711c15a4 Renamed TSafeDataPointer to TScopedBuffer.
--HG--
branch : dev
2019-05-11 00:58:55 -03:00
Martín Lucas Golini
f028f7b2b9 Http clean up.
--HG--
branch : dev
2019-05-08 02:13:07 -03:00
Martín Lucas Golini
9a42b7606a Added IOStreamDeflate.
--HG--
branch : dev
2019-05-07 00:36:22 -03:00
Martín Lucas Golini
70dd741491 Added Compression class with gzip and deflate support.
Added IOStreamInflate and IOStreamString.
Added support for compressed response in HTTP requests.

--HG--
branch : dev
2019-05-01 22:00:40 -03:00
Martín Lucas Golini
af033b2fd0 Minor improvements on http requests and minor bug fix.
--HG--
branch : dev
2019-04-27 22:56:45 -03:00
Martín Lucas Golini
6e746afa98 Some minor CSS refactor.
--HG--
branch : dev
2019-01-22 01:49:38 -03:00
Martín Lucas Golini
eea0f6dfbc CSS clean up.
--HG--
branch : dev
2019-01-21 00:51:27 -03:00
Martín Lucas Golini
41e1fbf2fc Added TSafeDataPointer<T> and now SafeDataPointer implements TSafeDataPointer<Uint8>.
Renamed: Node::onMouseEnter and Node::onMouseExit in favor of: Node::onMouseOver and Node::onMouseLeave.
Renamed events NodeMessage::MouseEnter and NodeMessage::MouseExit for: NodeMessage::MouseOver and NodeMessage::MouseLeave.
Renamed events Event::MouseEnter and Event::MouseExit for: Event::MouseOver and Event::MouseLeave.
Node::onMouseOver and Node::onMouseLeave now reports the message to its parent tree.
Node flags now all passed as `const Uint32&`.

--HG--
branch : dev
2019-01-19 04:13:25 -03:00
Martín Lucas Golini
2cda2304d8 Cursor refactor.
--HG--
branch : dev
2019-01-12 02:22:31 -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
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
6e46bf9968 Minor clean up.
--HG--
branch : dev
2019-01-06 14:46:20 -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
5f7281e808 More clean up.
--HG--
branch : dev-css
2019-01-01 15:39:18 -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
3962de8e43 More CSS work.
--HG--
branch : dev-css
2018-12-30 03:28:31 -03:00
Martín Lucas Golini
33d0cb5086 Moved StyleSheet classes into classes files.
--HG--
branch : dev-stateful-drawable
2018-12-28 01:28:07 -03:00
Martín Lucas Golini
d37091f643 Simple StyleSheet model WIP.
--HG--
branch : dev-stateful-drawable
2018-12-27 02:33:08 -03:00
Martín Lucas Golini
5449286b04 UIStyle WIP.
--HG--
branch : dev-stateful-drawable
2018-12-26 15:23:55 -03:00
Martín Lucas Golini
33ba62193b UIState now is an interface. UISkinState implements Skin states.
Some minor fixes.

--HG--
branch : dev-stateful-drawable
2018-12-22 18:31:18 -03:00
Martín Lucas Golini
fba7a467e2 Removed UIBorder in favor of stateful UISkin.
--HG--
branch : dev-stateful-drawable
2018-12-21 02:02:41 -03:00
Martín Lucas Golini
ae9f00cf81 Replaced UIBackground in favor of stateful UISkin.
--HG--
branch : dev-stateful-drawable
2018-12-21 01:35:58 -03:00
Martín Lucas Golini
76eb42b8c5 Some clean up.
--HG--
branch : dev-stateful-drawable
2018-12-20 22:26:22 -03:00
Martín Lucas Golini
da7d035a09 UISkinState is now UIState.
--HG--
branch : dev-stateful-drawable
2018-12-20 18:42:37 -03:00
Martín Lucas Golini
6ef328ef31 Added Scene Actions: Enable, Disable, Visible.
Removed all the start[ActionName] functions in UINode in favor of using runAction.

--HG--
branch : dev-stateful-drawable
2018-12-20 13:10:29 -03:00
Martín Lucas Golini
3ba966eebd UISkin is now a StateListDrawable
--HG--
branch : dev-stateful-drawable
2018-12-20 03:11:34 -03:00
Martín Lucas Golini
167c2757ba Removed UISkinComplex.
--HG--
branch : dev-stateful-drawable
2018-12-20 01:36:34 -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
c183ed90c5 UISpinBox padding.
Some fixes in UIWindow and UIScrollBar.

--HG--
branch : dev-widget-padding
2018-12-16 18:36:50 -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