From e0864bdd30a5080b419556693f4b2a46ee605648 Mon Sep 17 00:00:00 2001 From: fgau Date: Sun, 21 Sep 2008 13:36:09 +0000 Subject: [PATCH] add gps status edje git-svn-id: http://www.neo1973-germany.de/svn@170 46df4e5c-bc4e-4628-a0fc-830ba316316d --- epydial/data/themes/blackwhite/gps_status.edc | 156 ++++++++++++++++++ epydial/data/themes/blackwhite/gps_status.edj | Bin 0 -> 11486 bytes 2 files changed, 156 insertions(+) create mode 100644 epydial/data/themes/blackwhite/gps_status.edc create mode 100644 epydial/data/themes/blackwhite/gps_status.edj diff --git a/epydial/data/themes/blackwhite/gps_status.edc b/epydial/data/themes/blackwhite/gps_status.edc new file mode 100644 index 0000000..9f078f8 --- /dev/null +++ b/epydial/data/themes/blackwhite/gps_status.edc @@ -0,0 +1,156 @@ +// incall.edc +// this is a theme for epydial, a pyneo dialer +// +// TODO: make the font colors shinier :) +// +// Signal1: "dialer_incall_send" +// Parameter1.1: "Accept Call" +// Parameter1.2: "Hangup Call" + +data { + item: "author" "thomasg [thomas (a) gstaedtner (.) net]"; + item: "version" "prototype"; + item: "name" "epydial_blackwhite"; +} +/* +images { + image: "bg.png" COMP; +}*/ + +color_classes { + color_class { + name: "black"; + color: 0 0 0 255; + color2: 0 0 0 255; + color3: 0 0 0 255; + } + color_class { + name: "unvisible"; + color: 0 0 0 0; + color2: 128 128 128 255; + color3: 128 128 128 255; + } + color_class { + name: "button_inactive"; + color: 255 255 255 128; + color2: 128 128 128 255; + color3: 128 128 128 255;; + } +} + +#define BUTTON(button_number, rel1x, rel1y, rel2x, rel2y, button_caption) \ +part { \ + name: "button_"button_number; \ + type: RECT; \ + description { \ + state: "default" 0; \ + color_class: "unvisible"; \ + rel1 { relative: rel1x rel1y; offset: 0 0; }; \ + rel2 { relative: rel2x rel2y; offset: 0 0; }; \ + } \ + description { \ + state: "default" 0.5; \ + inherit: "default" 0; \ + color_class: "unvisible"; \ + rel1.offset: 0 -5; \ + rel2.offset: 0 5; \ + } \ + description { \ + state: "default" 1; \ + inherit: "default" 0; \ + } \ +} \ +part { \ + name: "button_"button_number"_caption"; \ + type: TEXT; \ + mouse_events: 0; \ + description { \ + state: "default" 0; \ + color_class: "button_inactive"; \ + rel1 { \ + to: "button_"button_number; \ + relative: 0 0; \ + } \ + rel2 { \ + to: "button_"button_number; \ + relative: 1 1; \ + } \ + text { \ + text: button_caption; \ + size: 18; \ + font: "Sans:style=Bold,Edje-Vera"; \ + fit: 1 1; \ + } \ + } \ +} \ +program { \ + name: "button_"button_number"_signal_emit"; \ + signal: "mouse,down,*"; \ + source: "button_"button_number; \ + action: SIGNAL_EMIT "gps_send" button_caption; \ +} \ +program { \ + name: "button_"button_number"_animation"; \ + signal: "mouse,down,*"; \ + source: "button_"button_number; \ + action: STATE_SET "default" 0.5; \ + target: "button_"button_number; \ +} \ +program { \ + name: "button_"button_number"_animation_end"; \ + signal: "mouse,up,*"; \ + source: "button_"button_number; \ + action: STATE_SET "default" 1; \ + target: "button_"button_number; \ + transition: DECELERATE 0.1; \ +} + +collections { + group { + name: "pyneo/gps/status"; + min: 100 100; + max: 800 800; + parts { + part { + name: "background"; + type: RECT; + description { + color_class: "black"; + rel1 { relative: 0 0; offset: 0 0; }; + rel2 { relative: 1 1; offset: 0 0; }; + } + } + part { + name: "headline"; + type: TEXT; + mouse_events: 0; + description { + state: "default" 0; + color_class: "button_inactive"; + rel1 { relative: 0 0; } + rel2 { relative: 1 1/7; } + text { + text: "gps status"; + size: 18; + font: "Sans:style=Bold,Edje-Vera"; + fit: 1 1; + } + } + } + part { + name: "fix_caption"; + type: TEXT; + mouse_events: 0; + description { + color_class: "button_inactive"; + state: "default" 0.0; + rel1 { relative: 0 3/20; } + rel2 { relative: 1/3 4/20; } + text { text, "fix"; font: "Sans"; size, 1; align, 0 0.5; fit, 0 1; } + } + } /* end fix_caption */ + BUTTON(11, 1/3, 58/70, 2/3, 68/70, "on"); + BUTTON(12, 2/3, 58/70, 3/3, 68/70, "<"); + } + } +} diff --git a/epydial/data/themes/blackwhite/gps_status.edj b/epydial/data/themes/blackwhite/gps_status.edj new file mode 100644 index 0000000000000000000000000000000000000000..d61820c15dc27de5b6ae43a1b3956996cc47c4f7 GIT binary patch literal 11486 zcmb`L2|!fU_s5^%66D4r;+D@T6BGs*Gzl~lL0nQyajSHCFppt$m>FgUgowZ`w=6YH z`?;j8zsfW-H7ipzO-;?}SE8A?WM*dCqNb+)zURLChC8E`zyANx!@2kK&Rx&B_rCjX zKhY#jlB6KW=aSTNwItPTC`swLlGOAAu*Q%&l63nz*!F1FUXVK7|zy!T|yrHkY3{K9!UzVk9;Vk zCuh$h+Z_4&l&2rk4}rCT4$=r?HDEGWdw~^#Wq?t;U3l3~!3H4TR$HATei-x?x?b?H(yhLM}%h|uc-a$SjpzMcW^|%ejD#gHV z3)w-Qju0*@;VAF^}-s5&>!Db;(V;;uYYhVkI z4~ER(Oa)tpJe7TnGt6Dszq#GZ(6k12fUSb2IDMMijR0GRJo&>UFw7UL5A!P}LJ-Sg zRm8}Ken?~9!nQ--rV++4{;)5IK~OjA`*g5FNH>D)Kj zz&3-4{VM_64W{oU6z^D*;j~9k91P`cVBZYik37x&QqIti@b8cp*Tdytr5_Y7E00K*(djL{kNUI^wO0&TPU-h}Q0ISYpIvAACjjebzSBPxmUvCcyp zu^WMS^D&B(O0Xx1K^Ah`9$<5j7h|I<*mD7_3T!DDt%dcxEc_Vp1~Fl5yX zMr*IBV3!H@p8z%>4o4jnstaUqTvtMzf{RVoY8Fqc~x9-1Y&m_X8MW zyV*`K^6zwRw+!q{Vw9&J((pyI!_Z=VBf;qW#oCcpL1=y#g5fOmD~oxFq&d;o)>x$L zf{~BJHV_w)ZNbEGs9>GIXrA{#jF1&z6xYlSn)<#0tS7X%-cEw`B?ei*$8iM=^WbOq zGZ@CAG3b2Ab}$86^xILeF#+s*Fi!yc2@JmTE4vA7asc}Q?5O~D7z}#{i=hvpV<6b) zB9{_l&d~e;zeTC8A-+p$O-^g=d;(J6imIbW|k+l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