Enlightenment CVS committal

Author  : mej
Project : e_modules
Module  : net

Dir     : e_modules/net


Modified Files:
        AUTHORS Makefile.am autogen.sh configure.in net.edc 
Added Files:
        module.edc 
Removed Files:
        VeraMono.ttf e_mod_config.c e_mod_main.c e_mod_main.h 
        module_icon.png rx_00.png rx_01.png rx_02.png rx_03.png 
        rx_04.png rx_05.png rx_06.png rx_07.png rx_08.png rx_09.png 
        rx_10.png tx_00.png tx_01.png tx_02.png tx_03.png tx_04.png 
        tx_05.png tx_06.png tx_07.png tx_08.png tx_09.png tx_10.png 


Log Message:
Sun Feb 11 04:28:49 2007                        Michael Jennings (mej)

devilhorns' new net module.
----------------------------------------------------------------------

===================================================================
RCS file: /cvs/e/e_modules/net/AUTHORS,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- AUTHORS     19 Feb 2006 18:23:14 -0000      1.1
+++ AUTHORS     11 Feb 2007 15:28:53 -0000      1.2
@@ -1,2 +1 @@
-Originally by Matthew Mullins.
-Recoded into seperate modules by Christopher 'devilhorns' Michael <[EMAIL 
PROTECTED]>
+Christopher 'devilhorns' Michael       <[EMAIL PROTECTED]>
===================================================================
RCS file: /cvs/e/e_modules/net/Makefile.am,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -3 -r1.14 -r1.15
--- Makefile.am 8 Nov 2006 15:36:05 -0000       1.14
+++ Makefile.am 11 Feb 2007 15:28:53 -0000      1.15
@@ -1,67 +1,38 @@
-MAINTAINERCLEANFILES = Makefile.in e_modules-net.spec
+ACLOCAL_AMFLAGS = -I m4
+MAINTAINERCLEANFILES = Makefile.in
 
-SUBDIRS = po
+SUBDIRS = src
 
-EDJE_CC = @edje_cc@
 EDJE_FLAGS = -v \
--id $(top_srcdir) \
--fd $(top_srcdir)
+-id $(top_srcdir)/images \
+-fd $(top_srcdir)/fonts
 
-# data files for the module
 filesdir = $(datadir)
+files_DATA = module.desktop \
+            module.edj \
+            net.edj
+            
+EXTRA_DIST = $(files_DATA) \
+            module.desktop.in \
+            module.edc \
+            net.edc \
+            fonts/Vera.ttf \
+            fonts/VeraBd.ttf \
+            images/module_icon.png \
+            images/bd.png \
+            images/device.png \
+            images/rx.png \
+            images/tx.png \
+            images/idle.png         
 
-files_DATA = module_icon.png \
-                       module.desktop \
-                       module.edj \
-                       net.edj
-
-EXTRA_DIST=$(files_DATA) \
-                       e_modules-net.spec \
-                       net.edc \
-                       rx_00.png \
-                       rx_01.png \
-                       rx_02.png \
-                       rx_03.png \
-                       rx_04.png \
-                       rx_05.png \
-                       rx_06.png \
-                       rx_07.png \
-                       rx_08.png \
-                       rx_09.png \
-                       rx_10.png \
-                       tx_00.png \
-                       tx_01.png \
-                       tx_02.png \
-                       tx_03.png \
-                       tx_04.png \
-                       tx_05.png \
-                       tx_06.png \
-                       tx_07.png \
-                       tx_08.png \
-                       tx_09.png \
-                       tx_10.png \
-                       VeraMono.ttf
-
-# the module .so file
-INCLUDES = -I. \
-        -I$(top_srcdir) \
-        -I$(includedir) \
-        @e_cflags@
-
-pkgdir                 = $(datadir)/$(MODULE_ARCH)
-pkg_LTLIBRARIES        = module.la
-module_la_SOURCES      = e_mod_main.c \
-                      e_mod_main.h \
-                      e_mod_config.c
-                      
-module_la_LIBADD       = @e_libs@
-module_la_LDFLAGS      = -module -avoid-version
-module_la_DEPENDENCIES = $(top_builddir)/config.h $(top_builddir)/net.edj
-
-%.edj:  %.edc
+%.edj: %.edc
        $(EDJE_CC) $(EDJE_FLAGS) $< $@
