From: Wonkeun Oh Date: Fri, 3 Jul 2015 04:20:23 +0000 (+0900) Subject: Modified UI for interface share X-Git-Tag: accepted/tizen/common/20160812.141205~11 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a755b1a84ba90184aca44b7b5e5e4a910f24d3d8;p=platform%2Fcore%2Fuifw%2Fisf.git Modified UI for interface share Change-Id: I3ac287ae601d187a44f4af6f14cd263094f3dcfa --- diff --git a/ism/data/remote-input/Makefile.am b/ism/data/remote-input/Makefile.am index f681215..0b60e9d 100644 --- a/ism/data/remote-input/Makefile.am +++ b/ism/data/remote-input/Makefile.am @@ -58,6 +58,7 @@ web_DATA = index.htm\ remotekeyboard_39.png\ remotekeyboard_bg.png\ remotekeyboard_remocon_bg.png\ + remotekeyboard_remocon_bg3.png\ remocon.png\ mouse.png\ keyboard.png\ diff --git a/ism/data/remote-input/remote_input.css b/ism/data/remote-input/remote_input.css index 9d3db93..03fba27 100644 --- a/ism/data/remote-input/remote_input.css +++ b/ism/data/remote-input/remote_input.css @@ -3,7 +3,7 @@ html { } body { /* background:#111121;*/ - background-image:url(imgs/remotekeyboard_remocon_bg.png); + background-image:url(imgs/remotekeyboard_remocon_bg3.png); background-repeat:no-repeat; background-size: 100% 100%; margin:0; @@ -180,25 +180,25 @@ div { } .type_a { background:url(imgs/a_bt_pressed.png); - background-size:auto 100%; + background-size:auto 90%; background-repeat:no-repeat; background-position:center top; } .type_b { background:url(imgs/b_bt_pressed.png); - background-size:auto 100%; + background-size:auto 90%; background-repeat:no-repeat; background-position:center top; } .type_c { background:url(imgs/c_bt_pressed.png); - background-size:auto 100%; + background-size:auto 90%; background-repeat:no-repeat; background-position:center top; } .reset_bt { background:url(imgs/reset_bt_pressed.png); - background-size:auto 100%; + background-size:auto 90%; background-repeat:no-repeat; background-position:center top; } diff --git a/ism/data/remote-input/tv.htm b/ism/data/remote-input/tv.htm index e6e155a..46ee5c7 100644 --- a/ism/data/remote-input/tv.htm +++ b/ism/data/remote-input/tv.htm @@ -911,7 +911,7 @@ - +
@@ -994,7 +994,7 @@
- +
diff --git a/ism/extras/efl_panel/remote_input.cpp b/ism/extras/efl_panel/remote_input.cpp index a077f00..dc1c251 100644 --- a/ism/extras/efl_panel/remote_input.cpp +++ b/ism/extras/efl_panel/remote_input.cpp @@ -202,7 +202,7 @@ void Remote_Input::exit() bool Remote_Input::init_uinput_keyboard_device() { //For initialize uinput device for keyboard struct uinput_user_dev device_key; - int uinput_keys[] = {KEY_POWER, KEY_F6, KEY_1, KEY_2, KEY_3, KEY_4, KEY_5, KEY_6, KEY_7, KEY_8, KEY_9, KEY_MINUS, KEY_0, KEY_REDO, KEY_F10, KEY_F9, KEY_F8, KEY_F7, KEY_F12, KEY_F11, KEY_LEFTMETA, KEY_HOMEPAGE, KEY_BOOKMARKS, KEY_MENU, KEY_F18, KEY_UP, KEY_DOWN, KEY_LEFT, KEY_RIGHT, KEY_ENTER, KEY_BACK, KEY_EXIT, KEY_ESC, KEY_BACKSPACE}; + int uinput_keys[] = {KEY_POWER, KEY_F6, KEY_1, KEY_2, KEY_3, KEY_4, KEY_5, KEY_6, KEY_7, KEY_8, KEY_9, KEY_MINUS, KEY_0, KEY_REDO, KEY_F10, KEY_F9, KEY_F8, KEY_F7, KEY_F12, KEY_F11, KEY_LEFTMETA, KEY_HOMEPAGE, KEY_BOOKMARKS, KEY_MENU, KEY_F18, KEY_UP, KEY_DOWN, KEY_LEFT, KEY_RIGHT, KEY_ENTER, KEY_BACK, KEY_EXIT, KEY_ESC, KEY_BACKSPACE, KEY_POWER, KEY_PHONE}; memset(&device_key, 0, sizeof device_key); fd_uinput_keyboard = open("/dev/uinput", O_WRONLY | O_NONBLOCK); @@ -465,18 +465,18 @@ void Remote_Input::handle_websocket_message(ISE_MESSAGE &message) case 10001://Menu LOGD ("menu"); - panel_send_uinput_event_for_key(UINPUT_KEYBOARD, KEY_LEFTMETA); + panel_send_uinput_event_for_key(UINPUT_KEYBOARD, KEY_PHONE); break; case 10002://Home LOGD ("home"); - panel_send_uinput_event_for_key(UINPUT_KEYBOARD, KEY_HOMEPAGE); + panel_send_uinput_event_for_key(UINPUT_KEYBOARD, KEY_MENU); break; case 10003://Back LOGD ("back"); - //panel_send_uinput_event_for_key(UINPUT_KEYBOARD, KEY_BACK); //for TDC, 2.4 binary - panel_send_uinput_event_for_key(UINPUT_KEYBOARD, KEY_ESC); //for tv product binary + panel_send_uinput_event_for_key(UINPUT_KEYBOARD, KEY_BACK); //for TDC, 2.4 binary + //panel_send_uinput_event_for_key(UINPUT_KEYBOARD, KEY_ESC); //for tv product binary break; case 124://TV_KEY_POWER diff --git a/ism/extras/efl_panel/websocketserver.cpp b/ism/extras/efl_panel/websocketserver.cpp index c5f3b73..17e6a0d 100644 --- a/ism/extras/efl_panel/websocketserver.cpp +++ b/ism/extras/efl_panel/websocketserver.cpp @@ -122,6 +122,7 @@ static const struct serveable whitelist[] = { { "/imgs/remote_keyboard_logo.png", "image/png" }, { "/imgs/remotekeyboard_bg.png", "image/png" }, { "/imgs/remotekeyboard_remocon_bg.png", "image/png" }, + { "/imgs/remotekeyboard_remocon_bg3.png", "image/png" }, { "/imgs/return_pressed.png", "image/png" }, { "/imgs/return.png", "image/png" }, { "/imgs/scrollbar.png", "image/png" },