This is a complete rewrite of the old Eve web browser, using the current WebKit-EFL port (available from the official WebKit SVN; instructions on how to build it are here[1]). The interface was designed for mobile devices and is based off the Efenniht theme for E17. [1] http://trac.webkit.org/wiki/EFLWebKit SVN revision: 51060master
@ -0,0 +1,3 @@
|
||||
Gustavo Sverzut Barbieri <barbieri@profusion.mobi> |
||||
Leandro Augusto Fogolin Pereira <leandro@profusion.mobi> |
||||
Lucas De Marchi <lucas.demarchi@profusion.mobi> |
@ -0,0 +1,165 @@
|
||||
GNU LESSER GENERAL PUBLIC LICENSE |
||||
Version 3, 29 June 2007 |
||||
|
||||
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/> |
||||
Everyone is permitted to copy and distribute verbatim copies |
||||
of this license document, but changing it is not allowed. |
||||
|
||||
|
||||
This version of the GNU Lesser General Public License incorporates |
||||
the terms and conditions of version 3 of the GNU General Public |
||||
License, supplemented by the additional permissions listed below. |
||||
|
||||
0. Additional Definitions. |
||||
|
||||
As used herein, "this License" refers to version 3 of the GNU Lesser |
||||
General Public License, and the "GNU GPL" refers to version 3 of the GNU |
||||
General Public License. |
||||
|
||||
"The Library" refers to a covered work governed by this License, |
||||
other than an Application or a Combined Work as defined below. |
||||
|
||||
An "Application" is any work that makes use of an interface provided |
||||
by the Library, but which is not otherwise based on the Library. |
||||
Defining a subclass of a class defined by the Library is deemed a mode |
||||
of using an interface provided by the Library. |
||||
|
||||
A "Combined Work" is a work produced by combining or linking an |
||||
Application with the Library. The particular version of the Library |
||||
with which the Combined Work was made is also called the "Linked |
||||
Version". |
||||
|
||||
The "Minimal Corresponding Source" for a Combined Work means the |
||||
Corresponding Source for the Combined Work, excluding any source code |
||||
for portions of the Combined Work that, considered in isolation, are |
||||
based on the Application, and not on the Linked Version. |
||||
|
||||
The "Corresponding Application Code" for a Combined Work means the |
||||
object code and/or source code for the Application, including any data |
||||
and utility programs needed for reproducing the Combined Work from the |
||||
Application, but excluding the System Libraries of the Combined Work. |
||||
|
||||
1. Exception to Section 3 of the GNU GPL. |
||||
|
||||
You may convey a covered work under sections 3 and 4 of this License |
||||
without being bound by section 3 of the GNU GPL. |
||||
|
||||
2. Conveying Modified Versions. |
||||
|
||||
If you modify a copy of the Library, and, in your modifications, a |
||||
facility refers to a function or data to be supplied by an Application |
||||
that uses the facility (other than as an argument passed when the |
||||
facility is invoked), then you may convey a copy of the modified |
||||
version: |
||||
|
||||
a) under this License, provided that you make a good faith effort to |
||||
ensure that, in the event an Application does not supply the |
||||
function or data, the facility still operates, and performs |
||||
whatever part of its purpose remains meaningful, or |
||||
|
||||
b) under the GNU GPL, with none of the additional permissions of |
||||
this License applicable to that copy. |
||||
|
||||
3. Object Code Incorporating Material from Library Header Files. |
||||
|
||||
The object code form of an Application may incorporate material from |
||||
a header file that is part of the Library. You may convey such object |
||||
code under terms of your choice, provided that, if the incorporated |
||||
material is not limited to numerical parameters, data structure |
||||
layouts and accessors, or small macros, inline functions and templates |
||||
(ten or fewer lines in length), you do both of the following: |
||||
|
||||
a) Give prominent notice with each copy of the object code that the |
||||
Library is used in it and that the Library and its use are |
||||
covered by this License. |
||||
|
||||
b) Accompany the object code with a copy of the GNU GPL and this license |
||||
document. |
||||
|
||||
4. Combined Works. |
||||
|
||||
You may convey a Combined Work under terms of your choice that, |
||||
taken together, effectively do not restrict modification of the |
||||
portions of the Library contained in the Combined Work and reverse |
||||
engineering for debugging such modifications, if you also do each of |
||||
the following: |
||||
|
||||
a) Give prominent notice with each copy of the Combined Work that |
||||
the Library is used in it and that the Library and its use are |
||||
covered by this License. |
||||
|
||||
b) Accompany the Combined Work with a copy of the GNU GPL and this license |
||||
document. |
||||
|
||||
c) For a Combined Work that displays copyright notices during |
||||
execution, include the copyright notice for the Library among |
||||
these notices, as well as a reference directing the user to the |
||||
copies of the GNU GPL and this license document. |
||||
|
||||
d) Do one of the following: |
||||
|
||||
0) Convey the Minimal Corresponding Source under the terms of this |
||||
License, and the Corresponding Application Code in a form |
||||
suitable for, and under terms that permit, the user to |
||||
recombine or relink the Application with a modified version of |
||||
the Linked Version to produce a modified Combined Work, in the |
||||
manner specified by section 6 of the GNU GPL for conveying |
||||
Corresponding Source. |
||||
|
||||
1) Use a suitable shared library mechanism for linking with the |
||||
Library. A suitable mechanism is one that (a) uses at run time |
||||
a copy of the Library already present on the user's computer |
||||
system, and (b) will operate properly with a modified version |
||||
of the Library that is interface-compatible with the Linked |
||||
Version. |
||||
|
||||
e) Provide Installation Information, but only if you would otherwise |
||||
be required to provide such information under section 6 of the |
||||
GNU GPL, and only to the extent that such information is |
||||
necessary to install and execute a modified version of the |
||||
Combined Work produced by recombining or relinking the |
||||
Application with a modified version of the Linked Version. (If |
||||
you use option 4d0, the Installation Information must accompany |
||||
the Minimal Corresponding Source and Corresponding Application |
||||
Code. If you use option 4d1, you must provide the Installation |
||||
Information in the manner specified by section 6 of the GNU GPL |
||||
for conveying Corresponding Source.) |
||||
|
||||
5. Combined Libraries. |
||||
|
||||
You may place library facilities that are a work based on the |
||||
Library side by side in a single library together with other library |
||||
facilities that are not Applications and are not covered by this |
||||
License, and convey such a combined library under terms of your |
||||
choice, if you do both of the following: |
||||
|
||||
a) Accompany the combined library with a copy of the same work based |
||||
on the Library, uncombined with any other library facilities, |
||||
conveyed under the terms of this License. |
||||
|
||||
b) Give prominent notice with the combined library that part of it |
||||
is a work based on the Library, and explaining where to find the |
||||
accompanying uncombined form of the same work. |
||||
|
||||
6. Revised Versions of the GNU Lesser General Public License. |
||||
|
||||
The Free Software Foundation may publish revised and/or new versions |
||||
of the GNU Lesser General Public License from time to time. Such new |
||||
versions will be similar in spirit to the present version, but may |
||||
differ in detail to address new problems or concerns. |
||||
|
||||
Each version is given a distinguishing version number. If the |
||||
Library as you received it specifies that a certain numbered version |
||||
of the GNU Lesser General Public License "or any later version" |
||||
applies to it, you have the option of following the terms and |
||||
conditions either of that published version or of any later version |
||||
published by the Free Software Foundation. If the Library as you |
||||
received it does not specify a version number of the GNU Lesser |
||||
General Public License, you may choose any version of the GNU Lesser |
||||
General Public License ever published by the Free Software Foundation. |
||||
|
||||
If the Library as you received it specifies that a proxy can decide |
||||
whether future versions of the GNU Lesser General Public License shall |
||||
apply, that proxy's public statement of acceptance of any version is |
||||
permanent authorization for you to choose that version for the |
||||
Library. |
@ -0,0 +1,15 @@
|
||||
release 0.2.0.0: |
||||
better zoom handing: |
||||
|
||||
* auto fit (double-click some element) will keep whole object in |
||||
viewport. |
||||
|
||||
* click over links will not go immediately, so it's possible to |
||||
click and zoom over links as well |
||||
|
||||
* both auto-fit and interactive zoom modes will not choose or |
||||
allow levels of zoom that makes contents smaller than viewport. |
||||
|
||||
|
||||
release 0.1.0.0: |
||||
Initial release. |
@ -0,0 +1,10 @@
|
||||
ACLOCAL_AMFLAGS = -I m4
|
||||
|
||||
SUBDIRS = src data po
|
||||
|
||||
MAINTAINERCLEANFILES = Makefile.in aclocal.m4 config.guess \
|
||||
config.h.in config.sub configure install-sh \
|
||||
ltconfig ltmain.sh missing mkinstalldirs \
|
||||
stamp-h.in acconfig.h depcomp
|
||||
|
||||
EXTRA_DIST = README AUTHORS COPYING
|
@ -0,0 +1,6 @@
|
||||
eve |
||||
|
||||
WebKit-EFL demo application |
||||
|
||||
See INSTALL for help on how to install. |
||||
See COPYING for software usage, modification and redistribution license. |
@ -0,0 +1,16 @@
|
||||
#!/bin/sh |
||||
|
||||
DIRNAME=`basename $PWD` |
||||
if test "x$DIRNAME" = "xelementary-skel"; then |
||||
echo "Do not run autogen.sh from inside elementary-skel" |
||||
exit 1 |
||||
fi |
||||
|
||||
find . -name Makefile -delete |
||||
find . -name Makefile.in -delete |
||||
|
||||
autoreconf -f -i |
||||
|
||||
if [ -z "$NOCONFIGURE" ]; then |
||||
./configure "$@" |
||||
fi |
@ -0,0 +1,128 @@
|
||||
AC_INIT(eve, 0.2.0.0, barbieri@profusion.mobi) |
||||
AC_PREREQ([2.60]) |
||||
AC_CONFIG_SRCDIR([configure.ac]) |
||||
AC_CONFIG_MACRO_DIR([m4]) |
||||
AC_GNU_SOURCE |
||||
AC_CANONICAL_BUILD |
||||
AC_CANONICAL_HOST |
||||
AC_ISC_POSIX |
||||
|
||||
AM_INIT_AUTOMAKE(1.6 dist-bzip2) |
||||
AM_CONFIG_HEADER(config.h) |
||||
|
||||
define([AC_LIBTOOL_LANG_CXX_CONFIG], [:]) |
||||
define([AC_LIBTOOL_LANG_GCJ_CONFIG], [:]) |
||||
define([AC_LIBTOOL_LANG_F77_CONFIG], [:]) |
||||
AC_PROG_LIBTOOL |
||||
|
||||
VMAJ=`echo $PACKAGE_VERSION | awk -F. '{printf("%s", $1);}'` |
||||
VMIN=`echo $PACKAGE_VERSION | awk -F. '{printf("%s", $2);}'` |
||||
VMIC=`echo $PACKAGE_VERSION | awk -F. '{printf("%s", $3);}'` |
||||
SNAP=`echo $PACKAGE_VERSION | awk -F. '{printf("%s", $4);}'` |
||||
version_info=`expr $VMAJ + $VMIN`":$VMIC:$VMIN" |
||||
AC_SUBST(VMAJ) |
||||
AC_SUBST(version_info) |
||||
|
||||
AC_C_BIGENDIAN |
||||
AC_PROG_CC_C99 |
||||
AM_PROG_CC_C_O |
||||
AC_C_CONST |
||||
AC_FUNC_ALLOCA |
||||
AC_C___ATTRIBUTE__ |
||||
|
||||
ALL_LINGUAS=`cat po/LINGUAS | grep -v '^[ ]*#'` |
||||
AC_SUBST(ALL_LINGUAS) |
||||
|
||||
AM_GNU_GETTEXT_VERSION([0.12.1]) |
||||
AM_GNU_GETTEXT([external]) |
||||
|
||||
PKG_CHECK_MODULES([ELEMENTARY], [elementary]) |
||||
PKG_CHECK_MODULES([EWEBKIT], [ewebkit ecore-file]) |
||||
|
||||
AC_ARG_WITH([edje-cc], |
||||
[AC_HELP_STRING([--with-edje-cc=PATH], |
||||
[specify a specific path to edje_cc])], |
||||
[edje_cc=$withval; |
||||
AC_MSG_NOTICE([edje_cc explicitly set to $edje_cc]) |
||||
],[edje_cc=$(pkg-config --variable=prefix edje)/bin/edje_cc]) |
||||
AC_SUBST(edje_cc) |
||||
|
||||
want_quicklaunch="auto" |
||||
AC_ARG_ENABLE([quicklaunch], |
||||
[AC_HELP_STRING([--disable-quicklaunch], |
||||
[disable build of quicklaunch (default=auto)])], |
||||
[if test "x${enableval}" = "xno"; then |
||||
want_quicklaunch="no" |
||||
elif test "x${enableval}" = "xyes"; then |
||||
want_quicklaunch="yes" |
||||
else |
||||
want_quicklaunch="auto" |
||||
fi |
||||
], |
||||
[want_quicklaunch="auto"]) |
||||
|
||||
if test "x${want_quicklaunch}" = "xauto"; then |
||||
AC_MSG_CHECKING([checking for elementary_quicklaunch binary...]) |
||||
if test -x $(pkg-config --variable=prefix elementary)/bin/elementary_quicklaunch; then |
||||
AC_MSG_RESULT([found, enable quicklaunch.]) |
||||
want_quicklaunch="yes" |
||||
else |
||||
AC_MSG_RESULT([not found, disable quicklaunch.]) |
||||
want_quicklaunch="no" |
||||
fi |
||||
fi |
||||
|
||||
if test "x${want_quicklaunch}" = "xyes"; then |
||||
AC_ARG_WITH([quicklauncher-libdir], |
||||
[AC_HELP_STRING([--with-quicklauncher-libdir=PATH], |
||||
[specify a specific path to install quicklauncher binaries])], |
||||
[quicklauncher_libdir=$withval; |
||||
AC_MSG_NOTICE([quicklauncher_libdir explicitly set to $quicklauncher_libdir]) |
||||
], |
||||
[quicklauncher_libdir=$(pkg-config --variable=libdir elementary)]) |
||||
AC_SUBST(quicklauncher_libdir) |
||||
fi |
||||
|
||||
AM_CONDITIONAL(BUILD_QUICKLAUNCH, test "x${want_quicklaunch}" = "xyes") |
||||
|
||||
AC_OUTPUT([ |
||||
Makefile |
||||
src/Makefile |
||||
src/bin/Makefile |
||||
data/Makefile |
||||
data/desktop/Makefile |
||||
data/themes/Makefile |
||||
po/Makefile.in |
||||
]) |
||||
|
||||
|
||||
cat << EOF |
||||
|
||||
eve configured with: |
||||
|
||||
Flags: |
||||
CFLAGS.....(C): $CFLAGS |
||||
CXXFLAGS.(C++): $CXXFLAGS |
||||
CPPFLAGS.(CPP): $CPPFLAGS |
||||
LDFLAGS...(LD): $LDFLAGS |
||||
|
||||
Installation: |
||||
PREFIX..............: $prefix |
||||
|
||||
Quick Launcher: ${want_quicklaunch} |
||||
EOF |
||||
|
||||
if test "x${want_quicklaunch}" = "xyes"; then |
||||
cat << EOF_QL |
||||
quicklauncher_libdir: $quicklauncher_libdir |
||||
|
||||
EOF_QL |
||||
fi |
||||
|
||||
cat << EOF2 |
||||
|
||||
Now type 'make' ('gmake' on some systems) to compile eve, if it |
||||
builds successfully then you can 'make install', acquiring required |
||||
permissions with 'su' or 'sudo'. |
||||
|
||||
EOF2 |
@ -0,0 +1,2 @@
|
||||
MAINTAINERCLEANFILES = Makefile.in
|
||||
SUBDIRS = desktop themes
|
@ -0,0 +1,9 @@
|
||||
MAINTAINERCLEANFILES = Makefile.in
|
||||
|
||||
desktopdir = $(datadir)/applications
|
||||
desktop_DATA = eve.desktop
|
||||
|
||||
icondir = $(datadir)/icons
|
||||
icon_DATA = eve.png
|
||||
|
||||
EXTRA_DIST = eve.desktop eve.png
|
@ -0,0 +1,9 @@
|
||||
[Desktop Entry] |
||||
Encoding=UTF-8 |
||||
Name=eve |
||||
Comment=WebKit-EFL demo application |
||||
Exec=eve |
||||
Icon=eve |
||||
Terminal=false |
||||
Type=Application |
||||
Categories=Application;Utility; |
After Width: | Height: | Size: 12 KiB |
@ -0,0 +1,56 @@
|
||||
MAINTAINERCLEANFILES = Makefile.in
|
||||
|
||||
EDJE_CC = @edje_cc@
|
||||
EDJE_FLAGS = -v -id $(top_srcdir)/data/themes -fd $(top_srcdir)/data/themes
|
||||
|
||||
filesdir = $(datadir)/$(PACKAGE)
|
||||
files_DATA = ewebkit.edj default.edj
|
||||
|
||||
images = \
|
||||
bookmark-list-back-button.png \
|
||||
bookmark-list-title.png \
|
||||
bt_back_normal.png \
|
||||
bt_back_selected.png \
|
||||
bt_bookmark_normal.png \
|
||||
bt_bookmark_selected.png \
|
||||
bt_fav_normal.png \
|
||||
bt_fav_selected.png \
|
||||
bt_forward_normal.png \
|
||||
bt_forward_selected.png \
|
||||
bt_home_normal.png \
|
||||
bt_home_selected.png \
|
||||
bt_reload_normal.png \
|
||||
bt_reload_selected.png \
|
||||
bt_tab_normal.png \
|
||||
bt_tab_selected.png \
|
||||
panel-top-triangle.png \
|
||||
scrollbar-bg.png \
|
||||
scrollbar-knob.png \
|
||||
shadow-bottom.png \
|
||||
tab-add.png \
|
||||
tab-bg.png \
|
||||
tab-bg-selected.png \
|
||||
tab-close.png \
|
||||
tab-header.png \
|
||||
toolbar-background-bottom.png \
|
||||
toolbar-background-top.png \
|
||||
url-entry.png \
|
||||
list-highlight.png \
|
||||
cur_box.png \
|
||||
cur_hi.png \
|
||||
cur_shine.png \
|
||||
cur_glow.png \
|
||||
cur_shad.png \
|
||||
progress-bar-background.png
|
||||
|
||||
fonts =
|
||||
|
||||
EXTRA_DIST = ewebkit.edj default.edc $(images) $(fonts)
|
||||
|
||||
default.edj: Makefile $(images) $(fonts) default.edc |
||||
$(EDJE_CC) $(EDJE_FLAGS) \
|
||||
$(top_srcdir)/data/themes/default.edc \
|
||||
$(top_builddir)/data/themes/default.edj
|
||||
|
||||
clean-local: |
||||
rm -f default.edj
|
After Width: | Height: | Size: 318 B |
After Width: | Height: | Size: 645 B |
After Width: | Height: | Size: 4.2 KiB |
After Width: | Height: | Size: 6.3 KiB |
After Width: | Height: | Size: 6.5 KiB |
After Width: | Height: | Size: 8.3 KiB |
After Width: | Height: | Size: 2.3 KiB |
After Width: | Height: | Size: 2.8 KiB |
After Width: | Height: | Size: 2.7 KiB |
After Width: | Height: | Size: 3.4 KiB |
After Width: | Height: | Size: 2.2 KiB |
After Width: | Height: | Size: 2.8 KiB |
After Width: | Height: | Size: 6.1 KiB |
After Width: | Height: | Size: 9.4 KiB |
After Width: | Height: | Size: 5.6 KiB |
After Width: | Height: | Size: 8.2 KiB |
After Width: | Height: | Size: 187 B |
After Width: | Height: | Size: 391 B |
After Width: | Height: | Size: 188 B |
After Width: | Height: | Size: 252 B |
After Width: | Height: | Size: 200 B |
@ -0,0 +1,227 @@
|
||||
group { name: "elm/entry/base-single/ewebkit/url"; |
||||
styles |
||||
{ |
||||
style { name: "entry_single_textblock_style"; |
||||
base: "font=Sans font_size=10 align=left color=#787878 wrap=none"; |
||||
tag: "br" "\n"; |
||||
tag: "tab" "\t"; |
||||
tag: "em" "+ font=Sans:style=Oblique"; |
||||
tag: "b" "+ font=Sans:style=Bold"; |
||||
tag: "link" "+ color=#800 underline=on underline_color=#8008"; |
||||
tag: "hilight" "+ font=Sans:style=Bold"; |
||||
} |
||||
style { name: "entry_single_textblock_disabled_style"; |
||||
base: "font=Sans font_size=10 align=left color=#00000080 wrap=none"; |
||||
tag: "br" "\n"; |
||||
tag: "tab" "\t"; |
||||
tag: "em" "+ font=Sans:style=Oblique"; |
||||
tag: "b" "+ font=Sans:style=Bold"; |
||||
tag: "link" "+ color=#00000080 underline=on underline_color=#00000080"; |
||||
tag: "hilight" "+ font=Sans:style=Bold"; |
||||
} |
||||
} |
||||
parts { |
||||
part { name: "elm.text"; |
||||
type: TEXTBLOCK; |
||||
mouse_events: 1; |
||||
scale: 1; |
||||
entry_mode: EDITABLE; |
||||
select_mode: EXPLICIT; |
||||
multiline: 0; |
||||
source: "elm/entry/selection/ewebkit/url"; // selection under |
||||
source4: "elm/entry/cursor/ewebkit/url"; // cursorover |
||||
source5: "elm/entry/anchor/default"; // anchor under |
||||
description { state: "default" 0.0; |
||||
text { |
||||
style: "entry_single_textblock_style"; |
||||
min: 1 1; |
||||
max: 0 1; |
||||
} |
||||
} |
||||
description { state: "disabled" 0.0; |
||||
inherit: "default" 0.0; |
||||
text { |
||||
style: "entry_single_textblock_disabled_style"; |
||||
} |
||||
} |
||||
} |
||||
} |
||||
programs { |
||||
program { name: "focus"; |
||||
signal: "load"; |
||||
source: ""; |
||||
action: FOCUS_SET; |
||||
target: "elm.text"; |
||||
} |
||||
program { name: "disable"; |
||||
signal: "elm,state,disabled"; |
||||
source: "elm"; |
||||
action: STATE_SET "disabled" 0.0; |
||||
target: "elm.text"; |
||||
} |
||||
program { name: "enable"; |
||||
signal: "elm,state,enabled"; |
||||
source: "elm"; |
||||
action: STATE_SET "default" 0.0; |
||||
target: "elm.text"; |
||||
} |
||||
} |
||||
} |
||||
group { name: "elm/entry/selection/ewebkit/url"; |
||||
parts { |
||||
part { name: "bg"; |
||||
type: RECT; |
||||
mouse_events: 0; |
||||
description { state: "default" 0.0; |
||||
color: 128 128 128 128; |
||||
} |
||||
} |
||||
} |
||||
} |
||||
group { name: "elm/entry/cursor/ewebkit/url"; |
||||
images { |
||||
image: "cur_box.png" COMP; |
||||
image: "cur_hi.png" COMP; |
||||
image: "cur_shad.png" COMP; |
||||
image: "cur_shine.png" COMP; |
||||
image: "cur_glow.png" COMP; |
||||
} |
||||
parts { |
||||
part { name: "clip2"; |
||||
type: RECT; |
||||
mouse_events: 0; |
||||
description { state: "default" 0.0; |
||||
rel1.to: "clip"; |
||||
rel2.to: "clip"; |
||||
visible: 0; |
||||
} |
||||
description { state: "focused" 0.0; |
||||
inherit: "default" 0.0; |
||||
visible: 1; |
||||
} |
||||
} |
||||
part { name: "clip"; |
||||
type: RECT; |
||||
mouse_events: 0; |
||||
clip_to: "clip2"; |
||||
description { state: "default" 0.0; |
||||
rel1.offset: -10 0; |
||||
rel2.offset: 9 9; |
||||
} |
||||
description { state: "hidden" 0.0; |
||||
inherit: "default" 0.0; |
||||
visible: 0; |
||||
} |
||||
} |
||||
part { name: "bg"; |
||||
mouse_events: 0; |
||||
clip_to: "clip"; |
||||
description { state: "default" 0.0; |
||||
rel1.to: "base"; |
||||
rel1.offset: -2 0; |
||||
rel2.to: "base"; |
||||
rel2.offset: 1 1; |
||||
image.border: 2 2 2 2; |
||||
image.normal: "cur_shad.png"; |
||||
} |
||||
} |
||||
part { name: "base"; |
||||
mouse_events: 0; |
||||
scale: 1; |
||||
clip_to: "clip"; |
||||
description { state: "default" 0.0; |
||||
min: 2 2; |
||||
align: 0.5 1.0; |
||||
rel1.relative: 0.0 1.0; |
||||
rel1.offset: 0 -1; |
||||
rel2.relative: 1.0 1.0; |
||||
rel2.offset: -1 -1; |
||||
image.normal: "cur_box.png"; |
||||
} |
||||
} |
||||
part { name: "hi"; |
||||
mouse_events: 0; |
||||
clip_to: "clip"; |
||||
description { state: "default" 0.0; |
||||
rel1.to: "base"; |
||||
rel2.to: "base"; |
||||
rel2.relative: 1.0 0.5; |
||||
image.normal: "cur_hi.png"; |
||||
} |
||||
} |
||||
part { name: "shine"; |
||||
mouse_events: 0; |
||||
clip_to: "clip"; |
||||
clip_to: "clip2"; |
||||
description { state: "default" 0.0; |
||||
rel1.to: "base"; |
||||
rel2.to: "base"; |
||||
rel2.relative: 1.0 0.75; |
||||
image.border: 2 2 1 0; |
||||
image.normal: "cur_shine.png"; |
||||
fill.smooth: 0; |
||||
} |
||||
} |
||||
part { name: "glow"; |
||||
mouse_events: 0; |
||||
clip_to: "clip2"; |
||||
description { state: "default" 0.0; |
||||
rel1.to: "base"; |
||||
rel1.relative: 0.0 -2.0; |
||||
rel1.offset: -2 0; |
||||
rel2.to: "base"; |
||||
rel2.relative: 1.0 0.0; |
||||
rel2.offset: 1 1; |
||||
image.border: 2 2 0 4; |
||||
image.normal: "cur_glow.png"; |
||||
fill.smooth: 0; |
||||
} |
||||
description { state: "hidden" 0.0; |
||||
inherit: "default" 0.0; |
||||
color: 255 255 255 0; |
||||
} |
||||
} |
||||
} |
||||
programs { |
||||
program { name: "show"; |
||||
signal: "show"; |
||||
source: ""; |
||||
action: STATE_SET "hidden" 0.0; |
||||
in: 1.0 0.0; |
||||
transition: DECELERATE 2.0; |
||||
target: "glow"; |
||||
after: "show2"; |
||||
} |
||||
program { name: "show2"; |
||||
action: STATE_SET "hidden" 0.0; |
||||
in: 0.2 0.0; |
||||
target: "clip"; |
||||
after: "show3"; |
||||
} |
||||
program { name: "show3"; |
||||
action: STATE_SET "default" 0.0; |
||||
in: 0.5 0.0; |
||||
target: "clip"; |
||||
after: "show4"; |
||||
} |
||||
program { name: "show4"; |
||||
action: STATE_SET "default" 0.0; |
||||
in: 0.5 0.0; |
||||
transition: DECELERATE 0.5; |
||||
target: "glow"; |
||||
after: "show"; |
||||
} |
||||
program { name: "focused"; |
||||
signal: "elm,action,focus"; |
||||
source: "elm"; |
||||
action: STATE_SET "focused" 0.0; |
||||
target: "clip2"; |
||||
} |
||||
program { name: "unfocused"; |
||||
signal: "elm,action,unfocus"; |
||||
source: "elm"; |
||||
action: STATE_SET "default" 0.0; |
||||
target: "clip2"; |
||||
} |
||||
} |
||||
} |
@ -0,0 +1,420 @@
|
||||
group { name: "elm/gengrid/item/default/ewebkit"; |
||||
alias: "elm/gengrid/item/default_style/ewebkit"; |
||||
data.item: "labels" "elm.text"; |
||||
data.item: "icons" "elm.swallow.icon elm.swallow.end"; |
||||
images { |
||||
image: "tab-bg.png" COMP; |
||||
image: "tab-bg-selected.png" COMP; |
||||
image: "tab-close.png" COMP; |
||||
} |
||||
parts { |
||||
part { |
||||
name: "event"; |
||||
repeat_events: 1; |
||||
description { |
||||
state: "default" 0.0; |
||||
} |
||||
} |
||||
part { name: "bg"; |
||||
clip_to: "disclip"; |
||||
mouse_events: 0; |
||||
description { state: "default" 0.0; |
||||
rel1 { |
||||
relative: 0.0 0.0; |
||||
offset: -5 -5; |
||||
} |
||||
rel2 { |
||||
relative: 1.0 1.0; |
||||
offset: 4 4; |
||||
} |
||||
image { |
||||
normal: "tab-bg.png"; |
||||
border: 28 28 20 20; |
||||
} |
||||
fill.smooth: 0; |
||||
} |
||||
} |
||||
part { name: "elm.swallow.pad"; |
||||
type: SWALLOW; |
||||
description { state: "default" 0.0; |
||||
visible: 0; |
||||
fixed: 1 0; |
||||
align: 0.0 0.5; |
||||
rel1 { |
||||
relative: 0.0 1.0; |
||||
offset: 0 -10; |
||||
} |
||||
rel2 { |
||||
to_y: "elm.text"; |
||||
relative: 0.0 0.0; |
||||
offset: -1 -1; |
||||
} |
||||
} |
||||
} |
||||
part { name: "elm.swallow.icon"; |
||||
clip_to: "disclip"; |
||||
type: SWALLOW; |
||||
description { state: "default" 0.0; |
||||
fixed: 1 0; |
||||
align: 0.5 0.5; |
||||
rel1 { |
||||
relative: 0.0 0.0; |
||||
offset: 22 13; |
||||
} |
||||
rel2 { |
||||
to_y: "elm.text"; |
||||
relative: 1.0 0.0; |
||||
offset: -24 -4; |
||||
} |
||||
} |
||||
} |
||||
part { name: "elm.swallow.end"; |
||||
clip_to: "disclip"; |
||||
type: SWALLOW; |
||||
description { state: "default" 0.0; |
||||
visible: 0; |
||||
rel1 { |
||||
relative: 0.0 0.0; |
||||
offset: 0 0; |
||||
} |
||||
rel2 { |
||||
relative: 0.0 0.0; |
||||
offset: 0 0; |
||||
} |
||||
} |
||||
} |
||||
part { name: "elm.text"; |
||||
clip_to: "disclip"; |
||||
type: TEXT; |
||||
mouse_events: 0; |
||||
scale: 1; |
||||
description { |
||||
state: "default" 0.0; |
||||
rel1 { |
||||
relative: 0.0 1.0; |
||||
offset: 18 0; |
||||
} |
||||
rel2 { |
||||
relative: 1.0 1.0; |
||||
offset: -21 -44; |
||||
} |
||||
color: 120 120 120 255; |
||||
text { |
||||
font: "Sans"; |
||||
size: 9; |
||||
min: 0 1; |
||||
align: 0.5 0.0; |
||||
} |
||||
} |
||||
} |
||||
part { name: "disclip"; |
||||
type: RECT; |
||||
description { state: "default" 0.0; |
||||
rel1.to: "bg"; |
||||
rel2.to: "bg"; |
||||
} |
||||
description { state: "disabled" 0.0; |
||||
inherit: "default" 0.0; |
||||
color: 255 255 255 64; |
||||
} |
||||
} |
||||
part { name: "bg-selected-border"; |
||||
clip_to: "disclip"; |
||||
mouse_events: 0; |
||||
description { state: "default" 0.0; |
||||
visible: 0; |
||||
rel1.relative: 0.0 0.0; |
||||
rel2.relative: 1.0 1.0; |
||||
color: 255 255 255 0; |
||||
image { |
||||
normal: "tab-bg-selected.png"; |
||||
border: 8 8 8 8; |
||||
} |
||||
fill.smooth: 0; |
||||
} |
||||
description { state: "selected" 0.0; |
||||
inherit: "default" 0.0; |
||||
visible: 1; |
||||
color: 255 255 255 255; |
||||
rel1 { |
||||
relative: 0.0 0.0; |
||||
offset: 15 5; |
||||
} |
||||
rel2 { |
||||
relative: 1.0 1.0; |
||||
offset: -16 -6; |
||||
} |
||||
image { |
||||
normal: "tab-bg-selected.png"; |
||||
border: 8 8 8 8; |
||||
} |
||||
} |
||||
} |
||||
part { name: "close-button"; |
||||
type: IMAGE; |
||||
description { state: "default" 0.0; |
||||
min: 15 15; |
||||
max: 15 15; |
||||
rel1 { |
||||
relative: 1.0 1.0; |
||||
offset: -40 1; |
||||
} |
||||
rel2 { |
||||
relative: 1.0 1.0; |
||||
offset: 29 -41; |
||||
} |
||||
image.normal: "tab-close.png"; |
||||
} |
||||
description { state: "selected" 0.0; |
||||
inherit: "default" 0.0; |
||||
color: 255 166 2 255; |
||||
} |
||||
description { state: "hidden" 0.0; |
||||
inherit: "default" 0.0; |
||||
visible: 0; |
||||
} |
||||
} |
||||
part { name: "close-button-dedones"; |
||||
type: RECT; |
||||
clip_to: "disclip"; |
||||
description { state: "default" 0.0; |
||||
rel1 { |
||||
to: "close-button"; |
||||
relative: 0.0 0.0; |
||||
offset: -10 -10; |
||||
} |
||||
rel2 { |
||||
to: "close-button"; |
||||
relative: 1.0 1.0; |
||||
offset: 5 11; |
||||
} |
||||
color: 255 255 255 0; |
||||
} |
||||
} |
||||
} |
||||
programs { |
||||
// signal: elm,state,%s,active |
||||
// a "check" item named %s went active |
||||
// signal: elm,state,%s,passive |
||||
// a "check" item named %s went passive |
||||
// default is passive |
||||
program { |
||||
name: "tab_close_down"; |
||||
signal: "tab,close,hide"; |
||||
action: STATE_SET "hidden" 0.0; |
||||
target: "close-button"; |
||||
} |
||||
program { |
||||
name: "tab_down"; |
||||
signal: "mouse,down,*"; |
||||
source: "close-button-dedones"; |
||||
action: STATE_SET "selected" 0.0; |
||||
target: "close-button"; |
||||
transition: ACCELERATE 0.2; |
||||
} |
||||
program { |
||||
name: "tab_clicked"; |
||||
signal: "mouse,clicked,*"; |
||||
source: "close-button-dedones"; |
||||
action: SIGNAL_EMIT "tab,close" ""; |
||||
} |
||||
program { |
||||
name: "tab_up"; |
||||
signal: "mouse,up,*"; |
||||
source: "close-button-dedones"; |
||||
action: STATE_SET "default" 0.0; |
||||
target: "close-button"; |
||||
transition: DECELERATE 0.2; |
||||
} |
||||
program { |
||||
name: "go_active"; |
||||
signal: "elm,state,selected"; |
||||
source: "elm"; |
||||
action: STATE_SET "selected" 0.0; |
||||
target: "bg-selected-border"; |
||||
transition: ACCELERATE 0.1; |
||||
} |
||||
program { |
||||
name: "go_passive"; |
||||
signal: "elm,state,unselected"; |
||||
source: "elm"; |
||||
action: STATE_SET "default" 0.0; |
||||
target: "bg-selected-border"; |
||||
transition: DECELERATE 0.1; |
||||
} |
||||
} |
||||
} |
||||
|
||||
group { name: "elm/gengrid/item/new_page/ewebkit"; |
||||
data.item: "labels" "elm.text"; |
||||
data.item: "icons" "elm.swallow.icon elm.swallow.end"; |
||||
images { |
||||
image: "tab-bg.png" COMP; |
||||
image: "tab-bg-selected.png" COMP; |
||||
image: "tab-add.png" COMP; |
||||
} |
||||
parts { |
||||
part { |
||||
name: "event"; |
||||
repeat_events: 1; |
||||
description { |
||||
state: "default" 0.0; |
||||
} |
||||
} |
||||
part { name: "bg"; |
||||
clip_to: "disclip"; |
||||
mouse_events: 0; |
||||
description { state: "default" 0.0; |
||||
rel1 { |
||||
relative: 0.0 0.0; |
||||
offset: -5 -5; |
||||
} |
||||
rel2 { |
||||
relative: 1.0 1.0; |
||||
offset: 4 4; |
||||
} |
||||
image { |
||||
normal: "tab-bg.png"; |
||||
border: 28 28 20 20; |
||||
} |
||||
fill.smooth: 0; |
||||
} |
||||
} |
||||
part { name: "elm.swallow.pad"; |
||||
type: SWALLOW; |
||||
description { state: "default" 0.0; |
||||
fixed: 1 0; |
||||
align: 0.0 0.5; |
||||
rel1 { |
||||
relative: 0.0 1.0; |
||||
offset: 0 -10; |
||||
} |
||||
rel2 { |
||||
to_y: "elm.text"; |
||||
relative: 0.0 0.0; |
||||
offset: -1 -1; |
||||
} |
||||
} |
||||
} |
||||
part { name: "elm.swallow.icon"; |
||||
clip_to: "disclip"; |
||||
type: SWALLOW; |
||||
description { state: "default" 0.0; |
||||
fixed: 1 0; |
||||
align: 0.5 0.5; |
||||
rel1 { |
||||
relative: 0.0 0.0; |
||||
offset: 20 11; |
||||
} |
||||
rel2 { |
||||
to_y: "elm.text"; |
||||
relative: 1.0 0.0; |
||||
offset: -24 -4; |
||||
} |
||||
} |
||||
} |
||||
part { name: "elm.swallow.end"; |
||||
clip_to: "disclip"; |
||||
type: SWALLOW; |
||||
description { state: "default" 0.0; |
||||
rel1 { |
||||
relative: 0.0 0.0; |
||||
offset: 0 0; |
||||
} |
||||
rel2 { |
||||
relative: 0.0 0.0; |
||||
offset: 0 0; |
||||
} |
||||
} |
||||
} |
||||
part { name: "elm.text"; |
||||
clip_to: "disclip"; |
||||
type: RECT; |
||||
description { state: "default" 0.0; |
||||
visible: 0; |
||||
} |
||||
} |
||||
part { name: "disclip"; |
||||
type: RECT; |
||||
description { state: "default" 0.0; |
||||
rel1.to: "bg"; |
||||
rel2.to: "bg"; |
||||
} |
||||
description { state: "disabled" 0.0; |
||||
inherit: "default" 0.0; |
||||
color: 255 255 255 64; |
||||
} |
||||
} |
||||
part { name: "add-img"; |
||||
type: IMAGE; |
||||
description { state: "default" 0.0; |
||||
min: 23 23; |
||||
max: 23 23; |
||||
rel1 { |
||||
relative: 1.0 1.0; |
||||
offset: -54 1; |
||||
} |
||||
rel2 { |
||||
relative: 1.0 1.0; |
||||
offset: -6 -43; |
||||
} |
||||
image.normal: "tab-add.png"; |
||||
} |
||||
} |
||||
part { name: "bg-selected-border"; |
||||
clip_to: "disclip"; |
||||
mouse_events: 0; |
||||
description { state: "default" 0.0; |
||||
visible: 0; |
||||
rel1.relative: 0.0 0.0; |
||||
rel2.relative: 1.0 1.0; |
||||
color: 255 255 255 0; |
||||
image { |
||||
normal: "tab-bg-selected.png"; |
||||
border: 8 8 8 8; |
||||
} |
||||
fill.smooth: 0; |
||||
} |
||||
description { state: "selected" 0.0; |
||||
inherit: "default" 0.0; |
||||
visible: 1; |
||||
color: 255 255 255 255; |
||||
rel1 { |
||||
relative: 0.0 0.0; |
||||
offset: 15 5; |
||||
} |
||||
rel2 { |
||||
relative: 1.0 1.0; |
||||
offset: -16 -6; |
||||
} |
||||
image { |
||||
normal: "tab-bg-selected.png"; |
||||
border: 8 8 8 8; |
||||
} |
||||
} |
||||
} |
||||
} |
||||
programs { |
||||
// signal: elm,state,%s,active |
||||
// a "check" item named %s went active |
||||
// signal: elm,state,%s,passive |
||||
// a "check" item named %s went passive |
||||
// default is passive |
||||
program { |
||||
name: "go_active"; |
||||
signal: "elm,state,selected"; |
||||
source: "elm"; |
||||
action: STATE_SET "selected" 0.0; |
||||
target: "bg-selected-border"; |
||||
transition: ACCELERATE 0.1; |
||||
} |
||||
program { |
||||
name: "go_passive"; |
||||
signal: "elm,state,unselected"; |
||||
source: "elm"; |
||||
action: STATE_SET "default" 0.0; |
||||
target: "bg-selected-border"; |
||||
transition: DECELERATE 0.1; |
||||
} |
||||
} |
||||
} |
@ -0,0 +1,222 @@
|
||||
group { name: "elm/list/item/ewebkit"; |
||||
alias: "elm/list/item_odd/ewebkit"; |
||||
data.item: "stacking" "above"; |
||||
images { |
||||
image: "list-highlight.png" COMP; |
||||
} |
||||
parts { |
||||
part { |
||||
name: "event"; |
||||
type: RECT; |
||||
repeat_events: 1; |
||||
description { |
||||
state: "default" 0.0; |
||||
color: 0 0 0 0; |
||||
} |
||||
} |
||||
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: -10 -10; |
||||
} |
||||
rel2 { |
||||
relative: 1.0 1.0; |
||||
offset: 9 9; |
||||
} |
||||
image { |
||||
normal: "list-highlight.png"; |
||||
border: 6 6 6 6; |
||||
} |
||||
image.middle: SOLID; |
||||
} |
||||
description { state: "selected" 0.0; |
||||
inherit: "default" 0.0; |
||||
visible: 1; |
||||
color: 255 255 255 255; |
||||
rel1 { |
||||
relative: 0.0 0.0; |
||||
offset: 0 -1; |
||||
} |
||||
rel2 { |
||||
relative: 1.0 1.0; |
||||
offset: -1 1; |
||||
} |
||||
} |
||||
} |
||||
part { name: "elm.swallow.icon"; |
||||
type: SWALLOW; |
||||
description { state: "default" 0.0; |
||||
fixed: 1 0; |
||||
align: 0.0 0.5; |
||||
rel1 { |
||||
relative: 0.0 0.0; |
||||
offset: 4 4; |
||||
} |
||||
rel2 { |
||||
relative: 0.0 1.0; |
||||
offset: 4 -5; |
||||
} |
||||
} |
||||
} |
||||
part { name: "elm.swallow.end"; |
||||
type: SWALLOW; |
||||
description { state: "default" 0.0; |
||||
fixed: 1 0; |
||||
align: 1.0 0.5; |
||||
rel1 { |
||||
relative: 1.0 0.0; |
||||
offset: -5 4; |
||||
} |
||||
rel2 { |
||||
relative: 1.0 1.0; |
||||
offset: -5 -5; |
||||
} |
||||
} |
||||
} |
||||
part { name: "elm.text"; |
||||
type: TEXT; |
||||
effect: SOFT_SHADOW; |
||||
mouse_events: 0; |
||||
scale: 1; |
||||
description { |
||||
state: "default" 0.0; |
||||
// min: 16 16; |
||||
rel1 { |
||||
to_x: "elm.swallow.icon"; |
||||
relative: 1.0 0.0; |
||||
offset: 38 0; |
||||
} |
||||
rel2 { |
||||
to_x: "elm.swallow.end"; |
||||
relative: 0.0 1.0; |
||||
offset: -1 -1; |
||||
} |
||||
color: 190 190 190 255; |
||||
color3: 0 0 0 0; |
||||
text { |
||||
font: "Sans"; |
||||
size: 11; |
||||
min: 1 1; |
||||
// min: 0 1; |
||||
align: 0.0 0.35; |
||||
} |
||||
} |
||||
description { |
||||
state: "selected" 0.0; |
||||
inherit: "default" 0.0; |
||||
} |
||||
} |
||||
} |
||||
programs { |
||||
program { |
||||
name: "go_active"; |
||||
signal: "elm,state,selected"; |
||||
source: "elm"; |
||||
action: STATE_SET "selected" 0.0; |
||||
target: "bg"; |
||||
target: "elm.text"; |
||||
transition: ACCELERATE 0.2; |
||||
} |
||||
program { |
||||
name: "go_passive"; |
||||
signal: "elm,state,unselected"; |
||||
source: "elm"; |
||||
action: STATE_SET "default" 0.0; |
||||
target: "bg"; |
||||
target: "elm.text"; |
||||
transition: DECELERATE 0.1; |
||||
} |
||||
} |
||||
} |
||||
group { name: "elm/list/separator/ewebkit"; |
||||
data.item: "stacking" "above"; |
||||
parts { |
||||
part { |
||||
name: "event"; |
||||
type: RECT; |
||||
repeat_events: 1; |
||||
description { |
||||
state: "default" 0.0; |
||||
color: 0 0 0 0; |
||||
} |
||||
} |
||||
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 -5; |
||||
} |
||||
rel2 { |
||||
relative: 0.5 1.0; |
||||
offset: 4 4; |
||||
} |
||||
} |
||||
description { state: "selected" 0.0; |
||||
inherit: "default" 0.0; |
||||
visible: 0; |
||||
color: 255 255 255 128; |
||||
rel1 { |
||||
relative: 0.0 0.0; |
||||
offset: -2 -2; |
||||
} |
||||
rel2 { |
||||
relative: 0.5 1.0; |
||||
offset: 1 1; |
||||
} |
||||
} |
||||
} |
||||
part { name: "elm.swallow.icon"; |
||||
type: SWALLOW; |
||||
description { state: "default" 0.0; |
||||
visible: 0; |
||||
fixed: 1 0; |
||||
align: 0.0 0.5; |
||||
rel1 { |
||||
relative: 0.0 0.0; |
||||
offset: 4 4; |
||||
} |
||||
rel2 { |
||||
relative: 0.0 1.0; |
||||
offset: 4 -5; |
||||
} |
||||
} |
||||
} |
||||
part { name: "elm.swallow.end"; |
||||
type: SWALLOW; |
||||
description { state: "default" 0.0; |
||||
visible: 0; |
||||
fixed: 1 0; |
||||
align: 1.0 0.5; |
||||
rel1 { |
||||
relative: 1.0 0.0; |
||||
offset: -5 4; |
||||
} |
||||
rel2 { |
||||
relative: 1.0 1.0; |
||||
offset: -5 -5; |
||||
} |
||||
} |
||||
} |
||||
part { name: "elm.text"; |
||||
type: TEXT; |
||||
effect: SOFT_SHADOW; |
||||
mouse_events: 0; |
||||
scale: 1; |
||||
description { |
||||
state: "default" 0.0; |
||||
visible: 0; |
||||
} |
||||
description { |
||||
state: "selected" 0.0; |
||||
inherit: "default" 0.0; |
||||
} |
||||
} |
||||
} |
||||
} |
@ -0,0 +1,146 @@
|
||||
group { name: "elm/notify/block_events/ewebkit"; |
||||
images.image: "shadow-bottom.png" COMP; |
||||
images.image: "tab-header.png" COMP; |
||||
parts { |
||||
part { name: "bg"; |
||||
type: RECT; |
||||
description { state: "default" 0.0; |
||||
rel1.relative: 0.0 1.0; |
||||
rel1.offset: 0 -310; |
||||
rel2.relative: 1.0 1.0; |
||||
rel2.offset: -1 -1; |
||||
color: 0 0 0 255; |
||||
} |
||||
} |
||||
part { name: "shadow"; |
||||
type: IMAGE; |
||||
description { state: "default" 0.0; |
||||
image.normal: "shadow-bottom.png"; |
||||
rel1 { |
||||
relative: 0.0 1.0; |
||||
offset: 0 -326; |
||||
} |
||||
rel2 { |
||||
relative: 1.0 1.0; |
||||
offset: -1 -311; |
||||
} |
||||
} |
||||
} |
||||
part { name: "border"; |
||||
type: IMAGE; |
||||
description { state: "default" 0.0; |
||||
image.normal: "tab-header.png"; |
||||
max: 99999 14; |
||||
rel1 { |
||||
to: "shadow"; |
||||
relative: 0.0 1.0; |
||||
offset: 0 -21; |
||||
} |
||||
rel2 { |
||||
to: "shadow"; |
||||
relative: 1.0 1.0; |
||||
offset: -1 15; |
||||
} |
||||
} |
||||
} |
||||
part { name: "block_events"; |
||||
type: RECT; |
||||
description { state: "default" 0.0; |
||||
color: 0 0 0 128; |
||||
visible: 1; |
||||
rel1.relative: 0.0 0.0; |
||||
rel1.offset: 0 0; |
||||
rel2.relative: 1.0 1.0; |
||||
rel2.offset: -1 -311; |
||||
} |
||||
} |
||||
} |
||||
programs { |
||||
program { |
||||
name: "block_clicked"; |
||||
signal: "mouse,clicked,1"; |
||||
source: "block_events"; |
||||
action: SIGNAL_EMIT "elm,action,clicked" "elm"; |
||||
} |
||||
} |
||||
} |
||||
group { name: "elm/notify/bottom/ewebkit"; |
||||
min: 400 300; |
||||
parts { |
||||
part { name: "base"; |
||||
type: RECT; |
||||
mouse_events: 0; |
||||
repeat_events: 1; |
||||
description { state: "default" 0.0; |
||||
visible: 0; |
||||
rel1.relative: 0.0 0.0; |
||||
rel2.relative: 1.0 1.0; |
||||
rel2.offset: -1 -1; |
||||
color: 0 0 0 0; |
||||
} |
||||
description { state: "visible" 0.0; |
||||
inherit: "default" 0.0; |
||||
visible: 1; |
||||
} |
||||
} |
||||
part { name: "shad"; |
||||
mouse_events: 0; |
||||
description { state: "default" 0.0; |
||||
rel1.to: "elm.swallow.content"; |
||||
rel1.offset: -64 -64; |
||||
rel2.to: "elm.swallow.content"; |
||||
rel2.offset: 63 63; |
||||
} |
||||
} |
||||
part { name: "pop"; |
||||
mouse_events: 1; |
||||
description { state: "default" 0.0; |
||||
rel1.to: "elm.swallow.content"; |
||||
rel1.offset: -5 -5; |
||||
rel2.to: "elm.swallow.content"; |
||||
rel2.offset: 4 4; |
||||
} |
||||
} |
||||
part { name: "popover"; |
||||
mouse_events: 0; |
||||
description { state: "default" 0.0; |
||||
rel1.to: "pop"; |
||||
rel2.to: "pop"; |
||||
rel2.relative: 1.0 0.5; |
||||
} |
||||
} |
||||
part { name: "elm.swallow.content"; |
||||
type: SWALLOW; |
||||
description { state: "default" 0.0; |
||||
rel1.to: "base"; |
||||
rel2.to: "base"; |
||||
} |
||||
} |
||||
} |
||||
programs { |
||||
program { name: "show"; |
||||
signal: "elm,action,show"; |
||||
source: "elm"; |
||||
action: STATE_SET "visible" 0.0; |
||||
target: "base"; |
||||
} |
||||
program { name: "show_2"; |
||||
signal: "show"; |
||||
action: STATE_SET "default" 0.0; |
||||
target: "base"; |
||||
after: "show_3"; |
||||
} |
||||
program { name: "show_3"; |
||||
signal: "show"; |
||||
action: STATE_SET "visible" 0.0; |
||||
target: "base"; |
||||
transition: ACCELERATE 0.2; |
||||
} |
||||
program { name: "hide"; |
||||
signal: "elm,action,hide"; |
||||
source: "elm"; |
||||
action: STATE_SET "default" 0.0; |
||||
target: "base"; |
||||
} |
||||
} |
||||
} |