+       
+module.edj: module.edc
+       $(EDJE_CC) $(EDJE_FLAGS) module.edc module.edj
 
 clean-local:
-        rm -rf net.edj *~
+       rm -rf module.edj net.edj *~
+       
 uninstall:
-         rm -rf $(datadir)
+       rm -rf $(datadir)
===================================================================
RCS file: /cvs/e/e_modules/net/autogen.sh,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- autogen.sh  9 Mar 2006 11:39:09 -0000       1.2
+++ autogen.sh  11 Feb 2007 15:28:53 -0000      1.3
@@ -5,22 +5,11 @@
 
 touch README
 
-echo "Running aclocal..." ; aclocal $ACLOCAL_FLAGS || exit 1
+echo "Running aclocal..." ; aclocal $ACLOCAL_FLAGS -I m4 || exit 1
 echo "Running autoheader..." ; autoheader || exit 1
 echo "Running autoconf..." ; autoconf || exit 1
 echo "Running libtoolize..." ; (libtoolize --copy --automake || glibtoolize 
--automake) || exit 1
 echo "Running automake..." ; automake --add-missing --copy --gnu || exit 1
-echo "Generating gettext net.pot template"; \
-xgettext \
---output net.pot \
---output-dir=po \
---language=C \
---add-location \
---keyword=D_ \
---sort-by-file \
---copyright-holder="TODO" \
---foreign-user \
-`find . -name "*.[ch]" -print` || exit 1
 
 if [ -z "$NOCONFIGURE" ]; then
        ./configure "$@"
===================================================================
RCS file: /cvs/e/e_modules/net/configure.in,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -3 -r1.12 -r1.13
--- configure.in        17 Sep 2006 15:34:25 -0000      1.12
+++ configure.in        11 Feb 2007 15:28:53 -0000      1.13
@@ -1,156 +1,76 @@
-dnl Process this file with autoconf to produce a configure script.
-
-# get rid of that stupid cache mechanism
 rm -f config.cache
 
-AC_INIT(configure.in)
+AC_PREREQ(2.59)
+AC_INIT([net2], [0.0.1], [EMAIL PROTECTED])
+AC_CONFIG_HEADERS(config.h)
+AC_CONFIG_MACRO_DIR([m4])
+AM_INIT_AUTOMAKE([1.9 foreign])
+
 AC_CANONICAL_BUILD
 AC_CANONICAL_HOST
 
-AM_INIT_AUTOMAKE(net, 0.0.1)
-AM_CONFIG_HEADER(config.h)
-AC_ISC_POSIX
 AC_PROG_CC
-AM_PROG_CC_STDC
-AC_HEADER_STDC
-AC_C_CONST
-AM_ENABLE_SHARED
 AM_PROG_LIBTOOL
-
-ALL_LINGUAS="eo fi it sv ja"
-AC_SUBST(ALL_LINGUAS)
-
-AM_GNU_GETTEXT([external])
-AM_GNU_GETTEXT_VERSION(0.14)
+AC_HEADER_STDC
 
 MODULE_ARCH="$host_os-$host_cpu"
 AC_SUBST(MODULE_ARCH)
 AC_DEFINE_UNQUOTED(MODULE_ARCH, "$MODULE_ARCH", "Module architecture")
 
