diff --git a/data/themes/Makefile.am b/data/themes/Makefile.am index 7fb158eb6..0ed22d5fc 100644 --- a/data/themes/Makefile.am +++ b/data/themes/Makefile.am @@ -180,6 +180,9 @@ img/holes_tiny_vert.png \ img/holes_vert.png \ img/hole_pixel.png \ img/hole_tiny.png \ +img/home_glow.png \ +img/home_hilight.png \ +img/home_inset.png \ img/horiz_bar_inset.png \ img/horiz_glow_run.png \ img/horizontal_separated_bar_glow.png \ @@ -195,6 +198,9 @@ img/inset_shadow.png \ img/inset_shadow_tiny.png \ img/img_example_1.png \ img/img_example_2.png \ +img/kbd_glow.png \ +img/kbd_hilight.png \ +img/kbd_inset.png \ img/knob_round_busy.png \ img/knob_round_small_busy.png \ img/knob_round_small_normal.png \ @@ -265,6 +271,15 @@ img/spanner_hilight.png \ img/spanner_inset.png \ img/speaker.png \ img/speaker_shadow.png \ +img/split_h_glow.png \ +img/split_h_hilight.png \ +img/split_h_inset.png \ +img/split_none_glow.png \ +img/split_none_hilight.png \ +img/split_none_inset.png \ +img/split_v_glow.png \ +img/split_v_hilight.png \ +img/split_v_inset.png \ img/sym_check_alum.png \ img/sym_close_dark_normal.png \ img/sym_close_dark_selected.png \ diff --git a/data/themes/default.edc b/data/themes/default.edc index 0483a3b98..28f3ac7ac 100644 --- a/data/themes/default.edc +++ b/data/themes/default.edc @@ -58,13 +58,14 @@ collections { #include "edc/mixer.edc" #include "edc/battery.edc" #include "edc/evrything.edc" +#include "edc/illume.edc" // port unchanged stuff so this can work as a replacement -#include "edc/O/illume_gad.edc" #include "edc/O/border_icons.edc" #include "edc/O/efm_icons.edc" #include "edc/O/icons.edc" #include "edc/O/wallpaper.edc" +//#include "edc/O/illume_gad.edc" //#include "edc/O/conf_gad.edc" //#include "edc/O/evrything.edc" //#include "edc/O/battery.edc" diff --git a/data/themes/edc/illume.edc b/data/themes/edc/illume.edc index 0b7e961ec..7f55025f4 100644 --- a/data/themes/edc/illume.edc +++ b/data/themes/edc/illume.edc @@ -1,508 +1,672 @@ -///////////////////////////////////////////////////////////////////////////// -/*** MOD: ILLUME-HOME-TOGGLE ***/ +group { name: "e/modules/illume_home_toggle/main"; + images.image: "button_normal.png" COMP; + images.image: "button_clicked.png" COMP; + images.image: "home_inset.png" COMP; + images.image: "home_hilight.png" COMP; + images.image: "home_glow.png" COMP; + min: 16 16; + max: 80 80; + parts { + part { name: "base"; + description { state: "default" 0.0; + image.normal: "button_normal.png"; + image.border: 4 4 3 5; + image.middle: SOLID; + rel1.offset: -1 0; + rel2.offset: 0 1; + fill.smooth: 0; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + image.normal: "button_clicked.png"; + image.border: 5 5 4 6; + } + } + part { name: "home_hilight"; mouse_events: 0; + description { state: "default" 0.0; + aspect: 1.0 1.0; aspect_preference: BOTH; + max: 80 80; + rel1.offset: 0 1; + rel1.to: "home"; + rel2.offset: -1 0; + rel2.to: "home"; + image.normal: "home_hilight.png"; + } + } + part { name: "home"; mouse_events: 0; + description { state: "default" 0.0; + aspect: 1.0 1.0; aspect_preference: BOTH; + max: 80 80; + rel1.offset: 4 4; + rel2.offset: -5 -5; + image.normal: "home_inset.png"; + } + } + part { name: "home_glow"; mouse_events: 0; + description { state: "default" 0.0; + aspect: 1.0 1.0; aspect_preference: BOTH; + max: 80 80; + rel1.to: "home"; + rel2.to: "home"; + image.normal: "home_glow.png"; + visible: 0; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { + signal: "mouse,down,1"; source: "base"; + action: STATE_SET "clicked" 0.0; + target: "base"; + target: "home_glow"; + } + program { + signal: "mouse,up,1"; source: "base"; + action: STATE_SET "default" 0.0; + target: "base"; + target: "home_glow"; + } + program { + signal: "mouse,clicked,1*"; source: "base"; + action: SIGNAL_EMIT "e,action,home" ""; + } + } +} - group { - name: "e/modules/illume_home_toggle/main"; - images.image: "O/illume-home.png" COMP; - images { - image: "O/bt_base1.png" COMP; - image: "O/bt_base2.png" COMP; - image: "O/bt_hilight.png" COMP; - image: "O/bt_shine.png" COMP; - image: "O/bt_glow.png" COMP; - } - min: 16 16; - max: 128 128; - parts { - part { - name: "button_image"; - mouse_events: 1; - scale: 1; - description { - state: "default" 0.0; - fixed: 1 1; - align: 0.5 0.5; - min: 32 16; - image { - normal: "O/bt_base2.png"; - border: 7 7 7 7; - } - } - description { - state: "clicked" 0.0; - inherit: "default" 0.0; - image.normal: "O/bt_base1.png"; - } - program { - name: "button_down"; - signal: "mouse,down,1"; - source: "button_image"; - action: STATE_SET "clicked" 0.0; - target: "button_image"; - target: "over3"; - } - program { - name: "button_up"; - signal: "mouse,up,1"; - source: "button_image"; - action: STATE_SET "default" 0.0; - target: "button_image"; - target: "over3"; - } - program { - name: "button_click"; - signal: "mouse,clicked,1"; - source: "button_image"; - action: SIGNAL_EMIT "e,action,home" ""; - } - } - part { - name: "icon"; - mouse_events: 0; - description { - state: "default" 0.0; - aspect: 1.0 1.0; - aspect_preference: BOTH; - image.normal: "O/illume-home.png"; - rel1 { - to: "button_image"; - relative: 0.0 0.0; - offset: 3 3; - } - rel2 { - relative: 1.0 1.0; - offset: -4 -4; - to: "button_image"; - } - } - } - part { - name: "over1"; - mouse_events: 0; - description { - state: "default" 0.0; - rel1.to: "button_image"; - rel2.to: "button_image"; - rel2.relative: 1.0 0.5; - image { - normal: "O/bt_hilight.png"; - border: 7 7 7 0; - } - } - } - part { - name: "over2"; - mouse_events: 0; - description { - state: "default" 0.0; - rel1.to: "button_image"; - rel2.to: "button_image"; - image { - normal: "O/bt_shine.png"; - border: 7 7 7 7; - } - } - } - part { - name: "over3"; - mouse_events: 0; - description { - state: "default" 0.0; - rel1.to: "button_image"; - rel2.to: "button_image"; - visible: 0; - color: 255 255 255 0; - image { - normal: "O/bt_glow.png"; - border: 12 12 12 12; - } - fill.smooth : 0; - } - description { - state: "clicked" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - } - } +group { name: "e/modules/illume_kbd_toggle/main"; + images.image: "button_normal.png" COMP; + images.image: "button_clicked.png" COMP; + images.image: "kbd_inset.png" COMP; + images.image: "kbd_hilight.png" COMP; + images.image: "kbd_glow.png" COMP; + min: 16 16; + max: 80 80; + parts { + part { name: "base"; + description { state: "default" 0.0; + image.normal: "button_normal.png"; + image.border: 4 4 3 5; + image.middle: SOLID; + rel1.offset: -1 0; + rel2.offset: 0 1; + fill.smooth: 0; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + image.normal: "button_clicked.png"; + image.border: 5 5 4 6; + } + } + part { name: "kbd_hilight"; mouse_events: 0; + description { state: "default" 0.0; + aspect: 1.0 1.0; aspect_preference: BOTH; + max: 80 80; + rel1.offset: 0 1; + rel1.to: "kbd"; + rel2.offset: -1 0; + rel2.to: "kbd"; + image.normal: "kbd_hilight.png"; + } + } + part { name: "kbd"; mouse_events: 0; + description { state: "default" 0.0; + aspect: 1.0 1.0; aspect_preference: BOTH; + max: 80 80; + rel1.offset: 4 4; + rel2.offset: -5 -5; + image.normal: "kbd_inset.png"; + } + } + part { name: "kbd_glow"; mouse_events: 0; + description { state: "default" 0.0; + aspect: 1.0 1.0; aspect_preference: BOTH; + max: 80 80; + rel1.to: "kbd"; + rel2.to: "kbd"; + image.normal: "kbd_glow.png"; + visible: 0; + } + description { state: "on" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "on"; type: RECT; + description { state: "default" 0.0; + color: 0 0 0 0; + visible: 0; + } + description { state: "on" 0.0; + color: 0 0 0 0; + visible: 1; + } + } + } + programs { + program { + signal: "mouse,down,1"; source: "base"; + action: STATE_SET "clicked" 0.0; + target: "base"; + } + program { + signal: "mouse,up,1"; source: "base"; + action: STATE_SET "default" 0.0; + target: "base"; + } + program { + signal: "mouse,clicked,1*"; source: "base"; + action: SIGNAL_EMIT "e,action,vkbd,enable" ""; + } + + program { + signal: "mouse,down,1"; source: "on"; + action: STATE_SET "clicked" 0.0; + target: "base"; + } + program { + signal: "mouse,up,1"; source: "on"; + action: STATE_SET "default" 0.0; + target: "base"; + } + program { + signal: "mouse,clicked,1*"; source: "on"; + action: SIGNAL_EMIT "e,action,vkbd,disable" ""; + } + + program { + signal: "e,state,vkbd,on"; source: "e"; + action: STATE_SET "on" 0.0; + target: "on"; + target: "kbd_glow"; + } + program { + signal: "e,state,vkbd,off"; source: "e"; + action: STATE_SET "default" 0.0; + target: "on"; + target: "kbd_glow"; + } + } +} -///////////////////////////////////////////////////////////////////////////// -/*** MOD: ILLUME-KBD-TOGGLE ***/ +group { name: "e/modules/illume_mode_toggle/main"; + images.image: "button_normal.png" COMP; + images.image: "button_clicked.png" COMP; + images.image: "split_h_glow.png" COMP; + images.image: "split_h_hilight.png" COMP; + images.image: "split_h_inset.png" COMP; + images.image: "split_none_glow.png" COMP; + images.image: "split_none_hilight.png" COMP; + images.image: "split_none_inset.png" COMP; + images.image: "split_v_glow.png" COMP; + images.image: "split_v_hilight.png" COMP; + images.image: "split_v_inset.png" COMP; + min: 16 16; + max: 80 80; + parts { + part { name: "base"; + description { state: "default" 0.0; + image.normal: "button_normal.png"; + image.border: 4 4 3 5; + image.middle: SOLID; + rel1.offset: -1 0; + rel2.offset: 0 1; + fill.smooth: 0; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + image.normal: "button_clicked.png"; + image.border: 5 5 4 6; + } + } + + part { name: "split_none_hilight"; mouse_events: 0; + clip_to: "split_none_clip"; + description { state: "default" 0.0; + aspect: 1.0 1.0; aspect_preference: BOTH; + max: 80 80; + rel1.offset: 0 1; + rel1.to: "split_none"; + rel2.offset: -1 0; + rel2.to: "split_none"; + image.normal: "split_none_hilight.png"; + } + } + part { name: "split_none"; mouse_events: 0; + clip_to: "split_none_clip"; + description { state: "default" 0.0; + aspect: 1.0 1.0; aspect_preference: BOTH; + max: 80 80; + rel1.offset: 4 4; + rel2.offset: -5 -5; + image.normal: "split_none_inset.png"; + } + } + part { name: "split_none_glow"; mouse_events: 0; + clip_to: "split_none_clip"; + description { state: "default" 0.0; + aspect: 1.0 1.0; aspect_preference: BOTH; + max: 80 80; + rel1.to: "split_none"; + rel2.to: "split_none"; + image.normal: "split_none_glow.png"; + visible: 0; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + + part { name: "split_h_hilight"; mouse_events: 0; + clip_to: "split_h_clip"; + description { state: "default" 0.0; + aspect: 1.0 1.0; aspect_preference: BOTH; + max: 80 80; + rel1.offset: 0 1; + rel1.to: "split_h"; + rel2.offset: -1 0; + rel2.to: "split_h"; + image.normal: "split_h_hilight.png"; + } + } + part { name: "split_h"; mouse_events: 0; + clip_to: "split_h_clip"; + description { state: "default" 0.0; + aspect: 1.0 1.0; aspect_preference: BOTH; + max: 80 80; + rel1.offset: 4 4; + rel2.offset: -5 -5; + image.normal: "split_h_inset.png"; + } + } + part { name: "split_h_glow"; mouse_events: 0; + clip_to: "split_h_clip"; + description { state: "default" 0.0; + aspect: 1.0 1.0; aspect_preference: BOTH; + max: 80 80; + rel1.to: "split_h"; + rel2.to: "split_h"; + image.normal: "split_h_glow.png"; + visible: 0; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "split_h_on"; type: RECT; + clip_to: "split_h_clip"; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } + + part { name: "split_v_hilight"; mouse_events: 0; + clip_to: "split_v_clip"; + description { state: "default" 0.0; + aspect: 1.0 1.0; aspect_preference: BOTH; + max: 80 80; + rel1.offset: 0 1; + rel1.to: "split_v"; + rel2.offset: -1 0; + rel2.to: "split_v"; + image.normal: "split_v_hilight.png"; + } + } + part { name: "split_v"; mouse_events: 0; + clip_to: "split_v_clip"; + description { state: "default" 0.0; + aspect: 1.0 1.0; aspect_preference: BOTH; + max: 80 80; + rel1.offset: 4 4; + rel2.offset: -5 -5; + image.normal: "split_v_inset.png"; + } + } + part { name: "split_v_glow"; mouse_events: 0; + clip_to: "split_v_clip"; + description { state: "default" 0.0; + aspect: 1.0 1.0; aspect_preference: BOTH; + max: 80 80; + rel1.to: "split_v"; + rel2.to: "split_v"; + image.normal: "split_v_glow.png"; + visible: 0; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "split_v_on"; type: RECT; + clip_to: "split_v_clip"; + description { state: "default" 0.0; + color: 0 0 0 0; + } + } - group { - name: "e/modules/illume_kbd_toggle/main"; - images.image: "O/illume-kbd.png" COMP; - images.image: "O/illume-kbd-on.png" COMP; - images { - image: "O/bt_base1.png" COMP; - image: "O/bt_base2.png" COMP; - image: "O/bt_hilight.png" COMP; - image: "O/bt_shine.png" COMP; - image: "O/bt_glow.png" COMP; - } - min: 16 16; - max: 128 128; - parts { - part { - name: "button_image"; - mouse_events: 1; - scale: 1; - description { - state: "default" 0.0; - fixed: 1 1; - align: 0.5 0.5; - min: 32 16; - image { - normal: "O/bt_base2.png"; - border: 7 7 7 7; - } - } - description { - state: "clicked" 0.0; - inherit: "default" 0.0; - image.normal: "O/bt_base1.png"; - } - program { - name: "button_down"; - signal: "mouse,down,1"; - source: "button_image"; - action: STATE_SET "clicked" 0.0; - target: "button_image"; - target: "over3"; - } - program { - name: "button_up"; - signal: "mouse,up,1"; - source: "button_image"; - action: STATE_SET "default" 0.0; - target: "button_image"; - target: "over3"; - } - program { - name: "enable"; - signal: "mouse,clicked,1"; - source: "button_image"; - action: SIGNAL_EMIT "e,action,vkbd,enable" ""; - } - } - part { - name: "icon"; - mouse_events: 0; - description { - state: "default" 0.0; - aspect: 1.0 1.0; - aspect_preference: BOTH; - image.normal: "O/illume-kbd.png"; - rel1 { - to: "button_image"; - relative: 0.0 0.0; - offset: 3 3; - } - rel2 { - relative: 1.0 1.0; - offset: -4 -4; - to: "button_image"; - } - } - description { state: "on" 0.0; - inherit: "default" 0.0; - image.normal: "O/illume-kbd-on.png"; - } - program { name: "state_on"; - signal: "e,state,vkbd,on"; - source: "e"; - action: STATE_SET "on" 0.0; - target: "icon"; - target: "on"; - } - program { name: "state_off"; - signal: "e,state,vkbd,off"; - source: "e"; - action: STATE_SET "default" 0.0; - target: "icon"; - target: "on"; - } - } - part { name: "on"; - type: RECT; - mouse_events: 1; - description { state: "default" 0.0; - visible: 0; - color: 0 0 0 0; - rel1.to: "button_image"; - rel2.to: "button_image"; - } - description { state: "on" 0.0; - inherit: "default" 0.0; - visible: 1; - } - program { name: "disable"; - signal: "mouse,clicked,1"; - source: "on"; - action: SIGNAL_EMIT "e,action,vkbd,disable" ""; - } - } - part { - name: "over1"; - mouse_events: 0; - description { - state: "default" 0.0; - rel1.to: "button_image"; - rel2.to: "button_image"; - rel2.relative: 1.0 0.5; - image { - normal: "O/bt_hilight.png"; - border: 7 7 7 0; - } - } - } - part { - name: "over2"; - mouse_events: 0; - description { - state: "default" 0.0; - rel1.to: "button_image"; - rel2.to: "button_image"; - image { - normal: "O/bt_shine.png"; - border: 7 7 7 7; - } - } - } - part { - name: "over3"; - mouse_events: 0; - description { - state: "default" 0.0; - rel1.to: "button_image"; - rel2.to: "button_image"; - visible: 0; - color: 255 255 255 0; - image { - normal: "O/bt_glow.png"; - border: 12 12 12 12; - } - fill.smooth : 0; - } - description { - state: "clicked" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - } - } + part { name: "split_none_clip"; type: RECT; + description { state: "default" 0.0; + visible: 1; + } + description { state: "split_h" 0.0; + visible: 0; + } + description { state: "split_v" 0.0; + visible: 0; + } + } + part { name: "split_h_clip"; type: RECT; + description { state: "default" 0.0; + visible: 0; + } + description { state: "split_h" 0.0; + visible: 1; + } + description { state: "split_v" 0.0; + visible: 0; + } + } + part { name: "split_v_clip"; type: RECT; + description { state: "default" 0.0; + visible: 0; + } + description { state: "split_h" 0.0; + visible: 0; + } + description { state: "split_v" 0.0; + visible: 1; + } + } + } + programs { + program { + signal: "mouse,down,1"; source: "base"; + action: STATE_SET "clicked" 0.0; + target: "base"; + target: "split_none_glow"; + target: "split_h_glow"; + target: "split_v_glow"; + } + program { + signal: "mouse,up,1"; source: "base"; + action: STATE_SET "default" 0.0; + target: "base"; + target: "split_none_glow"; + target: "split_h_glow"; + target: "split_v_glow"; + } + program { + signal: "mouse,clicked,1*"; source: "base"; + action: SIGNAL_EMIT "e,action,mode,dual,top" ""; + } -///////////////////////////////////////////////////////////////////////////// -/*** MOD: ILLUME-MODE-TOGGLE ***/ + program { + signal: "mouse,down,1"; source: "split_v_on"; + action: STATE_SET "clicked" 0.0; + target: "base"; + target: "split_none_glow"; + target: "split_h_glow"; + target: "split_v_glow"; + } + program { + signal: "mouse,up,1"; source: "split_v_on"; + action: STATE_SET "default" 0.0; + target: "base"; + target: "split_none_glow"; + target: "split_h_glow"; + target: "split_v_glow"; + } + program { + signal: "mouse,clicked,1*"; source: "split_v_on"; + action: SIGNAL_EMIT "e,action,mode,dual,left" ""; + } + + program { + signal: "mouse,down,1"; source: "split_h_on"; + action: STATE_SET "clicked" 0.0; + target: "base"; + target: "split_none_glow"; + target: "split_h_glow"; + target: "split_v_glow"; + } + program { + signal: "mouse,up,1"; source: "split_h_on"; + action: STATE_SET "default" 0.0; + target: "base"; + target: "split_none_glow"; + target: "split_h_glow"; + target: "split_v_glow"; + } + program { + signal: "mouse,clicked,1*"; source: "split_h_on"; + action: SIGNAL_EMIT "e,action,mode,single" ""; + } + + program { + signal: "e,mode,single"; source: "e"; + action: STATE_SET "default" 0.0; + target: "split_none_clip"; + target: "split_h_clip"; + target: "split_v_clip"; + } + program { + signal: "e,mode,dual,top"; source: "e"; + action: STATE_SET "split_v" 0.0; + target: "split_none_clip"; + target: "split_h_clip"; + target: "split_v_clip"; + } + program { + signal: "e,mode,dual,left"; source: "e"; + action: STATE_SET "split_h" 0.0; + target: "split_none_clip"; + target: "split_h_clip"; + target: "split_v_clip"; + } + } +} - group { - name: "e/modules/illume_mode_toggle/main"; - images.image: "O/illume-mode-single.png" COMP; - images.image: "O/illume-mode-dual-left.png" COMP; - images.image: "O/illume-mode-dual-top.png" COMP; - images { - image: "O/bt_base1.png" COMP; - image: "O/bt_base2.png" COMP; - image: "O/bt_hilight.png" COMP; - image: "O/bt_shine.png" COMP; - image: "O/bt_glow.png" COMP; - } - min: 16 16; - max: 128 128; - parts { - part { - name: "button_image"; - mouse_events: 1; - scale: 1; - description { - state: "default" 0.0; - fixed: 1 1; - align: 0.5 0.5; - min: 32 16; - image { - normal: "O/bt_base2.png"; - border: 7 7 7 7; - } - } - description { - state: "clicked" 0.0; - inherit: "default" 0.0; - image.normal: "O/bt_base1.png"; - } - program { - name: "button_down"; - signal: "mouse,down,1"; - source: "button_image"; - action: STATE_SET "clicked" 0.0; - target: "button_image"; - target: "over3"; - } - program { - name: "button_up"; - signal: "mouse,up,1"; - source: "button_image"; - action: STATE_SET "default" 0.0; - target: "button_image"; - target: "over3"; - } - program { - name: "enable"; - signal: "mouse,clicked,1"; - source: "button_image"; - action: SIGNAL_EMIT "e,action,mode,dual,top" ""; - } - } - part { - name: "icon"; - mouse_events: 0; - description { - state: "default" 0.0; - aspect: 1.0 1.0; - aspect_preference: BOTH; - image.normal: "O/illume-mode-single.png"; - rel1 { - to: "button_image"; - relative: 0.0 0.0; - offset: 3 3; - } - rel2 { - relative: 1.0 1.0; - offset: -4 -4; - to: "button_image"; - } - } - description { state: "dual_left" 0.0; - inherit: "default" 0.0; - image.normal: "O/illume-mode-dual-left.png"; - } - description { state: "dual_top" 0.0; - inherit: "default" 0.0; - image.normal: "O/illume-mode-dual-top.png"; - } - program { name: "state_single"; - signal: "e,mode,single"; - source: "e"; - action: STATE_SET "default" 0.0; - target: "icon"; - target: "dual_left"; - target: "dual_top"; - } - program { name: "state_dual_left"; - signal: "e,mode,dual,left"; - source: "e"; - action: STATE_SET "dual_left" 0.0; - target: "icon"; - target: "dual_left"; - target: "dual_top"; - } - program { name: "state_dual_top"; - signal: "e,mode,dual,top"; - source: "e"; - action: STATE_SET "dual_top" 0.0; - target: "icon"; - target: "dual_left"; - target: "dual_top"; - } - } - part { name: "dual_top"; - type: RECT; - mouse_events: 1; - description { state: "default" 0.0; - visible: 0; - color: 0 0 0 0; - rel1.to: "button_image"; - rel2.to: "button_image"; - } - description { state: "dual_top" 0.0; - inherit: "default" 0.0; - visible: 1; - } - description { state: "dual_left" 0.0; - inherit: "default" 0.0; - visible: 0; - } - program { name: "dual_top"; - signal: "mouse,clicked,1"; - source: "dual_top"; - action: SIGNAL_EMIT "e,action,mode,dual,left" ""; - } - } - part { name: "dual_left"; - type: RECT; - mouse_events: 1; - description { state: "default" 0.0; - visible: 0; - color: 0 0 0 0; - rel1.to: "button_image"; - rel2.to: "button_image"; - } - description { state: "dual_top" 0.0; - inherit: "default" 0.0; - visible: 0; - } - description { state: "dual_left" 0.0; - inherit: "default" 0.0; - visible: 1; - } - program { name: "dual_left"; - signal: "mouse,clicked,1"; - source: "dual_left"; - action: SIGNAL_EMIT "e,action,mode,single" ""; - } - } - part { - name: "over1"; - mouse_events: 0; - description { - state: "default" 0.0; - rel1.to: "button_image"; - rel2.to: "button_image"; - rel2.relative: 1.0 0.5; - image { - normal: "O/bt_hilight.png"; - border: 7 7 7 0; - } - } - } - part { - name: "over2"; - mouse_events: 0; - description { - state: "default" 0.0; - rel1.to: "button_image"; - rel2.to: "button_image"; - image { - normal: "O/bt_shine.png"; - border: 7 7 7 7; - } - } - } - part { - name: "over3"; - mouse_events: 0; - description { - state: "default" 0.0; - rel1.to: "button_image"; - rel2.to: "button_image"; - visible: 0; - color: 255 255 255 0; - image { - normal: "O/bt_glow.png"; - border: 12 12 12 12; - } - fill.smooth : 0; - } - description { - state: "clicked" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - } - } +group { name: "modules/illume-indicator/window"; + data { +// item: "shaped" "1"; + } + images.image: "vgrad_med.png" COMP; + images.image: "vgrad_tall.png" COMP; + images.image: "bevel_out.png" COMP; + images.image: "holes_vert.png" COMP; + images.image: "holes_horiz.png" COMP; + images.image: "shine.png" COMP; + parts { + part { name: "bg"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "vgrad_med.png"; + fill.smooth: 0; + TILED_HORIZ(120) + } + description { state: "vert" 0.0; + image.normal: "vgrad_tall.png"; + fill.smooth: 0; + TILED_HORIZ(40) + } + } + part { name: "bevel"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "bevel_out.png"; + image.border: 1 1 1 1; + image.middle: 0; + fill.smooth: 0; + } + } + part { name: "dots_start"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "holes_vert.png"; + rel1.offset: 2 2; + rel2.relative: 0.0 1.0; + rel2.offset: 5 -3; + FIXED_SIZE(4, 14) + } + description { state: "vert" 0.0; + image.normal: "holes_horiz.png"; + rel1.offset: 2 2; + rel2.relative: 1.0 0.0; + rel2.offset: -3 5; + FIXED_SIZE(14, 4) + } + } + part { name: "dots_end"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "holes_vert.png"; + rel1.relative: 1.0 0.0; + rel1.offset: -6 2; + rel2.offset: -3 -3; + FIXED_SIZE(4, 14) + } + description { state: "vert" 0.0; + image.normal: "holes_horiz.png"; + rel1.relative: 0.0 1.0; + rel1.offset: 2 -6; + rel2.offset: -3 -3; + FIXED_SIZE(14, 4) + } + } + part { name: "e.swallow.content"; type: SWALLOW; + description { state: "default" 0.0; + rel1.offset: 1 0; + rel1.relative: 1.0 0.0; + rel1.to_x: "dots_start"; + rel2.offset: -2 -1; + rel2.to_x: "dots_end"; + rel2.relative: 0.0 1.0; + } + description { state: "vert" 0.0; + rel1.offset: 0 1; + rel1.relative: 0.0 1.0; + rel1.to_y: "dots_start"; + rel2.offset: -1 -2; + rel2.to_y: "dots_end"; + rel2.relative: 1.0 0.0; + } + } + part { name: "shine"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "shine.png"; + rel1.offset: 0 -2; + rel2.relative: 1.0 0.0; + rel2.offset: -1 2; + FIXED_SIZE(69, 5) + } + } + } +} +group { name: "modules/illume-softkey/window"; + data { +// item: "shaped" "1"; + } + images.image: "vgrad_med.png" COMP; + images.image: "vgrad_tall.png" COMP; + images.image: "bevel_out.png" COMP; + images.image: "holes_vert.png" COMP; + images.image: "holes_horiz.png" COMP; + images.image: "shine.png" COMP; + parts { + part { name: "bg"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "vgrad_med.png"; + fill.smooth: 0; + TILED_HORIZ(120) + } + description { state: "vert" 0.0; + image.normal: "vgrad_tall.png"; + fill.smooth: 0; + TILED_HORIZ(40) + } + } + part { name: "bevel"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "bevel_out.png"; + image.border: 1 1 1 1; + image.middle: 0; + fill.smooth: 0; + } + } + part { name: "dots_start"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "holes_vert.png"; + rel1.offset: 2 2; + rel2.relative: 0.0 1.0; + rel2.offset: 5 -3; + FIXED_SIZE(4, 14) + } + description { state: "vert" 0.0; + image.normal: "holes_horiz.png"; + rel1.offset: 2 2; + rel2.relative: 1.0 0.0; + rel2.offset: -3 5; + FIXED_SIZE(14, 4) + } + } + part { name: "dots_end"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "holes_vert.png"; + rel1.relative: 1.0 0.0; + rel1.offset: -6 2; + rel2.offset: -3 -3; + FIXED_SIZE(4, 14) + } + description { state: "vert" 0.0; + image.normal: "holes_horiz.png"; + rel1.relative: 0.0 1.0; + rel1.offset: 2 -6; + rel2.offset: -3 -3; + FIXED_SIZE(14, 4) + } + } + part { name: "e.box.extra_buttons"; type: BOX; + description { state: "default" 0.0; + rel1.offset: 1 0; + rel1.relative: 1.0 0.0; + rel1.to_x: "dots_start"; + rel2.offset: -2 -1; + rel2.to_x: "dots_start"; + rel2.relative: 1.0 1.0; + align: 0.0 0.5; + box { layout: "horizontal"; + padding: 4 0; + align: 0.0 0.5; + min: 1 1; + } + } + } + part { name: "e.box.buttons"; type: BOX; + description { state: "default" 0.0; + rel1.offset: 4 0; + rel1.relative: 1.0 0.0; + rel1.to_x: "e.box.extra_buttons"; + rel2.offset: -2 -1; + rel2.to_x: "dots_end"; + rel2.relative: 0.0 1.0; + align: 1.0 0.5; + box { layout: "horizontal"; + padding: 4 0; + align: 1.0 0.5; + min: 1 1; + } + } + } + part { name: "shine"; mouse_events: 0; + description { state: "default" 0.0; + image.normal: "shine.png"; + rel1.offset: 0 -2; + rel2.relative: 1.0 0.0; + rel2.offset: -1 2; + FIXED_SIZE(69, 5) + } + } + } +} diff --git a/data/themes/img/home_glow.png b/data/themes/img/home_glow.png new file mode 100644 index 000000000..146c8ec23 Binary files /dev/null and b/data/themes/img/home_glow.png differ diff --git a/data/themes/img/home_hilight.png b/data/themes/img/home_hilight.png new file mode 100644 index 000000000..af6c4e2f9 Binary files /dev/null and b/data/themes/img/home_hilight.png differ diff --git a/data/themes/img/home_inset.png b/data/themes/img/home_inset.png new file mode 100644 index 000000000..50157b14f Binary files /dev/null and b/data/themes/img/home_inset.png differ diff --git a/data/themes/img/kbd_glow.png b/data/themes/img/kbd_glow.png new file mode 100644 index 000000000..c690caa7b Binary files /dev/null and b/data/themes/img/kbd_glow.png differ diff --git a/data/themes/img/kbd_hilight.png b/data/themes/img/kbd_hilight.png new file mode 100644 index 000000000..f56670571 Binary files /dev/null and b/data/themes/img/kbd_hilight.png differ diff --git a/data/themes/img/kbd_inset.png b/data/themes/img/kbd_inset.png new file mode 100644 index 000000000..65d44a44a Binary files /dev/null and b/data/themes/img/kbd_inset.png differ diff --git a/data/themes/img/split_h_glow.png b/data/themes/img/split_h_glow.png new file mode 100644 index 000000000..35d6db175 Binary files /dev/null and b/data/themes/img/split_h_glow.png differ diff --git a/data/themes/img/split_h_hilight.png b/data/themes/img/split_h_hilight.png new file mode 100644 index 000000000..b70bb9436 Binary files /dev/null and b/data/themes/img/split_h_hilight.png differ diff --git a/data/themes/img/split_h_inset.png b/data/themes/img/split_h_inset.png new file mode 100644 index 000000000..bb498c97c Binary files /dev/null and b/data/themes/img/split_h_inset.png differ diff --git a/data/themes/img/split_none_glow.png b/data/themes/img/split_none_glow.png new file mode 100644 index 000000000..99ee66661 Binary files /dev/null and b/data/themes/img/split_none_glow.png differ diff --git a/data/themes/img/split_none_hilight.png b/data/themes/img/split_none_hilight.png new file mode 100644 index 000000000..e5c118b91 Binary files /dev/null and b/data/themes/img/split_none_hilight.png differ diff --git a/data/themes/img/split_none_inset.png b/data/themes/img/split_none_inset.png new file mode 100644 index 000000000..b1a578135 Binary files /dev/null and b/data/themes/img/split_none_inset.png differ diff --git a/data/themes/img/split_v_glow.png b/data/themes/img/split_v_glow.png new file mode 100644 index 000000000..7f51145f1 Binary files /dev/null and b/data/themes/img/split_v_glow.png differ diff --git a/data/themes/img/split_v_hilight.png b/data/themes/img/split_v_hilight.png new file mode 100644 index 000000000..51d380dcd Binary files /dev/null and b/data/themes/img/split_v_hilight.png differ diff --git a/data/themes/img/split_v_inset.png b/data/themes/img/split_v_inset.png new file mode 100644 index 000000000..30e40c427 Binary files /dev/null and b/data/themes/img/split_v_inset.png differ