From 07274513e984f0b5544586c74508ccd16e7dcafa Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Sun, 13 Jan 2013 17:29:19 +1000 Subject: Remove EFL, since it's been released now. --- libraries/elementary/data/themes/default.edc | 372 --------------------------- 1 file changed, 372 deletions(-) delete mode 100644 libraries/elementary/data/themes/default.edc (limited to 'libraries/elementary/data/themes/default.edc') diff --git a/libraries/elementary/data/themes/default.edc b/libraries/elementary/data/themes/default.edc deleted file mode 100644 index 28824e0..0000000 --- a/libraries/elementary/data/themes/default.edc +++ /dev/null @@ -1,372 +0,0 @@ -// LICENSE NOTE: -// This file (and only this one) is licenses under public-domain. The reason -// is that this is meant to serve as a template for making your own themes and -// Elementary's LGPL license is not intended to follow. The images used do come -// under LGPL, but this file specifically for the structure of your theme is -// public-domain. This means you can take, use, re-license and otherwise -// have zero restrictions on using this file as a base for your theme. - -externals.external: "elm"; - -collections { - -/////////////////////////////////////////////////////////////////////////////// - group { name: "elm/focus_highlight/top/default"; - images { - image: "emo-unhappy.png" COMP; - } - - data { - item: "animate" "on"; - } - - script { - public s_x, s_y, s_w, s_h; /* source */ - public difx, dify, difw, difh; - public rot_dir; - - public animator1(val, Float:pos) { - new x, y, w, h, dx, dy, dw, dh, Float:rot; - - dx = round(float_mul(float(get_int(difx)), pos)); - x = get_int(s_x) + dx; - dy = round(float_mul(float(get_int(dify)), pos)); - y = get_int(s_y) + dy; - dw = round(float_mul(float(get_int(difw)), pos)); - w = get_int(s_w) + dw; - dy = round(float_mul(float(get_int(difh)), pos)); - h = get_int(s_h) + dh; - - update_offset(x, y, w, h); - - rot = 360.0 * pos * float(get_int(rot_dir)); - set_state_val(PART:"shine", STATE_MAP_ROT_Z, rot); - - if (pos >= 1.0) { - emit("elm,action,focus,anim,end", ""); - set_state(PART:"shine", "default", 0.0); - } - } - - public update_offset(x, y, w, h) { - new x1, y1, x2, y2; - x1 = x + w - 15; - y1 = y - 15; - x2 = x + w + 14; - y2 = y + 14; - set_state_val(PART:"shine", STATE_REL1_OFFSET, x1, y1); - set_state_val(PART:"shine", STATE_REL2_OFFSET, x2, y2); - } - - public message(Msg_Type:type, id, ...) { - if ((type == MSG_INT_SET) && (id == 1)) { - new x1, y1, w1, h1; - new x2, y2, w2, h2; - new px1, px2, py1, py2; - new rd; - - x1 = getarg(2); - y1 = getarg(3); - w1 = getarg(4); - h1 = getarg(5); - x2 = getarg(6); - y2 = getarg(7); - w2 = getarg(8); - h2 = getarg(9); - - set_int(s_x, x1); - set_int(s_y, y1); - set_int(s_w, w1); - set_int(s_h, h1); - set_int(difx, x2 - x1); - set_int(dify, y2 - y1); - set_int(difw, w2 - w1); - set_int(difh, h2 - h1); - - px1 = x1 + w1; - px2 = x2 + w2; - py1 = y1 + h1; - py2 = y2 + h2; - if (px2 > px1) { - rd = 1; - } else if (px1 > px2) { - rd = -1; - } else { - if (py2 > py1) { - rd = 1; - } else { - rd = -1; - } - } - set_int(rot_dir, rd); - - custom_state(PART:"shine", "default", 0.0); - set_state_val(PART:"shine", STATE_REL1, 0.0, 0.0); - set_state_val(PART:"shine", STATE_REL2, 0.0, 0.0); - set_state_val(PART:"shine", STATE_MAP_ON, 1); - set_state_val(PART:"shine", STATE_MAP_ROT_Z, 0.0); - update_offset(x1, y1, w1, h1); - set_state(PART:"shine", "custom", 0.0); - - anim(0.2, "animator1", 1); - } - } - } - - parts { - part { name: "base"; - type: RECT; - repeat_events: 1; - description { state: "default" 0.0; - rel1.relative: 0.0 0.0; - rel2.relative: 1.0 1.0; - visible: 0; - } - } - part { name: "shine"; - type: IMAGE; - mouse_events: 1; - repeat_events: 1; - ignore_flags: ON_HOLD; - description { state: "default" 0.0; - image { - normal: "emo-unhappy.png"; - } - rel1.to: "base"; - rel1.relative: 1.0 0.0; - rel1.offset: -15 -15; - rel2.to: "base"; - rel2.relative: 1.0 0.0; - rel2.offset: 14 14; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: 0 0 0 0; - } - } - - program { name: "show"; - signal: "elm,action,focus,show"; - source: "elm"; - action: ACTION_STOP; - target: "hide"; - target: "hide_start"; - target: "hide_end"; - after: "show_start"; - } - program { name: "show_start"; - action: STATE_SET "default" 0.0; - transition: LINEAR 0.2; - target: "shine"; - after: "show_end"; - } - program { name: "show_end"; - action: SIGNAL_EMIT "elm,action,focus,show,end" ""; - } - program { name: "hide"; - signal: "elm,action,focus,hide"; - source: "elm"; - action: ACTION_STOP; - target: "show"; - target: "show_start"; - target: "show_end"; - after: "hide_start"; - } - program { name: "hide_start"; - action: STATE_SET "disabled" 0.0; - transition: LINEAR 0.2; - target: "shine"; - after: "hide_end"; - } - program { name: "hide_end"; - action: SIGNAL_EMIT "elm,action,focus,hide,end" ""; - } - } - } - -/////////////////////////////////////////////////////////////////////////////// - group { name: "elm/focus_highlight/bottom/default"; - parts { - part { name: "shine"; - type: RECT; - mouse_events: 1; - repeat_events: 1; - ignore_flags: ON_HOLD; - description { state: "default" 0.0; - color: 0 255 0 50; - rel1.offset: 0 0; - rel2.offset: 0 0; - } - description { state: "disabled" 0.0; - inherit: "default" 0.0; - color: 0 0 0 0; - } - } - - program { name: "show"; - signal: "elm,action,focus,show"; - source: "elm"; - action: ACTION_STOP; - target: "hide"; - target: "hide_start"; - target: "hide_end"; - after: "show_start"; - } - program { name: "show_start"; - action: STATE_SET "default" 0.0; - transition: LINEAR 0.2; - target: "shine"; - after: "show_end"; - } - program { name: "show_end"; - action: SIGNAL_EMIT "elm,action,focus,show,end" ""; - } - program { name: "hide"; - signal: "elm,action,focus,hide"; - source: "elm"; - action: ACTION_STOP; - target: "show"; - target: "show_start"; - target: "show_end"; - after: "hide_start"; - } - program { name: "hide_start"; - action: STATE_SET "disabled" 0.0; - transition: LINEAR 0.2; - target: "shine"; - after: "hide_end"; - } - program { name: "hide_end"; - action: SIGNAL_EMIT "elm,action,focus,hide,end" ""; - } - } - } - -/////////////////////////////////////////////////////////////////////////////// - group { name: "elm/access/base/default"; - images { - image: "access_glow.png" LOSSY 85; - } - parts { - part { name: "block1"; type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - color: 0 0 0 200; - rel1 { to: "base"; - relative: 0.0 0.0; - offset: -100000 -100000; - } - rel2 { to: "base"; - relative: 1.0 0.0; - offset: 100000 96; - } - } - } - part { name: "block2"; type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - color: 0 0 0 200; - rel1 { to: "base"; - relative: 0.0 1.0; - offset: -100000 -97; - } - rel2 { to: "base"; - relative: 1.0 1.0; - offset: 100000 100000; - } - } - } - part { name: "block3"; type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - color: 0 0 0 200; - rel1 { to: "block1"; - relative: 0.0 1.0; - offset: 0 0; - } - rel2 { to_x: "base"; to_y: "block2"; - relative: 0.0 0.0; - offset: 96 -1; - } - } - } - part { name: "block4"; type: RECT; - mouse_events: 0; - description { state: "default" 0.0; - color: 0 0 0 200; - rel1 { to_x: "base"; to_y: "block1"; - relative: 1.0 1.0; - offset: -97 0; - } - rel2 { to: "block2"; - relative: 1.0 0.0; - offset: -1 -1; - } - } - } - part { name: "base"; - mouse_events: 0; - description { state: "default" 0.0; - image.normal: "access_glow.png"; - image.border: 112 112 112 112; - rel1.offset: -102 -102; - rel2.offset: 101 101; - fill.smooth: 0; - } - } - } - } - -#include "widgets/bg.edc" -#include "widgets/border.edc" -#include "widgets/scroller.edc" -#include "widgets/label.edc" -#include "widgets/button.edc" -#include "widgets/clock.edc" -#include "widgets/datetime.edc" -#include "widgets/dayselector.edc" -#include "widgets/menu.edc" -#include "widgets/frame.edc" -#include "widgets/tooltip.edc" -#include "widgets/hover.edc" -#include "widgets/ctxpopup.edc" -#include "widgets/entry.edc" -#include "widgets/bubble.edc" -#include "widgets/photo.edc" -#include "widgets/thumb.edc" -#include "widgets/icon.edc" -#include "widgets/toolbar.edc" -#include "widgets/notify.edc" -#include "widgets/slideshow.edc" -#include "widgets/win.edc" -#include "widgets/list.edc" -#include "widgets/slider.edc" -#include "widgets/actionslider.edc" -#include "widgets/genlist.edc" -#include "widgets/check.edc" -#include "widgets/radio.edc" -#include "widgets/progressbar.edc" -#include "widgets/separator.edc" -#include "widgets/spinner.edc" -#include "widgets/index.edc" -#include "widgets/gengrid.edc" -#include "widgets/photocam.edc" -#include "widgets/map.edc" -#include "widgets/panes.edc" -#include "widgets/panel.edc" -#include "widgets/conformant.edc" -#include "widgets/calendar.edc" -#include "widgets/colorselector.edc" -#include "widgets/flipselector.edc" -#include "widgets/diskselector.edc" -#include "widgets/fileselector.edc" -#include "widgets/layout.edc" -#include "widgets/segment_control.edc" -#include "widgets/player.edc" -#include "widgets/video.edc" -#include "widgets/naviframe.edc" -#include "widgets/multibuttonentry.edc" -#include "widgets/popup.edc" -#include "ews.edc" -#include "widgets/pointer.edc" -} -- cgit v1.1