include(EDCCompile)
set(edcFiles
- colorClasses.edc
History_mob.edc
- HistoryDaysList_mob.edc
- WebsiteHistoryItem_mob.edc
- WebsiteHistoryItemTitle_mob.edc
- WebsiteHistoryItemVisitItems_mob.edc
)
foreach(edec ${edcFiles})
+++ /dev/null
-#include "../../../core/Tools/edc/SpacerRect.edc"
-#include "../../../core/Tools/edc/Background.edc"
-#include "../../../core/Tools/edc/InvisibleButtonSwallow.edc"
-#include "colorClasses.edc"
-
-collections { base_scale: 2.0;
- group { name: "layoutButtonDelete";
- styles {
- style {
- name: "styleButtonDelete";
- base: "font=Tizen:style=Regular font_size=27 color=#DDDDDD align=0.5 valign=1.0 ellipsis=1.0";
- }
- }
- parts {
- SPACER_RECT_HORIZONTAL("spacerLeft", 0, 24, 0.0);
- SPACER_RECT_HORIZONTAL("spacerRight", 0, 38, 1.0);
- SPACER_RECT_CORNER_LEFT_TOP("spacerCornerLeftUpper", 0, 32, 24);
- SPACER_RECT_CORNER_RIGHT_BOTTOM("spacerCornerRightBottom", 0, 50, 24);
-
- rect { "background";
- scale: 1;
- desc { "default";
- visible: 1; color_class: "colorButtonDelete";
- align: 0.0 0.0;
- min: 1 1;
- max: -1 -1;
- fixed: 0 0;
- rel1 { relative: 1.0 0.0; to: "spacerLeft"; }
- rel2 { relative: 0.0 1.0; to: "spacerRight"; }
- }
- desc { "visible";
- inherit: "default" 0.0;
- color_class: "colorButtonDeletePress";
- }
- }
- part { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- description { state: "default" 0.0;
- visible: 1;
- align: 0.5 0.5;
- min: 90 35;
- max: 90 35;
- fixed: 0 0;
- rel1 { relative: 1.0 1.0; to: "spacerCornerLeftUpper";}
- rel2 { relative: 0.0 0.0; to: "spacerCornerRightBottom"; }
- text { style: "styleButtonDelete"; }
- }
- }
- INVISIBLE_BUTTON_SWALLOW("background")
- }
- programs {
- PROGRAM_BACKGROUND_COVER_TOGGLABLE("buttonSelectOver", "background")
- }
- }
-}
+++ /dev/null
-#include "history_ico_btn.edc"
-
-collections { base_scale: 2.0;
- group {
- name: "history-layout";
- parts {
- part {
- name: "history_bg";
- type: RECT;
- mouse_events: 0;
- repeat_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 1;
- color: 244 244 244 255;
- }
- }
- part {
- name: "action_bar_history";
- type : SWALLOW;
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 1;
- min: 1920 104;
- max: 1920 104;
- align: 0.0 0.0;
- fixed: 1 1;
- rel1 {
- relative: 0.0 0.0;
- to: "history_bg";}
- }
- }
- part {
- name: "history_list_spacer";
- type: SPACER;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 1920 132;
- max: 1920 132;
- align: 0.0 0.0;
- fixed: 1 1;
- rel1 {
- to: "action_bar_history";
- relative: 0.0 1.0;
- }
- }
- }
- part {
- name: "history_list";
- type: SWALLOW;
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 1;
- align: 0.0 0.0;
- min: 1 1;
- max: -1 -1;
- fixed: 0 0;
- rel1 {
- relative: 0.0 1.0;
- to: "history_list_spacer";
- }
- }
- }
- }
- }
- group {
- name: "action_bar";
- parts{
- part {
- name: "bg_clipper";
- scale: 1;
- type: RECT;
- description {
- state: "default" 0.0;
- color: 255 255 255 255;
- align: 0.0 0.0;
- }
- }
- part {
- name: "action_title";
- scale: 1;
- type: TEXT;
- description {
- state: "default" 0.0;
- visible: 1;
- align: 0.5 0.5;
- color: 51 51 51 255;
- rel1 {
- relative: 0.0 0.0;
- to: "bg_clipper"; }
- rel2 {
- relative: 1.0 1.0;
- to: "bg_clipper"; }
- text {
- text: "History Manager";
- font: "BreezeSans";
- size: 46;
- align: 0.5 0.5;
- }
- }
- }
- part {
- name: "action_divider";
- scale: 1;
- type: RECT;
- description {
- state: "default" 0.0;
- align: 0.0 1.0;
- min: 1920 2;
- max: 1920 2;
- fixed: 1 1;
- color: 178 178 178 255;
- rel2 {
- relative: 1.0 1.0;
- to: "bg_clipper";
- }
- }
- }
- part {
- name: "clearhistory_click";
- scale: 1;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- visible: 1;
- fixed: 1 1;
- min: 82 102;
- max: 82 102;
- align: 1.0 0.0;
- rel2 {
- relative: 0.0 1.0;
- to: "close_click";
- }
- }
- }
- part {
- name: "close_click";
- scale: 1;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- visible: 1;
- fixed: 1 1;
- min: 82 102;
- max: 82 102;
- align: 1.0 0.0;
- rel1 {
- relative: 0.0 0.0;
- to: "bg_clipper";
- }
- }
- }
- }
- }
-}
+++ /dev/null
-collections { base_scale: 2.0;
-
- group {
- name: "groupImageClear";
- images.image: "ico_delete.png" COMP;
- parts {
- part {
- name: "image";
- type: IMAGE;
- mouse_events: 1;
- repeat_events: 0;
- description {
- state: "default" 0.0;
- image.normal: "ico_delete.png";
- }
- }
- }
- }
-
- group {
- name: "historyDaysList";
- parts {
- part {
- name: "spacerDaysColumns";
- type: RECT;
- scale: 1;
- description {
- state: "default";
- min: 65 1;
- max: 65 -1;
- visible: 0;
- align: 0 0;
- rel1 { relative: 0.0 0.0; }
- rel2 { relative: 0.0 1.0; }
- }
- }
- part {
- name: "daysColumns";
- type: SWALLOW;
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 1;
- align: 0.0 0.0;
- max: -1 -1;
- rel1 { relative: 1.0 0.0; to: "spacerDaysColumns"; }
- rel2 { relative: 1.0 1.0; to: "spacerDaysColumns"; }
- }
- }
- }
- }
- group {
- name: "layoutDayColumn";
- parts {
- part {
- name: "background";
- type: RECT;
- description {
- state: "default" 0.0;
- max: -1 -1;
- visible: 1;
- color: 255 255 255 255;
- rel1 {
- to: "boxMainVertical";
- relative: 0.0 0.0;
- }
- rel2{
- to: "boxMainVertical";
- relative: 1.0 1.0;
- }
- }
- }
- part {
- name: "boxMainVertical";
- type: SWALLOW;
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 1;
- align: 0.0 0.0;
- min: 1004 1;
- max: 1004 -1;
- rel1 { relative: 0.0 0.0; }
- rel2 { relative: 1.0 1.0; }
- }
- }
- }
- }
-
- group {
- name: "layoutHeader";
- styles {
- style {
- name: "styleDayDefault";
- base: "font=Tizen:style=Regular font_size=30 color=#333333 align=0.0 valign=1.0";
- }
- style {
- name: "styleDayFocused";
- base: "font=Tizen:style=Regular font_size=30 color=#FFFFFF align=0.0 valign=1.0";
- }
- }
- parts {
- part {
- name: "background";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- color: 255 255 255 255;
- rel1 { relative: 0.0 0.0; to: "buttonSelect"; }
- rel2 { relative: 1.0 1.0; to: "buttonSelect"; }
- }
- description {
- state: "focused" 0.0;
- inherit: "default";
- color: 0 119 246 255;
- }
- }
- part {
- name: "spacerTextLeft";
- type: RECT;
- scale: 1;
- description {
- state: "default";
- visible: 0;
- fixed: 1 1;
- min: 16.0 (36 + 2*16);
- max: 16.0 (36 + 2*16);
- align: 0 0;
- rel1 { relative: 0.0 0.0; }
- }
- }
- part {
- name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 0.0 0.0;
- visible: 1;
- rel1 { relative: 1.0 0.0; to: "spacerTextLeft"; }
- text { style: "styleDayDefault"; }
- }
- }
- part {
- name: "buttonSelect";
- type: SWALLOW;
- description {
- state: "default" 0.0;
- align: 0.0 0.0;
- min: 284 (36 + 2*16);
- max: 284 (36 + 2*16);
- rel1 { relative: 0.0 0.0; }
- rel2 { relative: 1.0 1.0; }
- }
- }
- part {
- name: "imageClear";
- type: SWALLOW;
- description {
- state: "default" 0.0;
- visible: 0;
- fixed: 0 0;
- min: 40 40;
- max: 40 40;
- align: 1.0 0.5;
- rel1 { relative: 0.0 0.0; to: "elm.text"; }
- rel2 { relative: 1.0 1.0; to: "elm.text"; }
- }
- description {
- state: "imageClearVisible" 0.0;
- inherit: "default";
- visible: 1;
- }
- }
- }
- programs {
- program {
- name: "focused";
- signal: "buttonSelectFocused";
- source: "ui";
- action: STATE_SET "focused" 0.0;
- target: "background";
- }
- program {
- name: "unfocused";
- signal: "buttonSelectUnfocused";
- source: "ui";
- action: STATE_SET "default" 0.0;
- target: "imageClear";
- target: "background";
- }
- program {
- name: "showImageClear";
- signal: "showImageClear";
- source: "ui";
- action: STATE_SET "imageClearVisible" 0.0;
- target: "imageClear";
- }
- }
- }
-
- group {
- name: "layoutBoxScrollerWebsites";
- parts {
- part {
- name: "background";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 0;
- color: 200 0 200 150;
- rel1 { to: "boxScrollerWebsites"; relative: 0.0 0.0; }
- rel2{ to: "boxScrollerWebsites"; relative: 1.0 1.0; }
- }
- }
- part {
- name: "spacerDaysColumns";
- type: RECT;
- scale: 1;
- description {
- state: "default";
- min: 1 21;
- max: -1 21;
- align: 0 0;
- rel1 { relative: 0.0 0.0; }
- rel2 { relative: 1.0 1.0; }
- }
- }
- part {
- name: "boxScrollerWebsites";
- type: SWALLOW;
- description {
- state: "default" 0.0;
- visible: 1;
- align: 0.0 0.0;
- min: 1 1;
- max: -1 -1;
- rel1 { relative: 0.0 1.0; to: "spacerDaysColumns"; }
- }
- }
- }
- }
-
- group {
- name: "layoutScrollerWebsites";
- parts {
- part {
- name: "background";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- max: -1 -1;
- visible: 1;
- color: 194 194 194 255;
- rel1 { relative: 0.0 0.0; to: "boxWebsites"; }
- rel2 { relative: 1.0 1.0; to: "boxWebsites"; }
- }
- }
- part {
- name: "boxWebsites";
- type: SWALLOW;
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 1;
- align: 0.0 0.0;
- min: 1 1;
- max: -1 -1;
- rel1 { relative: 0.0 0.0; }
- rel2 { relative: 1.0 1.0; }
- }
- }
- }
- }
-
-}
+++ /dev/null
-#include "../../../core/Tools/edc/SpacerRect.edc"
-#include "../../../core/Tools/edc/Background.edc"
-#include "colorClasses.edc"
-
-collections { base_scale: 2.6;
- group {
- name: "arrow-layout";
- images {
- image: "core_icon_expand_close.png" COMP;
- image: "core_icon_expand_open.png" COMP;
- }
-
- parts {
- part {
- name: "bg";
- scale : 1;
- type : RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- min: 64 64 ;
- max: 64 64;
- color: 0 0 0 0;
- rel1 { relative: 0.0 0.0; }
- rel2 { relative: 1.0 1.0; }
- }
- }
- part {
- name: "elm.icon.image";
- scale : 1;
- type : IMAGE;
- description {
- state: "default" 0.0;
- visible: 1;
- min: 64 64 ;
- max: 64 64;
- fixed: 1 1;
- align: 0.5 0.5;
- rel1 { relative: 0.0 0.0; to: "bg"; }
- rel2 { relative: 1.0 1.0; to: "bg"; }
- image.normal: "core_icon_expand_open.png";
- color: 61 185 204 255;
- }
- description {
- state: "contract" 0.0;
- inherit: "default" 0.0;
- image.normal: "core_icon_expand_close.png";
- }
- }
- }
- programs {
- program {
- name: "expanded";
- signal: "state,expanded,signal";
- action: STATE_SET "default" 0.0;
- target: "elm.icon.image";
- }
- program {
- name: "contracted";
- signal: "state,contracted,signal";
- action: STATE_SET "contract" 0.0;
- target: "elm.icon.image";
- }
- }
- }
- group { name: "layoutScrollerDays";
- parts {
- BACKGROUND_COVER("", 1, "colorMainBg")
- SPACER_RECT_HORIZONTAL("spacerBoxLeft", 0, 20, 0.0);
- SPACER_RECT_HORIZONTAL("spacerBoxRight", 0, 20, 1.0);
- part { name: "boxDays";
- type: SWALLOW;
- scale: 1;
- description { state: "default" 0.0;
- visible: 1;
- min: 1 1;
- max: -1 -1;
- fixed: 0 0;
- rel1 { relative: 1.0 0.0; to: "spacerBoxLeft"; }
- rel2 { relative: 0.0 1.0; to: "spacerBoxRight"; }
- }
- }
- part {
- name: "noHistory";
- type: TEXT;
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 0;
- align: 0.5 0.5;
- min: 500 43;
- max: 500 43;
- color: 0 0 0 255;
- fixed: 1 1;
- rel1 { relative: 0.5 0.5;}
- rel2 { relative: 0.5 0.5;}
- text{
- text: "No History";
- font: "Sans";
- size: 36;
- align: 0.5 0.5;
- }
- }
- description {
- state: "visible" 0.0;
- inherit: "default";
- visible: 1;
- }
- }
- }
- programs {
- program {
- name: "show_empty_message";
- signal: "show_empty_message";
- source: "ui";
- action: STATE_SET "visible" 0.0;
- target: "noHistory";
- }
- program {
- name: "hide_empty_message";
- signal: "hide_empty_message";
- source: "ui";
- action: STATE_SET "default" 0.0;
- target: "noHistory";
- }
- }
- }
- group { name: "layoutDayItem";
- parts {
- part { name: "boxMainVertical";
- type: SWALLOW;
- scale: 1;
- description { state: "default" 0.0;
- visible: 1;
- align: 0.0 0.0;
- min: 1 1;
- max: -1 -1;
- fixed: 0 0;
- rel1 { relative: 0.0 0.0; }
- rel2 { relative: 1.0 1.0; }
- }
- }
- }
- }
- group { name: "layoutHeader";
- styles {
- style { name: "styleDayDefault";
- base: "font=Tizen:style=Regular font_size=30 color=#333333 align=0.0 valign=1.0";
- }
- style { name: "styleDayFocused";
- base: "font=Tizen:style=Regular font_size=30 color=#FFFFFF align=0.0 valign=1.0";
- }
- }
- parts {
- SPACER_RECT_VERTICAL("spacerTextTop", 0, 60, 0.0)
- SPACER_RECT_VERTICAL("spacerTextBottom", 0, 20, 1.0)
- part { name: "elm.text";
- scale: 1;
- type: TEXTBLOCK;
- description { state: "default" 0.0;
- align: 0.0 0.0;
- visible: 1;
- min: 1 38;
- max: -1 38;
- fixed: 0 0;
- align: 0.0 0.0;
- rel1 { relative: 0.0 1.0; to: "spacerTextTop"; }
- rel2 { relative: 1.0 0.0; to: "spacerTextBottom"; }
- text { style: "styleDayDefault"; }
- }
- }
- }
- }
- group { name: "layoutBoxWebsites";
- parts {
- part { name: "boxWebsites";
- type: SWALLOW;
- scale: 1;
- description { state: "default";
- visible: 1;
- align: 0.0 0.0;
- min: 1 1;
- max: -1 -1;
- fixed: 0 0;
- rel1 { relative: 0.0 0.0; }
- rel2 { relative: 1.0 1.0; }
- }
- }
- }
- }
-}
-#include "history_ico_btn_mob.edc"
-
collections { base_scale: 2.6;
group {
name: "history-layout";
+++ /dev/null
-collections { base_scale: 2.0;
- group {
- name: "layoutWebsiteHistoryItem";
- parts {
- part {
- name: "background";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- color: 255 255 255 255;
- rel1 {
- to: "boxMainHorizontal";
- relative: 0.0 0.0;
- }
- rel2{
- to: "boxMainHorizontal";
- relative: 1.0 1.0;
- }
- }
- }
- part {
- name: "boxMainHorizontal";
- type: SWALLOW;
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 1;
- align: 0.0 0.0;
- min: 1 146;
- max: -1 146;
- rel1 {
- relative: 0.0 0.0;
- }
- rel2 {
- relative: 1.0 1.0;
- }
- }
- }
- }
- }
-}
+++ /dev/null
-#include "../../../core/Tools/edc/SpacerRect.edc"
-
-collections { base_scale: 2.0;
-
- group {
- name: "groupImageClear";
- images.image: "ico_delete.png" COMP;
- parts {
- part {
- name: "image";
- type: IMAGE;
- mouse_events: 1;
- repeat_events: 0;
- description {
- state: "default" 0.0;
- image.normal: "ico_delete.png";
- }
- }
- }
- }
- group {
- name: "layoutWebsiteHistoryItemTitle";
- parts {
- part {
- name: "background";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- color: 255 255 255 255;
- rel1 { to: "boxMainHorizontal"; relative: 0.0 0.0; }
- rel2 { to: "boxMainHorizontal"; relative: 1.0 1.0; }
- }
- description {
- state: "focused" 0.0;
- inherit: "default";
- color: 0 119 246 255;
- }
- }
- part {
- name: "boxMainHorizontal";
- type: SWALLOW;
- description {
- state: "default" 0.0;
- align: 0.0 0.0;
- min: 284 110;
- max: -1 -1;
- rel1 { relative: 0.0 0.0; offset: 18.0 18.0; }
- rel2 { relative: 1.0 1.0; }
- }
- }
- part {
- name: "buttonSelect";
- type: SWALLOW;
- description {
- state: "default" 0.0;
- align: 0.0 0.0;
- rel1 { relative: 0.0 0.0; to: "boxMainHorizontal"; }
- rel2 { relative: 1.0 1.0; to: "boxMainHorizontal"; }
- }
- }
- part {
- name: "imageClear";
- type: SWALLOW;
- description {
- state: "default" 0.0;
- visible: 0;
- fixed: 0 0;
- min: 40 40;
- max: 40 40;
- align: 1.0 0.0;
- rel1 { relative: 0.0 0.0; to: "boxMainHorizontal"; }
- rel2 { relative: 1.0 1.0; to: "boxMainHorizontal"; }
- }
- description {
- state: "imageClearVisible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- }
- programs {
- program {
- name: "focused";
- signal: "buttonSelectFocused";
- source: "ui";
- action: STATE_SET "focused" 0.0;
- target: "background";
- }
- program {
- name: "unfocused";
- signal: "buttonSelectUnfocused";
- source: "ui";
- action: STATE_SET "default" 0.0;
- target: "imageClear";
- target: "background";
- }
- program {
- name: "showImageClear";
- signal: "showImageClear";
- source: "ui";
- action: STATE_SET "imageClearVisible" 0.0;
- target: "imageClear";
- }
- }
- }
-
- group {
- name: "layoutItemIcon";
- parts {
- SPACER_RECT_HORIZONTAL("spacerLeft", 0, 18.0, 0.0)
- part {
- name: "swallowFavIcon";
- scale: 1;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- align: 0.0 0.0;
- min: 58 58;
- max: 58 58;
- rel1 { relative: 1.0 0.0; to: "spacerLeft"; }
- rel2 { relative: 1.0 1.0; }
- }
- }
- }
- }
-
- group {
- name: "layoutItemSummary";
- parts {
- part {
- name: "background";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 0;
- color: 100 0 0 255;
- rel1 { to: "boxMainVertical"; relative: 0.0 0.0; }
- rel2 { to: "boxMainVertical"; relative: 1.0 1.0; }
- }
- }
- part {
- name: "boxMainVertical";
- type: SWALLOW;
- description {
- state: "default" 0.0;
- align: 0.0 0.5;
- min: 1 62;
- max: -1 62;
- rel1 { relative: 0.0 0.0; offset: 26.0 0.0; }
- rel2 { relative: 1.0 1.0; offset: -26.0 0.0; }
- }
- }
- }
- }
- group {
- name: "layoutTextSummaryTitle";
- styles {
- style {
- name: "styleTitle";
- base: "font=Tizen:style=Regular font_size=20 color=#999999 align=0.0 valign=1.0 ellipsis=1.0";
- }
- }
- parts {
- part {
- name: "background";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 0;
- color: 0 150 0 255;
- rel1 { to: "elm.text"; relative: 0.0 0.0; }
- rel2 { to: "elm.text"; relative: 1.0 1.0; }
- }
- }
- part {
- name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 0.0 0.5;
- min: 1 28;
- max: -1 28;
- visible: 1;
- rel1 { relative: 0.0 0.0; offset: 18.0 0.0; }
- rel2 { relative: 1.0 1.0; }
- text {
- style: "styleTitle";
- }
- }
- }
- }
- }
-}
+++ /dev/null
-#include "ButtonDelete.edc"
-
-#define ELEMENTS_HORIZONTAL_SPACER 38
-#define TITLE_HEIGHT 150
-
-collections { base_scale: 2.6;
- group { name: "groupImageFaviconMask";
- images.image: "favicon_mask.png" COMP;
- images.image: "favicon_mask_selected.png" COMP;
- parts {
- part { name: "image";
- type: IMAGE;
- mouse_events: 1;
- repeat_events: 0;
- description { state: "default" 0.0;
- image.normal: "favicon_mask.png";
- }
- description { state: "selected" 0.0;
- image.normal: "favicon_mask_selected.png";
- }
- }
- }
- programs {
- program { name: "favicon_mask_default";
- signal: "favicon_mask_default";
- source: "ui";
- action: STATE_SET "default" 0.0;
- target: "image";
- }
- program { name: "favicon_mask_selected";
- signal: "favicon_mask_selected";
- source: "ui";
- action: STATE_SET "selected" 0.0;
- target: "image";
- }
- }
- }
- group { name: "layoutWebsiteHistoryItemTitle";
- parts {
- SPACER_RECT_HORIZONTAL("spacerBoxLeft", 0, ELEMENTS_HORIZONTAL_SPACER, 0.0)
- SPACER_RECT_HORIZONTAL("spacerBoxRight", 0, ELEMENTS_HORIZONTAL_SPACER, 1.0)
- part { name: "main";
- scale: 1;
- type: SWALLOW;
- description { state: "default" 0.0;
- min: 1 TITLE_HEIGHT;
- max: -1 TITLE_HEIGHT;
- align: 0.0 0.0;
- fixed: 0 0;
- rel1 { relative: 0.0 0.0; }
- rel2 { relative: 1.0 1.0; }
- }
- }
- rect { "divider";
- scale: 1;
- desc { "default";
- visible: 1; color_class: "colorPanelListDivider";
- align: 0.5 1.0;
- min: 1 2;
- max: -1 2;
- fixed: 0 1;
- rel1 { relative: 1.0 0.0; to: "spacerBoxLeft"; }
- rel2 { relative: 0.0 1.0; to: "spacerBoxRight"; }
- }
- }
- }
- }
-
- group { name: "layoutMainContent";
- parts {
- BACKGROUND_COVER_TOGGLABLE("clickBackground", "", "colorWebsiteHistoryItemTitleMouseIn")
- part { name: "boxMainHorizontal";
- scale: 1;
- type: SWALLOW;
- description { state: "default" 0.0;
- min: 1 1;
- max: -1 -1;
- align: 0.0 0.0;
- fixed: 0 0;
- rel1 { relative: 0.0 0.0; }
- rel2 { relative: 1.0 1.0; }
- }
- }
- INVISIBLE_BUTTON_SWALLOW("boxMainHorizontal")
- }
- programs {
- PROGRAM_BACKGROUND_COVER_TOGGLABLE("buttonSelectOver", "clickBackground")
- }
- }
-
- group { name: "layoutItemIcon";
- parts {
- SPACER_RECT_HORIZONTAL("spacerBoxLeft", 0, ELEMENTS_HORIZONTAL_SPACER, 0.0)
- SPACER_RECT_HORIZONTAL("spacerBoxRight", 0, ELEMENTS_HORIZONTAL_SPACER, 1.0)
- part { name: "swallowFavIcon";
- scale: 1;
- type: SWALLOW;
- description { state: "default" 0.0;
- align: 0.0 0.0;
- visible: 1;
- min: 84 84;
- max: 84 84;
- fixed: 0 0;
- rel1 { relative: 1.0 0.0; to: "spacerBoxLeft"; }
- rel2 { relative: 1.0 1.0; }
- }
- }
- part { name: "swallowFavIconMask";
- scale: 1;
- type: SWALLOW;
- description { state: "default" 0.0;
- align: 0.0 0.0;
- visible: 1;
- min: 84 84;
- max: 84 84;
- fixed: 0 0;
- rel1 { relative: 1.0 0.0; to: "spacerBoxLeft"; }
- rel2 { relative: 1.0 1.0; }
- }
- }
- }
- }
- group { name: "layoutTextSummaryTitle";
- styles {
- style {
- name: "styleTitle";
- base: "font=Tizen:style=Regular font_size=30 color=#333333 align=0.0 valign=1.0 ellipsis=1.0";
- }
- }
- parts {
- SPACER_RECT_HORIZONTAL("spacerTextLeft", 0, 28, 0.0)
- part { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- description { state: "default" 0.0;
- visible: 1;
- align: 0.0 0.5;
- min: 1 ELEMENTS_HORIZONTAL_SPACER;
- max: -1 ELEMENTS_HORIZONTAL_SPACER;
- fixed: 0 1;
- rel1 { relative: 1.0 0.0; to: "spacerTextLeft"; }
- text { style: "styleTitle"; }
- }
- }
- }
- }
-}
+++ /dev/null
-collections { base_scale: 2.0;
- group {
- name: "groupImageClear";
- images.image: "ico_delete.png" COMP;
- parts {
- part {
- name: "image";
- type: IMAGE;
- mouse_events: 1;
- repeat_events: 0;
- description {
- state: "default" 0.0;
- image.normal: "ico_delete.png";
- }
- }
- }
- }
- group {
- name: "layoutWebsiteHistoryItemVisitItems";
- parts {
- part {
- name: "background";
- type: RECT;
- description {
- state: "default" 0.0;
- color: 255 255 255 255;
- visible: 0;
- rel1 { to: "boxMainVertical"; relative: 0.0 0.0; }
- rel2 { to: "boxMainVertical"; relative: 1.0 1.0; }
- }
- }
- part {
- name: "boxMainVertical";
- type: SWALLOW;
- description {
- state: "default" 0.0;
- min: 634 56;
- max: -1 -1;
- rel1 { relative: 0.0 0.0; offset: 40.0 28.0; }
- rel2 { relative: 1.0 1.0; offset: 0.0 -28.0; }
- }
- }
- }
- }
- group {
- name: "layoutWebsiteHistoryVisitItem";
- parts {
- part {
- name: "background";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- color: 255 255 255 255;
- rel1 { to: "boxMainHorizontal"; relative: 0.0 0.0; }
- rel2 { to: "boxMainHorizontal"; relative: 1.0 1.0; }
- }
- description {
- state: "focused" 0.0;
- inherit: "default";
- color: 0 119 246 255;
- }
- }
- part {
- name: "boxMainHorizontal";
- type: SWALLOW;
- description {
- state: "default" 0.0;
- min: 634 56;
- max: 634 56;
- rel1 { relative: 0.0 0.0; }
- rel2 { relative: 1.0 1.0; }
- }
- }
- part {
- name: "buttonSelect";
- type: SWALLOW;
- description {
- state: "default" 0.0;
- align: 0.0 0.0;
- min: 633 56;
- max: 633 56;
- rel1 { relative: 0.0 0.0; }
- rel2 { relative: 1.0 1.0; }
- }
- }
- part {
- name: "imageClear";
- type: SWALLOW;
- description {
- state: "default" 0.0;
- visible: 0;
- align: 1.0 0.0;
- fixed: 0 0;
- min: 40 40;
- max: 40 40;
- rel1 {
- relative: 0.0 0.0;
- to: "boxMainHorizontal";
- offset: -26.0 8.0;
- }
- }
- description {
- state: "imageClearVisible" 0.0;
- inherit: "default";
- visible: 1;
- }
- }
- }
- programs {
- program {
- name: "focused";
- signal: "buttonSelectFocused";
- source: "ui";
- action: STATE_SET "focused" 0.0;
- target: "background";
- }
- program {
- name: "unfocused";
- signal: "buttonSelectUnfocused";
- source: "ui";
- action: STATE_SET "default" 0.0;
- target: "imageClear";
- target: "background";
- }
- program {
- name: "showImageClear";
- signal: "showImageClear";
- source: "ui";
- action: STATE_SET "imageClearVisible" 0.0;
- target: "imageClear";
- }
- }
- }
- group {
- name: "layoutWebsiteHistoryVisitItemDate";
- styles {
- style {
- name: "styleDate";
- base: "font=Tizen:style=Regular font_size=20 color=#999999 align=0.0 valign=0.5 ellipsis=1.0";
- }
- }
- parts {
- part {
- name: "background";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 0;
- color: 0 173 148 255;
- rel1 { to: "elm.text"; relative: 0.0 0.0; }
- rel2 { to: "elm.text"; relative: 1.0 1.0; }
- }
- }
- part {
- name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 0.0 0.5;
- min: 140 36;
- max: 140 36;
- visible: 1;
- rel1 { relative: 0.0 0.0; offset: 18.0 0.0; }
- rel2 { relative: 1.0 1.0; }
- text { style: "styleDate"; }
- }
- }
- }
- }
- group {
- name: "layoutWebsiteHistoryVisitItemUrl";
- styles {
- style {
- name: "styleUrlDefault";
- base: "font=Tizen:style=Regular font_size=20 color=#565656 align=0.0 valign=0.5 ellipsis=1.0";
- }
- style {
- name: "styleUrlFocused";
- base: "font=Tizen:style=Regular font_size=20 color=#FFFFFF align=0.0 valign=0.5 ellipsis=1.0";
- }
- }
- parts {
- part {
- name: "background";
- type: RECT;
- description {
- state: "default" 0.0;
- color: 255 255 255 255;
- visible: 0;
- rel1 { to: "elm.text"; relative: 0.0 0.0; }
- rel2 { to: "elm.text"; relative: 1.0 1.0; }
- }
- }
- part {
- name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- description {
- state: "default" 0.0;
- //align: 0.0 0.5;
- min: 1 36;
- max: -1 36;
- visible: 1;
- rel1 { relative: 0.0 0.0; offset: 16.0 0.0; }
- rel2 { relative: 1.0 1.0; offset: -26.0 0.0; }
- text { style: "styleUrlDefault"; }
- }
- }
- }
- }
-}
+++ /dev/null
-#include "ButtonDelete.edc"
-#define VISITITEM_HEIGHT 150
-
-collections { base_scale: 2.6;
- group {
- name: "layoutWebsiteHistoryItemVisitItems";
- parts {
- SPACER_RECT_VERTICAL("spacerBoxTop", 0, 14, 0.0)
- part { name: "boxMainVertical";
- scale: 1;
- type: SWALLOW;
- description { state: "default" 0.0;
- rel1 { relative: 0.0 1.0; to: "spacerBoxTop"; }
- }
- }
- }
- }
- group { name: "layoutWebsiteHistoryVisitItem";
- parts{
- part { name: "main";
- scale: 1;
- type: SWALLOW;
- description { state: "default" 0.0;
- min: 1 VISITITEM_HEIGHT;
- max: -1 VISITITEM_HEIGHT;
- align: 0.0 0.0;
- fixed: 0 0;
- rel1 { relative: 0.0 0.0; }
- rel2 { relative: 1.0 1.0; }
- }
- }
- }
- }
-
- group { name: "layoutMainContent";
- styles {
- style {
- name: "styleTitle";
- base: "font=Tizen:style=Regular font_size=27 color=#333333 align=0.0 valign=1.0 ellipsis=1.0";
- }
- style {
- name: "styleDetails";
- base: "font=Tizen:style=Regular font_size=23 color=#333333 align=0.0 valign=1.0 ellipsis=1.0";
- }
- }
- parts {
- BACKGROUND_COVER_TOGGLABLE("clickBackground", "", "colorWebsiteHistoryItemTitleMouseIn")
- rect { "background";
- scale: 1;
- desc { "default";
- visible: 0;
- rel1 { relative: 0.0 0.0; }
- rel2 { relative: 1.0 1.0; }
- min: 1 1;
- max: -1 -1;
- fixed: 0 1;
- }
- desc { "visible";
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- SPACER_RECT_CORNER_LEFT_TOP("spacerCornerLeftUpper", 0, 38, 21);
- SPACER_RECT_CORNER_LEFT_BOTTOM("spacerCornerLeftBottom", 0, 38, 51);
- SPACER_RECT_CORNER_RIGHT_BOTTOM("spacerCornerRightBottom", 0, 38, 21);
- SPACER_RECT_CORNER_RIGHT_BOTTOM("spacerCornerRightBottomBig", 0, 20+136+38, 14+30+21);
-
- part { name: "textTitle";
- type: TEXTBLOCK;
- scale: 1;
- description { state: "default" 0.0;
- visible: 1;
- align: 1.0 1.0;
- min: 1 34;
- max: -1 34;
- fixed: 0 0;
- rel1 { relative: 1.0 1.0; to: "spacerCornerLeftUpper"; }
- rel2 { relative: 0.0 0.0; to: "spacerCornerRightBottomBig"; }
- text { style: "styleTitle"; }
- }
- }
- part { name: "textUrl";
- type: TEXTBLOCK;
- scale: 1;
- description { state: "default" 0.0;
- visible: 1;
- align: 0.0 0.0;
- min: 1 30;
- max: -1 30;
- fixed: 0 1;
- rel1 { relative: 1.0 0.0; to: "spacerCornerLeftBottom"; }
- rel2 { relative: 0.0 1.0; to: "spacerCornerRightBottomBig"; }
- text { style: "styleDetails"; }
- }
- }
- part { name: "textTime";
- type: TEXTBLOCK;
- scale: 1;
- description { state: "default" 0.0;
- visible: 1;
- align: 1.0 1.0;
- min: 136 30;
- max: 136 30;
- fixed: 1 1;
- rel1 { relative: 0.0 0.0; }
- rel2 { relative: 0.0 0.0; to: "spacerCornerRightBottom"; }
- text { style: "styleDetails"; }
- }
- }
- INVISIBLE_BUTTON_SWALLOW("background")
- }
- programs {
- PROGRAM_BACKGROUND_COVER_TOGGLABLE("buttonSelectOver", "clickBackground")
- }
-}
+++ /dev/null
-#include "../../../core/Tools/edc/SpacerRect.edc"
-#include "../../../core/Tools/edc/Background.edc"
-#include "colorClasses.edc"
-
-collections { base_scale: 2.6;
- group { name: "layoutWebsiteHistoryItem";
- parts {
- BACKGROUND_COVER("boxMainVertical", 1, "colorWebsiteHistoryItem")
- part { name: "boxMainVertical";
- type: SWALLOW;
- scale: 1;
- description { state: "default" 0.0;
- visible: 1;
- align: 0.0 0.0;
- min: 1 150;
- max: -1 150;
- rel1 { relative: 0.0 0.0; }
- rel2 { relative: 1.0 1.0; }
- }
- }
- }
- }
-}
-
+++ /dev/null
-color_classes {
- color_class { name: "colorMainBg";
- color: 244 244 244 255;
- }
- color_class { name: "backgroundGreen";
- color: 0 255 0 150;
- }
- color_class { name: "backgroundRed";
- color: 255 0 0 150;
- }
- color_class { name: "colorPanelListDivider";
- color: 0 0 0 255/10; // 10%
- }
- color_class { name: "colorWebsiteHistoryItem";
- color: 255 255 255 255;
- }
- color_class { name: "colorWebsiteHistoryItemTitleMouseIn";
- color: 224 237 251 255;
- }
- color_class { name: "colorButtonDelete";
- color: 238 28 36 255;
- }
- color_class { name: "colorButtonDeletePress";
- color: 224 19 27 255;
- }
-}
+++ /dev/null
-collections { base_scale: 2.0;
- images {
- image: "web_browsing_icon_error.png" COMP;
- }
- group { name: "error_message";
- styles {
- style { name: "mssage_style";
- base: "font=Sans font_size=35 color=#d3d3d3 wrap=word align=0.5 ellipsis=1.0";
- }
- style { name: "mssage_hint_style";
- base: "font=Sans font_size=24 color=#868686 wrap=word align=0.5 ellipsis=1.0";
- }
- }
- parts {
- part{
- name: "message_background";
- type: RECT;
- description{
- state: "default" 0.0;
- visible: 1;
- rel1.relative: 0 0;
- rel2.relative: 1 1;
- color: 42 50 64 255;
- }
- }
- part{
- name: "error_message_background";
- type:RECT;
- description{
- state: "default" 0.0;
- visible: 1;
- min: 1582 730;
- max: 1582 730;
- fixed: 1 1;
- align: 0.5 0.5;
- color: 30 38 50 153;
- }
- }
- part{
- name: "err_ico";
- type: IMAGE;
- description{
- state: "default" 0.0;
- visible: 1;
- min: 140 140;
- max:140 140;
- fixed: 1 1;
- align: 0.5 0;
- rel1{
- relative: 0 0;
- offset:0 163;
- to: "error_message_background";
- }
- rel2{
- relative: 1 1;
- to: "error_message_background";
- }
- image{
- normal: "web_browsing_icon_error.png";
- }
- }
- }
-
- part{
- name: "error_text";
- type: TEXTBLOCK;
- description{
- state: "default" 0.0;
- visible: 1;
- fixed: 1 1;
- min: 1502 96;
- max: 1502 96;
- //color: 211 211 211 255;
- align: 0.5 0;
- rel1{
- relative: 0 1;
- to_x: "error_message_background";
- to_y: "err_ico";
- }
- rel2{
- relative: 1 1;
- to: "error_message_background";
- }
- text{
- style: "mssage_style";
- text: "Server not found.<br/>sdf Please check the followings:";
- //min: 0 0;
- //max: 1 1;
- //align: 1 0;
- //size: 35;
- }
- }
- }
-
-
- part{
- name: "error_hint";
- type: TEXTBLOCK;
- description{
- state: "default" 0.0;
- visible: 1;
- fixed: 1 1;
- min: 1502 117;
- max: 1502 117;
- color: 134 134 134 255;
- align: 0.5 0;
- rel1{
- relative: 0 1;
- to_x: "error_message_background";
- to_y: "error_text";
- }
- rel2{
- relative: 1 1;
- to: "error_message_background";
- }
- text{
- max: 0 1;
- style: "mssage_hint_style";
- text: "Check for any typing error in URL. <br/>"
- "Check your network settings.<br/>"
- "Try again later.<br/>"
- "Click refresh to reload.";
- }
- }
- }
- }
-/*
- programs {
- program { name: "mouse_down";
- signal: "mouse,down,1";
- source: "logo";
- action: STATE_SET "hide" 0.0;
- target: "logo";
- }
- program { name: "mouse_up";
- signal: "mouse,up,1";
- source: "logo";
- action: STATE_SET "default" 0.0;
- target: "logo";
- }
- }
-*/
- }
-}
+++ /dev/null
-#include "../../../core/Tools/edc/IconButton.edc"
-
-collections { base_scale: 2.0;
- HISTORY_ICO_BTN("elm/button/base/history_button", "btn_bar_clear_nor.png", "btn_bar_clear_foc.png", "btn_bar_clear_dis.png")
- HISTORY_ICO_BTN("elm/button/base/clear_history_button", "btn_bar_clear_all_nor.png", "btn_bar_clear_all_foc.png", "btn_bar_clear_all_dis.png")
- HISTORY_ICO_BTN("elm/button/base/close_history_button", "btn_bar_stop_nor.png", "btn_bar_stop_nor.png", "btn_bar_stop_nor.png")
-}
\ No newline at end of file
+++ /dev/null
-#include "../../../core/Tools/edc/IconButton.edc"
-
-collections { base_scale: 2.6;
- HISTORY_ICO_BTN_MOB("elm/button/base/history_button", "navi_ic_clear.png", "navi_ic_clear.png", "navi_ic_clear.png")
- HISTORY_ICO_BTN_MOB("elm/button/base/close_history_button", "navi_ic_stop.png", "navi_ic_stop.png", "navi_ic_stop.png")
-}
\ No newline at end of file
#include "../../../core/Tools/edc/InvisibleButton.edc"
#include "../../../core/Tools/edc/Spacer.edc"
#include "../../../core/Tools/edc/ColorClasses.edc"
-#include "BrowserPageControl_mob.edc"
#define URI_INPUTBOX_LENGTH 1720
#define URL_HISTORY_ITEM_H 82
add_dependencies(${PROJECT_NAME} PlatformInputManager)
add_dependencies(${PROJECT_NAME} CertificateService)
add_dependencies(${PROJECT_NAME} FindOnPageUI)
+
target_link_libraries(${PROJECT_NAME} WebPageUI)
target_link_libraries(${PROJECT_NAME} StorageService)
target_link_libraries(${PROJECT_NAME} HistoryService)
}
self->setStateButtons();
- self->createEmptyLayout();
} else {
BROWSER_LOGW("[%s] data = nullptr", __PRETTY_FUNCTION__);
}
else
m_state = State::NORMAL;
- createEmptyLayout();
-
elm_gengrid_clear(m_gengrid);
for (auto it = items.begin(); it < items.end(); ++it)
addTabItem(*it);
#please do not add edc/ directory
set(edcFiles
WebPageUI.edc
- ErrorMessage.edc
BottomButtonBar.edc
RightButtonBar.edc
URIEntry.edc
- PrivateMode.edc
UrlHistoryList.edc
CustomButton.edc
)
evas_object_show(content);
}
-void WebPageUI::switchViewToErrorPage()
-{
- BROWSER_LOGD("[%s:%d] ", __PRETTY_FUNCTION__, __LINE__);
- m_statesMgr->set(WPUState::MAIN_ERROR_PAGE);
- if (!m_errorLayout)
- createErrorLayout();
- setMainContent(m_errorLayout);
- evas_object_show(m_bottomButtonBar->getContent());
- elm_object_signal_emit(m_mainLayout, "shiftright_uri", "ui");
- setErrorButtons();
-}
-
void WebPageUI::switchViewToWebPage(Evas_Object* content, const std::string uri, bool loading)
{
BROWSER_LOGD("[%s:%d] ", __PRETTY_FUNCTION__, __LINE__);
}
#endif
-void WebPageUI::createErrorLayout()
-{
- BROWSER_LOGD("[%s:%d] ", __PRETTY_FUNCTION__, __LINE__);
- m_errorLayout = elm_layout_add(m_mainLayout);
- evas_object_size_hint_weight_set(m_errorLayout, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
- evas_object_size_hint_align_set(m_errorLayout, EVAS_HINT_FILL, EVAS_HINT_FILL);
- elm_layout_file_set(m_errorLayout, edjePath("WebPageUI/ErrorMessage.edj").c_str(), "error_message");
-}
void WebPageUI::_bookmark_manager_clicked(void * data, Evas_Object *, void *)
{
*/
bool stateEquals(std::initializer_list<WPUState> states) const;
bool isWebPageUIvisible() { return m_WebPageUIvisible; }
- void switchViewToErrorPage();
void switchViewToWebPage(Evas_Object* content, const std::string uri, bool loading);
void switchViewToQuickAccess(Evas_Object* content);
URIEntry& getURIEntry() const { return *m_URIEntry.get(); }
static void launch_share(const char *uri);
void createLayout();
- void createErrorLayout();
void createActions();
void connectActions();
void showProgressBar();