diff --git a/code/nel/src/gui/view_text.cpp b/code/nel/src/gui/view_text.cpp
index bd10afbb9..34f8fd3e1 100644
--- a/code/nel/src/gui/view_text.cpp
+++ b/code/nel/src/gui/view_text.cpp
@@ -438,6 +438,22 @@ namespace NLGUI
return true;
}
else
+ if( name == "shadow_x" )
+ {
+ sint sx;
+ if( fromString( value, sx ) )
+ _ShadowX = sx;
+ return true;
+ }
+ else
+ if( name == "shadow_y" )
+ {
+ sint sy;
+ if( fromString( value, sy ) )
+ _ShadowY = sy;
+ return true;
+ }
+ else
if( name == "multi_line" )
{
bool b;
@@ -618,6 +634,8 @@ namespace NLGUI
xmlSetProp( node, BAD_CAST "shadow", BAD_CAST toString( _Shadow ).c_str() );
xmlSetProp( node, BAD_CAST "shadow_outline", BAD_CAST toString( _ShadowOutline ).c_str() );
xmlSetProp( node, BAD_CAST "shadow_color", BAD_CAST toString( _ShadowColor ).c_str() );
+ xmlSetProp( node, BAD_CAST "shadow_x", BAD_CAST toString( _ShadowX ).c_str() );
+ xmlSetProp( node, BAD_CAST "shadow_y", BAD_CAST toString( _ShadowY ).c_str() );
xmlSetProp( node, BAD_CAST "multi_line", BAD_CAST toString( _MultiLine ).c_str() );
std::string just;
@@ -729,6 +747,16 @@ namespace NLGUI
if (prop)
_ShadowColor = convertColor(prop);
+ prop= (char*) xmlGetProp( cur, (xmlChar*)"shadow_x" );
+ _ShadowX = 1;
+ if (prop)
+ fromString( (const char *)prop, _ShadowX);
+
+ prop= (char*) xmlGetProp( cur, (xmlChar*)"shadow_y" );
+ _ShadowY = 1;
+ if (prop)
+ fromString( (const char *)prop, _ShadowY);
+
prop = (char*) xmlGetProp( cur, (xmlChar*)"multi_line" );
_MultiLine = false;
if (prop)
diff --git a/code/ryzom/client/data/gamedev/interfaces_v3/login_widgets.xml b/code/ryzom/client/data/gamedev/interfaces_v3/login_widgets.xml
index 660cb4f9d..6d7ac1fa7 100644
--- a/code/ryzom/client/data/gamedev/interfaces_v3/login_widgets.xml
+++ b/code/ryzom/client/data/gamedev/interfaces_v3/login_widgets.xml
@@ -75,6 +75,11 @@
keep="true"
max_historic="0"
fontsize="10"
+ shadow="true"
+ shadow_x="1"
+ shadow_y="1"
+ shadow_color="0 0 0 255"
+ shadow_outline="false"
backup_father_container_pos="false"
want_return="false"
color="255 255 255 255"
@@ -93,7 +98,7 @@
-
+
@@ -114,6 +119,11 @@
fontsize="10"
fontweight=""
fontstyle=""
+ shadow="true"
+ shadow_x="1"
+ shadow_y="1"
+ shadow_color="0 0 0 255"
+ shadow_outline="false"
backup_father_container_pos="false"
want_return="false"
color="255 255 255 255"
@@ -124,7 +134,7 @@
-
+
@@ -153,6 +163,11 @@
keep="true"
max_historic="40"
fontsize="10"
+ shadow="true"
+ shadow_x="1"
+ shadow_y="1"
+ shadow_color="0 0 0 255"
+ shadow_outline="false"
backup_father_container_pos="false"
want_return="false"
color="255 255 255 255"
@@ -162,7 +177,7 @@
-
+
@@ -397,6 +412,11 @@
keep="true"
max_historic="40"
fontsize="10"
+ shadow="true"
+ shadow_x="1"
+ shadow_y="1"
+ shadow_color="0 0 0 255"
+ shadow_outline="false"
backup_father_container_pos="false"
want_return="false"
color="255 255 255 255"
@@ -407,7 +427,7 @@
-
+
@@ -435,6 +455,11 @@
keep="true"
max_historic="40"
fontsize="10"
+ shadow="true"
+ shadow_x="1"
+ shadow_y="1"
+ shadow_color="0 0 0 255"
+ shadow_outline="false"
backup_father_container_pos="false"
want_return="false"
color="255 255 255 255"
@@ -444,7 +469,7 @@
-
+
diff --git a/code/ryzom/client/data/gamedev/interfaces_v3/widgets.xml b/code/ryzom/client/data/gamedev/interfaces_v3/widgets.xml
index e5ece5680..62c202815 100644
--- a/code/ryzom/client/data/gamedev/interfaces_v3/widgets.xml
+++ b/code/ryzom/client/data/gamedev/interfaces_v3/widgets.xml
@@ -2653,6 +2653,11 @@
keep="true"
max_historic="40"
fontsize="10"
+ shadow="true"
+ shadow_x="1"
+ shadow_y="1"
+ shadow_color="0 0 0 255"
+ shadow_outline="false"
backup_father_container_pos="false"
want_return="false"
clear_on_escape="false"
@@ -2722,7 +2727,11 @@
multi_line_space="0"
fontsize="#fontsize"
color="#color"
- shadow="true"
+ shadow="#shadow"
+ shadow_x="#shadow_x"
+ shadow_y="#shadow_y"
+ shadow_color="#shadow_color"
+ shadow_outline="#shadow_outline"
hardtext=""
global_color="false" />
@@ -2826,6 +2835,11 @@
keep="true"
max_historic="40"
fontsize="10"
+ shadow="true"
+ shadow_x="1"
+ shadow_y="1"
+ shadow_color="0 0 0 255"
+ shadow_outline="false"
backup_father_container_pos="false"
want_return="false"
color="255 255 255 255"
@@ -2886,7 +2900,11 @@
multi_min_line="#multi_min_line"
fontsize="#fontsize"
color="#color"
- shadow="true"
+ shadow="#shadow"
+ shadow_x="#shadow_x"
+ shadow_y="#shadow_y"
+ shadow_color="#shadow_color"
+ shadow_outline="#shadow_outline"
hardtext=""
global_color="false"
render_layer="#render_layer" />