diff --git a/bin/assets/layouts/test_widgets.xml b/bin/assets/layouts/test_widgets.xml
index 4cc6b0755..2abc25c02 100644
--- a/bin/assets/layouts/test_widgets.xml
+++ b/bin/assets/layouts/test_widgets.xml
@@ -52,7 +52,7 @@
-
+
diff --git a/bin/assets/ui/breeze.css b/bin/assets/ui/breeze.css
index 946cae444..31568a563 100644
--- a/bin/assets/ui/breeze.css
+++ b/bin/assets/ui/breeze.css
@@ -287,8 +287,6 @@ ScrollBar {
ScrollBar::hback {
min-height: 4dp;
border-radius: 3dp;
- margin-left: 4dp;
- margin-right: 4dp;
background-color: transparent;
}
@@ -296,8 +294,6 @@ ScrollBar::vback {
min-width: 4dp;
border-radius: 3dp;
background-color: transparent;
- margin-top: 4dp;
- margin-bottom: 4dp;
}
ScrollBar::vslider {
diff --git a/include/eepp/scene/event.hpp b/include/eepp/scene/event.hpp
index 67369fa18..1d8e91223 100644
--- a/include/eepp/scene/event.hpp
+++ b/include/eepp/scene/event.hpp
@@ -58,6 +58,9 @@ class EE_API Event {
OnUpdateScreenPosition,
OnPageChanged,
OnMarginChange,
+ OnTagChange,
+ OnIdChange,
+ OnClassChange,
UserEvent,
NoEvent = eeINDEX_NOT_FOUND
};
diff --git a/include/eepp/scene/node.hpp b/include/eepp/scene/node.hpp
index 8fce196e6..7f3236381 100644
--- a/include/eepp/scene/node.hpp
+++ b/include/eepp/scene/node.hpp
@@ -60,7 +60,8 @@ enum NodeFlags {
NODE_FLAG_WIDGET = ( 1 << 24 ),
NODE_FLAG_WINDOW = ( 1 << 25 ),
- NODE_FLAG_FREE_USE = ( 1 << 26 )
+ NODE_FLAG_LOADING = ( 1 << 26 ),
+ NODE_FLAG_FREE_USE = ( 1 << 27 )
};
class EE_API Node : public Transformable {
@@ -358,6 +359,11 @@ class EE_API Node : public Transformable {
bool inParentTreeOf( Node* Child ) const;
+ void setLoadingState( bool loading );
+
+ bool isLoadingState() const;
+
+ virtual void onIdChange();
protected:
typedef std::map> EventsMap;
friend class EventDispatcher;
diff --git a/include/eepp/ui/css/propertydefinition.hpp b/include/eepp/ui/css/propertydefinition.hpp
index 254b3b1fe..eab30e0cf 100644
--- a/include/eepp/ui/css/propertydefinition.hpp
+++ b/include/eepp/ui/css/propertydefinition.hpp
@@ -199,6 +199,7 @@ enum class PropertyType : Uint32 {
NumberFloat,
NumberFloatFixed,
NumberLength,
+ NumberLengthFixed,
RadiusLength,
Color,
Vector2,
diff --git a/include/eepp/ui/css/stylesheet.hpp b/include/eepp/ui/css/stylesheet.hpp
index 1d96a2d9b..8532a3c78 100644
--- a/include/eepp/ui/css/stylesheet.hpp
+++ b/include/eepp/ui/css/stylesheet.hpp
@@ -4,6 +4,7 @@
#include
#include
#include
+#include
namespace EE { namespace UI { namespace CSS {
@@ -11,7 +12,7 @@ class EE_API StyleSheet {
public:
StyleSheet();
- void addStyle( const StyleSheetStyle& node );
+ void addStyle( std::shared_ptr node );
bool isEmpty() const;
diff --git a/include/eepp/ui/css/stylesheetparser.hpp b/include/eepp/ui/css/stylesheetparser.hpp
index 900ed5fd9..bd5c66429 100644
--- a/include/eepp/ui/css/stylesheetparser.hpp
+++ b/include/eepp/ui/css/stylesheetparser.hpp
@@ -5,6 +5,7 @@
#include
#include
#include
+#include
#include
#include