From: sungwook79.park Date: Tue, 26 Jul 2016 08:14:03 +0000 (+0900) Subject: Show text to textblock in voice input X-Git-Tag: submit/tizen/20160805.054246~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a8a44e235a9294633c53150f8d3ec38a9c003e86;p=platform%2Fcore%2Fuifw%2Finputdelegator.git Show text to textblock in voice input Change-Id: I948fd53fc41452f0b829c54cf763841242449bfc Signed-off-by: sungwook79.park --- diff --git a/src/w-input-stt-voice.cpp b/src/w-input-stt-voice.cpp index a3a2b83..eefd3db 100755 --- a/src/w-input-stt-voice.cpp +++ b/src/w-input-stt-voice.cpp @@ -1595,7 +1595,7 @@ static Evas_Object *create_textblock(void* data) #define FORMAT_TEXT_AREA_FONT_STYLE \ "DEFAULT='font=Tizen:style=Regular font_size=32 color=#%02x%02x%02x%02x text_class=tizen wrap=mixed align=center' newline='br' b='+ font=Tizen:style=Bold'link='+ underline=on underline_color=#%02x%02x%02x%02x'" - int a, r, g, b; + int a = 0xFF, r = 0xFF, g = 0xFF, b = 0xFF; char customStyle[512]; // ea_theme_color_get("AT02112", &r, &g, &b, &a, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); snprintf(customStyle, 512, FORMAT_TEXT_AREA_FONT_STYLE, r, g, b, a, r, g, b, a);