-if test "x${bindir}" = 'x${exec_prefix}/bin'; then
-  if test "x${exec_prefix}" = "xNONE"; then
-    if test "x${prefix}" = "xNONE"; then
-      bindir="${ac_default_prefix}/bin";
-    else
-      bindir="${prefix}/bin";
-    fi
-  else
-    if test "x${prefix}" = "xNONE"; then
-      bindir="${ac_default_prefix}/bin";
-    else
-      bindir="${prefix}/bin";
-    fi
-  fi
-fi
-
-if test "x${libdir}" = 'x${exec_prefix}/lib'; then
-  if test "x${exec_prefix}" = "xNONE"; then
-    if test "x${prefix}" = "xNONE"; then
-      libdir="${ac_default_prefix}/lib";
-    else
-      libdir="${prefix}/lib";
-    fi
-  else
-    if test "x${prefix}" = "xNONE"; then
-      libdir="${ac_default_prefix}/lib";
-    else
-      libdir="${prefix}/lib";
-    fi
-  fi
-fi
-
-dnl Set PACKAGE_BIN_DIR in config.h.
-if test "x${bindir}" = 'xNONE'; then
-  if test "x${prefix}" = "xNONE"; then
-    AC_DEFINE_UNQUOTED(PACKAGE_BIN_DIR, "${ac_default_prefix}/bin", "Package 
installed binaries destination")
-  else
-    AC_DEFINE_UNQUOTED(PACKAGE_BIN_DIR, "${prefix}/bin", "Package installed 
binaries destination")
-  fi
+# Check Library Directory
+if test "x${libdir}" = "x${exec_prefix}/lib"; then
+   if test "x${exec_prefix}" = "xNONE"; then
+      if test "x${prefix}" = "xNONE"; then
+        libdir="${ac_default_prefix}/lib";
+      else
+        libdir="${prefix}/lib";
+      fi
+   else
+      if test "x${prefix}" = "xNONE"; then
+        libdir="${ac_default_prefix}/lib";
+      else
+        libdir="${prefix}/lib";
+      fi
+   fi
+fi
+
+#
+# Set Library Directory in config.h
+#
+if test "x${libdir}" = "xNONE"; then
+   if test "x${prefix}" = "xNONE"; then
+      AC_DEFINE_UNQUOTED(PACKAGE_LIB_DIR, "${ac_default_prefix}/lib", "Package 
libraries destination")
+   else
+      AC_DEFINE_UNQUOTED(PACKAGE_LIB_DIR, "${prefix}/lib", "Package libraries 
destination")
+   fi
 else
-  AC_DEFINE_UNQUOTED(PACKAGE_BIN_DIR, "${bindir}", "Package installed binaries 
destination")
+   AC_DEFINE_UNQUOTED(PACKAGE_LIB_DIR, "${libdir}", "Package libraries 
destination")
 fi
 
-dnl Set PACKAGE_LIB_DIR in config.h.
-if test "x${libdir}" = 'xNONE'; then
-  if test "x${prefix}" = "xNONE"; then
-    AC_DEFINE_UNQUOTED(PACKAGE_LIB_DIR, "${ac_default_prefix}/lib", "Package 
installed libraries destination")
-  else
-    AC_DEFINE_UNQUOTED(PACKAGE_LIB_DIR, "${prefix}/lib", "Package installed 
libraries destination")
-  fi
-else
-  AC_DEFINE_UNQUOTED(PACKAGE_LIB_DIR, "${libdir}", "Package installed 
libraries destination")
-fi
-
-dnl Set PACKAGE_DATA_DIR in config.h.
+#
+# Set Data Directory in config.h
+#
 if test "x${prefix}" = "xNONE"; then
-    AC_DEFINE_UNQUOTED(PACKAGE_DATA_DIR, "${HOME}/.e/e/modules/${PACKAGE}", 
"Package installed data destination")
-    datadir="${HOME}/.e/e/modules/${PACKAGE}"
+   datadir="${HOME}/.e/e/modules/${PACKAGE}"
 else
-    AC_DEFINE_UNQUOTED(PACKAGE_DATA_DIR, 
"${libdir}/enlightenment/modules/${PACKAGE}", "Package installed data 
destination")
-    datadir="${libdir}/enlightenment/modules/${PACKAGE}"    
+   datadir="${libdir}/enlightenment/modules/${PACKAGE}"
 fi
+AC_DEFINE_UNQUOTED(PACKAGE_DATA_DIR, "${datadir}", "Package data destination")
 
-AC_PREFIX_DEFAULT(${HOME}/.e/e)
-if test "x$prefix" = "xNONE"; then
-  datarootdir=${ac_default_prefix}
-else
-  datarootdir=${prefix}/share
-fi
-localedir=${datarootdir}/locale
-AC_SUBST(LOCALEDIR, "${localedir}")
-AC_DEFINE_UNQUOTED(LOCALEDIR, "${localedir}", [Module Locale Directory])
-
-#AC_CHECK_LIB(dl, dlopen, dlopen_libs=-ldl)
-#AC_SUBST(dlopen_libs)
-
-AC_ARG_WITH(edje-config,
-[  --with-edje-config=EDJE_CONFIG      use edje-config specified ],
-[
-  EDJE_CONFIG=$withval;
-  echo "using "$EDJE_CONFIG" for edje-config";
-/
-],[
-  PROG="edje-config";
-  AC_PATH_PROG(EDJE_CONFIG, $PROG, "", $PATH)
-])
-edje_cflags=`$EDJE_CONFIG --cflags`
-edje_libs=`$EDJE_CONFIG --libs`
-AC_SUBST(edje_cflags)
-AC_SUBST(edje_libs)
-
-edje_cc="`$EDJE_CONFIG --prefix`/bin/edje_cc"
-AC_ARG_WITH(edje-cc,
-[  --with-edje-cc=PATH              specify a specific path to edje_cc],
-[
-  v=$withval;
-  edje_cc=$v
-  echo "  Enlightenment edje_cc explicitly set to "$edje_cc;
-],[
-  edje_cc="`$EDJE_CONFIG --prefix`/bin/edje_cc"
-])
-AC_SUBST(edje_cc)
-
-AC_ARG_WITH(enlightenment-config,
-[  --with-enlightenment-config=E_CONFIG    use enlightenment-config specified 
],
-[
-  E_CONFIG=$withval;
-  echo "using "$E_CONFIG" for enlightenment-config";
-],[
-  PROG="enlightenment-config";
-  AC_PATH_PROG(E_CONFIG, $PROG, "", $PATH)
-])
-e_cflags=`$E_CONFIG --cflags`
-e_libs=`$E_CONFIG --libs`
-e_modules=`$E_CONFIG --module-dir`
-AC_SUBST(e_cflags)
-AC_SUBST(e_libs)
-AC_SUBST(e_modules)
+#
+# Check EFL Libs
+#
+AC_PATH_GENERIC([edje], [0.5.0], [], [AC_MSG_ERROR(Edje is not installed)],)
+AC_PATH_PROG(EDJE_CC, "edje_cc", "", $PATH)
+
+#
+# Check Enlightenment
+#
+AC_PATH_GENERIC([enlightenment], [0.16.999.037], [], 
[AC_MSG_ERROR(Enlightenment is not installed)],)
 
 AC_OUTPUT([
 Makefile
-e_modules-net.spec
+src/Makefile
 module.desktop
-po/Makefile
-],[
-])
+],[])
 
===================================================================
RCS file: /cvs/e/e_modules/net/net.edc,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -3 -r1.25 -r1.26
--- net.edc     11 Oct 2006 20:56:03 -0000      1.25
+++ net.edc     11 Feb 2007 15:28:53 -0000      1.26
@@ -1,499 +1,290 @@
-images
+images 
 {
-   image: "module_icon.png" COMP;
-   image: "rx_00.png" COMP;
-   image: "rx_01.png" COMP;
-   image: "rx_02.png" COMP;
-   image: "rx_03.png" COMP;
-   image: "rx_04.png" COMP;
-   image: "rx_05.png" COMP;
-   image: "rx_06.png" COMP;
-   image: "rx_07.png" COMP;
-   image: "rx_08.png" COMP;
-   image: "rx_09.png" COMP;
-   image: "rx_10.png" COMP;
-   image: "tx_00.png" COMP;
-   image: "tx_01.png" COMP;
-   image: "tx_02.png" COMP;
-   image: "tx_03.png" COMP;
-   image: "tx_04.png" COMP;
-   image: "tx_05.png" COMP;
-   image: "tx_06.png" COMP;
-   image: "tx_07.png" COMP;
-   image: "tx_08.png" COMP;
-   image: "tx_09.png" COMP;
-   image: "tx_10.png" COMP;
+   image: "device.png" COMP;
+   image: "rx.png" COMP;
+   image: "tx.png" COMP;
+   image: "idle.png" COMP;
+   image: "bd.png" COMP;
 }
 
-fonts
+fonts 
 {
-   font: "VeraMono.ttf" "VeraMono";
+   font: "Vera.ttf" "Vera";
+   font: "VeraBd.ttf" "VeraBold";
 }
 
-collections
+collections 
 {
-   group
+   group 
      {
        name: "modules/net/main";
-       min: 4 4;
        max: 128 128;
-       script 
+       parts 
          {
-          public message(Msg_Type:type, id, ...) 
-              {
-                 if ((type == MSG_INT_SET) && (id == 1)) 
-                   {
-                      new f = getarg(2);
-                      new Float:value;
-                      
-                      value = f;
-                      value = (value / 10);
-                      set_state(PART:"rx_meter", "default", value);
-                   }
-                 if ((type == MSG_INT_SET) && (id == 2)) 
-                   {
-                      new f = getarg(2);
-                      new Float:value;
-                      
-                      value = f;
-                      value = (value / 10);
-                      set_state(PART:"tx_meter", "default", value);
-                   }             
-              }             
-         }
-       
-       parts
-         {
-            part
+            part 
               {
-                 name: "fade_clip";
-                 type: RECT;
-                 description
+                 name: "rx";
+                 type: IMAGE;
+                 description 
                    {
                       state: "default" 0.0;
+                      aspect: 1.0 1.0;
+                      aspect_preference: BOTH;
+                      visible: 0;
+                      rel1.to: "base";
+                      rel2.to: "base";
+                      image.normal: "rx.png";
+                      color: 255 255 255 0;
+                   }
+                 description 
+                   {
+                      state: "active" 0.0;
+                      inherit: "default" 0.0;
+                      visible: 1;
                       color: 255 255 255 255;
-                      rel1
-                        {
-                           relative: 0.0 0.0;
-                           offset: 0 0;
-                        }
-                      rel2
-                        {
-                           relative: 1.0 1.0;
-                           offset: -1 -1;
-                        }
                    }
               }
-            part
+            part 
               {
-                 name: "net";
+                 name: "base";
                  type: IMAGE;
-                 clip_to: "fade_clip";
-                 description
+                 description 
                    {
                       state: "default" 0.0;
                       aspect: 1.0 1.0;
                       aspect_preference: BOTH;
-                      rel1
-                        {
-                           relative: 0.0 0.0;
-                           offset: 0 0;
-                        }
-                      rel2
-                        {
-                           relative: 1.0 1.0;
-                           offset: -1 -1;
-                        }
-                      image
-                        {
-                           normal: "module_icon.png";
-                        }
-                      color: 255 255 255 192;
+                      image.normal: "idle.png";
                    }
               }
             part 
               {
-                 name: "net_label";
-                 type: TEXT;
-                 effect: SOFT_SHADOW;
+                 name: "tx";
+                 type: IMAGE;
                  description 
                    {
                       state: "default" 0.0;
-                      color: 255 255 255 0;
-                      color3: 0 0 0 0;
+                      aspect: 1.0 1.0;
+                      aspect_preference: BOTH;
                       visible: 0;
-                      rel1 
-                        {
-                           relative: 0.0 0.0;
-                           offset: 0 0;
-                           to: "net";
-                        }
-                      rel2 
-                        {
-                           relative: 1.0 1.0;
-                           offset: -1 -1;
-                           to: "net";
-                        }
-                      text 
-                        {
-                           text: "";
-                           font: "VeraMono";
-                           size: 9;
-                           min: 1 1;
-                           align: 0.5 0.5;
-                           text_class: "module_normal";
-                        }
+                      rel1.to: "base";
+                      rel2.to: "base";
+                      image.normal: "tx.png";
+                      color: 255 255 255 0;
                    }
                  description 
                    {
-                      state: "visible" 0.0;
+                      state: "active" 0.0;
                       inherit: "default" 0.0;
                       visible: 1;
                       color: 255 255 255 255;
-                      color3: 0 0 0 42;
-                      color_class: "module_label";
                    }
               }
-            part
+         }
+       programs 
+         {
+            program 
+              {
+                 name: "recv";
+                 signal: "e,state,receive,active";
+                 source: "e";
+                 action: STATE_SET "active" 0.0;
+                 target: "rx";
+                 transition: SINUSOIDAL 0.25;
+              }
+            program 
               {
-                 name: "rx_meter";
-                 type: IMAGE;
-                 clip_to: "fade_clip";
-                 description
+                 name: "send";
+                 signal: "e,state,send,active";
+                 source: "e";
+                 action: STATE_SET "active" 0.0;
+                 target: "tx";
+                 transition: SINUSOIDAL 0.25;
+              }
+            program 
+              {
+                 name: "recv_idle";
+                 signal: "e,state,receive,idle";
+                 source: "e";
+                 action: STATE_SET "default" 0.0;
+                 target: "rx";
+                 transition: DECELERATE 0.75;
+              }
+            program 
+              {
+                 name: "send_idle";
+                 signal: "e,state,send,idle";
+                 source: "e";
+                 action: STATE_SET "default" 0.0;
+                 target: "tx";
+                 transition: DECELERATE 0.75;
+              }
+         }
+     }
+   group 
+     {
+       name: "modules/net/popup";
+       parts 
+         {
+            part 
+              {
+                 name: "base";
+                 mouse_events: 0;
+                 type: RECT;
+                 description 
                    {
                       state: "default" 0.0;
-                      rel1
-                        {
-                           relative: 0.0 0.0;
-                           offset: 0 0;
-                        }
-                      rel2
-                        {
-                           relative: 1.0 0.25;
-                           offset: -1 -1;
-                        }
-                      image
-                        {
-                           normal: "rx_00.png";
-                        }
-                      color: 255 255 255 192;
-                   }
-                 description
-                   {
-                      state: "default" 0.1;
-                      inherit: "default" 0.0;
-                      image
-                        {
-                           normal: "rx_01.png";
-                        }
-                   }
-                 description
-                   {
-                      state: "default" 0.2;
-                      inherit: "default" 0.0;
-                      image
-                        {
-                           normal: "rx_02.png";
-                        }
-                   }
-                 description
-                   {
-                      state: "default" 0.3;
-                      inherit: "default" 0.0;
-                      image
-                        {
-                           normal: "rx_03.png";
-                        }
-                   }
-                 description
-                   {
-                      state: "default" 0.4;
-                      inherit: "default" 0.0;
-                      image
-                        {
-                           normal: "rx_04.png";
-                        }
-                   }
-                 description
-                   {
-                      state: "default" 0.5;
-                      inherit: "default" 0.0;
-                      image
-                        {
-                           normal: "rx_05.png";
-                        }
-                   }
-                 description
-                   {
-                      state: "default" 0.6;
-                      inherit: "default" 0.0;
-                      image
-                        {
-                           normal: "rx_06.png";
-                        }
-                   }
-                 description
-                   {
-                      state: "default" 0.7;
-                      inherit: "default" 0.0;
-                      image
-                        {
-                           normal: "rx_07.png";
-                        }
-                   }
-                 description
-                   {
-                      state: "default" 0.8;
-                      inherit: "default" 0.0;
-                      image
-                        {
-                           normal: "rx_08.png";
-                        }
-                   }
-                 description
-                   {
-                      state: "default" 0.9;
-                      inherit: "default" 0.0;
-                      image
-                        {
-                           normal: "rx_09.png";
-                        }
+                      rel1.offset: 1 1;
+                      rel2.offset: -2 -2;
+                      color: 221 221 221 255;
+                      min: 125 50;
                    }
-                 description
+              }
+            part 
+              {
+                 name: "bd";
+                 mouse_events: 0;
+                 description 
                    {
-                      state: "default" 1.0;
-                      inherit: "default" 0.0;
-                      image
-                        {
-                           normal: "rx_10.png";
+                      state: "default" 0.0;
+                      rel1.offset: 0 0;
+                      rel2.offset: -1 -1;
+                      image 
+                        {
+                           normal: "bd.png";
+                           border: 1 1 1 1;
+                           middle: 0;
                         }
+                      fill.smooth: 0;
                    }
               }
             part 
               {
-                 name: "rx_label";
+                 name: "e.text.title";
                  type: TEXT;
                  effect: SOFT_SHADOW;
+                 mouse_events: 0;
                  description 
                    {
                       state: "default" 0.0;
-                      color: 255 255 255 0;
-                      color3: 0 0 0 0;
-                      visible: 0;
-                      rel1 
-                        {
-                           relative: 0.5 0.0;
-                           offset: 0 0;
-                           to: "rx_meter";
-                        }
-                      rel2 
-                        {
-                           relative: 0.5 1.0;
-                           offset: -1 -1;
-                           to: "rx_meter";
-                        }
+                      fixed: 0 1;
+                      align: 0.5 0.0;
+                      rel1.offset: 0 4;
+                      rel2.relative: 1.0 0.0;
+                      rel2.offset: -1 4;
+                      color: 255 255 255 255;
+                      color3: 0 0 0 42;
+                      color_class: "menu_title";
                       text 
                         {
-                           text: "Rx:";
-                           font: "VeraMono";
-                           size: 9;
+                           text: "";
+                           font: "VeraBold";
+                           size: 10;
                            min: 1 1;
-                           align: 0.5 1.0;
-                           text_class: "module_small";
+                           align: 0.5 0.0;
+                           text_class: "menu_title";
+                           elipsis: 0.0;
                         }
                    }
-                 description 
-                   {
-                      state: "visible" 0.0;
-                      inherit: "default" 0.0;
-                      visible: 1;
-                      color: 255 255 255 255;
-                      color3: 0 0 0 42;
-                      color_class: "module_label";
-                   }
               }
-            part
+            part 
               {
-                 name: "tx_meter";
-                 type: IMAGE;
-                 clip_to: "fade_clip";
-                 description
+                 name: "icon";
+                 mouse_events: 0;
+                 description 
                    {
                       state: "default" 0.0;
-                      rel1
-                        {
-                           relative: 0.0 0.75;
-                           offset: 0 0;
-                        }
-                      rel2
-                        {
-                           relative: 1.0 1.0;
-                           offset: -1 -1;
-                        }
-                      image
-                        {
-                           normal: "tx_00.png";
-                        }
-                      color: 255 255 255 192;
-                   }
-                 description
-                   {
-                      state: "default" 0.1;
-                      inherit: "default" 0.0;
-                      image
-                        {
-                           normal: "tx_01.png";
-                        }
-                   }
-                 description
-                   {
-                      state: "default" 0.2;
-                      inherit: "default" 0.0;
-                      image
-                        {
-                           normal: "tx_02.png";
-                        }
-                   }
-                 description
-                   {
-                      state: "default" 0.3;
-                      inherit: "default" 0.0;
-                      image
-                        {
-                           normal: "tx_03.png";
-                        }
-                   }
-                 description
-                   {
-                      state: "default" 0.4;
-                      inherit: "default" 0.0;
-                      image
-                        {
-                           normal: "tx_04.png";
-                        }
-                   }
-                 description
-                   {
-                      state: "default" 0.5;
-                      inherit: "default" 0.0;
-                      image
-                        {
-                           normal: "tx_05.png";
-                        }
-                   }
-                 description
-                   {
-                      state: "default" 0.6;
-                      inherit: "default" 0.0;
-                      image
+                      min: 32 32;
+                      max: 32 32;
+                      align: 0.0 0.5;
+                      fixed: 1 1;
+                      rel1 
                         {
-                           normal: "tx_06.png";
+                           relative: 0.0 1.0;
+                           offset: 6 10;
+                           to_y: "e.text.title";
                         }
-                   }
-                 description
-                   {
-                      state: "default" 0.7;
-                      inherit: "default" 0.0;
-                      image
+                      rel2 
                         {
-                           normal: "tx_07.png";
+                           relative: 0.0 1.0;
+                           offset: 6 10;
+                           to_y: "e.text.title";
                         }
+                      image.normal: "device.png";
                    }
-                 description
+              }
+            part 
+              {
+                 name: "e.text.recv";
+                 type: TEXT;
+                 effect: SHADOW;
+                 mouse_events: 0;
+                 description 
                    {
-                      state: "default" 0.8;
-                      inherit: "default" 0.0;
-                      image
+                      state: "default" 0.0;
+                      fixed: 1 1;
+                      rel1 
                         {
-                           normal: "tx_08.png";
+                           relative: 1.0 0.0;
+                           offset: 8 6;
+                           to: "icon";
                         }
-                   }
-                 description
-                   {
-                      state: "default" 0.9;
-                      inherit: "default" 0.0;
-                      image
+                      rel2 
                         {
-                           normal: "tx_09.png";
+                           relative: 1.0 0.0;
+                           offset: -8 6;
+                           to_y: "icon";
                         }
-                   }
-                 description
-                   {
-                      state: "default" 1.0;
-                      inherit: "default" 0.0;
-                      image
+                      color: 74 180 74 255;
+                      color3: 0 0 0 42;
+                      color_class: "menu_item";
+                      text 
                         {
-                           normal: "tx_10.png";
+                           text: "Rx:";
+                           font: "VeraBold";
+                           size: 10;
+                           min: 1 1;
+                           align: 0.0 0.5;
+                           text_class: "menu_item";
+                           elipsis: 0.0;
                         }
                    }
               }
             part 
               {
-                 name: "tx_label";
+                 name: "e.text.send";
                  type: TEXT;
-                 effect: SOFT_SHADOW;
+                 effect: SHADOW;
+                 mouse_events: 0;
                  description 
                    {
                       state: "default" 0.0;
-                      color: 255 255 255 0;
-                      color3: 0 0 0 0;
-                      visible: 0;
+                      fixed: 1 1;
                       rel1 
                         {
-                           relative: 0.5 0.0;
-                           offset: 0 0;
-                           to: "tx_meter";
+                           relative: 1.0 1.0;
+                           offset: 8 -6;
+                           to: "icon";
                         }
                       rel2 
                         {
-                           relative: 0.5 1.0;
-                           offset: -1 -1;
-                           to: "tx_meter";
+                           relative: 1.0 1.0;
+                           offset: -8 -6;
+                           to_y: "icon";
                         }
+                      color: 164 46 46 255;
+                      color3: 0 0 0 42;
+                      color_class: "menu_item";
                       text 
                         {
                            text: "Tx:";
-                           font: "VeraMono";
-                           size: 9;
+                           font: "VeraBold";
+                           size: 10;
                            min: 1 1;
-                           align: 0.5 1.0;
-                           text_class: "module_small";
+                           align: 0.0 0.5;
+                           text_class: "menu_item";
+                           elipsis: 0.0;
                         }
                    }
-                 description 
-                   {
-                      state: "visible" 0.0;
-                      inherit: "default" 0.0;
-                      visible: 1;
-                      color: 255 255 255 255;
-                      color3: 0 0 0 42;
-                      color_class: "module_label";
-                   }
-              }             
-         }
-       programs 
-         {
-            program 
-              {
-                 name: "go_active";
-                 signal: "label_active";
-                 source: "";
-                 action: STATE_SET "visible" 0.0;
-                 transition: SINUSOIDAL 0.5;
-                 target: "rx_label";
-                 target: "tx_label";
-                 target: "net_label";
-              }
-            program 
-              {
-                 name: "go_passive";
-                 signal: "label_passive";
-                 source: "";
-                 action: STATE_SET "default" 0.0;
-                 transition: SINUSOIDAL 1.0;             
-                 target: "rx_label";
-                 target: "tx_label";
-                 target: "net_label";
               }
          }
      }



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to