Commit b9b579add389a1634cd5b6e7b39e2f0d3bb9e18d

Authored by Victor Cebollada
1 parent 30c8f791

Update json style files with the new 'fontStyle' format.

* See 'Text - FONT_STYLE and INPUT_FONT_STYLE properties refactor' patch in toolkit.

Change-Id: I2d2312a6ee7acdadc72e2af1ad4875dbc450eaef
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
resources/style/demo-theme.json.in
@@ -27,7 +27,7 @@ @@ -27,7 +27,7 @@
27 }, 27 },
28 "TextLabel": 28 "TextLabel":
29 { 29 {
30 - "fontStyle":"Regular", 30 + "fontStyle":{"weight":"normal"},
31 "pointSize":18 31 "pointSize":18
32 }, 32 },
33 "LauncherLabel": 33 "LauncherLabel":
resources/style/mobile/demo-theme.json.in
@@ -24,7 +24,7 @@ @@ -24,7 +24,7 @@
24 }, 24 },
25 "TextLabel": 25 "TextLabel":
26 { 26 {
27 - "fontStyle":"Regular", 27 + "fontStyle":{"weight":"normal"},
28 "pointSize":18 28 "pointSize":18
29 }, 29 },
30 "TextLabelFontSize0": 30 "TextLabelFontSize0":
shared/view.h
@@ -46,7 +46,6 @@ struct ViewStyle @@ -46,7 +46,6 @@ struct ViewStyle
46 const ViewStyle DEFAULT_VIEW_STYLE( 0.1f, 0.7f, 80.f, 4.f ); 46 const ViewStyle DEFAULT_VIEW_STYLE( 0.1f, 0.7f, 80.f, 4.f );
47 47
48 const char* DEFAULT_TEXT_STYLE_FONT_FAMILY("HelveticaNue"); 48 const char* DEFAULT_TEXT_STYLE_FONT_FAMILY("HelveticaNue");
49 -const char* DEFAULT_TEXT_STYLE_FONT_STYLE("Regular");  
50 const float DEFAULT_TEXT_STYLE_POINT_SIZE( 8.0f ); 49 const float DEFAULT_TEXT_STYLE_POINT_SIZE( 8.0f );
51 50
52 const Dali::Toolkit::Alignment::Padding DEFAULT_PLAY_PADDING(12.0f, 12.0f, 12.0f, 12.0f); 51 const Dali::Toolkit::Alignment::Padding DEFAULT_PLAY_PADDING(12.0f, 12.0f, 12.0f, 12.0f);