From 66ebe5172598d582da8090988db36806acf42d2c Mon Sep 17 00:00:00 2001 From: Carsten Haitzler Date: Mon, 18 Feb 2013 08:58:32 +0000 Subject: [PATCH] remove unused edcs from old bnw theme. SVN revision: 84043 --- data/themes/Makefile.am | 25 - data/themes/default.edc | 25 - data/themes/edc/O/about.edc | 708 -------- data/themes/edc/O/backlight.edc | 58 - data/themes/edc/O/battery.edc | 324 ---- data/themes/edc/O/border.edc | 119 -- data/themes/edc/O/border_icons.edc | 46 - data/themes/edc/O/clock.edc | 1031 ----------- data/themes/edc/O/colors.edc | 118 -- data/themes/edc/O/conf_gad.edc | 131 -- data/themes/edc/O/cpufreq.edc | 340 ---- data/themes/edc/O/cslider.edc | 110 -- data/themes/edc/O/desklock.edc | 314 ---- data/themes/edc/O/edgebindings.edc | 253 --- data/themes/edc/O/evrything.edc | 2598 ---------------------------- data/themes/edc/O/fontpreview.edc | 26 - data/themes/edc/O/gadman.edc | 1202 ------------- data/themes/edc/O/ibarbox.edc | 892 ---------- data/themes/edc/O/illume_gad.edc | 508 ------ data/themes/edc/O/init.edc | 1012 ----------- data/themes/edc/O/mixer.edc | 206 --- data/themes/edc/O/randr.edc | 619 ------- data/themes/edc/O/spectrum.edc | 107 -- data/themes/edc/O/temperature.edc | 214 --- data/themes/edc/O/transitions.edc | 221 --- data/themes/edc/O/winlist.edc | 414 ----- data/themes/edc/O/wizard.edc | 230 --- 27 files changed, 11851 deletions(-) delete mode 100644 data/themes/edc/O/about.edc delete mode 100644 data/themes/edc/O/backlight.edc delete mode 100644 data/themes/edc/O/battery.edc delete mode 100644 data/themes/edc/O/border.edc delete mode 100644 data/themes/edc/O/border_icons.edc delete mode 100644 data/themes/edc/O/clock.edc delete mode 100644 data/themes/edc/O/colors.edc delete mode 100644 data/themes/edc/O/conf_gad.edc delete mode 100644 data/themes/edc/O/cpufreq.edc delete mode 100644 data/themes/edc/O/cslider.edc delete mode 100644 data/themes/edc/O/desklock.edc delete mode 100644 data/themes/edc/O/edgebindings.edc delete mode 100644 data/themes/edc/O/evrything.edc delete mode 100644 data/themes/edc/O/fontpreview.edc delete mode 100644 data/themes/edc/O/gadman.edc delete mode 100644 data/themes/edc/O/ibarbox.edc delete mode 100644 data/themes/edc/O/illume_gad.edc delete mode 100644 data/themes/edc/O/init.edc delete mode 100644 data/themes/edc/O/mixer.edc delete mode 100644 data/themes/edc/O/randr.edc delete mode 100644 data/themes/edc/O/spectrum.edc delete mode 100644 data/themes/edc/O/temperature.edc delete mode 100644 data/themes/edc/O/transitions.edc delete mode 100644 data/themes/edc/O/winlist.edc delete mode 100644 data/themes/edc/O/wizard.edc diff --git a/data/themes/Makefile.am b/data/themes/Makefile.am index 0cb73bd6e..67e92cefd 100644 --- a/data/themes/Makefile.am +++ b/data/themes/Makefile.am @@ -77,34 +77,9 @@ edc/transitions.edc \ edc/winlist.edc \ edc/wizard.edc \ edc/xkbswitch.edc \ -edc/O/about.edc \ -edc/O/backlight.edc \ -edc/O/battery.edc \ -edc/O/border.edc \ -edc/O/border_icons.edc \ -edc/O/clock.edc \ -edc/O/colors.edc \ -edc/O/conf_gad.edc \ -edc/O/cpufreq.edc \ -edc/O/cslider.edc \ -edc/O/desklock.edc \ -edc/O/edgebindings.edc \ edc/O/efm_icons.edc \ -edc/O/evrything.edc \ -edc/O/fontpreview.edc \ -edc/O/gadman.edc \ -edc/O/ibarbox.edc \ edc/O/icons.edc \ -edc/O/illume_gad.edc \ -edc/O/init.edc \ -edc/O/mixer.edc \ -edc/O/randr.edc \ -edc/O/spectrum.edc \ -edc/O/temperature.edc \ -edc/O/transitions.edc \ edc/O/wallpaper.edc \ -edc/O/winlist.edc \ -edc/O/wizard.edc \ img/add_glow_small.png \ img/ball_small_glow_intense.png \ img/ball_small_glow.png \ diff --git a/data/themes/default.edc b/data/themes/default.edc index 047d26e92..c90f99b77 100644 --- a/data/themes/default.edc +++ b/data/themes/default.edc @@ -71,29 +71,4 @@ collections { #include "edc/O/efm_icons.edc" #include "edc/O/icons.edc" #include "edc/O/wallpaper.edc" -//#include "edc/O/border_icons.edc" -//#include "edc/O/illume_gad.edc" -//#include "edc/O/conf_gad.edc" -//#include "edc/O/evrything.edc" -//#include "edc/O/battery.edc" -//#include "edc/O/mixer.edc" -//#include "edc/O/backlight.edc" -//#include "edc/O/temperature.edc" -//#include "edc/O/cpufreq.edc" -//#include "edc/O/gadman.edc" -//#include "edc/O/randr.edc" -//#include "edc/O/edgebindings.edc" -//#include "edc/O/colors.edc" -//#include "edc/O/spectrum.edc" -//#include "edc/O/cslider.edc" -//#include "edc/O/fontpreview.edc" -//#include "edc/O/transitions.edc" -//#include "edc/O/about.edc" -//#include "edc/O/init.edc" -//#include "edc/O/ibarbox.edc" -//#include "edc/O/wizard.edc" -//#include "edc/O/desklock.edc" -//#include "edc/O/winlist.edc" -//#include "edc/O/border.edc" -//#include "edc/O/clock.edc" } diff --git a/data/themes/edc/O/about.edc b/data/themes/edc/O/about.edc deleted file mode 100644 index e00d7ba72..000000000 --- a/data/themes/edc/O/about.edc +++ /dev/null @@ -1,708 +0,0 @@ -///////////////////////////////////////////////////////////////////////////// -/*** ABOUT E ***/ -/* - group { - name: "e/widgets/about/main"; - images { - image: "O/vgrad_dark.png" COMP; - image: "O/about_top.png" COMP; - image: "O/about_mid.png" COMP; - image: "O/about_bot.png" COMP; - image: "O/dia_botshad.png" COMP; - image: "O/topsh.png" COMP; - image: "O/logo_white_128.png" COMP; - 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; - } - // data.item: "borderless" "1"; - // data.item: "shaped" "1"; - styles { - style { - name: "about_style"; - base: "font=Sans:style=Bold font_size=10 align=center text_class=tb_plain color=#e0e0e0ff style=soft_shadow shadow_color=#00000020 wrap=word"; - tag: "hilight" "+ font=Sans:style=Bold text_class=tb_light color=#f00 style=soft_shadow"; - tag: "title" "+ font_size=12 font=Sans:style=Bold text_class=tb_big style=soft_shadow color=#fff shadow_color=#00000020"; - tag: "/title" "- \n \n"; - tag: "br" "\n"; - } - } - min: 300 240; - max: 640 640; - parts { - part { - name: "sizer"; - type: RECT; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - min: 300 240; - visible: 0; - } - } - part { - name: "about_clip"; - type: RECT; - mouse_events: 0; - description { - state: "default" 0.0; - rel1 { - to: "top"; - relative: 0.0 0.0; - offset: 6 0; - } - rel2 { - to: "top"; - relative: 1.0 1.0; - offset: -7 -7; - } - color: 255 255 255 255; - } - } - part { - name: "authors_clip"; - type: RECT; - mouse_events: 0; - description { - state: "default" 0.0; - rel1 { - to: "bot"; - relative: 0.0 0.0; - offset: 6 6; - } - rel2 { - to: "bot"; - relative: 1.0 1.0; - offset: -7 -1; - } - color: 255 255 255 255; - } - } - part { - name: "background_image"; - description { - state: "default" 0.0; - image.normal: "O/vgrad_dark.png"; - fill { - smooth: 0; - size { - relative: 0 1.0; - offset: 36 0; - } - } - } - } - part { - name: "e.textblock.about"; - type: TEXTBLOCK; - mouse_events: 0; - clip_to: "about_clip"; - scale: 1; - description { - state: "default" 0.0; - fixed: 1 1; - align: 0.5 0.0; - max: 10000 10000; - min: 160 0; - rel1 { - to: "top"; - relative: 0.0 1.0; - offset: 32 -17; - } - rel2 { - to: "top"; - relative: 1.0 1.0; - offset: -33 -17; - } - text { - style: "about_style"; - min: 0 1; - } - } - description { - state: "up" 0.0; - inherit: "default" 0.0; - align: 0.5 1.0; - rel1 { - relative: 0.0 0.0; - offset: 32 0; - } - rel2 { - relative: 1.0 0.0; - offset: -33 -1; - } - } - } - part { - name: "e.textblock.authors"; - type: TEXTBLOCK; - mouse_events: 0; - clip_to: "authors_clip"; - scale: 1; - description { - state: "default" 0.0; - fixed: 1 1; - align: 0.5 0.0; - max: 10000 10000; - min: 160 0; - rel1 { - to: "bot"; - relative: 0.0 1.0; - offset: 32 0; - } - rel2 { - to: "bot"; - relative: 1.0 1.0; - offset: -33 0; - } - text { - style: "about_style"; - min: 0 1; - } - } - description { - state: "up" 0.0; - inherit: "default" 0.0; - align: 0.5 1.0; - rel1 { - relative: 0.0 0.0; - offset: 32 16; - } - rel2 { - relative: 1.0 0.0; - offset: -33 16; - } - } - } - part { - name: "top"; - description { - state: "default" 0.0; - image.normal: "O/about_top.png"; - image.middle: 0; - image.border: 28 28 0 28; - rel2.to_y: "e.text.title"; - rel2.relative: 1.0 0.0; - rel2.offset: -1 6; - fill.smooth: 0; - } - } - part { - name: "bot"; - description { - state: "default" 0.0; - image.normal: "O/about_bot.png"; - image.middle: 0; - image.border: 28 28 28 0; - rel1.to_y: "e.text.title"; - rel1.relative: 0.0 1.0; - rel1.offset: 0 -5; - fill.smooth: 0; - } - } - part { - name: "mid"; - description { - state: "default" 0.0; - image.normal: "O/about_mid.png"; - rel1 { - to: "top"; - relative: 0.0 1.0; - offset: 0 -1; - } - rel2 { - to: "bot"; - relative: 1.0 0.0; - offset: -1 0; - } - fill.smooth: 0; - } - } - part { - name: "e.text.title"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - color: 0 0 0 255; - align: 1.0 0.5; - rel1 { - relative: 0.0 0.5; - offset: 0 0; - } - rel2 { - to_x: "logo"; - relative: 0.0 0.5; - offset: 11 -1; - } - text { - font: "Sans:style=Bold"; - size: 10; - min: 1 1; - align: 1.0 0.5; - text_class: "about_title"; - } - } - } - part { - name: "e.text.version"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - color: 0 0 0 255; - align: 0.0 0.5; - rel1 { - to_x: "logo"; - relative: 1.0 0.5; - offset: -12 0; - } - rel2 { - relative: 1.0 0.5; - offset: -1 -1; - } - text { - font: "Sans:style=Bold"; - size: 10; - min: 1 1; - align: 0.0 0.5; - text_class: "about_version"; - } - } - } - part { - name: "shadow"; - scale: 1; - description { - state: "default" 0.0; - image.normal: "O/topsh.png"; - align: 0.0 0.0; - min: 1 16; - max: 99999 16; - fill.smooth: 0; - } - } - part { - name: "shadow2"; - mouse_events: 0; - description { - state: "default" 0.0; - rel1.relative: 0.0 1.0; - rel1.offset: 0 -4; - image.normal: "O/dia_botshad.png"; - fill { - smooth: 0; - size { - relative: 0.0 1.0; - offset: 64 0; - } - } - } - } - part { - name: "logo"; - description { - state: "default" 0.0; - aspect: 1.0 1.0; - aspect_preference: VERTICAL; - image.normal: "O/logo_white_128.png"; - rel1 { - to: "top"; - relative: 0.5 1.0; - offset: 0 -30; - } - rel2 { - to: "bot"; - relative: 0.5 0.0; - offset: -1 29; - } - } - } - part { - name: "button_image"; - mouse_events: 1; - scale: 1; - description { - state: "default" 0.0; - fixed: 1 1; - align: 0.5 1.0; - rel1.relative: 0.5 0.98; - rel1.offset: 0 -1; - rel2.relative: 0.5 0.98; - rel2.offset: 0 -1; - min: 64 32; - max: 64 32; - 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"; - } - } - part { - name: "e.text.label"; - type: TEXT; - effect: SOFT_SHADOW; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - rel1 { - to: "button_image"; - relative: 0.0 0.0; - offset: 3 3; - } - rel2 { - relative: 1.0 1.0; - offset: -4 -4; - to: "button_image"; - } - color_class: "button_text"; - text { - text: "Close"; - font: "Sans"; - size: 10; - min: 1 1; - align: 0.5 0.5; - text_class: "button"; - } - } - } - 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; - } - } - } - programs { - program { - name: "showa"; - signal: "show"; - source: ""; - action: STATE_SET "up" 0.0; - transition: LINEAR 45.0; - target: "e.textblock.about"; - after: "showa2"; - } - program { - name: "showa2"; - action: STATE_SET "default" 0.0; - target: "e.textblock.about"; - after: "showa"; - } - program { - name: "showb"; - signal: "show"; - source: ""; - action: STATE_SET "up" 0.0; - transition: LINEAR 45.0; - target: "e.textblock.authors"; - after: "showb2"; - } - program { - name: "showb2"; - action: STATE_SET "default" 0.0; - target: "e.textblock.authors"; - after: "showb"; - } - program { - name: "button_click"; - signal: "mouse,down,1"; - source: "button_image"; - action: STATE_SET "clicked" 0.0; - target: "button_image"; - target: "over3"; - } - program { - name: "button_unclick"; - signal: "mouse,up,1"; - source: "button_image"; - action: STATE_SET "default" 0.0; - target: "button_image"; - target: "over3"; - } - program { - name: "button_unclick2"; - signal: "mouse,clicked,1"; - source: "button_image"; - action: SIGNAL_EMIT "e,action,close" ""; - } - } - } -*/ - -///////////////////////////////////////////////////////////////////////////// -/*** THEME ABOUT ***/ - - group { - name: "e/theme/about"; - images { - image: "O/silk.png" LOSSY 90; - image: "O/topsh.png" COMP; - image: "O/bnw.png" COMP; - 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; - } - styles { - style { - name: "theme_about_style"; - base: "font=Sans:style=Bold font_size=10 align=center color=#e0e0e0ff style=soft_shadow shadow_color=#0000001f wrap=word"; - tag: "br" "\n"; - } - } - // data.item: "borderless" "1"; - // data.item: "shaped" "1"; - min: 300 240; - max: 640 640; - parts { - part { - name: "background_image"; - description { - state: "default" 0.0; - image.normal: "O/silk.png"; - aspect: 1.0 1.0; - aspect_preference: NONE; - } - } - part { - name: "shadow"; - scale: 1; - description { - state: "default" 0.0; - image.normal: "O/topsh.png"; - align: 0.0 0.0; - min: 1 16; - max: 99999 16; - fill.smooth: 0; - } - } - part { - name: "logo"; - description { - state: "default" 0.0; - image.normal: "O/bnw.png"; - align: 0.5 0.05; - min: 230 110; - max: 460 220; - aspect: 2.090909091 2.090909091; - aspect_preference: HORIZONTAL; - } - } - part { - name: "about"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - rel1 { - to_y: "logo"; - relative: 0.0 1.0; - offset: 8 0; - } - rel2 { - to_y: "button_image"; - offset: -9 -19; - relative: 1.0 0.0; - } - text { - style: "theme_about_style"; - min: 1 1; - text: - "Smooth as silk
" - "The default theme for
" - "Enlightenment
" - ; - } - } - } - part { - name: "button_image"; - mouse_events: 1; - scale: 1; - description { - state: "default" 0.0; - fixed: 1 1; - align: 0.5 1.0; - rel1.relative: 0.5 0.98; - rel1.offset: 0 -1; - rel2.relative: 0.5 0.98; - rel2.offset: 0 -1; - min: 64 32; - max: 64 32; - 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"; - } - } - // also have e.text.theme for theme settings - part { - name: "e.text.label"; - type: TEXT; - effect: SOFT_SHADOW; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - rel1 { - to: "button_image"; - relative: 0.0 0.0; - offset: 3 3; - } - rel2 { - relative: 1.0 1.0; - offset: -4 -4; - to: "button_image"; - } - color_class: "button_text"; - text { - text: "Close"; - font: "Sans"; - size: 10; - min: 1 1; - align: 0.5 0.5; - text_class: "button"; - } - } - } - 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; - } - } - } - programs { - program { - name: "button_click"; - signal: "mouse,down,1"; - source: "button_image"; - action: STATE_SET "clicked" 0.0; - target: "button_image"; - target: "over3"; - } - program { - name: "button_unclick"; - signal: "mouse,up,1"; - source: "button_image"; - action: STATE_SET "default" 0.0; - target: "button_image"; - target: "over3"; - } - program { - name: "button_unclick2"; - signal: "mouse,clicked,1"; - source: "button_image"; - action: SIGNAL_EMIT "e,action,close" ""; - // also have "e,action,settings,theme" "" - // for theme settings - } - } - } - - diff --git a/data/themes/edc/O/backlight.edc b/data/themes/edc/O/backlight.edc deleted file mode 100644 index de7ace5d6..000000000 --- a/data/themes/edc/O/backlight.edc +++ /dev/null @@ -1,58 +0,0 @@ -///////////////////////////////////////////////////////////////////////////// -/*** MOD: BACKLIGHT ***/ - group { name: "e/modules/backlight/main"; - images { - image: "O/bulb-0.png" COMP; - image: "O/bulb-1.png" COMP; - image: "O/bulb-2.png" COMP; - } - min: 16 16; - max: 128 128; - script { - public message(Msg_Type:type, id, ...) { - if ((type == MSG_FLOAT) && (id == 0)) { - new Float:val; - val = getfarg(2); - set_tween_state(PART:"glow", val, "default", 0.0, "full", 0.0); - set_tween_state(PART:"glow2", val, "default", 0.0, "full", 0.0); - } - } - } - parts { - part { - name: "glow"; - description { state: "default" 0.0; - rel1.to: "base"; - rel2.to: "base"; - image.normal: "O/bulb-1.png"; - color: 255 255 255 0; - } - description { state: "full" 0.0; - inherit: "default" 0.0; - color: 255 255 255 255; - } - } - part { - name: "base"; - description { state: "default" 0.0; - aspect: 1.0 1.0; - aspect_preference: BOTH; - image.normal: "O/bulb-0.png"; - } - } - part { - name: "glow2"; - description { state: "default" 0.0; - rel1.to: "base"; - rel2.to: "base"; - image.normal: "O/bulb-2.png"; - color: 255 255 255 0; - } - description { state: "full" 0.0; - inherit: "default" 0.0; - color: 255 255 255 255; - } - } - } - } - diff --git a/data/themes/edc/O/battery.edc b/data/themes/edc/O/battery.edc deleted file mode 100644 index d4e6e7c55..000000000 --- a/data/themes/edc/O/battery.edc +++ /dev/null @@ -1,324 +0,0 @@ -///////////////////////////////////////////////////////////////////////////// -/*** MOD: BATTERY ***/ - - group { - name: "e/modules/battery/main"; - images { - image: "O/batt_base.png" COMP; - image: "O/batt_level.png" COMP; - image: "O/batt_over.png" COMP; - image: "O/batt_power.png" COMP; - } - min: 16 16; - max: 128 128; - script { - public message(Msg_Type:type, id, ...) { - if ((type == MSG_FLOAT) && (id == 1)) { - new Float:val; - new r; - new g; - new b; - val = getfarg(2); - if (val < 0.35) { - new Float:val1; - new Float:val2; - val1 = val - 0.10; - if (val1 < 0.0) val1 = 0.0; - val2 = 0.125 - val1; - if (val2 < 0.0) val2 = 0.0; - val2 = val2 / 0.125; - r = round(val2 * 255.0, ROUND); - val2 = val1; - if (val2 > 0.125) val2 = 0.125; - val2 = val2 / 0.125; - g = round(val2 * 255.0, ROUND); - b = 0; - } - else { - r = 0; - g = 255; - b = 0; - } - custom_state(PART:"fill", "default", 0.0); - set_state_val(PART:"fill", STATE_COLOR, r, g, b, 255); - set_state_val(PART:"fill", STATE_COLOR, r, g, b, 255); - set_state_val(PART:"fill", STATE_COLOR, r, g, b, 255); - set_state(PART:"fill", "custom", 0.0); - - custom_state(PART:"fill_clip", "default", 0.0); - set_state_val(PART:"fill_clip", STATE_REL1, 0.0, 1.0 - val); - set_state(PART:"fill_clip", "custom", 0.0); - } - } - } - parts { - part { name: "fade_clip"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - color: 255 255 255 255; - } - description { state: "faded" 0.0; - color: 255 255 255 160; - } - } - part { name: "info_clip"; - type: RECT; - mouse_events: 0; - clip_to: "fade_clip"; - description { state: "default" 0.0; - color: 255 255 255 0; - } - description { state: "visible" 0.0; - color: 255 255 255 255; - } - } - part { name: "pulse_clip"; - type: RECT; - mouse_events: 0; - clip_to: "fade_clip"; - description { state: "default" 0.0; - color: 255 255 255 255; - } - description { state: "faded" 1.0; - color: 255 255 255 255; - } - description { state: "faded" 0.0; - color: 255 255 255 0; - } - } - part { name: "fill_region"; - mouse_events: 0; - type: RECT; - description { state: "default" 0.0; - visible: 0; - rel1.relative: 0.0 (26/128); - rel2.relative: 1.0 ((128-14)/128); - } - } - part { name: "fill_clip"; - type: RECT; - mouse_events: 0; - clip_to: "pulse_clip"; - description { state: "default" 0.0; - rel1.to: "fill_region"; - rel1.relative: 0.0 0.5; - rel2.to: "fill_region"; - color: 255 255 255 255; - } - } - part { name: "base"; - clip_to: "pulse_clip"; - description { state: "default" 0.0; - aspect: 1.0 1.0; - aspect_preference: BOTH; - image.normal: "O/batt_base.png"; - } - } - part { name: "fill"; - mouse_events: 0; - clip_to: "fill_clip"; - description { state: "default" 0.0; - rel1.to: "base"; - rel2.to: "base"; - image.normal: "O/batt_level.png"; - } - } - part { name: "over"; - mouse_events: 0; - clip_to: "pulse_clip"; - description { state: "default" 0.0; - rel1.to: "base"; - rel2.to: "base"; - image.normal: "O/batt_over.png"; - } - } - part { name: "power"; - mouse_events: 0; - description { state: "default" 0.0; - rel1.to: "base"; - rel2.to: "base"; - image.normal: "O/batt_power.png"; - visible: 0; - } - description { state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "e.text.reading"; - mouse_events: 0; - type: TEXT; - scale: 1; - clip_to: "info_clip"; - effect: OUTLINE; - description { state: "default" 0.0; - align: 1.0 0.5; - rel1.relative: 0.5 0.0; - rel2.relative: 1.0 0.3; - color: 0 0 0 255; - color2: 255 255 255 128; - color_class: "module_label"; - text { - font: "Sans"; - size: 8; - min: 1 1; - align: 1.0 0.5; - text_class: "module_small"; - } - } - } - part { name: "e.text.time"; - mouse_events: 0; - type: TEXT; - scale: 1; - clip_to: "info_clip"; - effect: OUTLINE; - description { state: "default" 0.0; - align: 1.0 0.5; - rel1.relative: 0.5 0.3; - rel2.relative: 1.0 0.6; - color: 0 0 0 255; - color2: 255 255 255 128; - color_class: "module_label"; - text { - font: "Sans"; - size: 8; - min: 1 1; - align: 1.0 0.5; - text_class: "module_small"; - } - } - } - } - programs { - program { name: "hover1"; - signal: "mouse,in"; - source: "base"; - action: STATE_SET "visible" 0.0; - transition: LINEAR 0.3; - target: "info_clip"; - } - program { name: "hover2"; - signal: "mouse,out"; - source: "base"; - action: STATE_SET "default" 0.0; - transition: LINEAR 0.3; - target: "info_clip"; - } - program { name: "charge"; - signal: "e,state,charging"; - source: "e"; - action: STATE_SET "visible" 0.0; - target: "power"; - } - program { name: "discharge"; - signal: "e,state,discharging"; - source: "e"; - action: STATE_SET "default" 0.0; - target: "power"; - } - program { name: "unknown"; - signal: "e,state,unknown"; - source: "e"; - action: STATE_SET "faded" 0.0; - target: "fade_clip"; - } - program { name: "pulse"; - signal: "e,action,pulse,start"; - source: "e"; - action: STATE_SET "faded" 0.0; - transition: ACCELERATE 0.3; - after: "pulse2"; - target: "pulse_clip"; - } - program { name: "pulse2"; - action: STATE_SET "faded" 1.0; - transition: ACCELERATE 0.1; - target: "pulse_clip"; - } - program { name: "pulsestop"; - signal: "e,action,pulse,stop"; - source: "e"; - action: STATE_SET "default" 0.0; - target: "pulse_clip"; - } - } - } - group { - name: "e/modules/battery/popup"; - min: 240 64; - parts { - part { - name: "battery"; - type: SWALLOW; - mouse_events: 1; - repeat_events: 1; - description { - state: "default" 0.0; - min: 1 1; - max: 120 120; - aspect: 1.0 1.0; - aspect_preference: VERTICAL; - align: 0.0 0.5; - rel1.relative: 0.0 0.0; - rel2.relative: 1.0 1.0; - color: 255 255 255 255; - } - } - part { - name: "e.text.title"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - rel1 { - relative: 1.0 0.0; - to_x: battery; - offset: 0 0; - } - rel2 { - relative: 1.0 0.5; - offset: -1 -1; - } - color: 0 0 0 255; - text { - text: "Your battery is low!"; - font: "Sans:style=Bold"; - size: 10; - min: 1 1; - align: 0.5 0.5; - text_class: "module_large"; - } - } - } - part { - name: "e.text.label"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - rel1 { - relative: 1.0 0.5; - to_x: battery; - offset: 0 0; - } - rel2 { - relative: 1.0 1.0; - offset: -1 -1; - } - color: 0 0 0 255; - text { - text: "AC power is recommended."; - font: "Sans"; - size: 10; - min: 1 1; - align: 0.5 0.5; - text_class: "module_normal"; - } - } - } - } - } diff --git a/data/themes/edc/O/border.edc b/data/themes/edc/O/border.edc deleted file mode 100644 index 8f499592f..000000000 --- a/data/themes/edc/O/border.edc +++ /dev/null @@ -1,119 +0,0 @@ - group { - name: "e/widgets/border/default/move"; - images { - image: "O/base_bg.png" COMP; - image: "O/icon_win_move.png" COMP; - } - parts { - part { - name: "base"; - mouse_events: 0; - description { - state: "default" 0.0; - image { - normal: "O/base_bg.png"; - border: 2 2 2 2; - } - fill.smooth: 0; - } - } - part { - name: "icon"; - mouse_events: 0; - description { - state: "default" 0.0; - align: 0.0 0.5; - min: 21 21; - max: 21 21; - fixed: 1 1; - rel1.offset: 2 2; - rel2.relative: 0.0 1.0; - rel2.offset: 2 -3; - image.normal: "O/icon_win_move.png"; - } - } - part { - name: "e.text.label"; - type: TEXT; - scale: 1; - description { - state: "default" 0.0; - rel1.to_x: "icon"; - rel1.offset: 2 4; - rel1.relative: 1.0 0.0; - rel2.offset: -5 -5; - color_class: "move_text"; - color: 0 0 0 255; - text { - text: "X Y"; - font: "Sans"; - size: 10; - align: 0.5 0.5; - min: 1 1; - text_class: "move_text"; - } - } - } - } - } - group { - name: "e/widgets/border/default/resize"; - images { - image: "O/base_bg.png" COMP; - image: "O/icon_win_resize.png" COMP; - } - parts { - part { - name: "base"; - mouse_events: 0; - description { - state: "default" 0.0; - align: 0.5 0.0; - image { - normal: "O/base_bg.png"; - border: 2 2 2 2; - } - fill.smooth: 0; - } - } - part { - name: "icon"; - mouse_events: 0; - description { - state: "default" 0.0; - align: 0.0 0.5; - min: 21 21; - max: 21 21; - fixed: 1 1; - rel1.offset: 2 2; - rel2.relative: 0.0 1.0; - rel2.offset: 2 -3; - image.normal: "O/icon_win_resize.png"; - } - } - part { - name: "e.text.label"; - type: TEXT; - scale: 1; - description { - state: "default" 0.0; - rel1.to_x: "icon"; - rel1.offset: 2 4; - rel1.relative: 1.0 0.0; - rel2.offset: -5 -5; - color_class: "resize_text"; - color: 0 0 0 255; - text { - text: "WxH"; - font: "Sans"; - size: 10; - align: 0.5 0.5; - min: 1 1; - text_class: "resize_text"; - } - } - } - } - } - - diff --git a/data/themes/edc/O/border_icons.edc b/data/themes/edc/O/border_icons.edc deleted file mode 100644 index a77eba04b..000000000 --- a/data/themes/edc/O/border_icons.edc +++ /dev/null @@ -1,46 +0,0 @@ - // Window Border menu icons // - #define BORDERICON(NAME, FILE) \ - group { \ - name: "e/widgets/border/default/"NAME ; \ - max: 64 64; \ - parts { \ - part { \ - name: "icon"; \ - mouse_events: 0; \ - description { \ - state: "default" 0.0; \ - aspect: 1.0 1.0; \ - aspect_preference: BOTH; \ - image.image: "O/"FILE COMP; \ - image.normal: "O/"FILE ; \ - } \ - } \ - } \ - } - - BORDERICON("basic","icon_border_more.png") - BORDERICON("close","icon_border_close.png") - BORDERICON("kill","icon_border_kill.png") - BORDERICON("stacking","icon_border_stack_norm.png") - BORDERICON("stack_on_top","icon_border_stack_top.png") - BORDERICON("stack_normal","icon_border_stack_norm.png") - BORDERICON("stack_below","icon_border_stack_bot.png") - BORDERICON("move_icon", "icon_win_move.png") - BORDERICON("resize_icon", "icon_win_resize.png"); - BORDERICON("maximize","icon_border_maximize.png") - BORDERICON("fullscreen","icon_border_maximize.png") - BORDERICON("minimize","icon_border_minimize.png") - BORDERICON("stick","icon_border_pin.png") - BORDERICON("sendto","icon_border_sendto.png") - BORDERICON("skip","icon_border_skip.png") - BORDERICON("skip_pager","icon_border_pager.png") - BORDERICON("skip_taskbar","icon_border_skip.png") - BORDERICON("skip_winlist","icon_border_skip.png") - BORDERICON("borderless","icon_border_border.png") - BORDERICON("remember","icon_border_remember.png") - BORDERICON("shade","icon_border_shaded.png") - BORDERICON("locks","icon_border_lock.png") - BORDERICON("locks_user","icon_border_lock.png") - BORDERICON("locks_application","icon_border_lock.png") - BORDERICON("properties","icon_border_properties.png") - diff --git a/data/themes/edc/O/clock.edc b/data/themes/edc/O/clock.edc deleted file mode 100644 index 8ac34391a..000000000 --- a/data/themes/edc/O/clock.edc +++ /dev/null @@ -1,1031 +0,0 @@ -/*** MOD: CLOCK ***/ - group { name: "e/modules/clock/digital"; - min: 56 16; - max: 512 128; - images { - image: "O/flip_base.png" COMP; - image: "O/flip_base_shad.png" COMP; - image: "O/flip_shad.png" COMP; - image: "O/flip_0t.png" COMP; - image: "O/flip_0b.png" COMP; - image: "O/flip_1t.png" COMP; - image: "O/flip_1b.png" COMP; - image: "O/flip_2t.png" COMP; - image: "O/flip_2b.png" COMP; - image: "O/flip_3t.png" COMP; - image: "O/flip_3b.png" COMP; - image: "O/flip_4t.png" COMP; - image: "O/flip_4b.png" COMP; - image: "O/flip_5t.png" COMP; - image: "O/flip_5b.png" COMP; - image: "O/flip_6t.png" COMP; - image: "O/flip_6b.png" COMP; - image: "O/flip_7t.png" COMP; - image: "O/flip_7b.png" COMP; - image: "O/flip_8t.png" COMP; - image: "O/flip_8b.png" COMP; - image: "O/flip_9t.png" COMP; - image: "O/flip_9b.png" COMP; - image: "O/flip_amt.png" COMP; - image: "O/flip_amb.png" COMP; - image: "O/flip_pmt.png" COMP; - image: "O/flip_pmb.png" COMP; - image: "O/flip_colon.png" COMP; - } - script { -#define DIGPRG(nom, ns) \ - public ns ## v0_cur, ns ## v0_pre, ns ## v0_lock, ns ## v0_next; \ - public ns ## animator2(val, Float:pos) { \ - new st1[11], st2[11], v; \ - v = get_int(ns ## v0_cur); \ - snprintf(st1, 10, "%ih", v); \ - snprintf(st2, 10, "%i", v); \ - set_tween_state(PART:nom"bot", pos, st1, 0.0, st2, 0.0); \ - set_tween_state(PART:nom"sh", pos, "half", 0.0, "full", 0.0); \ - if (pos >= 1.0) { \ - set_state(PART:nom"sh", "default", 0.0); \ - set_int(ns ## v0_lock, 0); \ - } \ - } \ - public ns ## animator1(val, Float:pos) { \ - new st1[11], st2[11], v; \ - v = get_int(ns ## v0_pre); \ - snprintf(st1, 10, "%i", v); \ - snprintf(st2, 10, "%ih", v); \ - set_tween_state(PART:nom"top", pos, st1, 0.0, st2, 0.0); \ - set_tween_state(PART:nom"sh", pos, "default", 0.0, "half", 0.0); \ - if (pos >= 1.0) anim(0.1, #ns"animator2", val); \ - } \ - public ns ## valset(value) { \ - new v, buf[11]; \ - v = get_int(ns ## v0_cur); \ - if (v == value) return; \ - if (get_int(ns ## v0_lock) == 1) { \ - set_state(PART:nom"sh", "default", 0.0); \ - } \ - set_int(ns ## v0_pre, v); \ - set_int(ns ## v0_cur, value); \ - set_int(ns ## v0_lock, 1); \ - snprintf(buf, 10, "%i", get_int(ns ## v0_pre)); \ - set_state(PART:nom"bot0", buf, 0.0); \ - snprintf(buf, 10, "%ih", get_int(ns ## v0_cur)); \ - set_state(PART:nom"bot", buf, 0.0); \ - snprintf(buf, 10, "%i", get_int(ns ## v0_cur)); \ - set_state(PART:nom"top0", buf, 0.0); \ - snprintf(buf, 10, "%i", get_int(ns ## v0_pre)); \ - set_state(PART:nom"top", buf, 0.0); \ - set_state(PART:nom"sh", "default", 0.0); \ - anim(0.1, #ns"animator1", 1); \ - } - - DIGPRG("s1", s1) - DIGPRG("s2", s2) - - DIGPRG("m1", m1) - DIGPRG("m2", m2) - - DIGPRG("h1", h1) - DIGPRG("h2", h2) - - DIGPRG("ap", ap) - - public do_seconds, do_24h, tick_timer; - - public clock_cb(val) { - new year, month, day, yearday, weekday, hour, minute; - new Float:second; - new v, dosec, do24h, tim; - - date(year, month, day, yearday, weekday, hour, minute, second); - dosec = get_int(do_seconds); - if (dosec) { - v = round(second); - tim = timer(1.0 - (second - v), "clock_cb", 1); - // set seconds to v - s1valset(v / 10); - s2valset(v % 10); - } - else { - tim = timer(60.0 - (second), "clock_cb", 1); - } - set_int(tick_timer, tim); - - // set minutes to minute - m1valset(minute / 10); - m2valset(minute % 10); - - // set hours to hour - do24h = get_int(do_24h); - if (do24h) { - h1valset(hour / 10); - h2valset(hour % 10); - } - else { - new pm; - - // if 12 or later, its pm - if (hour >= 12) { - pm = 1; - // if we are after 12 (1, 2, 3 etc.) then mod by 12 - if (hour > 12) hour = hour % 12; - } - else { - pm = 0; - // make after midnight be 12:XX AM :) - if (hour == 0) hour = 12; - } - h1valset(hour / 10); - h2valset(hour % 10); - apvalset(pm); - } - } - - public eval_fields() { - new do24h, dosec; - - dosec = get_int(do_seconds); - do24h = get_int(do_24h); - custom_state(PART:"hours1", "default", 0.0); - custom_state(PART:"hours2", "default", 0.0); - custom_state(PART:"mins1", "default", 0.0); - custom_state(PART:"mins2", "default", 0.0); - custom_state(PART:"secs1", "default", 0.0); - custom_state(PART:"secs2", "default", 0.0); - custom_state(PART:"ampm", "default", 0.0); - if ((dosec) && (!do24h)) { // sec + ampm - set_state_val(PART:"hours1", STATE_REL1, (0.0/16.0), 0.0); - set_state_val(PART:"hours1", STATE_REL2, (2.0/16.0), 1.0); - set_state_val(PART:"hours2", STATE_REL1, (2.0/16.0), 0.0); - set_state_val(PART:"hours2", STATE_REL2, (4.0/16.0), 1.0); - set_state_val(PART:"mins1", STATE_REL1, (5.0/16.0), 0.0); - set_state_val(PART:"mins1", STATE_REL2, (7.0/16.0), 1.0); - set_state_val(PART:"mins2", STATE_REL1, (7.0/16.0), 0.0); - set_state_val(PART:"mins2", STATE_REL2, (9.0/16.0), 1.0); - set_state_val(PART:"secs1", STATE_REL1, (10.0/16.0), 0.0); - set_state_val(PART:"secs1", STATE_REL2, (12.0/16.0), 1.0); - set_state_val(PART:"secs2", STATE_REL1, (12.0/16.0), 0.0); - set_state_val(PART:"secs2", STATE_REL2, (14.0/16.0), 1.0); - set_state_val(PART:"ampm", STATE_REL1, (14.0/16.0), 0.0); - set_state_val(PART:"ampm", STATE_REL2, (16.0/16.0), 1.0); - set_min_size(16 * 4, 16); - set_max_size(16 * 32, 128); - } - else if ((dosec) && (do24h)) { // sec + - - set_state_val(PART:"hours1", STATE_REL1, (0.0/14.0), 0.0); - set_state_val(PART:"hours1", STATE_REL2, (2.0/14.0), 1.0); - set_state_val(PART:"hours2", STATE_REL1, (2.0/14.0), 0.0); - set_state_val(PART:"hours2", STATE_REL2, (4.0/14.0), 1.0); - set_state_val(PART:"mins1", STATE_REL1, (5.0/14.0), 0.0); - set_state_val(PART:"mins1", STATE_REL2, (7.0/14.0), 1.0); - set_state_val(PART:"mins2", STATE_REL1, (7.0/14.0), 0.0); - set_state_val(PART:"mins2", STATE_REL2, (9.0/14.0), 1.0); - set_state_val(PART:"secs1", STATE_REL1, (10.0/14.0), 0.0); - set_state_val(PART:"secs1", STATE_REL2, (12.0/14.0), 1.0); - set_state_val(PART:"secs2", STATE_REL1, (12.0/14.0), 0.0); - set_state_val(PART:"secs2", STATE_REL2, (14.0/14.0), 1.0); - set_state_val(PART:"ampm", STATE_REL1, (0.0/1.0), 0.0); - set_state_val(PART:"ampm", STATE_REL2, (0.0/1.0), 1.0); - set_min_size(14 * 4, 16); - set_max_size(14 * 32, 128); - } - else if ((!dosec) && (!do24h)) { // - + ampm - set_state_val(PART:"hours1", STATE_REL1, (0.0/11.0), 0.0); - set_state_val(PART:"hours1", STATE_REL2, (2.0/11.0), 1.0); - set_state_val(PART:"hours2", STATE_REL1, (2.0/11.0), 0.0); - set_state_val(PART:"hours2", STATE_REL2, (4.0/11.0), 1.0); - set_state_val(PART:"mins1", STATE_REL1, (5.0/11.0), 0.0); - set_state_val(PART:"mins1", STATE_REL2, (7.0/11.0), 1.0); - set_state_val(PART:"mins2", STATE_REL1, (7.0/11.0), 0.0); - set_state_val(PART:"mins2", STATE_REL2, (9.0/11.0), 1.0); - set_state_val(PART:"secs1", STATE_REL1, (0.0/1.0), 0.0); - set_state_val(PART:"secs1", STATE_REL2, (0.0/1.0), 1.0); - set_state_val(PART:"secs2", STATE_REL1, (0.0/1.0), 0.0); - set_state_val(PART:"secs2", STATE_REL2, (0.0/1.0), 1.0); - set_state_val(PART:"ampm", STATE_REL1, (9.0/11.0), 0.0); - set_state_val(PART:"ampm", STATE_REL2, (11.0/11.0), 1.0); - set_min_size(11 * 4, 16); - set_max_size(11 * 32, 128); - } - else if ((!dosec) && (do24h)) { // - + - - set_state_val(PART:"hours1", STATE_REL1, (0.0/9.0), 0.0); - set_state_val(PART:"hours1", STATE_REL2, (2.0/9.0), 1.0); - set_state_val(PART:"hours2", STATE_REL1, (2.0/9.0), 0.0); - set_state_val(PART:"hours2", STATE_REL2, (4.0/9.0), 1.0); - set_state_val(PART:"mins1", STATE_REL1, (5.0/9.0), 0.0); - set_state_val(PART:"mins1", STATE_REL2, (7.0/9.0), 1.0); - set_state_val(PART:"mins2", STATE_REL1, (7.0/9.0), 0.0); - set_state_val(PART:"mins2", STATE_REL2, (9.0/9.0), 1.0); - set_state_val(PART:"secs1", STATE_REL1, (0.0/1.0), 0.0); - set_state_val(PART:"secs1", STATE_REL2, (0.0/1.0), 1.0); - set_state_val(PART:"secs2", STATE_REL1, (0.0/1.0), 0.0); - set_state_val(PART:"secs2", STATE_REL2, (0.0/1.0), 1.0); - set_state_val(PART:"ampm", STATE_REL1, (0.0/1.0), 0.0); - set_state_val(PART:"ampm", STATE_REL2, (0.0/1.0), 1.0); - set_min_size(9 * 4, 16); - set_max_size(9 * 32, 128); - } - set_state(PART:"hours1", "custom", 0.0); - set_state(PART:"hours2", "custom", 0.0); - set_state(PART:"mins1", "custom", 0.0); - set_state(PART:"mins2", "custom", 0.0); - set_state(PART:"secs1", "custom", 0.0); - set_state(PART:"secs2", "custom", 0.0); - set_state(PART:"ampm", "custom", 0.0); - emit("e,state,sizing,changed", ""); - } - } - parts { - part { name: "hclip"; type: RECT; - description { state: "default" 0.0; - } - description { state: "hidden" 0.0; - visible: 0; - } - } - part { name: "mclip"; type: RECT; - description { state: "default" 0.0; - } - description { state: "hidden" 0.0; - visible: 0; - } - } - part { name: "sclip"; type: RECT; - description { state: "default" 0.0; - } - description { state: "hidden" 0.0; - visible: 0; - } - } - part { name: "ampmclip"; type: RECT; - description { state: "default" 0.0; - } - description { state: "hidden" 0.0; - visible: 0; - } - } - part { name: "hours1"; type: RECT; - description { state: "default" 0.0; - visible: 0; - rel1.relative: (0/16) 0.0; - rel2.relative: (2/16) 1.0; - } - } - part { name: "hours2"; type: RECT; - description { state: "default" 0.0; - visible: 0; - rel1.relative: (2/16) 0.0; - rel2.relative: (4/16) 1.0; - } - } - part { name: "hcolon1"; - clip_to: "mclip"; - description { state: "default" 0.0; - rel1.to: "hours2"; - rel1.relative: 1.0 0.0; - rel1.offset: 1 1; - rel2.to: "mins1"; - rel2.relative: 0.0 1.0; - rel2.offset: 0 0; - image.normal: "O/flip_colon.png"; - min: 2 4; - aspect: 0.25 0.25; - aspect_preference: BOTH; - } - } - part { name: "hcolon2"; - clip_to: "mclip"; - description { state: "default" 0.0; - rel1.to: "hcolon1"; - rel1.offset: -1 -1; - rel2.to: "hcolon1"; - rel2.offset: -2 -2; - color: 0 0 0 255; - image.normal: "O/flip_colon.png"; - } - } - part { name: "mins1"; type: RECT; - description { state: "default" 0.0; - visible: 0; - rel1.relative: (5/16) 0.0; - rel2.relative: (7/16) 1.0; - } - } - part { name: "mins2"; type: RECT; - description { state: "default" 0.0; - visible: 0; - rel1.relative: (7/16) 0.0; - rel2.relative: (9/16) 1.0; - } - } - part { name: "mcolon1"; - clip_to: "sclip"; - description { state: "default" 0.0; - rel1.to: "mins2"; - rel1.relative: 1.0 0.0; - rel1.offset: 1 1; - rel2.to: "secs1"; - rel2.relative: 0.0 1.0; - rel2.offset: 0 0; - image.normal: "O/flip_colon.png"; - min: 2 4; - aspect: 0.25 0.25; - aspect_preference: BOTH; - } - } - part { name: "mcolon2"; - clip_to: "sclip"; - description { state: "default" 0.0; - rel1.to: "mcolon1"; - rel1.offset: -1 -1; - rel2.to: "mcolon1"; - rel2.offset: -2 -2; - color: 0 0 0 255; - image.normal: "O/flip_colon.png"; - } - } - part { name: "secs1"; type: RECT; - description { state: "default" 0.0; - visible: 0; - rel1.relative: (10/16) 0.0; - rel2.relative: (12/16) 1.0; - } - } - part { name: "secs2"; type: RECT; - description { state: "default" 0.0; - visible: 0; - rel1.relative: (12/16) 0.0; - rel2.relative: (14/16) 1.0; - } - } - part { name: "ampm"; type: RECT; - description { state: "default" 0.0; - visible: 0; - rel1.relative: (14/16) 0.0; - rel2.relative: (16/16) 1.0; - } - } - -#define DIGIT(nom, relto, clipto) \ - part { name: nom"base"; \ - scale: 1; \ - description { state: "default" 0.0; \ - rel1.to: relto; \ - rel1.offset: 1 1; \ - rel2.to: relto; \ - rel2.offset: -2 -2; \ - min: 2 4; \ - aspect: 0.5 0.5; \ - aspect_preference: BOTH; \ - } \ - } \ - part { name: nom"shad"; \ - clip_to: clipto; \ - description { state: "default" 0.0; \ - rel1.offset: -4 -4; \ - rel1.to: nom"base"; \ - rel2.offset: 3 3; \ - rel2.to: nom"base"; \ - image { \ - normal: "O/flip_base_shad.png"; \ - border: 8 8 8 8; \ - } \ - } \ - } \ - part { name: nom"b"; type: RECT; \ - description { state: "default" 0.0; \ - visible: 0; \ - rel1.to: nom"base"; \ - rel1.relative: 0.0 0.5; \ - rel2.to: nom"base"; \ - } \ - } \ - part { name: nom"t"; type: RECT; \ - description { state: "default" 0.0; \ - visible: 0; \ - rel1.to: nom"base"; \ - rel2.to: nom"base"; \ - rel2.relative: 1.0 0.5; \ - } \ - } \ - part { name: nom"bot0"; \ - clip_to: clipto; \ - description { state: "default" 0.0; \ - rel1.to: nom"b"; \ - rel2.to: nom"b"; \ - image.normal: "O/flip_0b.png"; \ - } \ - description { state: "0" 0.0; \ - inherit: "default" 0.0; \ - image.normal: "O/flip_0b.png"; \ - } \ - description { state: "1" 0.0; \ - inherit: "default" 0.0; \ - image.normal: "O/flip_1b.png"; \ - } \ - description { state: "2" 0.0; \ - inherit: "default" 0.0; \ - image.normal: "O/flip_2b.png"; \ - } \ - description { state: "3" 0.0; \ - inherit: "default" 0.0; \ - image.normal: "O/flip_3b.png"; \ - } \ - description { state: "4" 0.0; \ - inherit: "default" 0.0; \ - image.normal: "O/flip_4b.png"; \ - } \ - description { state: "5" 0.0; \ - inherit: "default" 0.0; \ - image.normal: "O/flip_5b.png"; \ - } \ - description { state: "6" 0.0; \ - inherit: "default" 0.0; \ - image.normal: "O/flip_6b.png"; \ - } \ - description { state: "7" 0.0; \ - inherit: "default" 0.0; \ - image.normal: "O/flip_7b.png"; \ - } \ - description { state: "8" 0.0; \ - inherit: "default" 0.0; \ - image.normal: "O/flip_8b.png"; \ - } \ - description { state: "9" 0.0; \ - inherit: "default" 0.0; \ - image.normal: "O/flip_9b.png"; \ - } \ - } \ - part { name: nom"sh"; \ - clip_to: clipto; \ - description { state: "default" 0.0; \ - rel1.to: nom"b"; \ - rel2.to: nom"b"; \ - rel2.relative: 1.0 0.0; \ - image.normal: "O/flip_shad.png"; \ - } \ - description { state: "half" 0.0; \ - inherit: "default" 0.0; \ - rel2.relative: 1.0 0.5; \ - } \ - description { state: "full" 0.0; \ - inherit: "default" 0.0; \ - rel2.relative: 1.0 1.0; \ - } \ - } \ - part { name: nom"bot"; \ - clip_to: clipto; \ - description { state: "default" 0.0; \ - rel1.to: nom"b"; \ - rel2.to: nom"b"; \ - image.normal: "O/flip_0b.png"; \ - } \ - description { state: "0" 0.0; \ - inherit: "default" 0.0; \ - rel2.relative: 1.0 1.0; \ - image.normal: "O/flip_0b.png"; \ - } \ - description { state: "0h" 0.0; \ - inherit: "default" 0.0; \ - visible: 0; \ - rel2.relative: 1.0 0.0; \ - image.normal: "O/flip_0b.png"; \ - } \ - description { state: "1" 0.0; \ - inherit: "default" 0.0; \ - rel2.relative: 1.0 1.0; \ - image.normal: "O/flip_1b.png"; \ - } \ - description { state: "1h" 0.0; \ - inherit: "default" 0.0; \ - visible: 0; \ - rel2.relative: 1.0 0.0; \ - image.normal: "O/flip_1b.png"; \ - } \ - description { state: "2" 0.0; \ - inherit: "default" 0.0; \ - rel2.relative: 1.0 1.0; \ - image.normal: "O/flip_2b.png"; \ - } \ - description { state: "2h" 0.0; \ - inherit: "default" 0.0; \ - visible: 0; \ - rel2.relative: 1.0 0.0; \ - image.normal: "O/flip_2b.png"; \ - } \ - description { state: "3" 0.0; \ - inherit: "default" 0.0; \ - rel2.relative: 1.0 1.0; \ - image.normal: "O/flip_3b.png"; \ - } \ - description { state: "3h" 0.0; \ - inherit: "default" 0.0; \ - visible: 0; \ - rel2.relative: 1.0 0.0; \ - image.normal: "O/flip_3b.png"; \ - } \ - description { state: "4" 0.0; \ - inherit: "default" 0.0; \ - rel2.relative: 1.0 1.0; \ - image.normal: "O/flip_4b.png"; \ - } \ - description { state: "4h" 0.0; \ - inherit: "default" 0.0; \ - visible: 0; \ - rel2.relative: 1.0 0.0; \ - image.normal: "O/flip_4b.png"; \ - } \ - description { state: "5" 0.0; \ - inherit: "default" 0.0; \ - rel2.relative: 1.0 1.0; \ - image.normal: "O/flip_5b.png"; \ - } \ - description { state: "5h" 0.0; \ - inherit: "default" 0.0; \ - visible: 0; \ - rel2.relative: 1.0 0.0; \ - image.normal: "O/flip_5b.png"; \ - } \ - description { state: "6" 0.0; \ - inherit: "default" 0.0; \ - rel2.relative: 1.0 1.0; \ - image.normal: "O/flip_6b.png"; \ - } \ - description { state: "6h" 0.0; \ - inherit: "default" 0.0; \ - visible: 0; \ - rel2.relative: 1.0 0.0; \ - image.normal: "O/flip_6b.png"; \ - } \ - description { state: "7" 0.0; \ - inherit: "default" 0.0; \ - rel2.relative: 1.0 1.0; \ - image.normal: "O/flip_7b.png"; \ - } \ - description { state: "7h" 0.0; \ - inherit: "default" 0.0; \ - visible: 0; \ - rel2.relative: 1.0 0.0; \ - image.normal: "O/flip_7b.png"; \ - } \ - description { state: "8" 0.0; \ - inherit: "default" 0.0; \ - rel2.relative: 1.0 1.0; \ - image.normal: "O/flip_8b.png"; \ - } \ - description { state: "8h" 0.0; \ - inherit: "default" 0.0; \ - visible: 0; \ - rel2.relative: 1.0 0.0; \ - image.normal: "O/flip_8b.png"; \ - } \ - description { state: "9" 0.0; \ - inherit: "default" 0.0; \ - rel2.relative: 1.0 1.0; \ - image.normal: "O/flip_9b.png"; \ - } \ - description { state: "9h" 0.0; \ - inherit: "default" 0.0; \ - visible: 0; \ - rel2.relative: 1.0 0.0; \ - image.normal: "O/flip_9b.png"; \ - } \ - } \ - part { name: nom"top0"; \ - clip_to: clipto; \ - description { state: "default" 0.0; \ - rel1.to: nom"t"; \ - rel2.to: nom"t"; \ - image.normal: "O/flip_0t.png"; \ - } \ - description { state: "0" 0.0; \ - inherit: "default" 0.0; \ - image.normal: "O/flip_0t.png"; \ - } \ - description { state: "1" 0.0; \ - inherit: "default" 0.0; \ - image.normal: "O/flip_1t.png"; \ - } \ - description { state: "2" 0.0; \ - inherit: "default" 0.0; \ - image.normal: "O/flip_2t.png"; \ - } \ - description { state: "3" 0.0; \ - inherit: "default" 0.0; \ - image.normal: "O/flip_3t.png"; \ - } \ - description { state: "4" 0.0; \ - inherit: "default" 0.0; \ - image.normal: "O/flip_4t.png"; \ - } \ - description { state: "5" 0.0; \ - inherit: "default" 0.0; \ - image.normal: "O/flip_5t.png"; \ - } \ - description { state: "6" 0.0; \ - inherit: "default" 0.0; \ - image.normal: "O/flip_6t.png"; \ - } \ - description { state: "7" 0.0; \ - inherit: "default" 0.0; \ - image.normal: "O/flip_7t.png"; \ - } \ - description { state: "8" 0.0; \ - inherit: "default" 0.0; \ - image.normal: "O/flip_8t.png"; \ - } \ - description { state: "9" 0.0; \ - inherit: "default" 0.0; \ - image.normal: "O/flip_9t.png"; \ - } \ - } \ - part { name: nom"top"; \ - clip_to: clipto; \ - description { state: "default" 0.0; \ - rel1.to: nom"t"; \ - rel2.to: nom"t"; \ - image.normal: "O/flip_0t.png"; \ - } \ - description { state: "0" 0.0; \ - inherit: "default" 0.0; \ - rel1.relative: 0.0 0.0; \ - image.normal: "O/flip_0t.png"; \ - } \ - description { state: "0h" 0.0; \ - inherit: "default" 0.0; \ - color: 128 128 128 255; \ - visible: 0; \ - rel1.relative: 0.0 1.0; \ - image.normal: "O/flip_0t.png"; \ - } \ - description { state: "1" 0.0; \ - inherit: "default" 0.0; \ - rel1.relative: 0.0 0.0; \ - image.normal: "O/flip_1t.png"; \ - } \ - description { state: "1h" 0.0; \ - inherit: "default" 0.0; \ - color: 128 128 128 255; \ - visible: 0; \ - rel1.relative: 0.0 1.0; \ - image.normal: "O/flip_1t.png"; \ - } \ - description { state: "2" 0.0; \ - inherit: "default" 0.0; \ - rel1.relative: 0.0 0.0; \ - image.normal: "O/flip_2t.png"; \ - } \ - description { state: "2h" 0.0; \ - inherit: "default" 0.0; \ - color: 128 128 128 255; \ - visible: 0; \ - rel1.relative: 0.0 1.0; \ - image.normal: "O/flip_2t.png"; \ - } \ - description { state: "3" 0.0; \ - inherit: "default" 0.0; \ - rel1.relative: 0.0 0.0; \ - image.normal: "O/flip_3t.png"; \ - } \ - description { state: "3h" 0.0; \ - inherit: "default" 0.0; \ - color: 128 128 128 255; \ - visible: 0; \ - rel1.relative: 0.0 1.0; \ - image.normal: "O/flip_3t.png"; \ - } \ - description { state: "4" 0.0; \ - inherit: "default" 0.0; \ - rel1.relative: 0.0 0.0; \ - image.normal: "O/flip_4t.png"; \ - } \ - description { state: "4h" 0.0; \ - inherit: "default" 0.0; \ - color: 128 128 128 255; \ - visible: 0; \ - rel1.relative: 0.0 1.0; \ - image.normal: "O/flip_4t.png"; \ - } \ - description { state: "5" 0.0; \ - inherit: "default" 0.0; \ - rel1.relative: 0.0 0.0; \ - image.normal: "O/flip_5t.png"; \ - } \ - description { state: "5h" 0.0; \ - inherit: "default" 0.0; \ - color: 128 128 128 255; \ - visible: 0; \ - rel1.relative: 0.0 1.0; \ - image.normal: "O/flip_5t.png"; \ - } \ - description { state: "6" 0.0; \ - inherit: "default" 0.0; \ - rel1.relative: 0.0 0.0; \ - image.normal: "O/flip_6t.png"; \ - } \ - description { state: "6h" 0.0; \ - inherit: "default" 0.0; \ - color: 128 128 128 255; \ - visible: 0; \ - rel1.relative: 0.0 1.0; \ - image.normal: "O/flip_6t.png"; \ - } \ - description { state: "7" 0.0; \ - inherit: "default" 0.0; \ - rel1.relative: 0.0 0.0; \ - image.normal: "O/flip_7t.png"; \ - } \ - description { state: "7h" 0.0; \ - inherit: "default" 0.0; \ - color: 128 128 128 255; \ - visible: 0; \ - rel1.relative: 0.0 1.0; \ - image.normal: "O/flip_7t.png"; \ - } \ - description { state: "8" 0.0; \ - inherit: "default" 0.0; \ - rel1.relative: 0.0 0.0; \ - image.normal: "O/flip_8t.png"; \ - } \ - description { state: "8h" 0.0; \ - inherit: "default" 0.0; \ - color: 128 128 128 255; \ - visible: 0; \ - rel1.relative: 0.0 1.0; \ - image.normal: "O/flip_8t.png"; \ - } \ - description { state: "9" 0.0; \ - inherit: "default" 0.0; \ - rel1.relative: 0.0 0.0; \ - image.normal: "O/flip_9t.png"; \ - } \ - description { state: "9h" 0.0; \ - inherit: "default" 0.0; \ - color: 128 128 128 255; \ - visible: 0; \ - rel1.relative: 0.0 1.0; \ - image.normal: "O/flip_9t.png"; \ - } \ - } - - DIGIT("h1", "hours1", "hclip"); - DIGIT("h2", "hours2", "hclip"); - - DIGIT("m1", "mins1", "mclip"); - DIGIT("m2", "mins2", "mclip"); - - DIGIT("s1", "secs1", "sclip"); - DIGIT("s2", "secs2", "sclip"); - -#define DIGAP(nom, relto, clipto) \ - part { name: nom"base"; \ - scale: 1; \ - description { state: "default" 0.0; \ - rel1.to: relto; \ - rel1.offset: 1 1; \ - rel2.to: relto; \ - rel2.offset: -2 -2; \ - min: 2 4; \ - aspect: 0.5 0.5; \ - aspect_preference: BOTH; \ - } \ - } \ - part { name: nom"shad"; \ - clip_to: clipto; \ - description { state: "default" 0.0; \ - rel1.offset: -4 -4; \ - rel1.to: nom"base"; \ - rel2.offset: 3 3; \ - rel2.to: nom"base"; \ - image { \ - normal: "O/flip_base_shad.png"; \ - border: 8 8 8 8; \ - } \ - } \ - } \ - part { name: nom"b"; type: RECT; \ - description { state: "default" 0.0; \ - visible: 0; \ - rel1.to: nom"base"; \ - rel1.relative: 0.0 0.5; \ - rel2.to: nom"base"; \ - } \ - } \ - part { name: nom"t"; type: RECT; \ - description { state: "default" 0.0; \ - visible: 0; \ - rel1.to: nom"base"; \ - rel2.to: nom"base"; \ - rel2.relative: 1.0 0.5; \ - } \ - } \ - part { name: nom"bot0"; \ - clip_to: clipto; \ - description { state: "default" 0.0; \ - rel1.to: nom"b"; \ - rel2.to: nom"b"; \ - image.normal: "O/flip_amb.png"; \ - } \ - description { state: "0" 0.0; \ - inherit: "default" 0.0; \ - image.normal: "O/flip_amb.png"; \ - } \ - description { state: "1" 0.0; \ - inherit: "default" 0.0; \ - image.normal: "O/flip_pmb.png"; \ - } \ - } \ - part { name: nom"sh"; \ - clip_to: clipto; \ - description { state: "default" 0.0; \ - rel1.to: nom"b"; \ - rel2.to: nom"b"; \ - rel2.relative: 1.0 0.0; \ - image.normal: "O/flip_shad.png"; \ - } \ - description { state: "half" 0.0; \ - inherit: "default" 0.0; \ - rel2.relative: 1.0 0.5; \ - } \ - description { state: "full" 0.0; \ - inherit: "default" 0.0; \ - rel2.relative: 1.0 1.0; \ - } \ - } \ - part { name: nom"bot"; \ - clip_to: clipto; \ - description { state: "default" 0.0; \ - rel1.to: nom"b"; \ - rel2.to: nom"b"; \ - image.normal: "O/flip_amb.png"; \ - } \ - description { state: "0" 0.0; \ - inherit: "default" 0.0; \ - rel2.relative: 1.0 1.0; \ - image.normal: "O/flip_amb.png"; \ - } \ - description { state: "0h" 0.0; \ - inherit: "default" 0.0; \ - visible: 0; \ - rel2.relative: 1.0 0.0; \ - image.normal: "O/flip_amb.png"; \ - } \ - description { state: "1" 0.0; \ - inherit: "default" 0.0; \ - rel2.relative: 1.0 1.0; \ - image.normal: "O/flip_pmb.png"; \ - } \ - description { state: "1h" 0.0; \ - inherit: "default" 0.0; \ - visible: 0; \ - rel2.relative: 1.0 0.0; \ - image.normal: "O/flip_pmb.png"; \ - } \ - } \ - part { name: nom"top0"; \ - clip_to: clipto; \ - description { state: "default" 0.0; \ - rel1.to: nom"t"; \ - rel2.to: nom"t"; \ - image.normal: "O/flip_amt.png"; \ - } \ - description { state: "0" 0.0; \ - inherit: "default" 0.0; \ - image.normal: "O/flip_amt.png"; \ - } \ - description { state: "1" 0.0; \ - inherit: "default" 0.0; \ - image.normal: "O/flip_pmt.png"; \ - } \ - } \ - part { name: nom"top"; \ - clip_to: clipto; \ - description { state: "default" 0.0; \ - rel1.to: nom"t"; \ - rel2.to: nom"t"; \ - image.normal: "O/flip_amt.png"; \ - } \ - description { state: "0" 0.0; \ - inherit: "default" 0.0; \ - rel1.relative: 0.0 0.0; \ - image.normal: "O/flip_amt.png"; \ - } \ - description { state: "0h" 0.0; \ - inherit: "default" 0.0; \ - color: 128 128 128 255; \ - visible: 0; \ - rel1.relative: 0.0 1.0; \ - image.normal: "O/flip_amt.png"; \ - } \ - description { state: "1" 0.0; \ - inherit: "default" 0.0; \ - rel1.relative: 0.0 0.0; \ - image.normal: "O/flip_pmt.png"; \ - } \ - description { state: "1h" 0.0; \ - inherit: "default" 0.0; \ - color: 128 128 128 255; \ - visible: 0; \ - rel1.relative: 0.0 1.0; \ - image.normal: "O/flip_pmt.png"; \ - } \ - } - - DIGAP("ap", "ampm", "ampmclip"); - -/////////////////////////////////////////////////////////////////// - - part { name: "event"; type: RECT; - mouse_events: 1; - description { state: "default" 0.0; - color: 0 0 0 0; - } - } - } - programs { - program { name: "init"; - signal: "load"; - source: ""; - script { - clock_cb(0); - } - } - program { name: "secon"; - signal: "e,state,seconds,on"; - source: "e"; - action: STATE_SET "default" 0.0; - target: "secs1"; - after: "sec2"; - } - program { name: "sec2"; - script { - new tim; - - set_int(do_seconds, 1); - set_state(PART:"sclip", "default", 0.0); - eval_fields(); - tim = get_int(tick_timer); - if (tim) { - cancel_timer(tim); - set_int(tick_timer, 0); - } - clock_cb(0); - } - } - program { name: "secoff"; - signal: "e,state,seconds,off"; - source: "e"; - action: STATE_SET "default" 0.0; - target: "secs1"; - after: "sec3"; - } - program { name: "sec3"; - script { - new tim; - - set_int(do_seconds, 0); - set_state(PART:"sclip", "hidden", 0.0); - eval_fields(); - tim = get_int(tick_timer); - if (tim) { - cancel_timer(tim); - set_int(tick_timer, 0); - } - clock_cb(0); - } - } - program { name: "24h"; - signal: "e,state,24h,on"; - source: "e"; - script { - new tim; - - set_int(do_24h, 1); - set_state(PART:"ampmclip", "hidden", 0.0); - eval_fields(); - tim = get_int(tick_timer); - if (tim) { - cancel_timer(tim); - set_int(tick_timer, 0); - } - clock_cb(0); - } - } - program { name: "12h"; - signal: "e,state,24h,off"; - source: "e"; - script { - new tim; - - set_int(do_24h, 0); - set_state(PART:"ampmclip", "default", 0.0); - eval_fields(); - tim = get_int(tick_timer); - if (tim) { - cancel_timer(tim); - set_int(tick_timer, 0); - } - clock_cb(0); - } - } - } - } diff --git a/data/themes/edc/O/colors.edc b/data/themes/edc/O/colors.edc deleted file mode 100644 index 0264e6c17..000000000 --- a/data/themes/edc/O/colors.edc +++ /dev/null @@ -1,118 +0,0 @@ -///////////////////////////////////////////////////////////////////////////// -/*** MOD: CONF_COLORS ***/ - - group { - name: "e/modules/conf_colors/preview/solid"; - parts { - part { - name: "e.rect"; - type: RECT; - mouse_events: 0; - description { - state: "default" 0.0; - color: 255 255 255 255; - color_class: "color_preview"; - rel1 { - relative: 0.0 0.0; - offset: 0 0; - } - rel2 { - relative: 1.0 1.0; - offset: -1 -1; - } - } - } - } - } - group { - name: "e/modules/conf_colors/preview/text"; - parts { - part { - name: "e.text"; - type: TEXT; - effect: OUTLINE_SOFT_SHADOW; - mouse_events: 0; - description { - state: "default" 0.0; - color: 255 255 255 255; - color2: 255 255 255 255; - color3: 255 255 255 255; - color_class: "color_preview"; - rel1 { - relative: 0.0 0.0; - offset: 0 0; - } - rel2 { - relative: 1.0 1.0; - offset: -1 -1; - } - text { - font: "Sans:style=Bold"; - size: 16; - text: "Aa"; - min: 1 1; - } - } - } - } - } - group { - name: "e/modules/conf_colors/preview/unknown"; - parts { - part { - name: "c1"; - type: RECT; - mouse_events: 0; - description { - state: "default" 0.0; - color: 255 255 255 255; - color_class: "color_preview_c1"; - rel1 { - relative: 0.0 0.0; - offset: 0 0; - } - rel2 { - relative: 1.0 1.0; - offset: -7 -1; - } - } - } - part { - name: "c2"; - type: RECT; - mouse_events: 0; - description { - state: "default" 0.0; - color: 255 255 255 255; - color_class: "color_preview_c2"; - rel1 { - relative: 1.0 0.0; - offset: -6 0; - } - rel2 { - relative: 1.0 1.0; - offset: -4 -1; - } - } - } - part { - name: "c3"; - type: RECT; - mouse_events: 0; - description { - state: "default" 0.0; - color: 255 255 255 255; - color_class: "color_preview_c3"; - rel1 { - relative: 1.0 0.0; - offset: -3 0; - } - rel2 { - relative: 1.0 1.0; - offset: -1 -1; - } - } - } - } - } - diff --git a/data/themes/edc/O/conf_gad.edc b/data/themes/edc/O/conf_gad.edc deleted file mode 100644 index 8076dc8e2..000000000 --- a/data/themes/edc/O/conf_gad.edc +++ /dev/null @@ -1,131 +0,0 @@ -///////////////////////////////////////////////////////////////////////////// -/*** MOD: CONF ***/ - - group { - name: "e/modules/conf/main"; - images { - image: "O/icon_configuration.png" COMP; - 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,conf" ""; - } - } - part { - name: "icon"; - mouse_events: 0; - description { - state: "default" 0.0; - aspect: 1.0 1.0; - aspect_preference: BOTH; - visible: 1; - image.normal: "O/icon_configuration.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; - } - } - } - } - diff --git a/data/themes/edc/O/cpufreq.edc b/data/themes/edc/O/cpufreq.edc deleted file mode 100644 index 9eec47f6b..000000000 --- a/data/themes/edc/O/cpufreq.edc +++ /dev/null @@ -1,340 +0,0 @@ - group { - name: "e/modules/cpufreq/main"; - images { - image: "O/tacho_bg.png" COMP; - image: "O/tacho_fg.png" COMP; - image: "O/t0.png" COMP; - image: "O/t0-sh.png" COMP; - image: "O/t1.png" COMP; - image: "O/t1-sh.png" COMP; - image: "O/t2.png" COMP; - } - min: 16 16; - max: 128 128; - script { - public available_frequencies; - public available_governors; - - public cur_freq_old; - public cur_freq_new; - public cur_freq_now; - public cur_freq_anim; - - public min_freq_old; - public min_freq_new; - public min_freq_now; - - public max_freq_old; - public max_freq_new; - public max_freq_now; - - public slide_cur_freq(val, Float:v) { - new Float:freq, Float:min_freq, Float:max_freq, Float:tf; - new f, f0, f1; - - v = (1.0 - cos(v * 3.141592654)) / 2.0; - - min_freq = fetch_int(available_frequencies, 0); - max_freq = fetch_int(available_frequencies, - count(available_frequencies) - 1); - - f0 = get_int(cur_freq_old); - f1 = get_int(cur_freq_new); - f = f1 - f0; - freq = float(f) * v; - f = round(freq); - f = f + f0; - set_int(cur_freq_now, f); - - freq = (float(f) - min_freq) / (max_freq - min_freq); - tf = (freq * 225.0) - 135.0; - custom_state(PART:"meter", "default", 0.0); - set_state_val(PART:"meter", STATE_MAP_ROT_Z, tf); - set_state(PART:"meter", "custom", 0.0); - custom_state(PART:"meter_sh", "default", 0.0); - set_state_val(PART:"meter_sh", STATE_MAP_ROT_Z, tf); - set_state(PART:"meter_sh", "custom", 0.0); - - f0 = get_int(min_freq_old); - f1 = get_int(min_freq_new); - f = f1 - f0; - freq = float(f) * v; - f = round(freq); - f = f + f0; - set_int(min_freq_now, f); - - freq = (float(f) - min_freq) / (max_freq - min_freq); - tf = (freq * 225.0) - 135.0; - custom_state(PART:"meter_min", "default", 0.0); - set_state_val(PART:"meter_min", STATE_MAP_ROT_Z, tf); - set_state(PART:"meter_min", "custom", 0.0); - custom_state(PART:"meter_min_sh", "default", 0.0); - set_state_val(PART:"meter_min_sh", STATE_MAP_ROT_Z, tf); - set_state(PART:"meter_min_sh", "custom", 0.0); - - f0 = get_int(max_freq_old); - f1 = get_int(max_freq_new); - f = f1 - f0; - freq = float(f) * v; - f = round(freq); - f = f + f0; - set_int(max_freq_now, f); - - freq = (float(f) - min_freq) / (max_freq - min_freq); - tf = (freq * 225.0) - 135.0; - custom_state(PART:"meter_max", "default", 0.0); - set_state_val(PART:"meter_max", STATE_MAP_ROT_Z, tf); - set_state(PART:"meter_max", "custom", 0.0); - custom_state(PART:"meter_max_sh", "default", 0.0); - set_state_val(PART:"meter_max_sh", STATE_MAP_ROT_Z, tf); - set_state(PART:"meter_max_sh", "custom", 0.0); - - if (v >= 1.0) { - set_int(cur_freq_anim, 0); - return 0; - } - return 1; - } - - public message(Msg_Type:type, id, ...) { - if ((type == MSG_INT_SET) && (id == 1)) { // add an available freq - while (count(available_frequencies) > 0) { - remove(available_frequencies, 0); - } - for (new i = 2; i < numargs(); i++) { - append_int(available_frequencies, getarg(i)); - } - } - else if ((type == MSG_STRING_SET) && (id == 2)) { // add a governor - new text[100]; - while (count(available_governors) > 0) { - remove(available_governors, 0); - } - for (new i = 2; i < numargs(); i++) { - snprintf(text, 100, "%s", getarg(i)); - append_str(available_governors, text); - } - } - else if ((type == MSG_INT_SET) && (id == 3)) { // avg freq - new f; - new ani, curf, minf, maxf; - new text[100]; - - f = getarg(2); - if (f < 1000000) { - f += 500; - snprintf(text, 100, "%i", f / 1000); - } - else { - f += 50000; - snprintf(text, 100, "%i.%i", f / 1000000, - (f % 1000000) / 100000); - } - set_text(PART:"readout", text); - - ani = get_int(cur_freq_anim); - if (ani > 0) cancel_anim(ani); - ani = anim(1.0, "slide_cur_freq", 0); - set_int(cur_freq_anim, ani); - - f = getarg(2); - curf = get_int(cur_freq_now); - set_int(cur_freq_old, curf); - set_int(cur_freq_new, f); - - f = getarg(4); - minf = get_int(min_freq_now); - set_int(min_freq_old, minf); - set_int(min_freq_new, f); - - f = getarg(5); - maxf = get_int(max_freq_now); - set_int(max_freq_old, maxf); - set_int(max_freq_new, f); - } - else if ((type == MSG_STRING) && (id == 4)) { - new text[100]; - snprintf(text, 100, "%s", getarg(2)); - } - } - } - parts { - part { - name: "fade_clip"; - type: RECT; - mouse_events: 0; - description { - state: "default" 0.0; - color: 255 255 255 255; - } - description { - state: "faded" 0.0; - color: 255 255 255 128; - } - } - part { - name: "base"; - clip_to: "fade_clip"; - description { - state: "default" 0.0; - aspect: 1.0 1.0; - aspect_preference: BOTH; - image.normal: "O/tacho_bg.png"; - } - } - part { - name: "readout"; - type: TEXT; - scale: 1; - // effect: OUTLINE_SOFT_SHADOW; - mouse_events: 0; - clip_to: "fade_clip"; - description { - state: "default" 0.0; - rel1 { - relative: 0.6 0.7; - offset: 0 0; - } - rel2 { - relative: 0.6 0.7; - offset: 0 0; - } - color: 255 255 255 255; - color2: 0 0 0 128; - color3: 0 0 0 32; - color_class: "module_label"; - text { - text: "??? Ghz"; - font: "Sans:style=Bold"; - size: 6; - align: 0.5 0.5; - min: 1 1; - text_class: "module_small"; - } - } - } - part { name: "meter_min_sh"; - clip_to: "fade_clip"; - mouse_events: 0; - description { state: "default" 0.0000; - image.normal: "O/t1-sh.png"; - rel1.to: "meter_min"; - rel1.relative: 0.0+(2.0/64.0) 0.0+(2.0/64.0); - rel2.to: "meter_min"; - rel2.relative: 1.0+(2.0/64.0) 1.0+(2.0/64.0); - map { - on: 1; - rotation { - center: "meter_min_sh"; - } - } - } - } - part { name: "meter_min"; - clip_to: "fade_clip"; - mouse_events: 0; - description { state: "default" 0.0000; - image.normal: "O/t2.png"; - rel1.to: "base"; - rel2.to: "base"; - map { - on: 1; - rotation { - center: "base"; - } - } - } - } - part { name: "meter_max_sh"; - clip_to: "fade_clip"; - mouse_events: 0; - description { state: "default" 0.0000; - image.normal: "O/t1-sh.png"; - rel1.to: "meter_max"; - rel1.relative: 0.0+(2.0/64.0) 0.0+(2.0/64.0); - rel2.to: "meter_max"; - rel2.relative: 1.0+(2.0/64.0) 1.0+(2.0/64.0); - map { - on: 1; - rotation { - center: "meter_max_sh"; - } - } - } - } - part { name: "meter_max"; - clip_to: "fade_clip"; - mouse_events: 0; - description { state: "default" 0.0000; - image.normal: "O/t1.png"; - rel1.to: "base"; - rel2.to: "base"; - map { - on: 1; - rotation { - center: "base"; - } - } - } - } - part { name: "meter_sh"; - clip_to: "fade_clip"; - mouse_events: 0; - description { state: "default" 0.0000; - image.normal: "O/t0-sh.png"; - rel1.to: "meter"; - rel1.relative: 0.0+(2.0/64.0) 0.0+(2.0/64.0); - rel2.to: "meter"; - rel2.relative: 1.0+(2.0/64.0) 1.0+(2.0/64.0); - map { - on: 1; - rotation { - center: "meter_sh"; - } - } - } - } - part { name: "meter"; - clip_to: "fade_clip"; - mouse_events: 0; - description { state: "default" 0.0000; - image.normal: "O/t0.png"; - rel1.to: "base"; - rel2.to: "base"; - map { - on: 1; - rotation { - center: "base"; - } - } - } - } - part { - name: "over"; - clip_to: "fade_clip"; - mouse_events: 0; - description { - state: "default" 0.0; - rel1.to: "base"; - rel2.to: "base"; - image.normal: "O/tacho_fg.png"; - } - } - } - programs { - program { - name: "enabled"; - signal: "e,state,enabled"; - source: "e"; - action: STATE_SET "default" 0.0; - target: "fade_clip"; - } - program { - name: "disabled"; - signal: "e,state,disabled"; - source: "e"; - action: STATE_SET "faded" 0.0; - target: "fade_clip"; - } - } - } diff --git a/data/themes/edc/O/cslider.edc b/data/themes/edc/O/cslider.edc deleted file mode 100644 index 4aee54090..000000000 --- a/data/themes/edc/O/cslider.edc +++ /dev/null @@ -1,110 +0,0 @@ - /* Used to display RGB/HSV values via sliders - in Wallpaper Gradient Dialog */ - group { - name: "e/widgets/cslider"; - images.image: "O/inset_sunk.png" COMP; - parts { - part { - name: "content_clip"; - type: RECT; - mouse_events: 0; - description { - state: "default" 0.0; - rel1.to: "e.swallow.content"; - rel2.to: "e.swallow.content"; - color: 255 255 255 255; - } - } - part { - name: "e.swallow.content"; - type: SWALLOW; - clip_to: "content_clip"; - description { - state: "default" 0.0; - min: 50 20; - rel1.offset: 4 4; - rel2.offset: -5 -5; - } - description { - state: "vertical" 0.0; - inherit: "default" 0.0; - min: 20 50; - } - } - part { - name: "border"; - mouse_events: 1; - description { - state: "default" 0.0; - rel1 { - to: "e.swallow.content"; - offset: -1 -1; - } - rel2 { - to: "e.swallow.content"; - offset: 0 0; - } - image { - normal: "O/inset_sunk.png"; - border: 7 7 7 7; - middle: 0; - } - fill.smooth : 0; - } - } - part { - name: "e.dragable.cursor"; - type: RECT; - clip_to: "content_clip"; - dragable { - confine: "e.swallow.content"; - x: 1 1 0; - y: -1 1 0; - } - description { - state: "default" 0.0; - min: 1 24; - max: 1 9999; - fixed: 1 1; - rel1 { - to: "e.swallow.content"; - relative: 0.5 0.0; - offset: 0 -2; - } - rel2 { - to: "e.swallow.content"; - relative: 0.5 1.0; - offset: 0 +2; - } - color: 255 255 255 150; - } - description { - state: "vertical" 0.0; - min: 24 1; - max: 9999 1; - fixed: 1 1; - rel1 { - to: "e.swallow.content"; - relative: 0.0 0.5 ; - offset: -2 0; - } - rel2 { - to: "e.swallow.content"; - relative: 1.0 0.5; - offset: +2 0; - } - color: 255 255 255 150; - } - } - } - programs { - program { - name: "go_vertical"; - signal: "e,state,direction,v"; - source: "e"; - action: STATE_SET "vertical" 0.0; - target: "e.dragable.cursor"; - target: "e.swallow.content"; - } - } - } diff --git a/data/themes/edc/O/desklock.edc b/data/themes/edc/O/desklock.edc deleted file mode 100644 index 4a466dbae..000000000 --- a/data/themes/edc/O/desklock.edc +++ /dev/null @@ -1,314 +0,0 @@ -///////////////////////////////////////////////////////////////////////////// -/*** MOD: DESKLOCK ***/ - - group { - name: "e/desklock/background"; - images { - image: "O/bg_shadow.png" COMP; - image: "O/wizard_pattern.png" COMP; - } - parts { - part { name: "base"; - description { state: "default" 0.0; - image.normal: "O/wizard_pattern.png"; - fill { - smooth: 0; - size { - relative: 0.0 0.0; - offset: 200 200; - } - } - } - } - part { - name: "e.swallow.login_box"; - type: SWALLOW; - description { - state: "default" 0.0; - } - } - part { name: "shadow2"; - mouse_events: 0; - description { state: "default" 0.0; - image.normal: "O/bg_shadow.png"; - fill.smooth: 0; - } - } - } - } - group { - name: "e/desklock/login_box"; - images { - image: "O/logo_white_128.png" COMP; - image: "O/inset_sunk.png" COMP; - } - parts { - part { - name: "logo"; - mouse_events: 0; - description { - state: "default" 0.0; - min: 64 64; - max: 64 64; - image.normal: "O/logo_white_128.png"; - } - } - part { - name: "e.text.title"; - type: TEXT; - effect: SOFT_SHADOW; - scale: 1; - description { - state: "default" 0.0; - fixed: 0 1; - rel1 { - relative: 0.0 1.0; - offset: 0 8; - to_y: "logo"; - } - rel2 { - relative: 1.0 1.0; - offset: -1 8; - to_y: "logo"; - } - color: 224 224 224 255; - color3: 0 0 0 32; - text { - text: "Enter Password"; - font: "Sans:style=Bold"; - size: 10; - align: 0.5 0.5; - min: 1 1; - text_class: "desklock_title"; - } - } - } - part { - name: "pulse_clip"; - type: RECT; - mouse_events: 0; - description { - state: "default" 0.0; - rel1.to: "passwd_border"; - rel2.to: "passwd_border"; - } - description { - state: "pulse" 0.0; - inherit: "default" 0.0; - color: 255 255 255 128; - } - } - part { - name: "error"; - type: RECT; - mouse_events: 0; - clip_to: "error_clip"; - description { - state: "default" 0.0; - rel1.to: "passwd_border"; - rel2.to: "passwd_border"; - color: 255 255 255 255; - } - } - part { - name: "error_clip"; - type: RECT; - mouse_events: 0; - clip_to: "pulse_clip"; - description { - state: "default" 0.0; - rel1.to: "passwd_border"; - rel2.to: "passwd_border"; - color: 255 255 255 255; - } - description { - state: "invalid" 0.0; - inherit: "default" 0.0; - color: 255 128 128 255; - /*FIXME: Document how this works */ - } - } - part { - name: "passwd_entry_clip"; - type: RECT; - mouse_events: 0; - clip_to: "pulse_clip"; - description { - state: "default" 0.0; - visible: 1; - rel1 { - offset: 6 3; - to: "passwd_border"; - } - rel2 { - offset: -7 -4; - to: "passwd_border"; - } - } - } - part { - name: "e.text.password"; - type: TEXT; - clip_to: "passwd_entry_clip"; - scale: 1; - description { - state: "default" 0.0; - fixed: 0 1; - align: 0.0 0.5; - rel1 { - relative: 0.0 0.0; - offset: 0 0; - to: "passwd_entry_clip"; - } - rel2 { - relative: 0.0 1.0; - offset: 0 0; - to: "passwd_entry_clip"; - } - color: 0 0 0 255; - text { - text: "****"; - font: "Sans:style=Bold"; - size: 16; - align: 0.0 0.5; - min: 1 1; - text_class: "desklock_passwd"; - } - } - } - part { - name: "selection"; - type: GROUP; - mouse_events: 0; - clip_to: "passwd_entry_clip"; - source: "e/widgets/entry/selection"; - description { - state: "default" 0.0; - visible: 0; - rel1.to: "e.text.password"; - rel2.to: "e.text.password"; - } - description { - state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { - name: "cursor"; - type: RECT; - mouse_events: 0; - clip_to: "passwd_entry_clip"; - description { - state: "default" 0.0; - min: 1 16; - max: 1 16; - align: 0.0 0.5; - fixed: 1 1; - rel1 { - relative: 1.0 0.0; - offset: 0 -3; - to: "e.text.password"; - } - rel2 { - relative: 1.0 1.0; - offset: 1 1; - to: "e.text.password"; - } - color: 0 0 0 255; - } - } - part { - name: "passwd_border"; - mouse_events: 0; - clip_to: "error_clip"; - description { - state: "default" 0.0; - rel1 { - relative: 0.5 1.0; - offset: -80 2; - to_y: "e.text.title"; - } - rel2 { - relative: 0.5 1.0; - offset: 79 20; - to_y: "e.text.title"; - } - image { - normal: "O/inset_sunk.png"; - middle: 0; - border: 7 7 7 7; - } - fill.smooth: 0; - } - description { - state: "checking" 0.0; - inherit: "default" 0.0; - color: 255 255 255 128; - } - } - } - programs { - program { - name: "pulse.1"; - signal: "e,state,checking"; - source: "e.desklock"; - action: STATE_SET "pulse" 0.0; - target: "pulse_clip"; - transition: SINUSOIDAL 0.5; - after: "pulse.2"; - } - program { - name: "pulse.2"; - action: STATE_SET "default" 0.0; - target: "pulse_clip"; - transition: SINUSOIDAL 0.5; - after: "pulse.1"; - } - program { - name: "pulse.stop"; - signal: "e,state,invalid"; - source: "e.desklock"; - action: ACTION_STOP; - target: "pulse.1"; - target: "pulse.2"; - after: "pulse.reset"; - } - program { - name: "pulse.reset"; - action: STATE_SET "default" 0.0; - target: "pulse_clip"; - transition: SINUSOIDAL 0.5; - } - program { - name: "go_invalid"; - signal: "e,state,invalid"; - source: "e.desklock"; - action: STATE_SET "invalid" 0.0; - target: "error_clip"; - transition: DECELERATE 0.5; - } - program { - name: "stop_invalid"; - action: STATE_SET "default" 0.0; - target: "error_clip"; - transition: DECELERATE 1.5; - } - program { - name: "select"; - signal: "e,state,selected"; - source: "e"; - action: STATE_SET "visible" 0.0; - target: "selection"; - } - program { - name: "unselect"; - signal: "e,state,unselected"; - source: "e"; - action: STATE_SET "default" 0.0; - target: "selection"; - } - } - } - - diff --git a/data/themes/edc/O/edgebindings.edc b/data/themes/edc/O/edgebindings.edc deleted file mode 100644 index 739ca8983..000000000 --- a/data/themes/edc/O/edgebindings.edc +++ /dev/null @@ -1,253 +0,0 @@ -///////////////////////////////////////////////////////////////////////////// -/*** MOD: CONF_EDGEBINDINGS ***/ - -/* This group draws the edge and corners for the user to pick. - * XXX: Needs some love from masters of the brush! */ - - group { - name: "e/modules/conf_edgebindings/selection"; - parts { - part { - name: "e.swallow.background"; - type: SWALLOW; - mouse_events: 0; - description { - state: "default" 0.0; - min: 210 150; - rel1.offset: 4 4; - rel2 { - relative: 0.5 1; - offset: -2 -5; - } - } - } - part { - name: "e.edge.top_left"; - type: RECT; - description { - state: "default" 0.0; - rel1 { - to: "e.swallow.background"; - } - rel2 { - relative: 0 0; - offset: 20 20; - to: "e.swallow.background"; - } - color: 255 0 0 150; - } - } - part { - name: "e.edge.top"; - type: RECT; - description { - state: "default" 0.0; - rel1 { - offset: 20 0; - to: "e.swallow.background"; - } - rel2 { - relative: 1 0; - offset: -20 15; - to: "e.swallow.background"; - } - color: 255 255 0 150; - } - } - part { - name: "e.edge.top_right"; - type: RECT; - description { - state: "default" 0.0; - rel1 { - relative: 1 0; - offset: -20 0; - to: "e.swallow.background"; - } - rel2 { - relative: 1 0; - offset: 0 20; - to: "e.swallow.background"; - } - color: 255 0 0 150; - } - } - part { - name: "e.edge.right"; - type: RECT; - description { - state: "default" 0.0; - rel1 { - relative: 1 0; - offset: -15 20; - to: "e.swallow.background"; - } - rel2 { - relative: 1 1; - offset: 0 -20; - to: "e.swallow.background"; - } - color: 255 255 0 150; - } - } - part { - name: "e.edge.bottom_right"; - type: RECT; - description { - state: "default" 0.0; - rel1 { - relative: 1 1; - offset: -20 -20; - to: "e.swallow.background"; - } - rel2 { - relative: 1 1; - offset: 0 0; - to: "e.swallow.background"; - } - color: 255 0 0 150; - } - } - part { - name: "e.edge.bottom"; - type: RECT; - description { - state: "default" 0.0; - rel1 { - relative: 0 1; - offset: 20 -15; - to: "e.swallow.background"; - } - rel2 { - relative: 1 1; - offset: -20 0; - to: "e.swallow.background"; - } - color: 255 255 0 150; - } - } - part { - name: "e.edge.bottom_left"; - type: RECT; - description { - state: "default" 0.0; - rel1 { - relative: 0 1; - offset: 0 -20; - to: "e.swallow.background"; - } - rel2 { - relative: 0 1; - offset: 20 0; - to: "e.swallow.background"; - } - color: 255 0 0 150; - } - } - part { - name: "e.edge.left"; - type: RECT; - description { - state: "default" 0.0; - rel1 { - relative: 0 0; - offset: 0 20; - to: "e.swallow.background"; - } - rel2 { - relative: 0 1; - offset: 15 -20; - to: "e.swallow.background"; - } - color: 255 255 0 150; - } - } - part { - name: "e.swallow.check"; - type: SWALLOW; - description { - state: "default" 0.0; - rel1 { - relative: 1 1; - offset: 5 4; - to_x: "e.swallow.background"; - to_y: "e.text.description"; - } - rel2 { - relative: 1 1; - offset: -5 24; - to_y: "e.text.description"; - } - } - } - part { - name: "e.swallow.slider"; - type: SWALLOW; - description { - state: "default" 0.0; - rel1 { - relative: 1 1; - offset: 5 1; - to_x: "e.edge.bottom_right"; - to_y: "e.swallow.check"; - } - rel2 { - relative: 1 1; - offset: -5 -1; - } - } - } - part { - name: "e.text.description"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - rel1 { - relative: 1 0; - offset: 5 4; - to_x: "e.swallow.background"; - } - rel2 { - relative: 1 1; - offset: -5 -45; - } - text { - style: "dialog_style"; - min: 1 1; - } - } - } - part { - name: "e.text.selection"; - type: TEXT; - effect: SOFT_SHADOW; - mouse_events: 0; - description { - state: "default" 0.0; - align: 0.5 0.5; - rel1 { - relative: 1 1; - offset: 5 5; - to: "e.edge.top_left"; - } - rel2 { - relative: 0 0; - offset: -5 -5; - to: "e.edge.bottom_right"; - } - color: 224 224 224 255; - color3: 0 0 0 64; - text { - font: "Sans:style=Bold"; - size: 12; - align: 0.5 0.5; - fit: 1 1; - } - } - } - } - } - - diff --git a/data/themes/edc/O/evrything.edc b/data/themes/edc/O/evrything.edc deleted file mode 100644 index 41505007d..000000000 --- a/data/themes/edc/O/evrything.edc +++ /dev/null @@ -1,2598 +0,0 @@ -///////////////////////////////////////////////////////////////////////////// -/*** MOD: EVERYTHING ***/ -/////////////////////////////////////////////////////////////////////////////// - - group { - images.image: "O/vgrad_light.png" COMP; - name: "e/modules/everything/list"; - parts { - part { - name: "list_frame"; - type: RECT; - description { - state: "default" 0.0; - visible: 0; - } - } - part { - name: "base"; - type: RECT; - /* description { - * state: "default" 0.0; - * rel1 { - * relative: 0.0 1.0; - * to_x: "list_frame"; - * to_y: "input_base"; - * } - * rel2 { - * to_x: "list_frame"; - * to_y: "input_base"; - * } - * } */ - description { - state: "default" 0.0; - /*inherit: "default" 0.0;*/ - rel1 { - relative: 0.0 1.0; - to_x: "list_frame"; - to_y: "input_base"; - } - rel2 { - to: "list_frame"; - offset: -1 -1; - } - } - } - part { - name: "input_base"; - type: RECT; - /* description { - * state: "default" 0.0; - * rel1 { - * to_x: "base"; - * } - * - * rel2 { - * relative: 1.0 0.0; - * to_x: "base"; - * offset: -1 1; - * } - * } */ - description { - state: "default" 0.0; - /* inherit: "default" 0.0; */ - rel1 { - to_x: "base"; - } - rel2 { - relative: 1.0 0.0; - to_x: "base"; - offset: -1 28; - } - } - } - part { - name: "list_win_bg"; - type: RECT; - description { - state: "default" 0.0; - rel1.to_x: "base"; - rel1.to_y: "input_base"; - - rel2.to: "base"; - /* rel2.offset: -1 -3; */ - color: 245 245 245 255; - } - } - part { - name: "bar_base"; - type: RECT; - mouse_events: 0; - description { - state: "default" 0.0; - visible: 0; - rel1 { - relative: 0.0 1.0; - to: "base"; - offset: 0 -26; - } - rel2 { - relative: 1.0 1.0; - to: "base"; - offset: -1 -1; - } - } - } - part { - name: "bar_clip"; - type: RECT; - mouse_events: 0; - description { - state: "default" 0.0; - rel1 { - to: "bar_base"; - offset: 2 2; - } - rel2 { - to: "bar_base"; - offset: -2 -2; - } - } - description { - state: "faded" 0.0; - inherit: "default" 0.0; - color: 255 255 255 0; - } - } - part { - name: "bar_bg"; - clip_to: "base"; - mouse_events: 0; - description { - state: "default" 0.0; - min: 32 25; - max: 9999 25; - fixed: 1 1; - rel1 { - offset: -1 2; - to: "bar_base"; - } - rel2 { - offset: -1 -3; - to: "bar_base"; - } - image { - normal: "O/bt_dis_base.png"; - border: 4 4 4 4; - } - color: 255 255 255 255; - } - } - part { - name: "e.swallow.bar"; - clip_to: "bar_clip"; - type: SWALLOW; - description { - state: "default" 0.0; - rel1.to: "bar_clip"; - rel1.offset: -1 0; - rel2.to: "bar_clip"; - rel2.offset: -1 -1; - } - } - part { - name: "bar_over2"; - clip_to: "base"; - mouse_events: 0; - description { - state: "default" 0.0; - rel1.to: "bar_bg"; - rel1.offset: -1 -2; - rel2.to: "bar_bg"; - rel2.offset: 1 1; - image { - normal: "O/bt_dis_shine.png"; - border: 4 4 4 4; - } - color: 255 255 255 235; - } - } - part { - name: "bar_over1"; - clip_to: "base"; - mouse_events: 0; - description { - state: "default" 0.0; - rel1.to: "bar_bg"; - rel1.offset: 0 -2; - rel2.to: "bar_bg"; - rel2.offset: 1 -1; - rel2.relative: 1.0 0.5; - image { - normal: "O/bt_dis_hilight.png"; - border: 4 4 4 0; - } - color: 255 255 255 128; - } - } - part { - name: "input_bg"; - clip_to: "input_base"; - description { - state: "default" 0.0; - fixed: 1 1; - min: 32 32; - max: 9999 32; - rel1 { - offset: -1 0; - to: "input_base"; - } - rel2 { - /* offset: 1 0; */ - to: "input_base"; - } - image { - normal: "O/bt_dis_base.png"; - border: 4 4 4 4; - } - color: 235 235 235 255; - } - } - part { - name: "e.text.label"; - type: TEXT; - effect: SHADOW; - scale: 1; - clip_to: "input_base"; - description { - state: "default" 0.0; - fixed: 0 1; - align: 0.0 0.5; - rel1 { - offset: 10 8; - to: "input_bg"; - } - rel2 { - to: "input_bg"; - relative: 0.0 1.0; - offset: 10 -4; - - } - color: 60 60 60 255; - color3: 255 255 255 68; - text { - font: "Sans:style=Bold"; - size: 11; - align: 0.0 0.5; - min: 1 1; - text_class: "fileman_typebuf"; - } - } - } - part { - name: "cursor"; - /* type: RECT; */ - mouse_events: 0; - description { - state: "default" 0.0; - min: 10 10; - max: 10 10; - align: 0.0 0.5; - fixed: 1 1; - rel1 { - relative: 1.0 0.0; - offset: -2 -2; - to: "e.text.label"; - } - rel2 { - relative: 1.0 1.0; - offset: -2 -1; - to: "e.text.label"; - } - image { - normal: "O/icon_right_arrow.png"; - } - - color: 20 20 20 250; - } - description { - state: "faded" 0.0; - inherit: "default" 0.0; - color: 20 20 20 100; - } - } - part { - name: "list_clip"; - type: RECT; - clip_to: "base"; - description { - state: "default" 0.0; - color: 255 255 255 255; - fixed: 1 1; - rel1 { - relative: 0.0 0.0; - offset: 2 0; - to: "base"; - } - rel2 { - relative: 1.0 0.0; - offset: -3 0; - to_y: "bar_base"; - to_x: "base"; - } - } - } - part { - name: "list_bg"; - clip_to: "base"; - description { - state: "default" 0.0; - image.normal: "O/vgrad_light.png"; - rel1 { - to: "list_clip"; - offset: 0 0; - } - rel2 { - to: "list_clip"; - offset: 0 0; - } - fill.smooth: 0; - color: 240 240 240 255; - } - } - part { - name: "e.swallow.list"; - type: SWALLOW; - clip_to: "list_clip"; - mouse_events: 1; - description { - state: "default" 0.0; - min: 32 170; - fixed: 1 1; - rel1 { - relative: 0.0 0.0; - offset: 0 3; - to: "list_clip"; - } - rel2 { - relative: 1.0 1.0; - offset: -1 -1; - to: "list_clip"; - } - } - description { - state: "default" 1.0; - inherit: "default" 0.0; - rel1 { - relative: -1.0 0.0; - } - rel2 { - relative: 0.0 1.0; - } - } - } - part { - name: "e.swallow.list2"; - type: SWALLOW; - clip_to: "list_clip"; - mouse_events: 1; - description { - state: "default" 0.0; - min: 32 170; - fixed: 1 1; - rel1 { - relative: 1.0 0.0; - offset: 0 3; - to: "list_clip"; - } - rel2 { - relative: 2.0 1.0; - offset: -1 -1; - to: "list_clip"; - } - } - description { - state: "default" 1.0; - inherit: "default" 0.0; - rel1 { - relative: 0.0 0.0; - } - rel2 { - relative: 1.0 1.0; - } - } - } - part { - name: "list_over"; - clip_to: "base"; - mouse_events: 0; - description { - state: "default" 0.0; - rel1 { - offset: -1 -1; - to: "list_bg"; - } - rel2 { - offset: -1 -1; - to: "list_bg"; - } - image { - normal: "O/inset_sunk.png"; - border: 7 7 7 7; - middle: 0; - } - fill.smooth : 0; - /* color: 200 200 200 255; */ - } - } - part { - name: "box"; - mouse_events: 0; - description { - state: "default" 0.0; - rel1 { - to: "input_base"; - offset: 1 0; - } - rel2 { - to: "base"; - offset: -2 -1; - } - image { - normal: "O/everything_box.png"; - border: 4 4 4 4; - middle: 0; - } - fill.smooth : 1; - } - } - } - programs { - program { - name: "blink_off"; - signal: "show"; - source: ""; - action: STATE_SET "faded" 0.0; - transition: SINUSOIDAL 0.6; - target: "cursor"; - after: "blink_on"; - } - program { - name: "blink_on"; - action: STATE_SET "default" 0.0; - transition: SINUSOIDAL 0.35; - target: "cursor"; - after: "blink_off"; - } - program { - name: "show_list"; - signal: "e,state,list_show"; - source: "e"; - action: STATE_SET "visible" 0.0; - target: "base"; - } - program { - name: "hide_list"; - signal: "e,state,list_hide"; - source: "e"; - action: STATE_SET "default" 0.0; - transition: ACCELERATE 0.08; - target: "base"; - } - program { - name: "show_entry"; - signal: "e,state,entry_show"; - source: "e"; - action: STATE_SET "visible" 0.0; - target: "input_base"; - } - program { - name: "hide_entry"; - signal: "e,state,entry_hide"; - source: "e"; - action: STATE_SET "default" 0.0; - transition: SINUSOIDAL 0.08; - target: "input_base"; - } - program { - name: "update_list"; - signal: "e,signal,update"; - source: "e"; - action: STATE_SET "faded" 0.0; - /* transition: SINUSOIDAL 0.5; */ - target: "bar_clip"; - after: "update_list2"; - } - program { - name: "update_list2"; - action: STATE_SET "default" 0.0; - /* transition: SINUSOIDAL 0.15; */ - target: "bar_clip"; - } - - program { - name: "slide_left"; - signal: "e,action,slide,left"; - source: "e"; - action: STATE_SET "default" 0.0; - target: "e.swallow.list"; - target: "e.swallow.list2"; - after: "slide_left2"; - } - program { - name: "slide_left2"; - action: STATE_SET "default" 1.0; - transition: ACCELERATE 0.15; - target: "e.swallow.list"; - target: "e.swallow.list2"; - after: "left_end"; - } - program { name: "left_end"; - action: SIGNAL_EMIT "e,action,slide,left,finished" ""; - } - program { - name: "slide_right"; - signal: "e,action,slide,right"; - source: "e"; - action: STATE_SET "default" 1.0; - target: "e.swallow.list"; - target: "e.swallow.list2"; - after: "slide_right2"; - } - program { - name: "slide_right2"; - action: STATE_SET "default" 0.0; - transition: ACCELERATE 0.15; - target: "e.swallow.list"; - target: "e.swallow.list2"; - after: "right_end"; - } - program { name: "right_end"; - action: SIGNAL_EMIT "e,action,slide,right,finished" ""; - } - program { - name: "slide_default"; - signal: "e,action,slide,default"; - source: "e"; - action: STATE_SET "default" 0.0; - target: "e.swallow.list"; - target: "e.swallow.list2"; - } - } - } - group { - name: "e/modules/everything/main"; - images { - image: "O/inset_sunk.png" COMP; - image: "O/everything_box.png" COMP; - image: "O/everything_item_bg.png" COMP; - image: "O/vgrad_dark.png" COMP; - image: "O/bt_dis_hilight.png" COMP; - image: "O/bt_dis_shine.png" COMP; - image: "O/bt_dis_base.png" COMP; - image: "O/bt_base2.png" COMP; - image: "O/outline.png" COMP; - image: "O/icon_left_arrow.png" COMP; - image: "O/icon_right_arrow.png" COMP; - image: "O/toolbar_sel.png" COMP; - image: "O/icon_right_arrow.png" COMP; - image: "O/bt_sm_base1.png" COMP; - image: "O/bt_sm_base2.png" COMP; - image: "O/bt_sm_shine.png" COMP; - image: "O/bt_sm_hilight.png" COMP; - image: "O/sb_runnerv.png" COMP; - } - parts { - - /*************** top ***************/ - part { - name: "win"; - type: RECT; - mouse_events: 0; - description { - state: "default" 0.0; - visible: 0; - min: 286 48; - rel2.relative: 1.0 0.0; - rel2.offset: -1 48; - } - } - part { - name: "list"; - source: "e/modules/everything/list"; - type: GROUP; - description { - state: "default" 0.0; - visible: 1; - min: 300 155; - rel1 { - to_y: "frame"; - offset: -1 -3; - relative: 0.0 1.0; - } - rel2 { - offset: 0 -1; - } - } - } - part { - name: "bar_base"; - type: RECT; - mouse_events: 0; - description { - state: "default" 0.0; - rel1 { - to: "frame"; - } - rel2 { - to: "frame"; - } - } - } - part { - name: "bar_bg"; - clip_to: "bar_base"; - mouse_events: 0; - description { - state: "default" 0.0; - /* min: 32 50; - * max: 9999 50; */ - fixed: 1 1; - rel1 { - offset: -2 -1; - to: "bar_base"; - } - rel2 { - offset: 1 0; - to: "bar_base"; - } - image { - normal: "O/bt_dis_base.png"; - border: 4 4 4 4; - } - } - } - part { - name: "frame"; - mouse_events: 0;; - description { - state: "default" 0.0; - rel1.to: "win"; - rel2.to: "win"; - image { - normal: "O/everything_box.png"; - border: 4 4 4 4; - middle: 0; - } - fill.smooth : 1; - color: 215 215 215 255; - } - } - part { - name: "selector_frame"; - type: RECT; - description { - state: "default" 0.0; - color: 255 255 255 255; - rel1 { - to: "frame"; - } - rel2 { - offset: -2 -1; - to: "frame"; - } - } - } - part { - name: "subject_selector"; - type: GROUP; - source: "e/modules/everything/selector_item"; - clip_to: "selector_frame"; - description { - state: "default" 0.0; - /* visible: 0; */ - rel1 { - relative: 0.0 0.0; - offset: 0 2; - to: "selector_frame"; - } - rel2 { - relative: 0.5 1.0; - offset: -1 -1; - to_y: "selector_frame"; - } - } - description { - state: "wide" 0; - inherit: "default" 0.0; - visible: 0; - rel1 { - relative: -0.5 0.0; - offset: 0 2; - } - rel2 { - relative: 0.0 1.0; - offset: 0 -1; - } - } - } - part { - name: "action_selector"; - type: GROUP; - source: "e/modules/everything/selector_item"; - clip_to: "selector_frame"; - description { - state: "default" 0.0; - /* visible: 0; */ - rel1 { - relative: 0.5 0.0; - offset: 0 2; - to: "selector_frame"; - } - rel2 { - relative: 1.0 1.0; - offset: -1 -1; - to: "selector_frame"; - } - } - description { - state: "wide" 0; - inherit: "default" 0.0; - rel1 { - relative: 0.0 0.0; - offset: 0 2; - } - rel2 { - relative: 0.5 1.0; - offset: -1 -1; - } - } - } - part { - name: "object_selector"; - type: GROUP; - source: "e/modules/everything/selector_item"; - clip_to: "selector_frame"; - description { - state: "default" 0.0; - visible: 0; - rel1 { - relative: 1.0 0.0; - offset: 0 2; - to: "selector_frame"; - } - rel2 { - relative: 1.5 1.0; - offset: -1 -1; - to: "selector_frame"; - } - } - description { - state: "wide" 0; - inherit: "default" 0.0; - visible: 1; - rel1 { - relative: 0.5 0.0; - offset: 0 2; - } - rel2 { - relative: 1.0 1.0; - offset: -1 -1; - } - } - } - - part { - name: "bar_over2"; - clip_to: "bar_base"; - mouse_events: 0; - description { - state: "default" 0.0; - rel1.to: "bar_bg"; - rel1.offset: -2 -2; - rel2.to: "bar_bg"; - rel2.offset: 1 2; - image { - normal: "O/bt_dis_shine.png"; - border: 4 4 4 4; - } - } - } - part { - name: "bar_over1"; - clip_to: "bar_base"; - mouse_events: 0; - description { - state: "default" 0.0; - rel1.to: "bar_bg"; - rel1.offset: -2 -2; - rel2.to: "bar_bg"; - rel2.offset: 1 2; - rel2.relative: 1.0 0.45; - image { - normal: "O/bt_dis_hilight.png"; - border: 4 4 4 0; - } - color: 255 255 255 235; - } - } - } - programs { - program { - name: "object_selector_hide"; - signal: "e,state,object_selector_hide"; - source: "e"; - action: STATE_SET "default" 0.00; - transition: SINUSOIDAL 0.15; - target: "object_selector"; - target: "subject_selector"; - target: "action_selector"; - } - program { - name: "object_selector_show"; - signal: "e,state,object_selector_show"; - source: "e"; - action: STATE_SET "wide" 0.00; - transition: SINUSOIDAL 0.2; - target: "object_selector"; - target: "subject_selector"; - target: "action_selector"; - } - } - } - group { - name: "e/modules/everything/selector_item"; - parts { - part { - name: "clip"; - type: RECT; - mouse_events: 0; - description { - state: "default" 0.0; - } - } - part { - name: "bg"; - mouse_events: 0; - description { - state: "default" 0.0; - color: 200 200 200 20; - image { - normal: "O/toolbar_sel.png"; - border: 3 3 2 2; - } - fill.smooth: 1; - rel1.offset: 0 -1; - rel2.offset: 2 -1; - } - description { - state: "selected" 0.0; - inherit: "default" 0.0; - color: 200 200 200 255; - } - } - part { - name: "inner_clip"; - type: RECT; - clip_to: "clip"; - mouse_events: 0; - description { - state: "default" 0.0; - rel1.offset: 6 2; - rel2.offset: -5 -5; - } - } - part { - name: "icon_clip"; - type: RECT; - clip_to: "inner_clip"; - mouse_events: 0; - description { - state: "default" 0.0; - color: 255 255 255 255; - } - description { - state: "faded" 0.0; - color: 255 255 255 120; - } - } - part { - name: "e.swallow.icons"; - type: SWALLOW; - clip_to: "icon_clip"; - mouse_events: 0; - description { - state: "default" 0.0; - min: 50 44; - max: 50 44; - aspect: 1.0 1.0; - align: 0.0 0.5; - aspect_preference: VERTICAL; - rel1 { - offset: 5 5; - } - rel2 { - offset: -1 -8; - } - } - } - part { - name: "e.swallow.thumb"; - type: SWALLOW; - clip_to: "icon_clip"; - mouse_events: 0; - description { - state: "default" 0.0; - min: 50 44; - max: 50 44; - aspect: 1.0 1.0; - align: 0.0 0.5; - aspect_preference: VERTICAL; - rel1 { - offset: 5 5; - } - rel2 { - offset: -1 -8; - } - } - } - - part { - name: "e.text.label"; - type: TEXT; - mouse_events: 0; - clip_to: "clip"; - scale: 1; - mouse_events: 0; - description { - state: "default" 0.0; - align: 0.0 1.0; - fixed: 0 1; - rel1.to: "e.swallow.icons"; - rel1.relative: 1.0 0.0; - rel2.to: "clip"; - rel1.offset: 2 3; - rel2.offset: -6 -7; - /* visible: 0; */ - color: 24 24 24 255; - text { - font: "Sans:style=Bold"; - size: 9; - min: 0 1; - align: 0.0 1.0; - text_class: "fileman_typebuf"; - } - } - description { - state: "selected" 0.0; - inherit: "default" 0.0; - color: 244 244 244 255; - /* visible: 1; */ - } - } - part { - name: "e.text.plugin"; - type: TEXT; - clip_to: "inner_clip"; - effect: SOFT_SHADOW; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - align: 1.0 0.0; - rel1 { - offset: 6 6; - /* to_x: "e.swallow.icons"; */ - } - rel2.offset: -10 -1; - color: 20 20 20 255; - color3: 0 0 0 0; - text { - font: "Sans"; - size: 9; - min: 0 1; - align: 1.0 0.0; - text_class: "fileman_icon"; - } - } - description { - state: "selected" 0.0; - inherit: "default" 0.0; - - color: 240 240 240 255; - } - } - part { - name: "event"; - type: RECT; - description { - state: "default" 0.0; - color: 0 0 0 0; - } - } - } - programs { - program { - name: "sel"; - signal: "e,state,selected"; - source: "e"; - action: STATE_SET "selected" 0.0; - transition: SINUSOIDAL 0.1; - /* target: "border"; - * target: "border_bg"; */ - target: "bg"; - target: "e.text.label"; - target: "e.text.plugin"; - } - program { - name: "unsel"; - signal: "e,state,unselected"; - source: "e"; - action: STATE_SET "default" 0.0; - transition: SINUSOIDAL 0.2; - /* target: "border"; - * target: "border_bg"; */ - target: "bg"; - target: "e.text.label"; - target: "e.text.plugin"; - } - program { - name: "update"; - signal: "e,signal,update"; - source: "e"; - action: STATE_SET "faded" 0.0; - transition: DECELERATE 0.1; - target: "icon_clip"; - after: "show_icon"; - } - program { - name: "show_icon"; - action: STATE_SET "default" 0.0; - transition: ACCELERATE 0.3; - target: "icon_clip"; - } - program { - name: "thumb_show"; - signal: "e,action,thumb,show"; - source: "e"; - action: STATE_SET "faded" 0.0; - /* transition: SINUSOIDAL 0.05; */ - target: "icon_clip"; - after: "thumb_show2"; - } - program { - name: "thumb_show2"; - action: STATE_SET "default" 0.0; - transition: SINUSOIDAL 0.2; - target: "icon_clip"; - } - } - } - - group { - name: "e/modules/everything/tab_item"; - min: 50 10; - parts { - part { - name: "clip"; - type: RECT; - mouse_events: 0; - description { - state: "default" 0.0; - rel1.relative: 0.05 0.0; - rel2.relative: 0.95 1.0; - } - } - part { - name: "label2"; - type: TEXT; - scale: 1; - clip_to: "clip"; - mouse_events: 0; - description { - state: "default" 0.0; - align: 0.5 0.5; - fixed: 0 1; - rel1.to: "e.text.label"; - rel2.to: "e.text.label"; - color: 0 0 0 255; - text { - font: "Sans:style"; - text_source: "e.text.label"; - size: 10; - min: 0 1; - align: 0.5 0.5; - text_class: "fileman_icon"; - } - } - description { - state: "selected" 0.0; - inherit: "default" 0.0; - color: 10 10 10 0; - visible: 0; - } - } - part { - name: "bg"; - mouse_events: 0; - description { - state: "default" 0.0; - color: 200 200 200 20; - image { - normal: "O/toolbar_sel.png"; - border: 2 2 0 0; - } - fill.smooth: 1; - } - description { - state: "selected" 0.0; - inherit: "default" 0.0; - color: 200 200 200 255; - } - } - part { - name: "e.text.label"; - type: TEXT; - mouse_events: 0; - clip_to: "clip"; - scale: 1; - mouse_events: 0; - description { - state: "default" 0.0; - align: 0.5 0.5; - fixed: 0 1; - rel1.to: "clip"; - rel2.to: "clip"; - rel1.offset: 5 3; - rel2.offset: -6 -1; - visible: 0; - color: 245 245 245 255; - text { - font: "Sans:style=Bold"; - size: 9; - min: 0 1; - align: 0.5 0.5; - text_class: "fileman_icon"; - } - } - description { - state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { - name: "event"; - type: RECT; - description { - state: "default" 0.0; - color: 0 0 0 0; - } - } - } - programs { - program { - name: "go_active"; - signal: "e,state,selected"; - source: "e"; - action: STATE_SET "selected" 0.0; - target: "bg"; - target: "e.text.label"; - target: "label2"; - transition: LINEAR 0.1; - } - program { - name: "go_passive"; - signal: "e,state,unselected"; - source: "e"; - action: STATE_SET "default" 0.0; - target: "bg"; - target: "e.text.label"; - target: "label2"; - } - } - } - - group { - name: "e/modules/everything/tab_item/back"; - min: 50 10; - parts { - part { - name: "clip"; - type: RECT; - mouse_events: 0; - description { - state: "default" 0.0; - rel1.relative: 0.05 0.0; - rel2.relative: 0.95 1.0; - } - } - part { - name: "label2"; - type: TEXT; - scale: 1; - clip_to: "clip"; - mouse_events: 0; - description { - state: "default" 0.0; - align: 0.5 0.5; - fixed: 0 1; - rel1.to: "e.text.label"; - rel2.to: "e.text.label"; - color: 0 0 0 255; - text { - font: "Sans:style"; - text_source: "e.text.label"; - size: 10; - min: 0 1; - align: 0.5 0.5; - text_class: "fileman_icon"; - } - } - description { - state: "selected" 0.0; - inherit: "default" 0.0; - color: 10 10 10 0; - visible: 0; - } - } - part { - name: "bg"; - mouse_events: 0; - description { - state: "default" 0.0; - color: 255 255 255 40; - image { - normal: "O/toolbar_sel.png"; - border: 2 2 0 0; - } - fill.smooth: 1; - } - description { - state: "selected" 0.0; - inherit: "default" 0.0; - color: 245 245 245 250; - } - } - part { - name: "e.text.label"; - type: TEXT; - mouse_events: 0; - clip_to: "clip"; - scale: 1; - mouse_events: 0; - description { - state: "default" 0.0; - align: 0.5 0.5; - fixed: 0 1; - rel1.to: "clip"; - rel2.to: "clip"; - rel1.offset: 5 3; - rel2.offset: -6 -1; - visible: 0; - color: 245 245 245 255; - text { - font: "Sans:style=Bold"; - size: 9; - min: 0 1; - align: 0.5 0.5; - text_class: "fileman_icon"; - } - } - description { - state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { - name: "event"; - type: RECT; - description { - state: "default" 0.0; - color: 0 0 0 0; - } - } - } - programs { - program { - name: "go_active"; - signal: "e,state,selected"; - source: "e"; - action: STATE_SET "selected" 0.0; - target: "bg"; - target: "e.text.label"; - target: "label2"; - transition: LINEAR 0.1; - } - program { - name: "go_passive"; - signal: "e,state,unselected"; - source: "e"; - action: STATE_SET "default" 0.0; - target: "bg"; - target: "e.text.label"; - target: "label2"; - } - } - } - -///////////////////////////////////////////////////////////////////////////// -/*** EVERYTHING THUMB VIEW ***/ - - group { - name: "e/modules/everything/thumbview/item/thumb"; - parts { - part { - name: "bg"; - mouse_events: 0; - description { - state: "default" 0.0; - rel1 { - to: "base"; - offset: -1 -3; - } - rel2 { - to: "base"; - offset: 0 2; - } - fill.smooth: 0; - image { - normal: "O/everything_item_bg.png"; - border: 5 5 5 5; - } - color: 255 255 255 10; - } - description { - state: "selected" 0.0; - inherit: "default" 0.0; - color: 255 255 255 190; - } - } - part { - name: "outline"; - mouse_events: 0; - description { - state: "default" 0.0; - rel1.to: "bg"; - rel2.to: "bg"; - image { - normal: "O/outline.png"; - border: 5 5 5 5; - } - color: 0 0 0 30; - } - description { - state: "selected" 0.0; - inherit: "default" 0.0; - color: 0 0 0 220; - } - - } - part { - name: "bg_mark"; - mouse_events: 0; - description { - state: "default" 0.0; - visible: 0; - rel1.to: "bg"; - rel2.to: "bg"; - fill.smooth: 0; - image { - normal: "O/everything_item_bg.png"; - border: 5 5 5 5; - } - color: 255 255 255 0; - } - description { - state: "marked" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 60; - } - } - part { - name: "base"; - mouse_events: 0; - type: RECT; - description { - state: "default" 0.0; - rel1 { - relative: 0.0 0.0; - offset: 0 4; - } - rel2 { - relative: 1.0 1.0; - offset: -5 -5; - } - color: 255 255 255 255; - } - } - part { - name: "clip"; - mouse_events: 0; - type: RECT; - /* clip_to: "base"; */ - description { - state: "default" 0.0; - rel1.to: "base"; - rel2.to: "base"; - color: 225 225 225 0; - } - description { - state: "visible" 0.0; - inherit: "default" 0.0; - color: 255 255 255 255; - } - } - part { - name: "e.swallow.icon"; - clip_to: "clip"; - type: SWALLOW; - mouse_events: 0; - description { - state: "default" 0.0; - rel1 { - to: "base"; - relative: 0.0 0.0; - offset: 4 0; - } - rel2 { - to: "base"; - relative: 1.0 1.0; - offset: -3 -11; - } - } - } - part { - name: "e.swallow.thumb"; - clip_to: "clip"; - type: SWALLOW; - mouse_events: 0; - description { - state: "default" 0.0; - aspect: 1.0 1.0; - aspect_preference: VERTICAL; - rel1 { - to: "base"; - offset: 6 6; - } - rel2 { - to: "base"; - offset: -5 -20; - } - } - } - part { - name: "arrow"; - mouse_events: 0; - description { - state: "default" 0.0; - min: 12 12; - max: 12 12; - /* aspect_preference: */ - visible: 0; - align: 1.0 0.0; - rel1 { - to: "base"; - relative: 1.0 0.0; - offset: -3 2; - } - rel2 { - to: "base"; - relative: 1.0 0.0; - offset: -3 2; - } - image { - normal: "O/icon_right_arrow.png"; - } - } - description { - state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { - name: "e.text.label"; - type: TEXT; - clip_to: "base"; - effect: SOFT_SHADOW; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - rel1 { - offset: 2 -12; - relative: 0.0 1.0; - } - rel2.offset: -2 -4; - color3: 20 20 20 60; - color: 255 255 255 255; - text { - font: "Sans"; - size: 10; - min: 0 1; - align: 0.5 0.0; - text_class: "fileman_icon"; - } - } - description { - state: "selected" 0.0; - inherit: "default" 0.0; - rel1 { - offset: 2 -12; - relative: 0.0 1.0; - } - rel2.offset: -2 -4; - color: 250 250 250 255; - color3: 20 20 20 40; - } - } - - part { - name: "over_clip"; - type: RECT; - mouse_events: 0; - description { - state: "default" 0.0; - color: 255 255 255 255; - rel1 { - relative: 0.0 0.0; - offset: 0 0; - } - rel2 { - relative: 1.0 1.0; - offset: -1 -1; - } - visible: 0; - } - description { - state: "visible" 0.0; - inherit: "default" 0.0; - color: 255 255 255 255; - visible: 1; - } - description { - state: "hidden" 0.0; - inherit: "default" 0.0; - rel1.relative: -0.5 -0.5; - rel2.relative: 1.5 1.5; - color: 255 255 255 0; - visible: 1; - } - description { - state: "huge" 0.0; - inherit: "default" 0.0; - color: 255 255 255 0; - rel1.relative: -1.5 -1.5; - rel2.relative: 2.5 2.5; - visible: 1; - } - } - - part { - name: "over"; - type: PROXY; - mouse_events: 0; - clip_to: "over_clip"; - description { - state: "default" 0.0; - source: "e.swallow.icon"; - rel1.to: "over_clip"; - rel2.to: "over_clip"; - visible: 0; - } - description { - state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { - name: "over2"; - type: PROXY; - mouse_events: 0; - clip_to: "over_clip"; - description { - state: "default" 0.0; - source: "e.swallow.thumb"; - rel1.to: "over_clip"; - rel2.to: "over_clip"; - visible: 0; - } - description { - state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - - part { - name: "event"; - type: RECT; - description { - state: "default" 0.0; - color: 0 0 0 0; - } - } - } - programs { - program { - name: "sel"; - signal: "e,state,selected"; - source: "e"; - action: STATE_SET "selected" 0.0; - target: "bg"; - target: "outline"; - target: "e.text.label"; - } - program { - name: "unsel"; - signal: "e,state,unselected"; - source: "e"; - action: STATE_SET "default" 0.0; - transition: SINUSOIDAL 0.1; - target: "bg"; - target: "outline"; - target: "e.text.label"; - } - program { - name: "mark"; - signal: "e,state,marked"; - source: "e"; - action: STATE_SET "marked" 0.0; - target: "bg_mark"; - transition: ACCELERATE 0.15; - } - program { - name: "unmark"; - signal: "e,state,unmarked"; - source: "e"; - action: STATE_SET "default" 0.0; - transition: LINEAR 0.2; - target: "bg_mark"; - } - program { - name: "arrow_show"; - signal: "e,state,browseable"; - source: "e"; - action: STATE_SET "visible" 0.0; - target: "arrow"; - } - program { - name: "thumb_show_delayed"; - signal: "e,action,thumb,show_delayed"; - source: "e"; - action: STATE_SET "default" 0.0; - target: "clip"; - after: "thumb_show2"; - } - program { - name: "thumb_show"; - signal: "e,action,thumb,show"; - source: "e"; - action: STATE_SET "visible" 0.0; - target: "clip"; - } - program { - name: "thumb_show2"; - action: STATE_SET "visible" 0.0; - transition: DECELERATE 0.1; - target: "clip"; - } - program { - name: "go_big"; - action: STATE_SET "visible" 0.0; - target: "over_clip"; - target: "over"; - target: "over2"; - after: "go_big2"; - } - - program { - name: "go_big2"; - action: STATE_SET "huge" 0.0; - transition: DECELERATE 0.4; - target: "over_clip"; - after: "go_big3"; - } - - program { - name: "go_big3"; - action: STATE_SET "default" 0.0; - transition: DECELERATE 0.2; - target: "over_clip"; - target: "over"; - target: "over2"; - } - program { - name: "action_go"; - signal: "e,action,go"; - source: "e"; - action: ACTION_STOP; - target: "go_big"; - target: "go_big2"; - target: "go_big3"; - after: "go_big"; - } - } - } - group { - name: "e/modules/everything/thumbview/item/list"; - parts { - part { - name: "bg"; - mouse_events: 0; - description { - state: "default" 0.0; - rel1 { - to: "base"; - offset: -1 -1; - } - rel2 { - to: "base"; - offset: -2 2; - } - fill.smooth: 0; - image { - normal: "O/everything_item_bg.png"; - border: 5 5 5 5; - } - color: 0 0 0 10; - } - description { - state: "selected" 0.0; - inherit: "default" 0.0; - color: 0 0 0 190; - } - } - part { - name: "outline"; - mouse_events: 0; - description { - state: "default" 0.0; - rel1.to: "bg"; - rel2.to: "bg"; - image { - normal: "O/outline.png"; - border: 5 5 5 5; - } - color: 0 0 0 30; - } - description { - state: "selected" 0.0; - inherit: "default" 0.0; - color: 0 0 0 220; - } - } - part { - name: "bg_mark"; - mouse_events: 0; - description { - state: "default" 0.0; - visible: 0; - rel1.to: "bg"; - rel2.to: "bg"; - fill.smooth: 0; - color: 255 255 255 0; - image { - normal: "O/everything_item_bg.png"; - border: 5 5 5 5; - } - } - description { - state: "marked" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 60; - } - } - part { - name: "base"; - mouse_events: 0; - type: RECT; - description { - state: "default" 0.0; - color: 255 255 255 255; - rel1 { - relative: 0.0 0.0; - offset: 0 3; - } - rel2 { - relative: 1.0 1.0; - offset: -5 -4; - } - } - } - part { - name: "clip"; - mouse_events: 0; - type: RECT; - clip_to: "base"; - description { - state: "default" 0.0; - color: 225 225 225 0; - rel1 { - to: "base"; - relative: 0.0 0.0; - offset: 2 2; - } - rel2 { - to: "base"; - relative: 0.0 1.0; - offset: 40 -1; - } - } - description { - state: "visible" 0.0; - inherit: "default" 0.0; - color: 255 255 255 255; - } - } - part { - name: "e.swallow.icon"; - clip_to: "clip"; - type: SWALLOW; - mouse_events: 0; - description { - state: "default" 0.0; - rel1.to: "clip"; - rel2.to: "clip"; - } - } - part { - name: "e.swallow.thumb"; - clip_to: "clip"; - type: SWALLOW; - mouse_events: 0; - description { - state: "default" 0.0; - aspect: 1.0 1.0; - aspect_preference: VERTICAL; - rel1.to: "clip"; - rel2.to: "clip"; - } - } - part { - name: "arrow"; - mouse_events: 0; - description { - state: "default" 0.0; - align: 0.0 0.5; - min: 16 16; - max: 16 16; - visible: 0; - rel1 { - to: "base"; - relative: 1.0 0.0; - offset: -21 6; - } - rel2 { - to: "base"; - relative: 1.0 1.0; - offset: 1 -7; - } - image { - normal: "O/icon_right_arrow.png"; - } - } - description { - state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - rel1 { - to: "base"; - relative: 1.0 0.0; - offset: -21 6; - } - } - } - part { - name: "e.text.label"; - type: TEXT; - clip_to: "base"; - effect: SOFT_SHADOW; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - color: 0 0 0 255; - color3: 255 255 255 30; - rel1 { - to_x: "clip"; - to_y: "base"; - offset: 5 2; - relative: 1.0 0.0; - } - rel2 { - relative: 0.0 1.0; - offset: 4 -1; - to_x: "arrow"; - to_y: "spacer"; - } - text { - font: "Sans"; - size: 10; - min: 0 1; - align: 0.0 0.0; - text_class: "fileman_icon"; - } - } - description { - state: "selected" 0.0; - inherit: "default" 0.0; - color: 255 255 255 255; - color3: 20 20 20 30; - } - } - part { - name: "e.text.detail"; - type: TEXT; - clip_to: "base"; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - visible: 1; - color: 80 80 80 255; - rel1 { - to_x: "clip"; - to_y: "base"; - offset: 5 6; - relative: 1.0 0.5; - } - rel2 { - relative: 0.0 1.0; - offset: 4 -4; - to_y: "base"; - to_x: "arrow"; - } - text { - font: "Sans"; - size: 8; - min: 0 1; - align: 0.0 0.0; - text_class: "fileman_icon"; - } - } - description { - state: "selected" 0.0; - inherit: "default" 0.0; - color: 200 200 200 255; - } - } - part { - name: "spacer"; - type: RECT; - mouse_events: 0; - description { - state: "default" 0.0; - visible: 0; - rel1.to: "base"; - rel1.relative: 0.0 1.0; - rel2.to: "base"; - } - description { - state: "detail" 0.0; - inherit: "default" 0.0; - rel1.to: "e.text.detail"; - rel2.to: "e.text.detail"; - } - } - part { - name: "event"; - type: RECT; - description { - state: "default" 0.0; - color: 0 0 0 0; - } - } - } - programs { - program { - name: "sel"; - signal: "e,state,selected"; - source: "e"; - action: STATE_SET "selected" 0.0; - target: "bg"; - target: "outline"; - target: "e.text.label"; - target: "e.text.detail"; - transition: ACCELERATE 0.0; - } - program { - name: "unsel"; - signal: "e,state,unselected"; - source: "e"; - action: STATE_SET "default" 0.0; - transition: LINEAR 0.0; - target: "bg"; - target: "outline"; - target: "e.text.label"; - target: "e.text.detail"; - } - program { - name: "mark"; - signal: "e,state,marked"; - source: "e"; - action: STATE_SET "marked" 0.0; - target: "bg_mark"; - transition: ACCELERATE 0.15; - } - program { - name: "unmark"; - signal: "e,state,unmarked"; - source: "e"; - action: STATE_SET "default" 0.0; - transition: LINEAR 0.2; - target: "bg_mark"; - } - program { - name: "arrow_show"; - signal: "e,state,browseable"; - source: "e"; - action: STATE_SET "visible" 0.0; - target: "arrow"; - } - program { - name: "thumb_show_delayed"; - signal: "e,action,thumb,show_delayed"; - source: "e"; - action: STATE_SET "visible" 0.0; - target: "clip"; - transition: DECELERATE 0.1; - } - program { - name: "thumb_show"; - signal: "e,action,thumb,show"; - source: "e"; - action: STATE_SET "visible" 0.0; - target: "clip"; - } - program { - name: "detail_show"; - signal: "e,state,detail,show"; - source: "e"; - action: STATE_SET "detail" 0.0; - /* transition: ACCELERATE 0.08; */ - target: "spacer"; - } - program { - name: "detail_hide"; - signal: "e,state,detail,hide"; - source: "e"; - action: STATE_SET "default" 0.0; - target: "spacer"; - } - } - } - - group { - name: "e/modules/everything/thumbview/main/window"; - parts { - part { - name: "clip"; - type: RECT; - mouse_events: 0; - description { - state: "default" 0.0; - color: 255 255 255 0; - } - description { - state: "visible" 0.0; - color: 255 255 255 255; - } - } - part { - name: "e.swallow.list"; - type: SWALLOW; - clip_to: "clip"; - description { - state: "default" 0.0; - rel1 { - relative: 0.0 0.0; - offset: 6 1; - } - rel2 { - relative: 1.0 1.0; - offset: -3 -3; - } - } - } - part { - name: "left_arrow"; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - visible: 0; - image.normal: "O/icon_left_arrow.png"; - aspect: 1.0 1.0; - aspect_preference: VERTICAL; - align: 0.0 0.5; - min: 32 32; - max: 32 32; - color: 255 255 255 0; - } - description { - state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { - name: "right_arrow"; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - visible: 0; - image.normal: "O/icon_right_arrow.png"; - aspect: 1.0 1.0; - aspect_preference: VERTICAL; - align: 1.0 0.5; - min: 32 32; - max: 32 32; - color: 255 255 255 0; - } - description { - state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { - name: "event"; - repeat_events: 1; - type: RECT; - description { - state: "default" 0.0; - color: 0 0 0 0; - } - } - } - programs { - program { - name: "go_into_show"; - signal: "e,action,show,into"; - source: "e"; - action: STATE_SET "visible" 0.0; - transition: LINEAR 0.5; - target: "right_arrow"; - } - program { - name: "go_into_hide"; - signal: "e,action,hide,into"; - source: "e"; - action: STATE_SET "default" 0.0; - target: "right_arrow"; - transition: LINEAR 0.5; - } - program { - name: "go_back_show"; - signal: "e,action,show,back"; - source: "e"; - action: STATE_SET "visible" 0.0; - transition: LINEAR 0.5; - target: "left_arrow"; - } - program { - name: "go_back_hide"; - signal: "e,action,hide,back"; - source: "e"; - action: STATE_SET "default" 0.0; - target: "left_arrow"; - transition: LINEAR 0.5; - } - program { - name: "hiding"; - signal: "e,action,hide,list"; - source: "e"; - action: STATE_SET "default" 0.0; - target: "clip"; - transition: LINEAR 0.25; - } - program { - name: "showing"; - signal: "e,action,show,list"; - source: "e"; - action: STATE_SET "visible" 0.0; - target: "clip"; - transition: LINEAR 0.15; - } - } - } - group { - name: "e/modules/everything/thumbview/main/scrollframe"; - images { - image: "O/bt_sm_base1.png" COMP; - image: "O/bt_sm_base2.png" COMP; - image: "O/bt_sm_shine.png" COMP; - image: "O/bt_sm_hilight.png" COMP; - image: "O/sb_runnerv.png" COMP; - } - parts { - part { - name: "e.swallow.content"; - type: SWALLOW; - description { - state: "default" 0.0; - rel1.offset: 0 0; - rel2 { - relative: 0.0 1.0; - offset: 2 -1; - to_x: "sb_vbar"; - } - } - } - part { - name: "sb_vbar"; - type: RECT; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - min: 9 17; - align: 1.0 0.0; - rel1 { - relative: 1.0 0.0; - offset: -1 0; - } - rel2 { - relative: 1.0 1.0; - offset: -1 -1; - } - } - description { - state: "hidden" 0.0; - visible: 0; - max: 0 99999; - rel1 { - relative: 1.0 0.0; - offset: -1 0; - } - rel2 { - relative: 1.0 1.0; - offset: -1 -1; - } - } - } - part { - name: "sb_vbar_base"; - type: RECT; - clip_to: "sb_vbar"; - mouse_events: 1; - description { - state: "default" 0.0; - color: 0 0 0 0; - rel1 { - relative: 0.0 1.0; - offset: 0 -1; - to: "sb_vbar_a1"; - } - rel2 { - relative: 1.0 0.0; - offset: -1 0; - to: "sb_vbar_a2"; - } - } - } - part { - name: "sb_vbar_runner"; - clip_to: "sb_vbar"; - mouse_events: 0; - description { - state: "default" 0.0; - max: 3 99999; - rel1.to: "sb_vbar_base"; - rel1.offset: -2 0; - rel2.to: "sb_vbar_base"; - image { - normal: "O/sb_runnerv.png"; - border: 0 0 4 4; - } - fill.smooth: 0; - } - } - part { - name: "sb_vbar_p1"; - type: RECT; - clip_to: "sb_vbar"; - mouse_events: 1; - description { - state: "default" 0.0; - color: 0 0 0 0; - rel1 { - relative: 0.0 1.0; - to: "sb_vbar_a1"; - } - rel2 { - relative: 1.0 0.0; - to: "e.dragable.vbar"; - } - } - } - part { - name: "sb_vbar_p2"; - type: RECT; - clip_to: "sb_vbar"; - mouse_events: 1; - description { - state: "default" 0.0; - color: 0 0 0 0; - rel1 { - relative: 0.0 1.0; - to: "e.dragable.vbar"; - } - rel2 { - relative: 1.0 0.0; - to: "sb_vbar_a2"; - } - } - } - part { - name: "e.dragable.vbar"; - clip_to: "sb_vbar"; - mouse_events: 1; - scale: 1; - dragable { - x: 0 0 0; - y: 1 1 0; - confine: "sb_vbar_base"; - } - description { - state: "default" 0.0; - min: 9 17; - rel1 { - relative: 0.5 0.5; - offset: -1 0; - to: "sb_vbar_base"; - } - rel2 { - relative: 0.5 0.5; - offset: -1 0; - to: "sb_vbar_base"; - } - image { - normal: "O/bt_sm_base2.png"; - border: 6 6 6 6; - } - } - description { - state: "clicked" 0.0; - inherit: "default" 0.0; - image.normal: "O/bt_sm_base1.png"; - } - } - part { - name: "sb_vbar_over1"; - clip_to: "sb_vbar"; - mouse_events: 0; - description { - state: "default" 0.0; - rel1.to: "e.dragable.vbar"; - rel2.relative: 1.0 0.5; - rel2.to: "e.dragable.vbar"; - image { - normal: "O/bt_sm_hilight.png"; - border: 6 6 6 0; - } - color: 180 180 180 255; - } - } - part { - name: "sb_vbar_over2"; - clip_to: "sb_vbar"; - mouse_events: 0; - description { - state: "default" 0.0; - rel1.to: "e.dragable.vbar"; - rel2.to: "e.dragable.vbar"; - image { - normal: "O/bt_sm_shine.png"; - border: 6 6 6 0; - } - color: 180 180 180 255; - } - } - part { - name: "sb_vbar_a1"; - type: RECT; - clip_to: "sb_vbar"; - mouse_events: 1; - description { - state: "default" 0.0; - min: 9 17; - align: 0.5 0.0; - /* aspect: 1.0 1.0; */ - aspect_preference: HORIZONTAL; - color: 0 0 0 0; - rel1 { - to: "sb_vbar"; - relative: 0.0 0.0; - offset: 0 0; - } - rel2 { - to: "sb_vbar"; - relative: 1.0 0.0; - offset: -1 0; - } - } - } - part { - name: "sb_vbar_a2"; - type: RECT; - clip_to: "sb_vbar"; - mouse_events: 1; - description { - state: "default" 0.0; - min: 9 17; - align: 0.5 1.0; - /* aspect: 1.0 1.0; */ - aspect_preference: HORIZONTAL; - color: 0 0 0 0; - rel1 { - to: "sb_vbar"; - relative: 0.0 1.0; - offset: 0 0; - } - rel2 { - to: "sb_vbar"; - relative: 1.0 1.0; - offset: -1 0; - } - } - } - } - programs { - program { - name: "sb_vbar_show"; - signal: "e,action,show,vbar"; - source: "e"; - action: STATE_SET "default" 0.0; - target: "sb_vbar"; - } - program { - name: "sb_vbar_hide"; - signal: "e,action,hide,vbar"; - source: "e"; - action: STATE_SET "hidden" 0.0; - target: "sb_vbar"; - } - program { - name: "sb_vbar_a1_down2"; - signal: "mouse,down,1"; - source: "sb_vbar_a1"; - action: DRAG_VAL_STEP 0.0 -1.0; - target: "e.dragable.vbar"; - } - program { - name: "sb_vbar_a2_down2"; - signal: "mouse,down,1"; - source: "sb_vbar_a2"; - action: DRAG_VAL_STEP 0.0 1.0; - target: "e.dragable.vbar"; - } - program { - name: "sb_vbar_p1_down"; - signal: "mouse,down,1"; - source: "sb_vbar_p1"; - action: DRAG_VAL_PAGE 0.0 -1.0; - target: "e.dragable.vbar"; - } - program { - name: "sb_vbar_p2_down"; - signal: "mouse,down,1"; - source: "sb_vbar_p2"; - action: DRAG_VAL_PAGE 0.0 1.0; - target: "e.dragable.vbar"; - } - program { - name: "sb_vbar_down"; - signal: "mouse,down,1"; - source: "e.dragable.vbar"; - action: STATE_SET "clicked" 0.0; - target: "e.dragable.vbar"; - } - program { - name: "sb_vbar_up"; - signal: "mouse,up,1"; - source: "e.dragable.vbar"; - action: STATE_SET "default" 0.0; - target: "e.dragable.vbar"; - } - } - } - - group { - name: "e/modules/everything/textblock"; - styles { - style { - name: "everything_textblock_style"; - base: "font=Sans font_size=10 align=left color=#000"; - tag: "hilight" "+ font=Sans:style=Bold color=#0c0c0c"; - tag: "b" "+ font=Sans:style=Bold font_size=9"; - tag: "br" "\n"; - tag: "/title" "- \n \n"; - } - } - parts { - part { - name: "e.textblock.text"; - type: TEXTBLOCK; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - rel1.offset: 4 4; - rel2.offset: -5 -5; - text { - style: "everything_textblock_style"; - min: 1 1; - } - } - } - } - } - - group { - name: "e/modules/everything/gadget"; - max: 128 128; - parts { - - part { - name: "icon"; - mouse_events: 0; - description { - state: "default" 0.0; - aspect: 1.0 1.0; - aspect_preference: BOTH; - image.normal: "O/logo_white_128.png"; - } - description { - state: "active" 0.0; - inherit: "default" 0.0; - visible: 0; - color: 255 255 255 0; - } - } - - part { - name: "e.swallow.icon"; - type: SWALLOW; - mouse_events: 0; - description { - state: "default" 0.0; - aspect: 1.0 1.0; - aspect_preference: BOTH; - visible: 0; - } - description { - state: "active" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 0; - } - } - - part { - name: "event"; - type: RECT; - mouse_events: 1; - description { - state: "default" 0.0; - color: 0 0 0 0; - rel1 { - relative: 0.0 0.0; - offset: 0 0; - } - rel2 { - relative: 1.0 1.0; - offset: -1 -1; - } - } - } - } - programs { - program { - name: "on"; - signal: "e,state,icon,plugin"; - source: "e"; - action: STATE_SET "active" 0.0; - target: "e.swallow.icon"; - target: "icon"; - } - program { - name: "off"; - signal: "e,state,icon,default"; - source: "e"; - action: STATE_SET "default" 0.0; - target: "e.swallow.icon"; - target: "icon"; - } - } - } - diff --git a/data/themes/edc/O/fontpreview.edc b/data/themes/edc/O/fontpreview.edc deleted file mode 100644 index 3a4c3a4b8..000000000 --- a/data/themes/edc/O/fontpreview.edc +++ /dev/null @@ -1,26 +0,0 @@ - /* e/widgets/fontpreview is used in the Font Config dialog */ - group { - name: "e/widgets/fontpreview"; - parts { - part { - name: "e.fontpreview.text"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - color_class: "entry_text"; - rel1.offset: 6 6; - rel2.offset: -7 -7; - text { - text: "The quick brown fox jumped over YA MUM!"; - font: "Sans"; - size: 10; - min: 1 1; - align: 0.5 0.5; - text_class: "_e_font_preview"; - } - } - } - } - } diff --git a/data/themes/edc/O/gadman.edc b/data/themes/edc/O/gadman.edc deleted file mode 100644 index f9cb9b5da..000000000 --- a/data/themes/edc/O/gadman.edc +++ /dev/null @@ -1,1202 +0,0 @@ - group { - name: "e/gadman/full_bg"; - parts { - part { - name: "bg"; - type: RECT; - mouse_events: 0; - description { - state: "default" 0.0; - color: 0 0 0 0; - } - description { - state: "visible" 0.0; - color: 0 0 0 128; - } - } - part { - name: "custom_bg"; - type: RECT; - description { - state: "default" 0.0; - color: 255 255 255 0; - } - description { - state: "visible" 0.0; - color: 255 255 255 200; - } - } - part { - name: "e.swallow.bg"; - type: SWALLOW; - clip_to: "custom_bg"; - description { - state: "default" 0.0; - } - } - part { - name: "grabber"; - type: RECT; - mouse_events: 1; - repeat_events: 1; - description { - state: "default" 0.0; - color: 0 0 0 0; - } - } - } - programs { - program { - name: "show"; - signal: "e,state,visibility,show"; - source: "e"; - action: STATE_SET "visible" 0.0; - transition: LINEAR 0.4; - target: "bg"; - } - program { - name: "show_now"; - signal: "e,state,visibility,show,now"; - source: "e"; - action: STATE_SET "visible" 0.0; - transition: LINEAR 0.0; - target: "bg"; - } - program { - name: "hide"; - signal: "e,state,visibility,hide"; - source: "e"; - action: STATE_SET "default" 0.0; - transition: LINEAR 0.4; - target: "bg"; - after: "hide_stop"; - } - program { - name: "hide_now"; - signal: "e,state,visibility,hide,now"; - source: "e"; - action: STATE_SET "default" 0.0; - transition: LINEAR 0.0; - target: "bg"; - after: "hide_stop"; - } - program { - name: "show_custom"; - signal: "e,state,visibility,show,custom"; - source: "e"; - action: STATE_SET "visible" 0.0; - transition: LINEAR 0.4; - target: "custom_bg"; - } - program { - name: "show_custom_now"; - signal: "e,state,visibility,show,custom,now"; - source: "e"; - action: STATE_SET "visible" 0.0; - transition: LINEAR 0.0; - target: "custom_bg"; - } - program { - name: "hide_custom"; - signal: "e,state,visibility,hide,custom"; - source: "e"; - action: STATE_SET "default" 0.0; - transition: LINEAR 0.4; - target: "custom_bg"; - after: "hide_stop"; - } - program { - name: "hide_custom_now"; - signal: "e,state,visibility,hide,custom,now"; - source: "e"; - action: STATE_SET "default" 0.0; - transition: LINEAR 0.0; - target: "custom_bg"; - after: "hide_stop"; - } - program { - name: "hide_stop"; - action: SIGNAL_EMIT "e,action,hide,stop" ""; - } - } - } - group { - name: "e/gadman/frame"; - images.image: "O/inset_raised.png" COMP; - parts { - part { - name: "bg_clip"; - type: RECT; - mouse_events: 0; - description { - state: "default" 0.0; - rel1.to: "overlay"; - rel2.to: "overlay"; - color: 255 255 255 255; - } - description { - state: "plain" 0.0; - rel1.relative: 0.0 0.0; - rel2.relative: 0.0 0.0; - color: 255 255 255 255; - } - } - part { - name: "items_clip"; - type: RECT; - mouse_events: 0; - description { - state: "default" 0.0; - rel1 { - to: "overlay"; - offset: 4 4; - } - rel2 { - to: "overlay"; - offset: -5 -5; - } - color: 255 255 255 255; - } - description { - state: "hidden" 0.0; - inherit: "default" 0.0; - color: 255 255 255 0; - } - } - part { - name: "e.swallow.content"; - type: SWALLOW; - clip_to: "items_clip"; - description { - state: "default" 0.0; - rel1.offset: 4 4; - rel2.offset: -5 -5; - color: 255 255 255 255; - } - description { - state: "hidden" 0.0; - rel1.relative: 0.5 0.5; - rel2.relative: 0.5 0.5; - color: 255 255 255 0; - } - } - part { - name: "overlay"; - mouse_events: 0; - clip_to: "bg_clip"; - description { - state: "default" 0.0; - image { - normal: "O/inset_raised.png"; - border: 7 7 7 7; - middle: 0; - } - fill.smooth: 0; - color: 255 255 255 255; - } - description { - state: "hidden" 0.0; - inherit: "default" 0.0; - rel1.relative: 0.5 0.5; - rel2.relative: 0.5 0.5; - color: 255 255 255 0; - } - } - } - programs { - program { - name: "inset"; - signal: "e,state,visibility,inset"; - source: "e"; - action: STATE_SET "default" 0.0; - target: "bg_clip"; - } - program { - name: "plain"; - signal: "e,state,visibility,plain"; - source: "e"; - action: STATE_SET "plain" 0.0; - target: "bg_clip"; - } - program { - name: "hide"; - signal: "e,state,visibility,hide"; - source: "e"; - action: STATE_SET "hidden" 0.0; - transition: ACCELERATE 0.4; - target: "items_clip"; - target: "overlay"; - target: "e.swallow.content"; - } - program { - name: "hide_now"; - signal: "e,state,visibility,hide,now"; - source: "e"; - action: STATE_SET "hidden" 0.0; - transition: LINEAR 0.0; - target: "items_clip"; - target: "overlay"; - target: "e.swallow.content"; - } - program { - name: "show"; - signal: "e,state,visibility,show"; - source: "e"; - action: STATE_SET "default" 0.0; - transition: DECELERATE 0.4; - target: "items_clip"; - target: "overlay"; - target: "e.swallow.content"; - } - program { - name: "show_now"; - signal: "e,state,visibility,show,now"; - source: "e"; - action: STATE_SET "default" 0.0; - transition: LINEAR 0.0; - target: "items_clip"; - target: "overlay"; - target: "e.swallow.content"; - } - } - } - group { - name: "e/gadman/control"; - images { - image: "O/gadman_frame.png" COMP; - image: "O/gadman_border.png" COMP; - image: "O/gadman_top.png" COMP; - image: "O/gadman_bottom.png" COMP; - image: "O/gadman_left.png" COMP; - image: "O/gadman_right.png" COMP; - } - parts { - part { - name: "hclip"; - mouse_events: 0; - type: RECT; - description { - state: "default" 0.0; - visible: 1; - rel1.offset: -85 -85; - rel2.offset: 74 74; - } - description { - state: "disabled" 0.0; - inherit: "default" 0.0; - visible : 0; - } - } - part { - name: "vclip"; - mouse_events: 0; - type: RECT; - description { - state: "default" 0.0; - visible: 1; - rel1.offset: -85 -85; - rel2.offset: 84 84; - } - description { - state: "disabled" 0.0; - inherit: "default" 0.0; - visible : 0; - } - } - part { - name: "overlay"; - mouse_events: 1; - description { - state: "default" 0.0; - rel1 { - to: "border"; - offset: 4 4; - } - rel2 { - to: "border"; - offset: -5 -5; - } - image.normal: "O/gadman_frame.png"; - fill.size.relative: 0 0; - fill.size.offset: 24 24; - } - } - part { - name: "left_arrow1"; - description { - state: "default" 0.0; - aspect: 1.0 1.0; - max: 12 24; - rel1 { - relative: 0.0 0.5; - offset: 3 0; - } - rel2 { - relative: 0.0 0.5; - offset: 3 -1; - } - image.normal: "O/gadman_left.png"; - } - description { - state: "1" 0.0; - inherit: "default" 0.0; - rel1 { - relative: 0.0 0.5; - offset: -32 -12; - } - rel2 { - relative: 0.0 0.5; - offset: -18 11; - } - } - description { - state: "2" 0.0; - inherit: "default" 0.0; - rel1 { - relative: 0.0 0.5; - offset: -24 -6; - } - rel2 { - relative: 0.0 0.5; - offset: -10 5; - } - } - } - part { - name: "left_arrow2"; - description { - state: "default" 0.0; - aspect: 1.0 1.0; - max: 12 24; - rel1 { - relative: 0.0 0.5; - offset: 3 0; - } - rel2 { - relative: 0.0 0.5; - offset: 3 -1; - } - image.normal: "O/gadman_left.png"; - } - description { - state: "1" 0.0; - inherit: "default" 0.0; - rel1 { - relative: 0.0 0.5; - offset: -32 -12; - } - rel2 { - relative: 0.0 0.5; - offset: -18 11; - } - } - description { - state: "2" 0.0; - inherit: "default" 0.0; - rel1 { - relative: 0.0 0.5; - offset: -24 -6; - } - rel2 { - relative: 0.0 0.5; - offset: -10 5; - } - } - } - part { - name: "right_arrow1"; - description { - state: "default" 0.0; - aspect: 1.0 1.0; - max: 12 24; - rel1 { - relative: 1.0 0.5; - offset: -3 0; - } - rel2 { - relative: 1.0 0.5; - offset: -3 -1; - } - image.normal: "O/gadman_right.png"; - } - description { - state: "1" 0.0; - inherit: "default" 0.0; - rel1 { - relative: 1.0 0.5; - offset: 32 -12; - } - rel2 { - relative: 1.0 0.5; - offset: 18 11; - } - } - description { - state: "2" 0.0; - inherit: "default" 0.0; - rel1 { - relative: 1.0 0.5; - offset: 24 -6; - } - rel2 { - relative: 1.0 0.5; - offset: 10 5; - } - } - } - part { - name: "right_arrow2"; - description { - state: "default" 0.0; - aspect: 1.0 1.0; - max: 12 24; - rel1 { - relative: 1.0 0.5; - offset: -3 0; - } - rel2 { - relative: 1.0 0.5; - offset: -3 -1; - } - image.normal: "O/gadman_right.png"; - } - description { - state: "1" 0.0; - inherit: "default" 0.0; - rel1 { - relative: 1.0 0.5; - offset: 32 -12; - } - rel2 { - relative: 1.0 0.5; - offset: 18 11; - } - } - description { - state: "2" 0.0; - inherit: "default" 0.0; - rel1 { - relative: 1.0 0.5; - offset: 24 -6; - } - rel2 { - relative: 1.0 0.5; - offset: 10 5; - } - } - } - part { - name: "top_arrow1"; - description { - state: "default" 0.0; - aspect: 1.0 1.0; - max: 24 12; - rel1 { - relative: 0.5 0.0; - offset: 0 3; - } - rel2 { - relative: 0.5 0.0; - offset: -1 3; - } - image.normal: "O/gadman_top.png"; - } - description { - state: "1" 0.0; - inherit: "default" 0.0; - rel1 { - relative: 0.5 0.0; - offset: -12 -32; - } - rel2 { - relative: 0.5 0.0; - offset: 11 -18; - } - } - description { - state: "2" 0.0; - inherit: "default" 0.0; - rel1 { - relative: 0.5 0.0; - offset: -6 -24; - } - rel2 { - relative: 0.5 0.0; - offset: 5 -9; - } - } - } - part { - name: "top_arrow2"; - description { - state: "default" 0.0; - aspect: 1.0 1.0; - max: 24 12; - rel1 { - relative: 0.5 0.0; - offset: 0 3; - } - rel2 { - relative: 0.5 0.0; - offset: -1 3; - } - image.normal: "O/gadman_top.png"; - } - description { - state: "1" 0.0; - inherit: "default" 0.0; - rel1 { - relative: 0.5 0.0; - offset: -12 -32; - } - rel2 { - relative: 0.5 0.0; - offset: 11 -18; - } - } - description { - state: "2" 0.0; - inherit: "default" 0.0; - rel1 { - relative: 0.5 0.0; - offset: -6 -24; - } - rel2 { - relative: 0.5 0.0; - offset: 5 -9; - } - } - } - part { - name: "bottom_arrow1"; - description { - state: "default" 0.0; - aspect: 1.0 1.0; - max: 24 12; - rel1 { - relative: 0.5 1.0; - offset: 0 -3; - } - rel2 { - relative: 0.5 1.0; - offset: -1 -3; - } - image.normal: "O/gadman_bottom.png"; - } - description { - state: "1" 0.0; - inherit: "default" 0.0; - rel1 { - relative: 0.5 1.0; - offset: -12 18; - } - rel2 { - relative: 0.5 1.0; - offset: 11 31; - } - } - description { - state: "2" 0.0; - inherit: "default" 0.0; - rel1 { - relative: 0.5 1.0; - offset: -6 10; - } - rel2 { - relative: 0.5 1.0; - offset: 5 24; - } - } - } - part { - name: "bottom_arrow2"; - description { - state: "default" 0.0; - aspect: 1.0 1.0; - max: 24 12; - rel1 { - relative: 0.5 1.0; - offset: 0 -3; - } - rel2 { - relative: 0.5 1.0; - offset: -1 -3; - } - image.normal: "O/gadman_bottom.png"; - } - description { - state: "1" 0.0; - inherit: "default" 0.0; - rel1 { - relative: 0.5 1.0; - offset: -12 18; - } - rel2 { - relative: 0.5 1.0; - offset: 11 31; - } - } - description { - state: "2" 0.0; - inherit: "default" 0.0; - rel1 { - relative: 0.5 1.0; - offset: -6 10; - } - rel2 { - relative: 0.5 1.0; - offset: 5 24; - } - } - } - part { - name: "v1"; - mouse_events: 1; - clip_to: "vclip"; - description { - state: "default" 0.0; - rel2.relative: 1.0 0.0; - rel2.offset: -1 9; - } - } - part { - name: "v2"; - mouse_events: 1; - clip_to: "vclip"; - description { - state: "default" 0.0; - rel1.relative: 0.0 1.0; - rel1.offset: 0 -8; - } - } - part { - name: "h1"; - mouse_events: 1; - clip_to: "hclip"; - description { - state: "default" 0.0; - rel2.relative: 0.0 1.0; - rel2.offset: 9 -1; - } - } - part { - name: "h2"; - mouse_events: 1; - clip_to: "hclip"; - description { - state: "default" 0.0; - rel1.relative: 1.0 0.0; - rel1.offset: -8 0; - } - } - part { - name: "border"; - mouse_events: 1; - repeat_events: 1; - description { - state: "default" 0.0; - image { - normal: "O/gadman_border.png"; - border: 10 10 10 10; - middle: 0; - } - fill.smooth: 0; - } - } - } - programs { - program { - name: "api_hsize_on"; - signal: "e,state,hsize,on"; - source: "e"; - action: STATE_SET "default" 0.0; - target: "hclip"; - } - program { - name: "api_hsize_off"; - signal: "e,state,hsize,off"; - source: "e"; - action: STATE_SET "disabled" 0.0; - target: "hclip"; - } - program { - name: "api_vsize_on"; - signal: "e,state,vsize,on"; - source: "e"; - action: STATE_SET "default" 0.0; - target: "vclip"; - } - program { - name: "api_vsize_off"; - signal: "e,state,vsize,off"; - source: "e"; - action: STATE_SET "disabled" 0.0; - target: "vclip"; - } - /* - program { - name: "api_move_on"; - signal: "e,state,move,on"; - source: "e"; - } - program { - name: "api_move_off"; - signal: "e,state,move,off"; - source: "e"; - } - program { - name: "api_active"; - signal: "e,state,focused"; - source: "e"; - } - program { - name: "api_inactive"; - signal: "e,state,unfocused"; - source: "e"; - } - */ - // MOVE PROGRAMS - program { - name: "mv_down"; - signal: "mouse,down,1"; - source: "overlay"; - action: SIGNAL_EMIT "e,action,move,start" ""; - } - program { - name: "mv_up"; - signal: "mouse,up,1"; - source: "overlay"; - action: SIGNAL_EMIT "e,action,move,stop" ""; - } - program { - name: "mv_move"; - signal: "mouse,move"; - source: "overlay"; - action: SIGNAL_EMIT "e,action,move,go" ""; - } - program { - name: "h1_down1"; - signal: "mouse,down,1"; - source: "h1"; - action: STATE_SET "clicked" 0.0; - target: "h1"; - } - program { - name: "h1_up1"; - signal: "mouse,up,1"; - source: "h1"; - action: STATE_SET "default" 0.0; - target: "h1"; - } - program { - name: "h1_down2"; - signal: "mouse,down,1"; - source: "h1"; - action: SIGNAL_EMIT "e,action,resize,left,start" ""; - } - program { - name: "h1_up2"; - signal: "mouse,up,1"; - source: "h1"; - action: SIGNAL_EMIT "e,action,resize,left,stop" ""; - } - program { - name: "h1_move"; - signal: "mouse,move"; - source: "h1"; - action: SIGNAL_EMIT "e,action,resize,left,go" ""; - } - program { - name: "h2_down1"; - signal: "mouse,down,1"; - source: "h2"; - action: STATE_SET "clicked" 0.0; - target: "h2"; - } - program { - name: "h2_up1"; - signal: "mouse,up,1"; - source: "h2"; - action: STATE_SET "default" 0.0; - target: "h2"; - } - program { - name: "h2_down2"; - signal: "mouse,down,1"; - source: "h2"; - action: SIGNAL_EMIT "e,action,resize,right,start" ""; - } - program { - name: "h2_up2"; - signal: "mouse,up,1"; - source: "h2"; - action: SIGNAL_EMIT "e,action,resize,right,stop" ""; - } - program { - name: "h2_move"; - signal: "mouse,move"; - source: "h2"; - action: SIGNAL_EMIT "e,action,resize,right,go" ""; - } - program { - name: "v1_down1"; - signal: "mouse,down,1"; - source: "v1"; - action: STATE_SET "clicked" 0.0; - target: "v1"; - } - program { - name: "v1_up1"; - signal: "mouse,up,1"; - source: "v1"; - action: STATE_SET "default" 0.0; - target: "v1"; - } - program { - name: "v1_down2"; - signal: "mouse,down,1"; - source: "v1"; - action: SIGNAL_EMIT "e,action,resize,up,start" ""; - } - program { - name: "v1_up2"; - signal: "mouse,up,1"; - source: "v1"; - action: SIGNAL_EMIT "e,action,resize,up,stop" ""; - } - program { - name: "v1_move"; - signal: "mouse,move"; - source: "v1"; - action: SIGNAL_EMIT "e,action,resize,up,go" ""; - } - program { - name: "v2_down1"; - signal: "mouse,down,1"; - source: "v2"; - action: STATE_SET "clicked" 0.0; - target: "v2"; - } - program { - name: "v2_up1"; - signal: "mouse,up,1"; - source: "v2"; - action: STATE_SET "default" 0.0; - target: "v2"; - } - program { - name: "v2_down2"; - signal: "mouse,down,1"; - source: "v2"; - action: SIGNAL_EMIT "e,action,resize,down,start" ""; - } - program { - name: "v2_up2"; - signal: "mouse,up,1"; - source: "v2"; - action: SIGNAL_EMIT "e,action,resize,down,stop" ""; - } - program { - name: "v2_move"; - signal: "mouse,move"; - source: "v2"; - action: SIGNAL_EMIT "e,action,resize,down,go" ""; - } - // LEFT ARROW - program { - name: "start_left1"; - signal: "mouse,in"; - source: "h1"; - after: "left1_1"; - } - program { - name: "start_left2"; - signal: "mouse,in"; - source: "h1"; - in: 0.4 0.0; - after: "left2_1"; - } - program { - name: "left1_1"; - action: STATE_SET "1" 0.0; - target: "left_arrow1"; - transition: LINEAR 0.4; - after: "left1_2"; - } - program { - name: "left1_2"; - action: STATE_SET "2" 0.0; - target: "left_arrow1"; - transition: LINEAR 0.4; - after: "left1_r"; - } - program { - name: "left1_r"; - action: STATE_SET "default" 0.0; - target: "left_arrow1"; - after: "left1_1"; - } - program { - name: "left2_1"; - action: STATE_SET "1" 0.0; - target: "left_arrow2"; - transition: LINEAR 0.4; - after: "left2_2"; - } - program { - name: "left2_2"; - action: STATE_SET "2" 0.0; - target: "left_arrow2"; - transition: LINEAR 0.4; - after: "left2_r"; - } - program { - name: "left2_r"; - action: STATE_SET "default" 0.0; - target: "left_arrow2"; - after: "left2_1"; - } - program { - name: "stop_left1"; - signal: "mouse,out"; - source: "h1"; - action: ACTION_STOP; - target: "left1_1"; - target: "left1_2"; - target: "left1_r"; - target: "left2_1"; - target: "left2_2"; - target: "left2_r"; - target: "start_left2"; - after: "stop_left2"; - } - program { - name: "stop_left2"; - action: STATE_SET "default" 0.0; - target: "left_arrow1"; - target: "left_arrow2"; - } - // RIGHT ARROW - program { - name: "start_right1"; - signal: "mouse,in"; - source: "h2"; - after: "right1_1"; - } - program { - name: "start_right2"; - signal: "mouse,in"; - source: "h2"; - in: 0.4 0.0; - after: "right2_1"; - } - program { - name: "right1_1"; - action: STATE_SET "1" 0.0; - target: "right_arrow1"; - transition: LINEAR 0.4; - after: "right1_2"; - } - program { - name: "right1_2"; - action: STATE_SET "2" 0.0; - target: "right_arrow1"; - transition: LINEAR 0.4; - after: "right1_r"; - } - program { - name: "right1_r"; - action: STATE_SET "default" 0.0; - target: "right_arrow1"; - after: "right1_1"; - } - program { - name: "right2_1"; - action: STATE_SET "1" 0.0; - target: "right_arrow2"; - transition: LINEAR 0.4; - after: "right2_2"; - } - program { - name: "right2_2"; - action: STATE_SET "2" 0.0; - target: "right_arrow2"; - transition: LINEAR 0.4; - after: "right2_r"; - } - program { - name: "right2_r"; - action: STATE_SET "default" 0.0; - target: "right_arrow2"; - after: "right2_1"; - } - program { - name: "stop_right1"; - signal: "mouse,out"; - source: "h2"; - action: ACTION_STOP; - target: "right1_1"; - target: "right1_2"; - target: "right1_r"; - target: "right2_1"; - target: "right2_2"; - target: "right2_r"; - target: "start_right2"; - after: "stop_right2"; - } - program { - name: "stop_right2"; - action: STATE_SET "default" 0.0; - target: "right_arrow1"; - target: "right_arrow2"; - } - // TOP ARROW - program { - name: "start_top1"; - signal: "mouse,in"; - source: "v1"; - after: "top1_1"; - } - program { - name: "start_top2"; - signal: "mouse,in"; - source: "v1"; - in: 0.4 0.0; - after: "top2_1"; - } - program { - name: "top1_1"; - action: STATE_SET "1" 0.0; - target: "top_arrow1"; - transition: LINEAR 0.4; - after: "top1_2"; - } - program { - name: "top1_2"; - action: STATE_SET "2" 0.0; - target: "top_arrow1"; - transition: LINEAR 0.4; - after: "top1_r"; - } - program { - name: "top1_r"; - action: STATE_SET "default" 0.0; - target: "top_arrow1"; - after: "top1_1"; - } - program { - name: "top2_1"; - action: STATE_SET "1" 0.0; - target: "top_arrow2"; - transition: LINEAR 0.4; - after: "top2_2"; - } - program { - name: "top2_2"; - action: STATE_SET "2" 0.0; - target: "top_arrow2"; - transition: LINEAR 0.4; - after: "top2_r"; - } - program { - name: "top2_r"; - action: STATE_SET "default" 0.0; - target: "top_arrow2"; - after: "top2_1"; - } - program { - name: "stop_top1"; - signal: "mouse,out"; - source: "v1"; - action: ACTION_STOP; - target: "top1_1"; - target: "top1_2"; - target: "top1_r"; - target: "top2_1"; - target: "top2_2"; - target: "top2_r"; - target: "start_top2"; - after: "stop_top2"; - } - program { - name: "stop_top2"; - action: STATE_SET "default" 0.0; - target: "top_arrow1"; - target: "top_arrow2"; - } - // BOTTOM ARROW - program { - name: "start_bottom1"; - signal: "mouse,in"; - source: "v2"; - after: "bottom1_1"; - } - program { - name: "start_bottom2"; - signal: "mouse,in"; - source: "v2"; - in: 0.4 0.0; - after: "bottom2_1"; - } - program { - name: "bottom1_1"; - action: STATE_SET "1" 0.0; - target: "bottom_arrow1"; - transition: LINEAR 0.4; - after: "bottom1_2"; - } - program { - name: "bottom1_2"; - action: STATE_SET "2" 0.0; - target: "bottom_arrow1"; - transition: LINEAR 0.4; - after: "bottom1_r"; - } - program { - name: "bottom1_r"; - action: STATE_SET "default" 0.0; - target: "bottom_arrow1"; - after: "bottom1_1"; - } - program { - name: "bottom2_1"; - action: STATE_SET "1" 0.0; - target: "bottom_arrow2"; - transition: LINEAR 0.4; - after: "bottom2_2"; - } - program { - name: "bottom2_2"; - action: STATE_SET "2" 0.0; - target: "bottom_arrow2"; - transition: LINEAR 0.4; - after: "bottom2_r"; - } - program { - name: "bottom2_r"; - action: STATE_SET "default" 0.0; - target: "bottom_arrow2"; - after: "bottom2_1"; - } - program { - name: "stop_bottom1"; - signal: "mouse,out"; - source: "v2"; - action: ACTION_STOP; - target: "bottom1_1"; - target: "bottom1_2"; - target: "bottom1_r"; - target: "bottom2_1"; - target: "bottom2_2"; - target: "bottom2_r"; - target: "start_bottom2"; - after: "stop_bottom2"; - } - program { - name: "stop_bottom2"; - action: STATE_SET "default" 0.0; - target: "bottom_arrow1"; - target: "bottom_arrow2"; - } - } - } diff --git a/data/themes/edc/O/ibarbox.edc b/data/themes/edc/O/ibarbox.edc deleted file mode 100644 index 15bee16f6..000000000 --- a/data/themes/edc/O/ibarbox.edc +++ /dev/null @@ -1,892 +0,0 @@ - group { - name: "e/modules/ibox/icon"; - alias: "e/modules/ibar/icon"; - images.image: "O/exclam.png" COMP; - data { - item: "raise_on_hilight" "0"; - // 1 or 0 if u want an icon holder to raise when the mouse (or keyboard) hilights it - // item: "item_list" "item item2 item3"; - } - parts { - part { - name: "item_clip"; - type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - color: 255 255 255 255; - } - description { state: "disabled" 0.0; - color: 255 255 255 64; - } - } - part { - name: "e.swallow.content"; - type: SWALLOW; - clip_to: "item_clip"; - description { state: "default" 0.0; - rel1.offset: 2 2; - rel2.offset: -3 -3; - } - description { state: "bigger" 0.0; - } - } - part { - name: "urgent_area"; - type: RECT; - description { - state: "default" 0.0; - visible: 0; - } - description { - state: "uw0" 0.0; - inherit: "default" 0.0; - rel1.offset: -3 -2; - rel2.offset: -4 -3; - } - description { - state: "uw1" 0.0; - inherit: "default" 0.0; - rel1.offset: 5 -2; - rel2.offset: 4 -3; - } - description { - state: "uw2" 0.0; - inherit: "default" 0.0; - rel1.offset: -1 4; - rel2.offset: -2 3; - } - description { - state: "uw3" 0.0; - inherit: "default" 0.0; - rel1.offset: -2 -1; - rel2.offset: -3 -2; - } - description { - state: "uw4" 0.0; - inherit: "default" 0.0; - rel1.offset: -4 1; - rel2.offset: -5 0; - } - } - part { - name: "urgent"; - description { - state: "default" 0.0; - visible: 0; - rel1.to: "urgent_area"; - rel2.to: "urgent_area"; - image.normal: "O/exclam.png"; - color: 255 255 255 0; - } - description { - state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - description { - state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 1; - rel1 { - relative: -0.5 -0.5; - } - rel2 { - relative: 1.5 1.5; - } - color: 255 255 255 0; - } - } - part { - name: "over"; - type: RECT; - repeat_events: 0; - description { - state: "default" 0.0; - color: 0 0 0 0; - } - } - } - programs { - program { - name: "starting"; - signal: "e,state,starting"; - source: "e"; - action: STATE_SET "disabled" 0.0; - target: "item_clip"; - } - program { - name: "started"; - signal: "e,state,started"; - source: "e"; - action: STATE_SET "default" 0.0; - target: "item_clip"; - } - program { - name: "hover_out"; - signal: "mouse,out"; - source: "over"; - action: STATE_SET "default" 0.0; - transition: LINEAR 0.2; - target: "e.swallow.content"; - } - program { - name: "set_urgent"; - signal: "e,state,urgent"; - source: "e"; - action: STATE_SET "visible" 0.0; - transition: LINEAR 0.2; - target: "urgent"; - } - program { - name: "set_not_urgent"; - signal: "e,state,not_urgent"; - source: "e"; - action: STATE_SET "default" 0.0; - transition: LINEAR 0.6; - target: "urgent"; - } - program { - name: "urgentw0"; - signal: "e,state,urgent"; - source: "e"; - action: STATE_SET "default" 0.0; - target: "urgent_area"; - transition: DECELERATE 0.1; - after: "urgentw1"; - } - program { - name: "urgentw1"; - action: STATE_SET "uw1" 0.0; - target: "urgent_area"; - transition: DECELERATE 0.1; - after: "urgentw2"; - } - program { - name: "urgentw2"; - action: STATE_SET "uw2" 0.0; - target: "urgent_area"; - transition: DECELERATE 0.1; - after: "urgentw3"; - } - program { - name: "urgentw3"; - action: STATE_SET "uw3" 0.0; - target: "urgent_area"; - transition: DECELERATE 0.1; - after: "urgentw4"; - } - program { - name: "urgentw4"; - action: STATE_SET "uw4" 0.0; - target: "urgent_area"; - transition: DECELERATE 0.1; - after: "urgentw0"; - } - program { - name: "not_urgent"; - signal: "e,state,not_urgent"; - source: "e"; - action: ACTION_STOP; - target: "urgentw0"; - target: "urgentw1"; - target: "urgentw2"; - target: "urgentw3"; - target: "urgentw4"; - after: "not_urgent2"; - } - program { - name: "not_urgent2"; - action: STATE_SET "default" 0.0; - target: "urgent"; - target: "urgent_area"; - } - } - } - group { - name: "e/modules/ibox/icon_overlay"; - alias: "e/modules/ibar/icon_overlay"; - data { - // item: "item_list", "item item2 item3"; - } - script { - public urgent; - } - parts { - part { - name: "base"; - type: RECT; - mouse_events: 0; - description { - state: "default" 0.0; - color: 255 255 255 0; - } - } - part { - name: "background"; - type: RECT; - mouse_events: 0; - description { - state: "default" 0.0; - visible: 0; - rel1.to: "base"; - rel2.to: "base"; - color: 255 255 255 0; - } - description { - state: "visible" 0.0; - visible: 1; - rel1.to: "base"; - rel2.to: "base"; - color: 255 255 255 255; - } - description { - state: "hidden" 0.0; - visible: 1; - rel1 { - relative: -0.5 -0.5; - to: "base"; - } - rel2 { - relative: 1.5 1.5; - to: "base"; - } - color: 255 255 255 0; - } - description { - state: "huge" 0.0; - visible: 1; - rel1 { - relative: -2.0 -2.0; - to: "base"; - } - rel2 { - relative: 3.0 3.0; - to: "base"; - } - color: 255 255 255 0; - } - } - part { - name: "e.swallow.content"; - type: SWALLOW; - clip_to: "background"; - description { - state: "default" 0.0; - rel1.to: "background"; - rel2.to: "background"; - } - } - part { - name: "urgent"; - description { - state: "default" 0.0; - visible: 0; - rel1.to: "base"; - rel2.to: "base"; - image.normal: "O/exclam.png"; - color: 255 255 255 0; - } - description { - state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - description { - state: "hidden" 0.0; - inherit: "default" 0.0; - visible: 1; - rel1 { - relative: -0.5 -0.5; - to: "base"; - } - rel2 { - relative: 1.5 1.5; - to: "base"; - } - color: 255 255 255 0; - } - } - part { - name: "e.text.label"; - type: TEXT; - effect: SOFT_SHADOW; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - rel1 { - relative: 0.0 1.0; - offset: 0 -1; - } - rel2 { - relative: 1.0 1.0; - offset: -1 -1; - } - color: 255 255 255 0; - color3: 0 0 0 0; - color_class: "module_label"; - text { - font: "Sans:style=Bold"; - size: 10; - min: 1 1; - align: 0.5 0.5; - text_class: "module_normal"; - } - } - description { - state: "visible" 0.0; - inherit: "default" 0.0; - rel1 { - relative: 0.0 0.0; - offset: 0 0; - } - rel2 { - relative: 1.0 1.0; - offset: -1 -1; - } - color: 255 255 255 255; - color3: 0 0 0 42; - } - } - } - programs { - program { - name: "go_active"; - signal: "e,state,focused"; - source: "e"; - action: STATE_SET "visible" 0.0; - target: "background"; - after: "go_active2"; - } - program { - name: "go_activeB"; - signal: "e,action,show,label"; - source: "e"; - action: STATE_SET "visible" 0.0; - transition: SINUSOIDAL 0.5; - target: "e.text.label"; - } - program { - name: "go_active2"; - action: STATE_SET "hidden" 0.0; - transition: LINEAR 0.5; - target: "background"; - after: "go_active"; - } - program { - name: "go_passive"; - signal: "e,state,unfocused"; - source: "e"; - action: ACTION_STOP; - target: "go_active"; - target: "go_active2"; - after: "go_passive2"; - } - program { - name: "go_passiveB"; - signal: "e,action,hide,label"; - source: "e"; - action: STATE_SET "default" 0.0; - transition: SINUSOIDAL 1.0; - target: "e.text.label"; - } - program { - name: "go_passive2"; - action: STATE_SET "default" 0.0; - target: "background"; - script { - if (get_int(urgent) == 1) { - run_program(PROGRAM:"go_urgent"); - } - } - } - program { - name: "init"; - signal: "load"; - source: ""; - script { - set_int(urgent, 0); - } - } - program { - name: "set_urgent"; - signal: "e,state,urgent"; - source: "e"; - script { - set_int(urgent, 1); - } - } - program { - name: "go_urgent"; - action: STATE_SET "visible" 0.0; - target: "background"; - target: "urgent"; - after: "go_urgent2"; - } - program { - name: "go_urgent2"; - action: STATE_SET "hidden" 0.0; - transition: LINEAR 0.5; - target: "background"; - target: "urgent"; - after: "go_urgent"; - } - program { - name: "unset_urgent"; - signal: "e,state,not_urgent"; - source: "e"; - script { - set_int(urgent, 0); - } - } - program { - name: "go_unurgent"; - signal: "e,state,not_urgent"; - source: "e"; - action: ACTION_STOP; - target: "go_urgent"; - target: "go_urgent2"; - after: "go_unurgent2"; - } - program { - name: "go_unurgent2"; - action: STATE_SET "default" 0.0; - transition: SINUSOIDAL 0.3; - target: "background"; - target: "urgent"; - } - program { - name: "exec_exec"; - signal: "e,action,exec"; - source: "e"; - after: "exec_start"; - } - program { - name: "exec_start"; - signal: "e,action,start"; - source: "e"; - action: ACTION_STOP; - target: "go_active"; - target: "go_active2"; - target: "go_passive"; - target: "go_passive2"; - target: "go_big"; - target: "go_big2"; - after: "go_big"; - } - program { - name: "go_big"; - action: STATE_SET "visible" 0.0; - target: "background"; - after: "go_big2"; - } - program { - name: "go_big2"; - action: STATE_SET "huge" 0.0; - transition: LINEAR 0.5; - target: "background"; - } - } - } - group { - name: "e/modules/ibox/drop"; - alias: "e/modules/ibar/drop"; - images.image: "O/inset_raised.png" COMP; - parts { - part { - name: "bg"; - mouse_events: 0; - description { - state: "default" 0.0; - image { - normal: "O/inset_raised.png"; - border: 7 7 7 7; - middle: 0; - } - } - } - } - } - group { - name: "e/modules/ibox/drop_overlay"; - alias: "e/modules/ibar/drop_overlay"; - images { - image: "O/gadman_top.png" COMP; - image: "O/gadman_bottom.png" COMP; - image: "O/gadman_left.png" COMP; - image: "O/gadman_right.png" COMP; - } - parts { - part { - name: "left_arrow1"; - description { - state: "default" 0.0; - aspect: 1.0 1.0; - aspect_preference: VERTICAL; - rel1.relative: -1.0 0.5; - rel2.relative: -1.0 0.5; - image.normal: "O/gadman_right.png"; - } - description { - state: "1" 0.0; - inherit: "default" 0.0; - rel1.relative: -0.8 0.2; - rel2.relative: -0.7 0.8; - } - description { - state: "2" 0.0; - inherit: "default" 0.0; - rel1.relative: 0.2 0.5; - rel2.relative: 0.2 0.5; - } - } - part { - name: "left_arrow2"; - description { - state: "default" 0.0; - aspect: 1.0 1.0; - aspect_preference: VERTICAL; - rel1.relative: -1.0 0.5; - rel2.relative: -1.0 0.5; - image.normal: "O/gadman_right.png"; - } - description { - state: "1" 0.0; - inherit: "default" 0.0; - rel1.relative: -0.8 0.2; - rel2.relative: -0.7 0.8; - } - description { - state: "2" 0.0; - inherit: "default" 0.0; - rel1.relative: 0.2 0.5; - rel2.relative: 0.2 0.5; - } - } - part { - name: "right_arrow1"; - description { - state: "default" 0.0; - aspect: 1.0 1.0; - aspect_preference: VERTICAL; - rel1.relative: 2.0 0.5; - rel2.relative: 2.0 0.5; - image.normal: "O/gadman_left.png"; - } - description { - state: "1" 0.0; - inherit: "default" 0.0; - rel1.relative: 1.8 0.2; - rel2.relative: 1.7 0.8; - } - description { - state: "2" 0.0; - inherit: "default" 0.0; - rel1.relative: 0.8 0.5; - rel2.relative: 0.8 0.5; - } - } - part { - name: "right_arrow2"; - description { - state: "default" 0.0; - aspect: 1.0 1.0; - aspect_preference: VERTICAL; - rel1.relative: 2.0 0.5; - rel2.relative: 2.0 0.5; - image.normal: "O/gadman_left.png"; - } - description { - state: "1" 0.0; - inherit: "default" 0.0; - rel1.relative: 1.8 0.2; - rel2.relative: 1.7 0.8; - } - description { - state: "2" 0.0; - inherit: "default" 0.0; - rel1.relative: 0.8 0.5; - rel2.relative: 0.8 0.5; - } - } - part { - name: "top_arrow1"; - description { - state: "default" 0.0; - aspect: 1.0 1.0; - aspect_preference: HORIZONTAL; - rel1.relative: 0.5 -1.0; - rel2.relative: 0.5 -1.0; - image.normal: "O/gadman_bottom.png"; - } - description { - state: "1" 0.0; - inherit: "default" 0.0; - rel1.relative: 0.2 -0.8; - rel2.relative: 0.8 -0.7; - } - description { - state: "2" 0.0; - inherit: "default" 0.0; - rel1.relative: 0.5 0.2; - rel2.relative: 0.5 0.2; - } - } - part { - name: "top_arrow2"; - description { - state: "default" 0.0; - aspect: 1.0 1.0; - aspect_preference: HORIZONTAL; - rel1.relative: 0.5 -1.0; - rel2.relative: 0.5 -1.0; - image.normal: "O/gadman_bottom.png"; - } - description { - state: "1" 0.0; - inherit: "default" 0.0; - rel1.relative: 0.2 -0.8; - rel2.relative: 0.8 -0.7; - } - description { - state: "2" 0.0; - inherit: "default" 0.0; - rel1.relative: 0.5 0.2; - rel2.relative: 0.5 0.2; - } - } - part { - name: "bottom_arrow1"; - description { - state: "default" 0.0; - aspect: 1.0 1.0; - aspect_preference: HORIZONTAL; - rel1.relative: 0.5 2.0; - rel2.relative: 0.5 2.0; - image.normal: "O/gadman_top.png"; - } - description { - state: "1" 0.0; - inherit: "default" 0.0; - rel1.relative: 0.2 1.7; - rel2.relative: 0.8 1.8; - } - description { - state: "2" 0.0; - inherit: "default" 0.0; - rel1.relative: 0.5 0.8; - rel2.relative: 0.5 0.8; - } - } - part { - name: "bottom_arrow2"; - description { - state: "default" 0.0; - aspect: 1.0 1.0; - aspect_preference: HORIZONTAL; - rel1.relative: 0.5 2.0; - rel2.relative: 0.5 2.0; - image.normal: "O/gadman_top.png"; - } - description { - state: "1" 0.0; - inherit: "default" 0.0; - rel1.relative: 0.2 1.7; - rel2.relative: 0.8 1.8; - } - description { - state: "2" 0.0; - inherit: "default" 0.0; - rel1.relative: 0.5 0.8; - rel2.relative: 0.5 0.8; - } - } - } - programs { - program { - name: "start1"; - signal: "show"; - source: ""; - after: "left1_1"; - after: "right1_1"; - after: "top1_1"; - after: "bottom1_1"; - } - program { - name: "start2"; - signal: "show"; - source: ""; - in: 0.4 0.0; - after: "left2_1"; - after: "right2_1"; - after: "top2_1"; - after: "bottom2_1"; - } - // LEFT ARROW - program { - name: "left1_1"; - action: STATE_SET "1" 0.0; - target: "left_arrow1"; - transition: LINEAR 0.4; - after: "left1_2"; - } - program { - name: "left1_2"; - action: STATE_SET "2" 0.0; - target: "left_arrow1"; - transition: LINEAR 0.4; - after: "left1_r"; - } - program { - name: "left1_r"; - action: STATE_SET "default" 0.0; - target: "left_arrow1"; - after: "left1_1"; - } - program { - name: "left2_1"; - action: STATE_SET "1" 0.0; - target: "left_arrow2"; - transition: LINEAR 0.4; - after: "left2_2"; - } - program { - name: "left2_2"; - action: STATE_SET "2" 0.0; - target: "left_arrow2"; - transition: LINEAR 0.4; - after: "left2_r"; - } - program { - name: "left2_r"; - action: STATE_SET "default" 0.0; - target: "left_arrow2"; - after: "left2_1"; - } - // RIGHT ARROW - program { - name: "right1_1"; - action: STATE_SET "1" 0.0; - target: "right_arrow1"; - transition: LINEAR 0.4; - after: "right1_2"; - } - program { - name: "right1_2"; - action: STATE_SET "2" 0.0; - target: "right_arrow1"; - transition: LINEAR 0.4; - after: "right1_r"; - } - program { - name: "right1_r"; - action: STATE_SET "default" 0.0; - target: "right_arrow1"; - after: "right1_1"; - } - program { - name: "right2_1"; - action: STATE_SET "1" 0.0; - target: "right_arrow2"; - transition: LINEAR 0.4; - after: "right2_2"; - } - program { - name: "right2_2"; - action: STATE_SET "2" 0.0; - target: "right_arrow2"; - transition: LINEAR 0.4; - after: "right2_r"; - } - program { - name: "right2_r"; - action: STATE_SET "default" 0.0; - target: "right_arrow2"; - after: "right2_1"; - } - // TOP ARROW - program { - name: "top1_1"; - action: STATE_SET "1" 0.0; - target: "top_arrow1"; - transition: LINEAR 0.4; - after: "top1_2"; - } - program { - name: "top1_2"; - action: STATE_SET "2" 0.0; - target: "top_arrow1"; - transition: LINEAR 0.4; - after: "top1_r"; - } - program { - name: "top1_r"; - action: STATE_SET "default" 0.0; - target: "top_arrow1"; - after: "top1_1"; - } - program { - name: "top2_1"; - action: STATE_SET "1" 0.0; - target: "top_arrow2"; - transition: LINEAR 0.4; - after: "top2_2"; - } - program { - name: "top2_2"; - action: STATE_SET "2" 0.0; - target: "top_arrow2"; - transition: LINEAR 0.4; - after: "top2_r"; - } - program { - name: "top2_r"; - action: STATE_SET "default" 0.0; - target: "top_arrow2"; - after: "top2_1"; - } - // BOTTOM ARROW - program { - name: "bottom1_1"; - action: STATE_SET "1" 0.0; - target: "bottom_arrow1"; - transition: LINEAR 0.4; - after: "bottom1_2"; - } - program { - name: "bottom1_2"; - action: STATE_SET "2" 0.0; - target: "bottom_arrow1"; - transition: LINEAR 0.4; - after: "bottom1_r"; - } - program { - name: "bottom1_r"; - action: STATE_SET "default" 0.0; - target: "bottom_arrow1"; - after: "bottom1_1"; - } - program { - name: "bottom2_1"; - action: STATE_SET "1" 0.0; - target: "bottom_arrow2"; - transition: LINEAR 0.4; - after: "bottom2_2"; - } - program { - name: "bottom2_2"; - action: STATE_SET "2" 0.0; - target: "bottom_arrow2"; - transition: LINEAR 0.4; - after: "bottom2_r"; - } - program { - name: "bottom2_r"; - action: STATE_SET "default" 0.0; - target: "bottom_arrow2"; - after: "bottom2_1"; - } - } - } diff --git a/data/themes/edc/O/illume_gad.edc b/data/themes/edc/O/illume_gad.edc deleted file mode 100644 index 0b7e961ec..000000000 --- a/data/themes/edc/O/illume_gad.edc +++ /dev/null @@ -1,508 +0,0 @@ -///////////////////////////////////////////////////////////////////////////// -/*** MOD: ILLUME-HOME-TOGGLE ***/ - - 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; - } - } - } - } - -///////////////////////////////////////////////////////////////////////////// -/*** MOD: ILLUME-KBD-TOGGLE ***/ - - 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; - } - } - } - } - -///////////////////////////////////////////////////////////////////////////// -/*** MOD: ILLUME-MODE-TOGGLE ***/ - - 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; - } - } - } - } - diff --git a/data/themes/edc/O/init.edc b/data/themes/edc/O/init.edc deleted file mode 100644 index 6a6fe7ddf..000000000 --- a/data/themes/edc/O/init.edc +++ /dev/null @@ -1,1012 +0,0 @@ -///////////////////////////////////////////////////////////////////////////// -/*** INIT SPLASH ***/ - - /* this first group is used for the primary screen (or only screen) so in - * a multi-monitor setup whichever is first (screen 0) will get this - * splash on it */ - - group { - name: "e/init/splash"; - /* images used */ - images { - image: "O/exq-bglight.png" COMP; - image: "O/exq-logo.png" COMP; - image: "O/exq-dot.png" COMP; - image: "O/exq-dot-glow.png" COMP; - } - script { - public is_ready; - public do_end; - } - parts { - part { - name: "base"; - type: RECT; - description { - state: "default" 0.0; - color: 0 0 0 255; - } - } - part { - name: "light"; - description { - state: "default" 0.0; - align: 0.5 0.222222222; - rel1.relative: 0.104166667 0.515625; - rel2.relative: 0.895833333 0.796875; - aspect: 2.111111111 2.111111111; - aspect_preference: HORIZONTAL; - max: 380 180; - image.normal: "O/exq-bglight.png"; - color: 255 255 255 0; - } - description { - state: "visible" 0.0; - inherit: "default" 0.0; - color: 255 255 255 255; - } - } - part { - name: "logoclip"; - type: RECT; - description { - state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - } - description { - state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { - name: "logo"; - clip_to: "logoclip"; - description { - state: "default" 0.0; - align: 0.5 0.774193548; - rel1.relative: 0.272916667 0.315625; - rel2.relative: 0.727083333 0.6546875; - aspect: 0.557603687 0.557603687; - aspect_preference: BOTH; - max: 121 217; - image.normal: "O/exq-logo.png"; - } - } - part { - name: "e.text.title"; - type: TEXT; - scale: 1; - description { - state: "default" 0.0; - rel1 { - to_y: "logo"; - relative: 0.05 -0.4; - } - rel2 { - to_y: "logo"; - relative: 0.95 -0.2; - } - color: 255 255 255 0; - text { - font: "Sans:style=Bold"; - size: 16; - // fit: 0 1; - text_class: "init_title"; - } - } - description { - state: "visible" 0.0; - inherit: "default" 0.0; - color: 255 255 255 255; - } - } - part { - name: "e.text.status"; - type: TEXT; - scale: 1; - description { - state: "default" 0.0; - rel1 { - to: "e.text.title"; - relative: 0.0 1.0; - } - rel2 { - to: "e.text.title"; - relative: 1.0 1.5; - } - color: 255 255 255 0; - text { - font: "Sans"; - size: 10; - // fit: 0 1; - text_class: "init_text"; - } - } - description { - state: "visible" 0.0; - inherit: "default" 0.0; - color: 255 255 255 128; - } - } - part { - name: "e.text.version"; - type: TEXT; - effect: SOFT_SHADOW; - description { - state: "default" 0.0; - align: 1.0 1.0; - rel1 { - relative: 1.0 1.0; - offset: -2 -2; - } - rel2 { - relative: 1.0 1.0; - offset: -2 -2; - } - color: 255 255 255 64; - color3: 0 0 0 32; - text { - text: "0.17.0"; - font: "Sans"; - size: 8; - min: 1 1; - align: 0.0 0.0; - text_class: "init_version"; - } - } - } - part { - name: "p0-0"; - description { - state: "default" 0.0; - min: 22 22; - max: 22 22; - rel1 { - to: "logo"; - relative: -0.5 0.9; - } - rel2 { - to: "logo"; - relative: -0.5 0.9; - } - image.normal: "O/exq-dot.png"; - color: 255 255 255 0; - } - description { - state: "visible" 0.0; - inherit: "default" 0.0; - color: 255 255 255 255; - } - description { - state: "visible2" 0.0; - inherit: "default" 0.0; - color: 255 255 255 255; - rel1.relative: -0.5 0.8; - rel2.relative: -0.5 0.8; - } - } - part { - name: "p0-1"; - description { - state: "default" 0.0; - image.normal: "O/exq-dot-glow.png"; - color: 255 255 255 0; - rel1.to: "p0-0"; - rel2.to: "p0-0"; - } - description { - state: "visible" 0.0; - inherit: "default" 0.0; - color: 255 255 255 255; - } - description { - state: "visible2" 0.0; - inherit: "default" 0.0; - color: 255 255 255 255; - } - } - part { - name: "p0-0.1"; - description { - state: "default" 0.0; - image.normal: "O/exq-dot-glow.png"; - color: 255 255 255 0; - min: 22 11; - max: 22 11; - rel1 { - to_x: "p0-0"; - to_y: "logo"; - relative: 0.0 1.0; - } - rel2 { - to_x: "p0-0"; - to_y: "logo"; - relative: 1.0 1.0; - } - } - description { - state: "visible" 0.0; - inherit: "default" 0.0; - color: 255 255 255 16; - } - description { - state: "visible2" 0.0; - inherit: "default" 0.0; - color: 255 255 255 4; - } - } - part { - name: "p0-0.2"; - description { - state: "default" 0.0; - min: 22 22; - max: 22 22; - rel1 { - to_x: "p0-0"; - to_y: "logo"; - relative: 0.0 1.1; - } - rel2 { - to_x: "p0-0"; - to_y: "logo"; - relative: 1.0 1.1; - } - image.normal: "O/exq-dot.png"; - color: 255 255 255 0; - } - description { - state: "visible" 0.0; - inherit: "default" 0.0; - color: 255 255 255 16; - } - description { - state: "visible2" 0.0; - inherit: "default" 0.0; - color: 255 255 255 4; - rel1.relative: 0.0 1.2; - rel2.relative: 1.0 1.2; - } - } - part { - name: "p1-0"; - description { - state: "default" 0.0; - min: 22 22; - max: 22 22; - rel1 { - to: "logo"; - relative: 0.0 0.9; - } - rel2 { - to: "logo"; - relative: 0.0 0.9; - } - image.normal: "O/exq-dot.png"; - color: 255 255 255 0; - } - description { - state: "visible" 0.0; - inherit: "default" 0.0; - color: 255 255 255 255; - } - description { - state: "visible2" 0.0; - inherit: "default" 0.0; - color: 255 255 255 255; - rel1.relative: 0.0 0.8; - rel2.relative: 0.0 0.8; - } - } - part { - name: "p1-1"; - description { - state: "default" 0.0; - image.normal: "O/exq-dot-glow.png"; - color: 255 255 255 0; - rel1.to: "p1-0"; - rel2.to: "p1-0"; - } - description { - state: "visible" 0.0; - inherit: "default" 0.0; - color: 255 255 255 255; - } - description { - state: "visible2" 0.0; - inherit: "default" 0.0; - color: 255 255 255 255; - } - } - part { - name: "p1-0.1"; - description { - state: "default" 0.0; - image.normal: "O/exq-dot-glow.png"; - color: 255 255 255 0; - min: 22 11; - max: 22 11; - rel1 { - to_x: "p1-0"; - to_y: "logo"; - relative: 0.0 1.0; - } - rel2 { - to_x: "p1-0"; - to_y: "logo"; - relative: 1.0 1.0; - } - } - description { - state: "visible" 0.0; - inherit: "default" 0.0; - color: 255 255 255 16; - } - description { - state: "visible2" 0.0; - inherit: "default" 0.0; - color: 255 255 255 4; - } - } - part { - name: "p1-0.2"; - description { - state: "default" 0.0; - min: 22 22; - max: 22 22; - rel1 { - to_x: "p1-0"; - to_y: "logo"; - relative: 0.0 1.1; - } - rel2 { - to_x: "p1-0"; - to_y: "logo"; - relative: 1.0 1.1; - } - image.normal: "O/exq-dot.png"; - color: 255 255 255 0; - } - description { - state: "visible" 0.0; - inherit: "default" 0.0; - color: 255 255 255 16; - } - description { - state: "visible2" 0.0; - inherit: "default" 0.0; - color: 255 255 255 4; - rel1.relative: 0.0 1.2; - rel2.relative: 1.0 1.2; - } - } - part { - name: "p2-0"; - description { - state: "default" 0.0; - min: 22 22; - max: 22 22; - rel1 { - to: "logo"; - relative: 0.5 0.9; - } - rel2 { - to: "logo"; - relative: 0.5 0.9; - } - image.normal: "O/exq-dot.png"; - color: 255 255 255 0; - } - description { - state: "visible" 0.0; - inherit: "default" 0.0; - color: 255 255 255 255; - } - description { - state: "visible2" 0.0; - inherit: "default" 0.0; - color: 255 255 255 255; - rel1.relative: 0.5 0.8; - rel2.relative: 0.5 0.8; - } - } - part { - name: "p2-1"; - description { - state: "default" 0.0; - image.normal: "O/exq-dot-glow.png"; - color: 255 255 255 0; - rel1.to: "p2-0"; - rel2.to: "p2-0"; - } - description { - state: "visible" 0.0; - inherit: "default" 0.0; - color: 255 255 255 255; - } - description { - state: "visible2" 0.0; - inherit: "default" 0.0; - color: 255 255 255 255; - } - } - part { - name: "p2-0.1"; - description { - state: "default" 0.0; - image.normal: "O/exq-dot-glow.png"; - color: 255 255 255 0; - min: 22 11; - max: 22 11; - rel1 { - to_x: "p2-0"; - to_y: "logo"; - relative: 0.0 1.0; - } - rel2 { - to_x: "p2-0"; - to_y: "logo"; - relative: 1.0 1.0; - } - } - description { - state: "visible" 0.0; - inherit: "default" 0.0; - color: 255 255 255 16; - } - description { - state: "visible2" 0.0; - inherit: "default" 0.0; - color: 255 255 255 4; - } - } - part { - name: "p2-0.2"; - description { - state: "default" 0.0; - min: 22 22; - max: 22 22; - rel1 { - to_x: "p2-0"; - to_y: "logo"; - relative: 0.0 1.1; - } - rel2 { - to_x: "p2-0"; - to_y: "logo"; - relative: 1.0 1.1; - } - image.normal: "O/exq-dot.png"; - color: 255 255 255 0; - } - description { - state: "visible" 0.0; - inherit: "default" 0.0; - color: 255 255 255 16; - } - description { - state: "visible2" 0.0; - inherit: "default" 0.0; - color: 255 255 255 4; - rel1.relative: 0.0 1.2; - rel2.relative: 1.0 1.2; - } - } - part { - name: "p3-0"; - description { - state: "default" 0.0; - min: 22 22; - max: 22 22; - rel1 { - to: "logo"; - relative: 1.0 0.9; - } - rel2 { - to: "logo"; - relative: 1.0 0.9; - } - image.normal: "O/exq-dot.png"; - color: 255 255 255 0; - } - description { - state: "visible" 0.0; - inherit: "default" 0.0; - color: 255 255 255 255; - } - description { - state: "visible2" 0.0; - inherit: "default" 0.0; - color: 255 255 255 255; - rel1.relative: 1.0 0.8; - rel2.relative: 1.0 0.8; - } - } - part { - name: "p3-1"; - description { - state: "default" 0.0; - image.normal: "O/exq-dot-glow.png"; - color: 255 255 255 0; - rel1.to: "p3-0"; - rel2.to: "p3-0"; - } - description { - state: "visible" 0.0; - inherit: "default" 0.0; - color: 255 255 255 255; - } - description { - state: "visible2" 0.0; - inherit: "default" 0.0; - color: 255 255 255 255; - } - } - part { - name: "p3-0.1"; - description { - state: "default" 0.0; - image.normal: "O/exq-dot-glow.png"; - color: 255 255 255 0; - min: 22 11; - max: 22 11; - rel1 { - to_x: "p3-0"; - to_y: "logo"; - relative: 0.0 1.0; - } - rel2 { - to_x: "p3-0"; - to_y: "logo"; - relative: 1.0 1.0; - } - } - description { - state: "visible" 0.0; - inherit: "default" 0.0; - color: 255 255 255 16; - } - description { - state: "visible2" 0.0; - inherit: "default" 0.0; - color: 255 255 255 4; - } - } - part { - name: "p3-0.2"; - description { - state: "default" 0.0; - min: 22 22; - max: 22 22; - rel1 { - to_x: "p3-0"; - to_y: "logo"; - relative: 0.0 1.1; - } - rel2 { - to_x: "p3-0"; - to_y: "logo"; - relative: 1.0 1.1; - } - image.normal: "O/exq-dot.png"; - color: 255 255 255 0; - } - description { - state: "visible" 0.0; - inherit: "default" 0.0; - color: 255 255 255 16; - } - description { - state: "visible2" 0.0; - inherit: "default" 0.0; - color: 255 255 255 4; - rel1.relative: 0.0 1.2; - rel2.relative: 1.0 1.2; - } - } - part { - name: "p4-0"; - description { - state: "default" 0.0; - min: 22 22; - max: 22 22; - rel1 { - to: "logo"; - relative: 1.5 0.9; - } - rel2 { - to: "logo"; - relative: 1.5 0.9; - } - image.normal: "O/exq-dot.png"; - color: 255 255 255 0; - } - description { - state: "visible" 0.0; - inherit: "default" 0.0; - color: 255 255 255 255; - } - description { - state: "visible2" 0.0; - inherit: "default" 0.0; - color: 255 255 255 255; - rel1.relative: 1.5 0.8; - rel2.relative: 1.5 0.8; - } - } - part { - name: "p4-1"; - description { - state: "default" 0.0; - image.normal: "O/exq-dot-glow.png"; - color: 255 255 255 0; - rel1.to: "p4-0"; - rel2.to: "p4-0"; - } - description { - state: "visible" 0.0; - inherit: "default" 0.0; - color: 255 255 255 255; - } - description { - state: "visible2" 0.0; - inherit: "default" 0.0; - color: 255 255 255 255; - } - } - part { - name: "p4-0.1"; - description { - state: "default" 0.0; - image.normal: "O/exq-dot-glow.png"; - color: 255 255 255 0; - min: 22 11; - max: 22 11; - rel1 { - to_x: "p4-0"; - to_y: "logo"; - relative: 0.0 1.0; - } - rel2 { - to_x: "p4-0"; - to_y: "logo"; - relative: 1.0 1.0; - } - } - description { - state: "visible" 0.0; - inherit: "default" 0.0; - color: 255 255 255 16; - } - description { - state: "visible2" 0.0; - inherit: "default" 0.0; - color: 255 255 255 4; - } - } - part { - name: "p4-0.2"; - description { - state: "default" 0.0; - min: 22 22; - max: 22 22; - rel1 { - to_x: "p4-0"; - to_y: "logo"; - relative: 0.0 1.1; - } - rel2 { - to_x: "p4-0"; - to_y: "logo"; - relative: 1.0 1.1; - } - image.normal: "O/exq-dot.png"; - color: 255 255 255 0; - } - description { - state: "visible" 0.0; - inherit: "default" 0.0; - color: 255 255 255 16; - } - description { - state: "visible2" 0.0; - inherit: "default" 0.0; - color: 255 255 255 4; - rel1.relative: 0.0 1.2; - rel2.relative: 1.0 1.2; - } - } - } - programs { - program { - name: "init"; - signal: "load"; - source: ""; - script { - set_int(is_ready, 0); - set_int(do_end, 0); - } - } - program { - name: "show1"; - signal: "show"; - source: ""; - action: STATE_SET "visible" 0.0; - transition: LINEAR 0.3; - target: "light"; - } - program { - name: "show2"; - signal: "show"; - source: ""; - in: 0.1 0.0; - action: STATE_SET "visible" 0.0; - transition: LINEAR 0.4; - target: "logoclip"; - target: "e.text.title"; - } - program { - name: "show3"; - signal: "show"; - source: ""; - action: STATE_SET "visible" 0.0; - transition: LINEAR 0.2; - target: "p0-0"; - target: "p0-0.1"; - target: "p0-0.2"; - target: "p1-0"; - target: "p1-0.1"; - target: "p1-0.2"; - target: "p2-0"; - target: "p2-0.1"; - target: "p2-0.2"; - target: "p3-0"; - target: "p3-0.1"; - target: "p3-0.2"; - target: "p4-0"; - target: "p4-0.1"; - target: "p4-0.2"; - target: "e.text.status"; - after: "pulsate1"; - after: "pulsate1.2"; - after: "pulsate2"; - after: "pulsate2.2"; - after: "pulsate3"; - after: "pulsate3.2"; - after: "pulsate4"; - after: "pulsate4.2"; - after: "pulsate5"; - after: "pulsate5.2"; - after: "ready"; - } - program { - name: "pulsate1"; - action: STATE_SET "visible" 0.0; - transition: SINUSOIDAL 0.5; - in: 0.2 0.2; - after: "pulsate1.1"; - target: "p0-1"; - } - program { - name: "pulsate1.1"; - action: STATE_SET "default" 0.0; - transition: SINUSOIDAL 0.5; - after: "pulsate1"; - target: "p0-1"; - } - program { - name: "pulsate1.2"; - action: STATE_SET "visible2" 0.0; - transition: SINUSOIDAL 0.6; - in: 0.2 0.2; - after: "pulsate1.2.1"; - target: "p0-0"; - target: "p0-0.1"; - target: "p0-0.2"; - } - program { - name: "pulsate1.2.1"; - action: STATE_SET "visible" 0.0; - transition: SINUSOIDAL 0.7; - after: "pulsate1.2"; - target: "p0-0"; - target: "p0-0.1"; - target: "p0-0.2"; - } - program { - name: "pulsate2"; - action: STATE_SET "visible" 0.0; - transition: SINUSOIDAL 0.5; - in: 0.2 0.2; - after: "pulsate2.1"; - target: "p1-1"; - } - program { - name: "pulsate2.1"; - action: STATE_SET "default" 0.0; - transition: SINUSOIDAL 0.5; - after: "pulsate2"; - target: "p1-1"; - } - program { - name: "pulsate2.2"; - action: STATE_SET "visible2" 0.0; - transition: SINUSOIDAL 0.6; - in: 0.2 0.2; - after: "pulsate2.2.1"; - target: "p1-0"; - target: "p1-0.1"; - target: "p1-0.2"; - } - program { - name: "pulsate2.2.1"; - action: STATE_SET "visible" 0.0; - transition: SINUSOIDAL 0.7; - after: "pulsate2.2"; - target: "p1-0"; - target: "p1-0.1"; - target: "p1-0.2"; - } - program { - name: "pulsate3"; - action: STATE_SET "visible" 0.0; - transition: SINUSOIDAL 0.5; - in: 0.2 0.2; - after: "pulsate3.1"; - target: "p2-1"; - } - program { - name: "pulsate3.1"; - action: STATE_SET "default" 0.0; - transition: SINUSOIDAL 0.5; - after: "pulsate3"; - target: "p2-1"; - } - program { - name: "pulsate3.2"; - action: STATE_SET "visible2" 0.0; - transition: SINUSOIDAL 0.6; - in: 0.2 0.2; - after: "pulsate3.2.1"; - target: "p2-0"; - target: "p2-0.1"; - target: "p2-0.2"; - } - program { - name: "pulsate3.2.1"; - action: STATE_SET "visible" 0.0; - transition: SINUSOIDAL 0.7; - after: "pulsate3.2"; - target: "p2-0"; - target: "p2-0.1"; - target: "p2-0.2"; - } - program { - name: "pulsate4"; - action: STATE_SET "visible" 0.0; - transition: SINUSOIDAL 0.5; - in: 0.2 0.2; - after: "pulsate4.1"; - target: "p3-1"; - } - program { - name: "pulsate4.1"; - action: STATE_SET "default" 0.0; - transition: SINUSOIDAL 0.5; - after: "pulsate4"; - target: "p3-1"; - } - program { - name: "pulsate4.2"; - action: STATE_SET "visible2" 0.0; - transition: SINUSOIDAL 0.6; - in: 0.2 0.2; - after: "pulsate4.2.1"; - target: "p3-0"; - target: "p3-0.1"; - target: "p3-0.2"; - } - program { - name: "pulsate4.2.1"; - action: STATE_SET "visible" 0.0; - transition: SINUSOIDAL 0.7; - after: "pulsate4.2"; - target: "p3-0"; - target: "p3-0.1"; - target: "p3-0.2"; - } - program { - name: "pulsate5"; - action: STATE_SET "visible" 0.0; - transition: SINUSOIDAL 0.5; - in: 0.2 0.2; - after: "pulsate5.1"; - target: "p4-1"; - } - program { - name: "pulsate5.1"; - action: STATE_SET "default" 0.0; - transition: SINUSOIDAL 0.5; - after: "pulsate5"; - target: "p4-1"; - } - program { - name: "pulsate5.2"; - action: STATE_SET "visible2" 0.0; - transition: SINUSOIDAL 0.6; - in: 0.2 0.2; - after: "pulsate5.2.1"; - target: "p4-0"; - target: "p4-0.1"; - target: "p4-0.2"; - } - program { - name: "pulsate5.2.1"; - action: STATE_SET "visible" 0.0; - transition: SINUSOIDAL 0.7; - after: "pulsate5.2"; - target: "p4-0"; - target: "p4-0.1"; - target: "p4-0.2"; - } - program { - name: "exit1"; - action: STATE_SET "default" 0.0; - transition: ACCELERATE 2.0; - target: "light"; - target: "logoclip"; - after: "exit4"; - } - program { - name: "exit4"; - action: SIGNAL_EMIT "e,state,done_ok" "e"; - } - program { - name: "ready"; - script { - new val; - val = get_int(do_end); - if (val == 1) - run_program(PROGRAM:"exit1"); - else - set_int(is_ready, 1); - } - } - program { - name: "done1"; - /* when e tells the splash screen it is done - * starting up, the init splash gets this signal */ - signal: "e,state,done"; - source: "e"; - script { - new val; - val = get_int(is_ready); - if (val == 1) - run_program(PROGRAM:"exit1"); - else - set_int(do_end, 1); - } - } - } - } - /* this group is used for other screens/xinerama zones etc. other than - * the primary as only the primary shows the full splash - this just - * shows the below image. it can animate etc. but not display status - * etc. */ - group { - name: "e/init/extra_screen"; - parts { - part { - name: "base"; - type: RECT; - description { - state: "default" 0.0; - color: 0 0 0 255; - } - } - } - } - - diff --git a/data/themes/edc/O/mixer.edc b/data/themes/edc/O/mixer.edc deleted file mode 100644 index 825a09d08..000000000 --- a/data/themes/edc/O/mixer.edc +++ /dev/null @@ -1,206 +0,0 @@ -///////////////////////////////////////////////////////////////////////////// -/*** MOD: MIXER ***/ - // TODO: Add code for making sound circles fade between states. - - group { - name: "e/modules/mixer/main"; - images { - image: "O/mixer.png" COMP; - image: "O/mixer_low_left.png" COMP; - image: "O/mixer_low_right.png" COMP; - image: "O/mixer_med_left.png" COMP; - image: "O/mixer_med_right.png" COMP; - image: "O/mixer_high_left.png" COMP; - image: "O/mixer_high_right.png" COMP; - } - max: 128 128; - min: 1 1; - script { - public message(Msg_Type:type, id, ...) { - if ((type == MSG_INT_SET) && (id == 0)) { - new mute, left, right; - mute = getarg(2); - left = getarg(3); - right = getarg(4); - if (mute) - run_program(PROGRAM:"mute"); - else - run_program(PROGRAM:"unmute"); - - if (left <= 0) - run_program(PROGRAM:"left_none"); - else if (left < 33) - run_program(PROGRAM:"left_low"); - else if (left < 66) - run_program(PROGRAM:"left_medium"); - else if (left >= 66) - run_program(PROGRAM:"left_high"); - - if (right <= 0) - run_program(PROGRAM:"right_none"); - else if (right < 33) - run_program(PROGRAM:"right_low"); - else if (right < 66) - run_program(PROGRAM:"right_medium"); - else if (right >= 66) - run_program(PROGRAM:"right_high"); - } - } - } - parts { - part { - name: "speaker"; - type: IMAGE; - mouse_events: 0; - description { - state: "default" 0.0; - aspect: 1 1; - aspect_preference: BOTH; - image.normal: "O/mixer.png"; - } - } - part { - name: "left"; - type: IMAGE; - clip_to: "mute"; - mouse_events: 0; - description { - state: "default" 0.0; - visible: 0; - aspect: 1 1; - aspect_preference: BOTH; - rel1.to: "speaker"; - rel2.to: "speaker"; - image.normal: "O/mixer_low_left.png"; - } - description { - state: "low" 0.0; - inherit: "default" 0.0; - visible: 1; - } - description { - state: "medium" 0.0; - inherit: "default" 0.0; - visible: 1; - image.normal: "O/mixer_med_left.png"; - } - description { - state: "high" 0.0; - inherit: "default" 0.0; - visible: 1; - image.normal: "O/mixer_high_left.png"; - } - } - part { - name: "right"; - type: IMAGE; - clip_to: "mute"; - mouse_events: 0; - description { - state: "default" 0.0; - visible: 0; - aspect: 1 1; - aspect_preference: BOTH; - rel1.to: "speaker"; - rel2.to: "speaker"; - image.normal: "O/mixer_low_right.png"; - } - description { - state: "low" 0.0; - inherit: "default" 0.0; - visible: 1; - } - description { - state: "medium" 0.0; - inherit: "default" 0.0; - visible: 1; - image.normal: "O/mixer_med_right.png"; - } - description { - state: "high" 0.0; - inherit: "default" 0.0; - visible: 1; - image.normal: "O/mixer_high_right.png"; - } - } - part { - name: "mute"; - mouse_events: 0; - type: RECT; - description { - state: "default" 0.0; - color: 255 255 255 255; - } - description { - state: "active" 0.0; - color: 255 255 255 64; - } - } - part { - name: "over"; - type: RECT; - description { - state: "default" 0.0; - rel1.to: "speaker"; - rel2.to: "speaker"; - color: 255 255 255 0; - } - } - } - programs { - program { - name: "mute"; - action: STATE_SET "active" 0.0; - transition: LINEAR 0.3; - target: "mute"; - } - program { - name: "unmute"; - action: STATE_SET "default" 0.0; - transition: LINEAR 0.2; - target: "mute"; - } - program { - name: "left_none"; - action: STATE_SET "default" 0.0; - target: "left"; - } - program { - name: "left_low"; - action: STATE_SET "low" 0.0; - target: "left"; - } - program { - name: "left_medium"; - action: STATE_SET "medium" 0.0; - target: "left"; - } - program { - name: "left_high"; - action: STATE_SET "high" 0.0; - target: "left"; - } - program { - name: "right_none"; - action: STATE_SET "default" 0.0; - target: "right"; - } - program { - name: "right_low"; - action: STATE_SET "low" 0.0; - target: "right"; - } - program { - name: "right_medium"; - action: STATE_SET "medium" 0.0; - target: "right"; - } - program { - name: "right_high"; - action: STATE_SET "high" 0.0; - target: "right"; - } - } - } - - diff --git a/data/themes/edc/O/randr.edc b/data/themes/edc/O/randr.edc deleted file mode 100644 index 02567469c..000000000 --- a/data/themes/edc/O/randr.edc +++ /dev/null @@ -1,619 +0,0 @@ -///////////////////////////////////////////////////////////////////////////// -/*** MOD: CONF_RANDR ***/ - group - { - name: "e/conf/randr/main/monitor"; - parts - { - part - { - name: "base"; - type: RECT; - mouse_events: 0; - description - { - state: "default" 0.0; - color: 255 255 255 0; - } - } - part - { - name: "e.swallow.frame"; - type: SWALLOW; - clip_to: "base"; - description - { - state: "default" 0.0; - rel1 - { - offset: 2 0; - to: "base"; - } - rel2.to: "base"; - } - } - part - { - name: "e.swallow.stand"; - type: SWALLOW; - clip_to: "base"; - description - { - state: "default" 0.0; - align: 0.5 0.0; - rel1 - { - relative: 0.0 1.0; - offset: 0 19; - to_x: "base"; - to_y: "e.swallow.frame"; - } - rel2.to_x: "e.swallow.frame"; - } - } - } - programs - { - program - { - name: "enabled"; - signal: "e,state,enabled"; - source: "e"; - action: STATE_SET "default" 0.0; - target: "base"; - } - program - { - name: "disabled"; - signal: "e,state,disabled"; - source: "e"; - action: STATE_SET "disabled" 0.0; - target: "base"; - } - } - } - - group - { - name: "e/conf/randr/main/frame"; - images - { - image: "O/randr_monitor.png" COMP; - image: "O/randr_icon_off.png" COMP; - image: "O/randr_icon_on.png" COMP; - image: "O/big_arrow_up.png" COMP; - } - styles - { - style - { - name: "output_name"; - base: "font=Sans:style=Bold font_size=10 text_class=tb_plain align=center valign=center color=#ffffff style=soft_shadow shadow_color=#00000080 wrap=word"; - tag: "br" "\n"; - tag: "hilight" "+ font=Sans:style=Bold text_class=tb_light"; - } - style - { - name: "resolution"; - base: "font=Sans:style=Bold font_size=12 text_class=tb_plain align=center valign=center color=#ffffff style=soft_shadow shadow_color=#00000080 wrap=word"; - tag: "br" "\n"; - tag: "hilight" "+ font=Sans:style=Bold text_class=tb_light"; - } - } - parts - { - part - { - name: "clip"; - type: RECT; - mouse_events: 0; - description - { - state: "default" 0.0; - rel1.to: "e.swallow.preview"; - rel2.to: "e.swallow.preview"; - } - } - part - { - name: "e.swallow.preview"; - type: SWALLOW; - clip_to: "clip"; - description - { - state: "default" 0.0; - rel1 - { - offset: 12 14; - to: "frame"; - } - rel2 - { - offset: -14 -14; - to: "frame"; - } - } - } - part - { - name: "e.text.resolution"; - type: TEXTBLOCK; - mouse_events: 0; - clip_to: "clip"; - description - { - state: "default" 0.0; - align: 0.5 0.5; - rel1 - { - relative: 0.0 1.0; - offset: 0 0; - to_x: "e.swallow.preview"; - to_y: "e.text.name"; - } - rel2 - { - offset: -1 -3; - to: "e.swallow.preview"; - } - text - { - style: "resolution"; - min: 1.0 1.0; - max: 1.0 1.0; - } - } - } - part - { - name: "e.text.name"; - type: TEXTBLOCK; - mouse_events: 0; - clip_to: "clip"; - description - { - state: "default" 0.0; - align: 0.5 0.0; - color: 255 255 255 255; - rel1 - { - offset: 0 10; - to: "e.swallow.preview"; - } - rel2.to: "e.swallow.preview"; - text - { - style: "output_name"; - min: 1.0 1.0; - max: 1.0 1.0; - } - } - } - part - { - name: "refresh_tab"; - type: RECT; - mouse_events: 0; - clip_to: "clip"; - description - { - state: "default" 0.0; - color: 255 255 255 128; - rel1 - { - relative: 0.0 1.0; - offset: 2 -16; - to: "e.swallow.preview"; - } - rel2 - { - relative: 0.0 1.0; - offset: 23 0; - to: "e.swallow.preview"; - } - } - description - { - state: "out" 0.0; - inherit: "default" 0.0; - color: 255 255 255 200; - rel1 - { - relative: 0.0 0.0; - offset: 2 2; - to: "e.swallow.preview"; - } - rel2 - { - relative: 0.0 0.0; - offset: 23 16; - to: "e.swallow.preview"; - } - } - } - part - { - name: "refresh_arrow"; - type: IMAGE; - mouse_events: 0; - description - { - state: "default" 0.0; - fixed: 1 1; - align: 0.5 0.5; - min: 22 22; - max: 22 22; - rel1.to: "refresh_tab"; - rel2.to: "refresh_tab"; - image.normal: "O/big_arrow_up.png"; - } - } - part - { - name: "refresh_bg"; - type: RECT; - mouse_events: 0; - clip_to: "clip"; - description - { - state: "default" 0.0; - color: 255 255 255 200; - rel1.to: "e.swallow.refresh"; - rel2.to: "e.swallow.refresh"; - visible: 0; - } - description - { - state: "out" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part - { - name: "e.swallow.refresh"; - type: SWALLOW; - clip_to: "clip"; - description - { - state: "default" 0.0; - align: 0.0 0.0; - fixed: 1 0; - rel1 - { - relative: 0.0 1.0; - to: "refresh_tab"; - } - rel2 - { - relative: 0.0 1.0; - to_x: "refresh_tab"; - to_y: "e.swallow.preview"; - } - } - } - part - { - name: "e.event.arrow.hide"; - type: RECT; - description - { - state: "default" 0.0; - color: 255 255 255 0; - rel1.to: "refresh_tab"; - rel2.to: "refresh_tab"; - } - description - { - state: "out" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part - { - name: "e.event.arrow.show"; - type: RECT; - description - { - state: "default" 0.0; - color: 255 255 255 0; - visible: 0; - rel1.to: "refresh_tab"; - rel2.to: "refresh_tab"; - } - description - { - state: "out" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part - { - name: "frame"; - type: IMAGE; - mouse_events: 0; - description - { - state: "default" 0.0; - image - { - normal: "O/randr_monitor.png"; - border: 14 14 15 14; - } - } - } - - /* we will use a rect in this theme. Other themes could use - * an icon to indicate rotate (or whatever they want). - * - * Regardless of what is used, the 'rotate' object - * should emit signals for mouse_in, mouse_out, and also - * signals to indicate when to start or stop rotating */ - part - { - name: "e.event.rotate"; - type: RECT; - description - { - state: "default" 0.0; - color: 255 255 255 0; - rel1 - { - relative: 0.0 1.0; - offset: 0 -13; - to: "frame"; - } - rel2 - { - relative: 0.0 1.0; - offset: 11 -1; - to: "frame"; - } - } - } - - /* we will use a rect in this theme. Other themes could use - * an icon to indicate resize (or whatever they want). - * - * Regardless of what is used, the 'resize' object - * should emit signals for mouse_in, mouse_out, and also - * signals to indicate when to start or stop resizing */ - part - { - name: "e.event.resize"; - type: RECT; - description - { - state: "default" 0.0; - color: 255 255 255 0; - rel1 - { - relative: 1.0 1.0; - offset: -13 -13; - to: "frame"; - } - rel2.to: "frame"; - } - } - part - { - name: "overlay"; - type: RECT; - description - { - state: "default" 0.0; - color: 255 255 255 128; - visible: 0; - } - description - { - state: "disabled" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - - part - { - name: "indicator"; - type: IMAGE; - mouse_events: 0; - description - { - state: "default" 0.0; - rel1 - { - offset: -13 0; - to: "e.event.resize"; - } - rel2 - { - relative: 0.0 1.0; - offset: 0 -1; - to: "e.event.resize"; - } - image.normal: "O/randr_icon_on.png"; - } - description - { - state: "disabled" 0.0; - inherit: "default" 0.0; - image.normal: "O/randr_icon_off.png"; - } - } - part - { - name: "e.event.indicator"; - type: RECT; - description - { - state: "default" 0.0; - color: 255 255 255 0; - rel1.to: "indicator"; - rel2.to: "indicator"; - } - } - } - programs - { - program - { - name: "resize_mouse_in"; - signal: "mouse,in"; - source: "e.event.resize"; - action: SIGNAL_EMIT "e,action,resize,in" "e"; - } - program - { - name: "resize_mouse_out"; - signal: "mouse,out"; - source: "e.event.resize"; - action: SIGNAL_EMIT "e,action,resize,out" "e"; - } - program - { - name: "resize_start"; - signal: "mouse,down,1"; - source: "e.event.resize"; - action: SIGNAL_EMIT "e,action,resize,start" "e"; - } - program - { - name: "resize_stop"; - signal: "mouse,up,1"; - source: "e.event.resize"; - action: SIGNAL_EMIT "e,action,resize,stop" "e"; - } - program - { - name: "rotate_mouse_in"; - signal: "mouse,in"; - source: "e.event.rotate"; - action: SIGNAL_EMIT "e,action,rotate,in" "e"; - } - program - { - name: "rotate_mouse_out"; - signal: "mouse,out"; - source: "e.event.rotate"; - action: SIGNAL_EMIT "e,action,rotate,out" "e"; - } - program - { - name: "rotate_start"; - signal: "mouse,down,1"; - source: "e.event.rotate"; - action: SIGNAL_EMIT "e,action,rotate,start" "e"; - } - program - { - name: "rotate_stop"; - signal: "mouse,up,1"; - source: "e.event.rotate"; - action: SIGNAL_EMIT "e,action,rotate,stop" "e"; - } - program - { - name: "indicator_mouse_in"; - signal: "mouse,in"; - source: "e.event.indicator"; - action: SIGNAL_EMIT "e,action,indicator,in" "e"; - } - program - { - name: "indicator_mouse_out"; - signal: "mouse,out"; - source: "e.event.indicator"; - action: SIGNAL_EMIT "e,action,indicator,out" "e"; - } - program - { - name: "indicator_toggle"; - signal: "mouse,clicked,1"; - source: "e.event.indicator"; - action: SIGNAL_EMIT "e,action,indicator,toggle" "e"; - } - program - { - name: "enabled"; - signal: "e,state,enabled"; - source: "e"; - action: STATE_SET "default" 0.0; - target: "indicator"; - target: "overlay"; - } - program - { - name: "disabled"; - signal: "e,state,disabled"; - source: "e"; - action: STATE_SET "disabled" 0.0; - target: "indicator"; - target: "overlay"; - } - program - { - name: "refresh_click_show"; - signal: "mouse,down,1"; - source: "e.event.arrow.hide"; - action: SIGNAL_EMIT "e,action,panel,show" "e"; - } - program - { - name: "refresh_show"; - signal: "e,action,panel,show"; - source: "e"; - action: STATE_SET "out" 0.0; - target: "refresh_bg"; - target: "refresh_tab"; - target: "e.event.arrow.hide"; - target: "e.event.arrow.show"; - transition: DECELERATE 0.5; - } - program - { - name: "refresh_click_hide"; - signal: "mouse,down,1"; - source: "e.event.arrow.show"; - action: SIGNAL_EMIT "e,action,panel,hide" "e"; - } - program - { - name: "refresh_hide"; - signal: "e,action,panel,hide"; - source: "e"; - action: STATE_SET "default" 0.0; - target: "refresh_bg"; - target: "refresh_tab"; - target: "e.event.arrow.hide"; - target: "e.event.arrow.show"; - transition: ACCELERATE 0.2; - } - } - } - - group - { - name: "e/conf/randr/main/stand"; - images.image: "O/randr_stand.png" COMP; - parts - { - part - { - name: "stand"; - type: IMAGE; - mouse_events: 0; - description - { - state: "default" 0.0; - aspect: (299/81) (299/81); - min: 150 41; - max: 150 41; - image.normal: "O/randr_stand.png"; - } - } - } - } - diff --git a/data/themes/edc/O/spectrum.edc b/data/themes/edc/O/spectrum.edc deleted file mode 100644 index e8d688ca8..000000000 --- a/data/themes/edc/O/spectrum.edc +++ /dev/null @@ -1,107 +0,0 @@ - /* Used in the color selector widget in Wallpaper Gradient dialog */ - group { - name: "e/widgets/spectrum"; - images.image: "O/inset_sunk.png" COMP; - parts { - part { - name: "content_clip"; - type: RECT; - mouse_events: 0; - description { - state: "default" 0.0; - rel1.to: "e.swallow.content"; - rel2.to: "e.swallow.content"; - color: 255 255 255 255; - } - } - part { - name: "e.swallow.content"; - type: SWALLOW; - clip_to: "content_clip"; - description { - state: "default" 0.0; - rel1.offset: 4 4; - rel2.offset: -5 -5; - } - } - part { - name: "border"; - mouse_events: 1; - description { - state: "default" 0.0; - rel1 { - to: "e.swallow.content"; - offset: -1 -1; - } - rel2 { - to: "e.swallow.content"; - offset: 0 0; - } - image { - normal: "O/inset_sunk.png"; - border: 7 7 7 7; - middle: 0; - } - fill.smooth : 0; - } - } - part { - name: "e.dragable.cursor"; - type: RECT; - dragable { - confine: "e.swallow.content"; - x: 1 1 0; - y: 1 1 0; - } - description { - state: "default" 0.0; - min: 1 1; - max: 1 1; - fixed: 1 1; - visible: 0; - rel1 { - to: "e.swallow.content"; - relative: 0.5 0.5; - offset: 0 0; - } - rel2 { - to: "e.swallow.content"; - relative: 0.5 0.5; - offset: 0 0; - } - } - } - part { - name: "cursor_x"; - type: RECT; - description { - state: "default" 0.0; - rel1 { - to_x: "e.dragable.cursor"; - to_y: "e.swallow.content"; - } - rel2 { - to_x: "e.dragable.cursor"; - to_y: "e.swallow.content"; - } - color: 255 255 255 150; - } - } - part { - name: "cursor_y"; - type: RECT; - description { - state: "default" 0.0; - rel1 { - to_x: "e.swallow.content"; - to_y: "e.dragable.cursor"; - } - rel2 { - to_x: "e.swallow.content"; - to_y: "e.dragable.cursor"; - } - color: 255 255 255 150; - } - } - } - } diff --git a/data/themes/edc/O/temperature.edc b/data/themes/edc/O/temperature.edc deleted file mode 100644 index 27dfe1e5d..000000000 --- a/data/themes/edc/O/temperature.edc +++ /dev/null @@ -1,214 +0,0 @@ -///////////////////////////////////////////////////////////////////////////// -/*** MOD: TEMPERATURE ***/ - - group { - name: "e/modules/temperature/main"; - images { - image: "O/temp_base.png" COMP; - image: "O/temp_mid.png" COMP; - image: "O/temp_over.png" COMP; - } - min: 16 16; - max: 128 128; - script { - public message(Msg_Type:type, id, ...) { - if ((type == MSG_FLOAT) && (id == 1)) { - new Float:val; - val = getfarg(2); - set_drag(PART:"temp_top", 0.0, val); - } - } - } - parts { - part { - name: "base"; - clip_to: "fade_clip"; - description { - state: "default" 0.0; - aspect: 0.387 0.387; - aspect_preference: BOTH; - align: 0.5 0.5; - max: 48 124; - rel1 { - relative: 0.0 0.0; - } - rel2 { - relative: 1.0 1.0; - } - image { - normal: "O/temp_base.png"; - } - } - } - part { - name: "temp"; - clip_to: "temp_clip"; - description { - state: "default" 0.0; - rel1 { - to: "base"; - } - rel2 { - to: "base"; - } - image { - normal: "O/temp_mid.png"; - } - } - } - part { - name: "overlay"; - clip_to: "fade_clip"; - description { - state: "default" 0.0; - rel1 { - to: "base"; - } - rel2 { - to: "base"; - } - image { - normal: "O/temp_over.png"; - } - } - } - part { - name: "e.text.reading"; - type: TEXT; - scale: 1; - effect: OUTLINE_SOFT_SHADOW; - clip_to: "fade_clip"; - description { - state: "default" 0.0; - align: 1.0 0.0; - rel1 { - relative: 1.0 0.0; - to_x: "temp"; - } - rel2 { - relative: 1.0 0.0; - } - color: 255 255 255 0; - color2: 0 0 0 0; - color3: 0 0 0 0; - color_class: "module_label"; - text { - font: "Sans:style=Bold"; - size: 8; - min: 1 1; - align: 0.0 0.0; - text_class: "module_small"; - } - } - description { - state: "visible" 0.0; - inherit: "default" 0.0; - color: 255 255 255 255; - color2: 0 0 0 128; - color3: 0 0 0 32; - } - } - part { - name: "fade_clip"; - type: RECT; - mouse_events: 0; - description { - state: "default" 0.0; - color: 255 255 255 255; - } - description { - state: "faded" 0.0; - color: 255 255 255 128; - } - } - part { - name: "temp_clip"; - type: RECT; - clip_to: "fade_clip"; - mouse_events: 0; - description { - state: "default" 0.0; - rel1 { - to_x: "base"; - to_y: "temp_top"; - } - rel2 { - to: "base"; - } - } - } - part { - name: "temp_top"; - type: RECT; - dragable { - x: 0 0 0; - y: -1 1 0; - confine: "temp_limit"; - } - mouse_events: 0; - description { - state: "default" 0.0; - visible: 0; - } - } - part { - name: "temp_limit"; - type: RECT; - mouse_events: 0; - description { - state: "default" 0.0; - visible: 0; - rel1 { - relative: 0.0 0.081; - to: "base"; - } - rel2 { - relative: 1.0 0.637; - to: "base"; - } - } - } - part { - name: "over"; - type: RECT; - description { - state: "default" 0.0; - color: 0 0 0 0; - } - } - } - programs { - program { - name: "hover1"; - signal: "mouse,in"; - source: "over"; - action: STATE_SET "visible" 0.0; - transition: LINEAR 0.3; - target: "e.text.reading"; - } - program { - name: "hover2"; - signal: "mouse,out"; - source: "over"; - action: STATE_SET "default" 0.0; - transition: LINEAR 1.0; - target: "e.text.reading"; - } - program { - name: "known"; - signal: "e,state,known"; - source: "e"; - action: STATE_SET "default" 0.0; - target: "fade_clip"; - } - program { - name: "unknown"; - signal: "e,state,unknown"; - source: "e"; - action: STATE_SET "faded" 0.0; - target: "fade_clip"; - } - } - } - - diff --git a/data/themes/edc/O/transitions.edc b/data/themes/edc/O/transitions.edc deleted file mode 100644 index abdecfe44..000000000 --- a/data/themes/edc/O/transitions.edc +++ /dev/null @@ -1,221 +0,0 @@ -///////////////////////////////////////////////////////////////////////////// -/*** TRANSITIONS ***/ -/* The fake backgrounds used in the Transitions config dialog */ - - images { - image: "O/vgrad_dark.png" COMP; - image: "O/vgrad_light.png" COMP; - image: "O/logo_black_128.png" COMP; - image: "O/logo_white_128.png" COMP; - } - group { - name: "e/transpreview/0"; - parts { - part { - name: "bg"; - mouse_events: 0; - description { - state: "default" 0.0; - image.normal: "O/vgrad_dark.png"; - fill { - size { - relative: 0 1.0; - offset: 36 0; - } - } - } - } - part { - name: "logo"; - mouse_events: 0; - description { - state: "default" 0.0; - image.normal: "O/logo_white_128.png"; - min: 32 32; - max: 128 128; - } - } - } - } - group { - name: "e/transpreview/1"; - parts { - part { - name: "bg"; - mouse_events: 0; - description { - state: "default" 0.0; - image.normal: "O/vgrad_light.png"; - fill { - size { - relative: 0 1.0; - offset: 36 0; - } - } - } - } - part { - name: "logo"; - mouse_events: 0; - description { - state: "default" 0.0; - image.normal: "O/logo_black_128.png"; - min: 32 32; - max: 128 128; - } - } - } - } - /* e/transitions/* The look of transitions when swapping desks */ - group { - name: "e/transitions/crossfade"; - parts { - part { - name: "e.swallow.bg.old"; - type: SWALLOW; - description { - state: "default" 0.0; - } - } - part { - name: "e.swallow.bg.new"; - type: SWALLOW; - clip_to: "bg_new_clip"; - description { - state: "default" 0.0; - } - } - part { - name: "bg_new_clip"; - type: RECT; - mouse_events: 0; - description { - state: "default" 0.0; - color: 255 255 255 0; - } - description { - state: "done" 0.0; - inherit: "default" 0.0; - color: 255 255 255 255; - } - } - } - programs { - program { - name: "go"; - signal: "e,action,start"; - source: "e"; - action: STATE_SET "done" 0.0; - transition: SINUSOIDAL 1.0; - target: "bg_new_clip"; - after: "go2"; - } - program { - name: "go2"; - action: SIGNAL_EMIT "e,state,done" ""; - } - } - } - group { - name: "e/transitions/vswipe"; - images.image: "O/transition_vswipe.png" COMP; - parts { - part { - name: "e.swallow.bg.old"; - type: SWALLOW; - clip_to: "bg_prev_clip"; - description { - state: "default" 0.0; - } - } - part { - name: "e.swallow.bg.new"; - type: SWALLOW; - clip_to: "bg_new_clip"; - description { - state: "default" 0.0; - } - } - part { - name: "bg_prev_clip"; - type: RECT; - mouse_events: 0; - description { - state: "default" 0.0; - rel1.offset: 0 -32; - rel2.offset: -1 31; - } - description { - state: "done" 0.0; - inherit: "default" 0.0; - rel1 { - relative: 0.0 1.0; - offset: 0 31; - } - rel2 { - relative: 1.0 1.0; - offset: -1 31; - } - } - } - part { - name: "bg_new_clip"; - type: RECT; - mouse_events: 0; - description { - state: "default" 0.0; - rel1 { - relative: 0.0 0.0; - offset: 0 -32; - } - rel2 { - relative: 1.0 0.0; - offset: -1 -32; - } - } - description { - state: "done" 0.0; - rel1.offset: 0 -32; - rel2.offset: -1 31; - } - } - part { - name: "swipe_gap"; - mouse_events: 0; - description { - state: "default" 0.0; - min: 0 64; - max: 99999 64; - rel1 { - to: "bg_prev_clip"; - relative: 0.0 0.0; - offset: 0 0; - } - rel2 { - to: "bg_prev_clip"; - relative: 1.0 0.0; - offset: -1 0; - } - image.normal: "O/transition_vswipe.png"; - } - } - } - programs { - program { - name: "go"; - signal: "e,action,start"; - source: "e"; - action: STATE_SET "done" 0.0; - transition: SINUSOIDAL 1.0; - target: "bg_new_clip"; - target: "bg_prev_clip"; - after: "go2"; - } - program { - name: "go2"; - action: SIGNAL_EMIT "e,state,done" ""; - } - } - } - - diff --git a/data/themes/edc/O/winlist.edc b/data/themes/edc/O/winlist.edc deleted file mode 100644 index 6b68062c1..000000000 --- a/data/themes/edc/O/winlist.edc +++ /dev/null @@ -1,414 +0,0 @@ -///////////////////////////////////////////////////////////////////////////// -/*** MOD: WINLIST ***/ - -/* e/widgets/winlist/* is the Window List - gadget that pops up with Alt Tab */ - - group { - name: "e/widgets/winlist/main"; - images { - image: "O/base_bg.png" COMP; - image: "O/bd_top_hilight.png" COMP; - image: "O/bd_title_bg.png" COMP; - image: "O/bd_title_over.png" COMP; - image: "O/menu_sep.png" COMP; - } - parts { - part { - name: "base"; - mouse_events: 0; - description { - state: "default" 0.0; - image { - normal: "O/base_bg.png"; - border: 2 2 2 2; - } - fill.smooth: 0; - } - } - part { - name: "top_hilight"; - mouse_events: 0; - description { - state: "default" 0.0; - rel2.relative: 1.0 0.0; - rel2.offset: -1 15; - image.normal: "O/bd_top_hilight.png"; - fill.smooth: 0; - } - } - part { - name: "title_back"; - mouse_events: 0; - description { - state: "default" 0.0; - rel1.offset: 4 0; - rel2.offset: -5 -4; - rel2.to_y: "e.text.title"; - image { - normal: "O/bd_title_bg.png"; - border: 7 7 2 7; - } - fill.smooth: 0; - } - } - part { - name: "e.swallow.icon"; - type: SWALLOW; - description { - state: "default" 0.0; - aspect: 1.0 1.0; - aspect_preference: VERTICAL; - align: 0.5 0.0; - min: 24 24; - max: 24 24; - rel1 { - relative: 0.0 1.0; - offset: 1 6; - to_y: "title_back"; - } - rel2 { - relative: 1.0 1.0; - offset: -2 30; - to_y: "title_back"; - } - } - } - part { - name: "separator"; - mouse_events: 0; - description { - state: "default" 0.0; - min: 16 2; - rel1 { - offset: 16 2; - relative: 0.0 1.0; - to_y: "e.text.label"; - } - rel2 { - offset: -17 4; - relative: 1.0 1.0; - to_y: "e.text.label"; - } - image { - normal: "O/menu_sep.png"; - border: 2 2 0 0; - } - fill.smooth: 0; - } - } - part { - name: "e.swallow.list"; - type: SWALLOW; - clip_to: "list_clip"; - description { - state: "default" 0.0; - rel1 { - relative: 0.0 1.0; - offset: 12 12; - to_y: "e.text.label"; - } - rel2.offset: -13 -12; - } - } - part { - name: "list_clip"; - type: RECT; - description { - state: "default" 0.0; - color: 255 255 255 255; - rel1.to_y: "e.swallow.list"; - rel2.to_y: "e.swallow.list"; - } - } - part { - name: "e.text.label"; - type: TEXT; - effect: NONE; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - align: 0.5 0.5; - fixed: 0 1; - rel1 { - relative: 0.0 1.0; - offset: 16 16; - to_y: "e.swallow.icon"; - } - rel2 { - relative: 1.0 1.0; - offset: -17 16; - to_y: "e.swallow.icon"; - } - color_class: "winlist_label"; - color: 0 0 0 255; - text { - text: "Title goes here"; - font: "Sans:style=Bold"; - size: 10; - min: 0 1; - align: 0.5 0.5; - text_class: "winlist_label"; - } - } - } - part { - name: "e.text.title"; - type: TEXT; - mouse_events: 0; - effect: SOFT_SHADOW; - scale: 1; - description { - state: "default" 0.0; - fixed: 1 1; - align: 0.5 0.0; - rel1 { - relative: 0.0 0.0; - offset: 0 0; - } - rel2 { - relative: 1.0 0.0; - offset: -1 0; - } - color: 224 224 224 255; - color3: 0 0 0 64; - text { - font: "Sans:style=Bold"; - size: 10; - align: 0.5 0.0; - min: 1 1; - } - } - } - part { - name: "title_over"; - mouse_events: 0; - description { - state: "default" 0.0; - rel1.to: "title_back"; - rel2.to: "title_back"; - image { - normal: "O/bd_title_over.png"; - border: 7 7 2 7; - } - fill.smooth: 0; - } - } - } - } - group { - name: "e/widgets/winlist/item"; - images { - image: "O/menu_sel_bg.png" COMP; - image: "O/menu_sel_fg.png" COMP; - image: "O/pager_window.png" COMP; - image: "O/pager_window_shaded.png" COMP; - image: "O/pager_base2.png" COMP; - } - parts { - part { - name: "bg"; - mouse_events: 0; - description { - state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1 { - relative: 0.0 0.0; - offset: -5 -3; - } - rel2 { - relative: 1.0 1.0; - offset: 4 5; - } - image { - normal: "O/menu_sel_bg.png"; - border: 8 8 5 9; - } - } - description { - state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - rel1 { - relative: 0.0 0.0; - offset: -2 0; - } - rel2 { - relative: 1.0 1.0; - offset: 1 2; - } - } - } - part { - name: "fg"; - mouse_events: 0; - description { - state: "default" 0.0; - visible: 0; - color: 255 255 255 0; - rel1.to: "bg"; - rel2.to: "bg"; - image { - normal: "O/menu_sel_fg.png"; - border: 8 8 5 9; - } - } - description { - state: "selected" 0.0; - inherit: "default" 0.0; - visible: 1; - color: 255 255 255 255; - } - } - part { - name: "e.swallow.icon"; - type: SWALLOW; - description { - state: "default" 0.0; - aspect: 1.0 1.0; - aspect_preference: VERTICAL; - align: 0.0 0.5; - rel1 { - relative: 0.0 0.0; - offset: 4 3; - } - rel2 { - relative: 0.0 1.0; - offset: 4 -1; - to_y: "e.text.label"; - } - } - } - part { - name: "type"; - description { - state: "default" 0.0; - min: 23 24; - max: 23 24; - align: 1.0 0.5; - rel1 { - relative: 1.0 0.5; - offset: -23 -12; - } - rel2 { - relative: 1.0 0.5; - offset: -1 11; - to_y: "e.text.label"; - } - image.normal: "O/pager_window.png"; - } - description { - state: "iconified" 0.0; - inherit: "default" 0.0; - visible: 0; - } - description { - state: "invisible" 0.0; - inherit: "default" 0.0; - image.normal: "O/pager_base2.png"; - } - description { - state: "shaded" 0.0; - inherit: "default" 0.0; - image.normal: "O/pager_window_shaded.png"; - } - } - part { - name: "e.text.label"; - type: TEXT; - effect: SHADOW; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - align: 0.0 0.5; - rel1 { - relative: 1.0 0.0; - offset: 3 5; - to_x: "e.swallow.icon"; - } - rel2 { - relative: 0.0 1.0; - offset: -4 -4; - to_x: "type"; - } - color_class: "winlist_item"; - color: 0 0 0 255; - text { - font: "Sans"; - size: 10; - min: 0 1; - align: 0.0 0.5; - text_class: "winlist_title"; - } - } - description { - state: "selected" 0.0; - inherit: "default" 0.0; - color_class: "winlist_item_active"; - color: 255 255 255 255; - } - } - part { - name: "e.event.winlist.item"; - type: RECT; - mouse_events: 1; - description { - state: "default" 0.0; - min: 12 12; - visible: 1; - color: 0 0 0 0; - rel1.to: "bg"; - rel2.to: "bg"; - } - } - } - programs { - program { - name: "type1"; - signal: "e,state,iconified"; - source: "e"; - action: STATE_SET "iconified" 0.0; - target: "type"; - } - program { - name: "type2"; - signal: "e,state,invisible"; - source: "e"; - action: STATE_SET "invisible" 0.0; - target: "type"; - } - program { - name: "type3"; - signal: "e,state,shaded"; - source: "e"; - action: STATE_SET "shaded" 0.0; - target: "type"; - } - program { - name: "sel"; - signal: "e,state,selected"; - source: "e"; - action: STATE_SET "selected" 0.0; - transition: LINEAR 0.2; - target: "bg"; - target: "fg"; - target: "e.text.label"; - } - program { - name: "unsel"; - signal: "e,state,unselected"; - source: "e"; - action: STATE_SET "default" 0.0; - transition: LINEAR 0.1; - target: "bg"; - target: "fg"; - target: "e.text.label"; - } - } - } - - diff --git a/data/themes/edc/O/wizard.edc b/data/themes/edc/O/wizard.edc deleted file mode 100644 index d7f43bcc7..000000000 --- a/data/themes/edc/O/wizard.edc +++ /dev/null @@ -1,230 +0,0 @@ -///////////////////////////////////////////////////////////////////////////// -/*** MOD: WIZARD ***/ - - group { name: "e/wizard/firstpage"; - images { - image: "O/logo_black_128.png" COMP; - } - parts { - part { name: "base"; - description { state: "default" 0.0; - max: 128 128; - image.normal: "O/logo_black_128.png"; - aspect: 1.0 1.0; - aspect_preference: BOTH; - } - } - } - } - group { name: "e/wizard/extra"; - images { - image: "O/bg_shadow.png" COMP; - image: "O/wizard_pattern.png" COMP; - } - parts { - part { name: "base"; - description { state: "default" 0.0; - image.normal: "O/wizard_pattern.png"; - fill { - smooth: 0; - size { - relative: 0.0 0.0; - offset: 200 200; - } - } - } - } - part { name: "shadow"; - description { state: "default" 0.0; - image.normal: "O/bg_shadow.png"; - fill.smooth: 0; - } - } - part { name: "fade"; type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - color: 0 0 0 255; - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - color: 0 0 0 0; - visible: 0; - } - } - } - programs { - program { name: "fade_in"; - signal: "show"; - source: ""; - action: STATE_SET "hidden" 0.0; - transition: DECELERATE 0.5; - target: "fade"; - } - } - } - group { name: "e/wizard/main"; - images { - image: "O/bg_shadow.png" COMP; - image: "O/wizard_pattern.png" COMP; - image: "O/wizard_bt1.png" COMP; - image: "O/wizard_bt2.png" COMP; - } - parts { - part { name: "base"; - description { state: "default" 0.0; - image.normal: "O/wizard_pattern.png"; - fill { - smooth: 0; - size { - relative: 0.0 0.0; - offset: 200 200; - } - } - } - } - part { name: "e.swallow.content"; type: SWALLOW; - description { state: "default" 0.0; - rel1 { - to_y: "e.text.title"; - relative: 0.2 1.0; - offset: 8 8; - } - rel2 { - to_y: "e.text.label"; - relative: 0.8 0.0; - offset: -9 -21; - } - } - } - part { name: "e.text.title"; type: TEXT; - effect: SOFT_SHADOW; - scale: 1; - description { state: "default" 0.0; - rel1.relative: 0.05 0.05; - rel2.relative: 0.95 0.10; - color: 255 255 255 255; - color3: 0 0 0 32; - text { - font: "Sans:style=Bold"; - size: 16; - min: 0 1; - text_class: "init_title"; - } - } - } - part { name: "button"; - description { state: "default" 0.0; - image.normal: "O/wizard_bt1.png"; - image.border: 12 12 12 12; - rel1 { - to: "e.text.label"; - offset: -12 -12; - } - rel2 { - to: "e.text.label"; - offset: 11 11; - } - } - description { state: "clicked" 0.0; - inherit: "default" 0.0; - image.normal: "O/wizard_bt2.png"; - } - } - part { name: "e.text.label"; type: TEXT; - effect: SHADOW BOTTOM; - scale: 1; - mouse_events: 0; - description { state: "default" 0.0; - min: 64 32; - align: 0.5 1.0; - rel1.relative: 0.5 0.95; - rel2.relative: 0.5 0.95; - color: 32 32 32 255; - color3: 255 255 255 128; - text { - text: "Next"; - font: "Sans:style=Bold"; - size: 16; - min: 1 1; - } - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: 128 128 128 255; - color3: 255 255 255 64; - } - } - part { name: "block"; type: RECT; - mouse_events: 1; - description { state: "default" 0.0; - rel1.to: "e.text.label"; - rel2.to: "e.text.label"; - visible: 0; - color: 0 0 0 0; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "shadow2"; - mouse_events: 0; - description { state: "default" 0.0; - image.normal: "O/bg_shadow.png"; - fill.smooth: 0; - } - } - part { name: "fade"; type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - color: 0 0 0 255; - } - description { state: "hidden" 0.0; - inherit: "default" 0.0; - color: 0 0 0 0; - visible: 0; - } - } - } - programs { - program { name: "fade_in"; - signal: "show"; - source: ""; - action: STATE_SET "hidden" 0.0; - transition: DECELERATE 0.5; - target: "fade"; - } - program { name: "button_click"; - signal: "mouse,down,1"; - source: "button"; - action: STATE_SET "clicked" 0.0; - target: "button"; - } - program { name: "button_unclick"; - signal: "mouse,up,1"; - source: "button"; - action: STATE_SET "default" 0.0; - target: "button"; - } - program { name: "button_unclick2"; - signal: "mouse,clicked,1"; - source: "button"; - action: SIGNAL_EMIT "e,action,next" ""; - } - program { name: "button_enable"; - signal: "e,state,next,enable"; - source: "e"; - action: STATE_SET "default" 0.0; - target: "block"; - target: "e.text.label"; - } - program { name: "button_disable"; - signal: "e,state,next,disable"; - source: "e"; - action: STATE_SET "disabled" 0.0; - target: "block"; - target: "e.text.label"; - } - } - } -