forked from enlightenment/efl
Merge branch 'master' into elm_code_wrap
This commit is contained in:
commit
58bcf4074c
|
@ -1,4 +1,7 @@
|
|||
{
|
||||
"project_id" : "efl",
|
||||
"conduit_uri" : "https://phab.enlightenment.org/"
|
||||
"projects" : "efl",
|
||||
"conduit_uri" : "https://phab.enlightenment.org/",
|
||||
"phabricator.uri" : "https://phab.enlightenment.org/",
|
||||
"repository.callsign" : "EFL"
|
||||
}
|
||||
|
|
|
@ -0,0 +1,19 @@
|
|||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
cd /
|
||||
|
||||
#clone our examples from efl
|
||||
git clone http://git.enlightenment.org/tools/examples.git/
|
||||
|
||||
cd examples/apps/c/life/
|
||||
|
||||
#build the example
|
||||
mkdir build
|
||||
meson . ./build
|
||||
ninja -C build all
|
||||
|
||||
#remove the folder again so its not left in the artifacts
|
||||
cd /
|
||||
rm -rf examples
|
|
@ -1,10 +1,63 @@
|
|||
#!/bin/sh
|
||||
|
||||
COPTS="--with-tests=regular"
|
||||
PARALLEL_JOBS=10
|
||||
set -e
|
||||
|
||||
# Normal build test of all targets
|
||||
./autogen.sh $COPTS $@
|
||||
make -j $PARALLEL_JOBS
|
||||
make -j $PARALLEL_JOBS examples
|
||||
make -j $PARALLEL_JOBS benchmark
|
||||
CI_BUILD_TYPE=$1
|
||||
|
||||
DEFAULT_COPTS="--prefix=/usr/ --with-tests=regular --disable-cxx-bindings"
|
||||
|
||||
WAYLAND_COPTS="--with-tests=regular --enable-wayland --enable-elput --enable-drm \
|
||||
--enable-wayland-ivi-shell --enable-gl-drm --with-opengl=es --enable-egl"
|
||||
|
||||
MISC_COPTS="--enable-harfbuzz --enable-liblz4 --enable-image-loader-webp --enable-xinput22 \
|
||||
--enable-multisense --enable-lua-old --enable-xpresent --enable-hyphen \
|
||||
--enable-pixman --enable-pixman-font --enable-pixman-rect --enable-pixman-line \
|
||||
--enable-pixman-poly --enable-pixman-image --enable-pixman-image-scale-sample \
|
||||
--enable-image-loader-generic --enable-libuv --enable-tile-rotate --enable-vnc-server \
|
||||
--enable-sdl --enable-fb --enable-v4l2 --enable-cserve --enable-always-build-examples \
|
||||
--enable-ecore-wayland --enable-ecore-drm --enable-cancel-ok --with-crypto=gnutls \
|
||||
--enable-debug --disable-gstreamer1 --enable-gstreamer"
|
||||
|
||||
MISC_DISABLED_COPTS="--disable-neon --disable-libeeze --disable-systemd --disable-magic-debug \
|
||||
--disable-valgrind --disable-cxx-bindings --disable-gstreamer1 \
|
||||
--disable-fontconfig --disable-fribidi --disable-poppler --disable-spectre --disable-libraw \
|
||||
--disable-librsvg --disable-xcf --disable-libmount --disable-tslib --disable-audio \
|
||||
--disable-pulseaudio --disable-avahi --disable-xinput2 --disable-xim --disable-scim \
|
||||
--disable-ibus --disable-physics --disable-quick-launch --disable-elua"
|
||||
|
||||
RELEASE_READY_COPTS="--with-profile=release"
|
||||
|
||||
if [ "$CI_BUILD_TYPE" = "" ]; then
|
||||
# Normal build test of all targets
|
||||
./autogen.sh $DEFAULT_COPTS
|
||||
make
|
||||
make check-build
|
||||
make examples
|
||||
make benchmark
|
||||
make install
|
||||
./.ci/build-efl-app.sh
|
||||
fi
|
||||
|
||||
if [ "$CI_BUILD_TYPE" = "wayland" ]; then
|
||||
./autogen.sh $WAYLAND_COPTS
|
||||
make
|
||||
make examples
|
||||
fi
|
||||
|
||||
if [ "$CI_BUILD_TYPE" = "misc" ]; then
|
||||
./autogen.sh $MISC_COPTS
|
||||
make
|
||||
make examples
|
||||
fi
|
||||
|
||||
if [ "$CI_BUILD_TYPE" = "misc-disabled" ]; then
|
||||
./autogen.sh $MISC_DISABLED_COPTS
|
||||
make
|
||||
make examples
|
||||
fi
|
||||
|
||||
if [ "$CI_BUILD_TYPE" = "release-ready" ]; then
|
||||
./autogen.sh $RELEASE_READY_COPTS
|
||||
make
|
||||
make distcheck
|
||||
fi
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
#!/bin/sh
|
||||
|
||||
COPTS="--with-crypto=none --disable-pulseaudio --disable-cxx-bindings"
|
||||
PARALLEL_JOBS=10
|
||||
set -e
|
||||
|
||||
COPTS="--disable-cxx-bindings"
|
||||
|
||||
# Prepare OSX env for build
|
||||
mkdir -p ~/Library/LaunchAgents
|
||||
|
@ -9,8 +10,11 @@ ln -sfv /usr/local/opt/d-bus/*.plist ~/Library/LaunchAgents
|
|||
launchctl load ~/Library/LaunchAgents/org.freedesktop.dbus-session.plist
|
||||
export PATH="$(brew --prefix gettext)/bin:$PATH"
|
||||
|
||||
export CFLAGS="-I/usr/local/opt/openssl/include $CFLAGS"
|
||||
export LDFLAGS="-L/usr/local/opt/openssl/lib $LDFLAGS"
|
||||
|
||||
# Normal build test of all targets
|
||||
./autogen.sh $COPTS $@
|
||||
make -j $PARALLEL_JOBS
|
||||
#make -j $PARALLEL_JOBS examples
|
||||
#make -j $PARALLEL_JOBS benchmark
|
||||
make
|
||||
make examples
|
||||
#make benchmark
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#!/bin/sh
|
||||
|
||||
brew update
|
||||
brew install gettext check bullet dbus fontconfig freetype fribidi gst-plugins-good gstreamer luajit openssl webp libsndfile glib libspectre libraw librsvg poppler lz4
|
||||
brew unlink python
|
||||
brew install gettext check bullet dbus fontconfig freetype fribidi gst-plugins-good gstreamer luajit openssl webp libsndfile glib libspectre libraw librsvg poppler lz4 pulseaudio
|
||||
|
|
|
@ -10,9 +10,3 @@ RUN pacman -S --noconfirm git bullet libjpeg-turbo gst-plugins-base \
|
|||
libspectre libraw librsvg wayland-protocols \
|
||||
git ninja clang gcc pkgconfig check autoconf make base-devel \
|
||||
mesa poppler
|
||||
|
||||
# Build
|
||||
RUN mkdir -p /src/
|
||||
WORKDIR /src/
|
||||
COPY . /src/
|
||||
RUN .ci/ci-linux-build.sh
|
|
@ -3,9 +3,3 @@ FROM debian:9.1
|
|||
# Install
|
||||
RUN apt-get update -y
|
||||
RUN apt-get install -y make gcc bison flex gawk subversion automake autoconf doxygen check autotools-dev autoconf-archive autopoint libtool gettext libpam0g-dev libfreetype6-dev libpng-dev zlib1g-dev libjpeg-dev libdbus-1-dev luajit libluajit-5.1-dev libx11-dev libxcursor-dev libxrender-dev libxrandr-dev libxfixes-dev libxdamage-dev libxcomposite-dev libxss-dev libxext-dev libxinerama-dev libxkbfile-dev libxtst-dev libxcb1-dev libxcb-shape0-dev libxcb-keysyms1-dev libpulse-dev libsndfile1-dev libudev-dev libblkid-dev libmount-dev libgstreamer1.0-dev libtiff5-dev libgif-dev curl libssl-dev libspectre-dev libpoppler-dev librsvg2-dev libraw-dev libxinerama-dev git libfribidi-dev libcogl-gles2-dev libbullet-dev libgstreamer-plugins-base1.0-dev libvlc-dev libpoppler-cpp-dev libsystemd-dev systemd libsystemd0
|
||||
|
||||
# Build
|
||||
RUN mkdir -p /src/
|
||||
WORKDIR /src/
|
||||
COPY . /src/
|
||||
RUN .ci/ci-linux-build.sh
|
|
@ -3,9 +3,3 @@ FROM fedora:26
|
|||
# Install
|
||||
RUN dnf update --assumeyes
|
||||
RUN dnf install --assumeyes bullet-devel libpng-devel libjpeg-turbo-devel gstreamer1-devel gstreamer1-plugins-base-devel zlib-devel luajit-devel libtiff-devel openssl-devel libcurl-devel dbus-devel glibc-devel fontconfig-devel freetype-devel fribidi-devel pulseaudio-libs-devel libsndfile-devel libX11-devel libXau-devel libXcomposite-devel libXdamage-devel libXdmcp-devel libXext-devel libXfixes-devel libXinerama-devel libXrandr-devel libXrender-devel libXScrnSaver-devel libXtst-devel libXcursor-devel libXp-devel libXi-devel mesa-libGL-devel giflib-devel libmount-devel libblkid-devel systemd-devel poppler-cpp-devel poppler-devel LibRaw-devel libspectre-devel librsvg2-devel autoconf automake gcc gcc-c++ gettext-devel findutils tar xz libtool make
|
||||
|
||||
# Build
|
||||
RUN mkdir -p /src/
|
||||
WORKDIR /src/
|
||||
COPY . /src/
|
||||
RUN .ci/ci-linux-build.sh
|
|
@ -4,8 +4,8 @@ FROM fedora:27
|
|||
RUN dnf update --assumeyes
|
||||
RUN dnf install --assumeyes bullet-devel libpng-devel libjpeg-turbo-devel gstreamer1-devel gstreamer1-plugins-base-devel zlib-devel luajit-devel libtiff-devel openssl-devel libcurl-devel dbus-devel glibc-devel fontconfig-devel freetype-devel fribidi-devel pulseaudio-libs-devel libsndfile-devel libX11-devel libXau-devel libXcomposite-devel libXdamage-devel libXdmcp-devel libXext-devel libXfixes-devel libXinerama-devel libXrandr-devel libXrender-devel libXScrnSaver-devel libXtst-devel libXcursor-devel libXp-devel libXi-devel mesa-libGL-devel giflib-devel libmount-devel libblkid-devel systemd-devel poppler-cpp-devel poppler-devel LibRaw-devel libspectre-devel librsvg2-devel autoconf automake gcc gcc-c++ gettext-devel findutils tar xz libtool make
|
||||
|
||||
# Build
|
||||
RUN mkdir -p /src/
|
||||
WORKDIR /src/
|
||||
COPY . /src/
|
||||
RUN .ci/ci-linux-build.sh
|
||||
# Install wayland build dependencies
|
||||
RUN dnf install --assumeyes wayland-protocols-devel libwayland-client libwayland-server libinput-devel libdrm-devel libxkbcommon-devel uuid-devel wayland-devel mesa-libgbm-devel
|
||||
|
||||
# Install misc build dependencies
|
||||
RUN dnf install --assumeyes lz4-devel harfbuzz-devel libXpresent-devel libwebp-devel hyphen-devel lua-devel
|
|
@ -0,0 +1,7 @@
|
|||
FROM opensuse:42.3
|
||||
|
||||
# Install
|
||||
RUN zypper --non-interactive update
|
||||
RUN zypper --non-interactive install -t pattern devel_basis
|
||||
RUN zypper --non-interactive in -d efl
|
||||
RUN zypper --non-interactive install gcc-c++ gettext-devel doxygen check libcheck0 check-devel libopenssl-devel systemd-devel libjpeg-devel glib2-devel gstreamer-devel gstreamer-plugins-base-devel luajit-devel freetype2-devel fontconfig-devel fribidi-devel libpng-devel libtiff-devel libcurl-devel libsndfile-devel libX11-devel libXau-devel libXcomposite-devel libXdamage-devel libXdmcp-devel libXext-devel libXfixes-devel libXinerama-devel libXrandr-devel libXrender-devel libXScrnSaver-devel libXtst-devel libXcursor-devel libXp-devel libXi-devel Mesa-libGL-devel giflib-devel libmount-devel libblkid-devel poppler-devel libraw-devel libspectre-devel librsvg2-devel gettext-devel libbullet-devel libudev-devel dbus-1-devel libpulse-devel
|
|
@ -3,9 +3,3 @@ FROM ubuntu:17.04
|
|||
# Install
|
||||
RUN apt-get update -y
|
||||
RUN apt-get install -y build-essential autoconf automake autopoint doxygen check luajit libharfbuzz-dev libpng-dev libudev-dev libwebp-dev libssl-dev libluajit-5.1-dev libfribidi-dev libcogl-gles2-dev libgif-dev libtiff5-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libdbus-1-dev libmount-dev libblkid-dev libpulse-dev libxrandr-dev libxtst-dev libxcursor-dev libxcomposite-dev libxinerama-dev libxkbfile-dev libbullet-dev libvlc-dev libsndfile1-dev libraw-dev libspectre-dev libpoppler-cpp-dev libpam0g-dev liblz4-dev faenza-icon-theme gettext git imagemagick libasound2-dev libbluetooth-dev libfontconfig1-dev libfreetype6-dev libibus-1.0-dev libiconv-hook-dev libjpeg-dev libjpeg-turbo8-dev libpoppler-dev libpoppler-private-dev libproxy-dev librsvg2-dev libscim-dev libsystemd-dev libtool libudisks2-dev libunibreak-dev libxcb-keysyms1-dev libxine2-dev libxss-dev linux-tools-common libcurl4-openssl-dev
|
||||
|
||||
# Build
|
||||
RUN mkdir -p /src/
|
||||
WORKDIR /src/
|
||||
COPY . /src/
|
||||
RUN .ci/ci-linux-build.sh
|
|
@ -2,10 +2,4 @@ FROM ubuntu:17.10
|
|||
|
||||
# Install
|
||||
RUN apt-get update -y
|
||||
RUN apt-get install -y build-essential autoconf automake autopoint doxygen check luajit libharfbuzz-dev libpng-dev libudev-dev libwebp-dev libssl-dev libluajit-5.1-dev libfribidi-dev libcogl-gles2-dev libgif-dev libtiff5-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libdbus-1-dev libmount-dev libblkid-dev libpulse-dev libxrandr-dev libxtst-dev libxcursor-dev libxcomposite-dev libxinerama-dev libxkbfile-dev libbullet-dev libvlc-dev libsndfile1-dev libraw-dev libspectre-dev libpoppler-cpp-dev libpam0g-dev liblz4-dev faenza-icon-theme gettext git imagemagick libasound2-dev libbluetooth-dev libfontconfig1-dev libfreetype6-dev libibus-1.0-dev libiconv-hook-dev libjpeg-dev libjpeg-turbo8-dev libpoppler-dev libpoppler-private-dev libproxy-dev librsvg2-dev libscim-dev libsystemd-dev libtool libudisks2-dev libunibreak-dev libxcb-keysyms1-dev libxine2-dev libxss-dev linux-tools-common libcurl4-openssl-dev
|
||||
|
||||
# Build
|
||||
RUN mkdir -p /src/
|
||||
WORKDIR /src/
|
||||
COPY . /src/
|
||||
RUN .ci/ci-linux-build.sh
|
||||
RUN apt-get install -y build-essential autoconf automake autopoint doxygen check luajit libharfbuzz-dev libpng-dev libudev-dev libwebp-dev libssl-dev libluajit-5.1-dev libfribidi-dev libcogl-gles2-dev libgif-dev libtiff5-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libdbus-1-dev libmount-dev libblkid-dev libpulse-dev libxrandr-dev libxtst-dev libxcursor-dev libxcomposite-dev libxinerama-dev libxkbfile-dev libbullet-dev libvlc-dev libsndfile1-dev libraw-dev libspectre-dev libpoppler-cpp-dev libpam0g-dev liblz4-dev faenza-icon-theme gettext git imagemagick libasound2-dev libbluetooth-dev libfontconfig1-dev libfreetype6-dev libibus-1.0-dev libiconv-hook-dev libjpeg-dev libjpeg-turbo8-dev libpoppler-dev libpoppler-private-dev libproxy-dev librsvg2-dev libscim-dev libsystemd-dev libtool libudisks2-dev libunibreak-dev libxcb-keysyms1-dev libxine2-dev libxss-dev linux-tools-common libcurl4-openssl-dev systemd
|
85
.travis.yml
85
.travis.yml
|
@ -3,28 +3,83 @@ language: c
|
|||
sudo: required
|
||||
dist: trusty
|
||||
|
||||
os: linux
|
||||
os:
|
||||
- linux
|
||||
- osx
|
||||
|
||||
env:
|
||||
global:
|
||||
- MAKEFLAGS="-j5"
|
||||
matrix:
|
||||
-
|
||||
- DISTRO=Ubuntu1804
|
||||
- DISTRO=Fedora28 CI_BUILD_TYPE=wayland
|
||||
- DISTRO=Fedora28 CI_BUILD_TYPE=misc
|
||||
- DISTRO=Fedora28 CI_BUILD_TYPE=misc-disabled
|
||||
- DISTRO=Fedora28 CI_BUILD_TYPE=release-ready
|
||||
- DISTRO=Debian91
|
||||
- DISTRO=Archlinux
|
||||
|
||||
services:
|
||||
- docker
|
||||
|
||||
matrix:
|
||||
fast_finish: true
|
||||
exclude:
|
||||
- os: osx
|
||||
env: DISTRO=Ubuntu1804
|
||||
- os: osx
|
||||
env: DISTRO=Fedora28 CI_BUILD_TYPE=wayland
|
||||
- os: osx
|
||||
env: DISTRO=Fedora28 CI_BUILD_TYPE=misc
|
||||
- os: osx
|
||||
env: DISTRO=Fedora28 CI_BUILD_TYPE=misc-disabled
|
||||
- os: osx
|
||||
env: DISTRO=Fedora28 CI_BUILD_TYPE=release-ready
|
||||
- os: osx
|
||||
env: DISTRO=Debian91
|
||||
- os: osx
|
||||
env: DISTRO=Archlinux
|
||||
|
||||
- os: linux
|
||||
env:
|
||||
allow_failures:
|
||||
- os: linux
|
||||
env: DISTRO=Fedora28 CI_BUILD_TYPE=release-ready
|
||||
|
||||
before_install:
|
||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then .ci/ci-osx-deps.sh ; fi
|
||||
|
||||
matrix:
|
||||
include:
|
||||
- env: DISTRO=Ubuntu1704
|
||||
- env: DISTRO=Fedora27
|
||||
- env: DISTRO=Debian91
|
||||
- env: DISTRO=Archlinux
|
||||
- os: osx
|
||||
osx_image: xcode7.3
|
||||
- os: osx
|
||||
osx_image: xcode8.3
|
||||
|
||||
# Xcode 7.3.1, OS X 10.11
|
||||
# Xcode 8.3.3, OS X 10.12
|
||||
before_script:
|
||||
- |
|
||||
if [[ "$TRAVIS_OS_NAME" == "linux" ]] && [[ "$DISTRO" != "" ]]; then
|
||||
docker pull stefanschmidt1/ci-support-files:$DISTRO
|
||||
fi
|
||||
|
||||
script:
|
||||
- if [[ "$TRAVIS_OS_NAME" == "linux" ]] && [[ "$DISTRO" != "" ]]; then docker build -f .ci/Dockerfile-$DISTRO . ; fi
|
||||
- |
|
||||
if [[ "$TRAVIS_OS_NAME" == "linux" ]] && [[ "$DISTRO" != "" ]]; then
|
||||
docker run -v `pwd`:/src -w /src stefanschmidt1/ci-support-files:$DISTRO /src/.ci/ci-linux-build.sh $CI_BUILD_TYPE
|
||||
fi
|
||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then .ci/ci-osx-build.sh ; fi
|
||||
|
||||
after_success:
|
||||
- |
|
||||
if [[ "$TRAVIS_OS_NAME" == "linux" ]] && [[ "$DISTRO" != "" ]]; then
|
||||
docker login -u stefanschmidt1 -p "$DOCKER_PASSWORD"
|
||||
docker tag stefanschmidt1/ci-support-files:$DISTRO stefanschmidt1/ci-support-files:$DISTRO-$TRAVIS_BUILD_NUMBER
|
||||
docker push stefanschmidt1/ci-support-files:$DISTRO
|
||||
docker push stefanschmidt1/ci-support-files:$DISTRO-$TRAVIS_BUILD_NUMBER
|
||||
fi
|
||||
|
||||
notifications:
|
||||
irc:
|
||||
channels:
|
||||
- "chat.freenode.net#edevelop"
|
||||
on_success: change
|
||||
on_failure: always
|
||||
template:
|
||||
- "TravisCI build %{build_number} in branch %{branch}: %{result} - %{message}"
|
||||
- "Commit: %{commit_subject} (%{commit}) from %{author}"
|
||||
- "Change view : %{compare_url}"
|
||||
- "Build details : %{build_url}"
|
||||
|
|
7
AUTHORS
7
AUTHORS
|
@ -676,7 +676,7 @@ Vitaliy Venzak <v.venzak@samsung.com>
|
|||
perepelits.m <perepelits.m@samsung.com>
|
||||
rustyBSD <rustyBSD@gmx.fr>
|
||||
Haifeng Deng <haifeng.deng@samsung.com>
|
||||
Al Poole <netstar@gmail.com>
|
||||
Alastair Poole <netstar@gmail.com>
|
||||
Marcel Hollerbach <marcel-hollerbach@t-online.de>
|
||||
Hermet Park <hermetpark@gmail.com>
|
||||
Jeeyong Um <conr2d@gmail.com>
|
||||
|
@ -687,3 +687,8 @@ Jinyong Park <j4939.park@samsung.com>
|
|||
Woochan Lee <wc0917.lee@samsung.com>
|
||||
Taehyub Kim <taehyub.kim@samsung.com>
|
||||
Sungtaek Hong <taxi2se@gmail.com>
|
||||
Bryce Harrington <bryce@osg.samsung.com>
|
||||
YeongJong Lee <yj34.lee@samsung.com>
|
||||
Bowon Ryu <bowon.ryu@samsung.com>
|
||||
Wonki Kim <wonki_.kim@samsung.com>
|
||||
Junsu Choi <jsuya.choi@samsung.com>
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
Gesture Layer 2:
|
||||
Gesture Layer 2 (all the icons in data/elementary/images/g_layer):
|
||||
Illustrations provided by GestureWorks® (www.gestureworks.com)
|
||||
Creative Commons Attribution Sharealike license v 3.0.
|
||||
http://gestureworks.com/
|
||||
http://gestureworks.com/icons-fonts
|
||||
http://creativecommons.org/licenses/by-sa/3.0/us/
|
||||
|
||||
|
|
13
Makefile.am
13
Makefile.am
|
@ -5,7 +5,7 @@ AM_DISTCHECK_CONFIGURE_FLAGS = \
|
|||
--with-systemdunitdir=. \
|
||||
--enable-always-build-examples
|
||||
|
||||
SUBDIRS = src data config doc
|
||||
SUBDIRS = src data doc
|
||||
|
||||
if HAVE_PO
|
||||
|
||||
|
@ -470,12 +470,11 @@ lcov-baseline:
|
|||
lcov-report: lcov-baseline
|
||||
lcov --capture --compat-libtool --no-external --output-file $(abs_top_builddir)/coverage/coverage-check.info --directory $(abs_top_builddir) --config-file .lcov-config
|
||||
lcov --no-external --compat-libtool --add-tracefile $(abs_top_builddir)/coverage/coverage-baseline.info --add-tracefile $(abs_top_builddir)/coverage/coverage-check.info --output-file $(abs_top_builddir)/coverage/coverage.info --config-file .lcov-config
|
||||
lcov --no-external --compat-libtool --remove $(abs_top_builddir)/coverage/coverage.info '*.h' --output-file $(abs_top_builddir)/coverage/coverage.cleaned.info --config-file .lcov-config
|
||||
lcov --no-external --compat-libtool --remove $(abs_top_builddir)/coverage/coverage.cleaned.info '*/tests/*' --output-file $(abs_top_builddir)/coverage/coverage.cleaned2.info --config-file .lcov-config
|
||||
lcov --no-external --compat-libtool --remove $(abs_top_builddir)/coverage/coverage.cleaned2.info '*NONE*' --output-file $(abs_top_builddir)/coverage/coverage.cleaned3.info --config-file .lcov-config
|
||||
lcov --no-external --compat-libtool --remove $(abs_top_builddir)/coverage/coverage.cleaned3.info '*/doc/*' --output-file $(abs_top_builddir)/coverage/coverage.cleaned4.info --config-file .lcov-config
|
||||
lcov --no-external --compat-libtool --remove $(abs_top_builddir)/coverage/coverage.cleaned4.info '*usr/include*' --output-file $(abs_top_builddir)/coverage/coverage.cleaned5.info --config-file .lcov-config
|
||||
genhtml --config-file .lcov-config --legend -t "$(PACKAGE_STRING)" -o $(abs_top_builddir)/coverage/html $(abs_top_builddir)/coverage/coverage.cleaned5.info
|
||||
lcov --no-external --compat-libtool --remove $(abs_top_builddir)/coverage/coverage.info \
|
||||
'*.h' '*/tests/*' '*NONE*' '*/doc/*' '*usr/include*' '*/bin*' '*/edje_external*' \
|
||||
'*/generic/*' '*/modules/*' '*/static_libs/*' \
|
||||
--output-file $(abs_top_builddir)/coverage/coverage.cleaned.info --config-file .lcov-config
|
||||
genhtml --config-file .lcov-config --legend -t "$(PACKAGE_STRING)" -o $(abs_top_builddir)/coverage/html $(abs_top_builddir)/coverage/coverage.cleaned.info
|
||||
@echo "Coverage Report at $(abs_top_builddir)/coverage/html"
|
||||
|
||||
endif
|
||||
|
|
450
NEWS
450
NEWS
|
@ -1,7 +1,455 @@
|
|||
==========
|
||||
EFL 1.20.0
|
||||
EFL 1.21.0
|
||||
==========
|
||||
|
||||
Changes since 1.20.0:
|
||||
---------------------
|
||||
|
||||
Features:
|
||||
|
||||
* evas: Make all EO canvas objects visible by default
|
||||
* Eo: Allow multiple functions overrides (T5580)
|
||||
* eo: Add debug_name read-only property to ease debugging
|
||||
* evas/edje/elm: Override debug_name in core classes
|
||||
* wayland: add efl-hints protocol for setting aspect on surfaces
|
||||
* efl-wl: support min/max hinting
|
||||
* efl-wl: add handling for external protocol interfaces
|
||||
* edje - add embryo echo command for debugging
|
||||
* layout: Implement missing edje APIs (T5315)
|
||||
* ecore-wl2: Add support for Window Iconify State Change
|
||||
* ecore-evas-wayland: Add handler for Iconify State Change event
|
||||
* efl: Introduce Efl.Ui.Direction interface (T5870)
|
||||
* Efl.Ui.Panes: implement allow_user_size_hints on parts (T5359)
|
||||
* Efl.Ui.Panes: rename left/right_size_set to split_ratio (T5359)
|
||||
* efl-wl: add EFL_WL_DEBUG env variable for enabling wayland debug
|
||||
* efl-wl: add functionality for extracting surfaces for external use
|
||||
* elput: Add API to set pointer acceleration speed (T4736)
|
||||
* ecore-drm2: Add API function to allow setting pointer acceleration speed (T4736)
|
||||
* ecore-drm2: Add API to allow setting pointer acceleration profile (T4736)
|
||||
* Introduce text on path widget
|
||||
* eina: Add convenience eina_rectangle_equal
|
||||
* evas textblock: support ZWJ, ZWNJ, LRM, RLM in escaped form
|
||||
* evas: Add EO API to get clipper in smart object
|
||||
* evas: Add group_member_is to smart objects
|
||||
* efl: Introduce Eina.Rect and switch EO APIs to it
|
||||
* efl_ui_image: add new scale type: EFL_UI_IMAGE_SCALE_TYPE_TILE
|
||||
* Canvas text async: add async layout functionality
|
||||
* Ui text: add Efl.Ui.Text_Async object
|
||||
* edje: Add part_type_get API
|
||||
* ecore exe - add an "isolate io"f lag for sending io to /dev/null
|
||||
* evas: Add scale feature for embedded bitmap fonts.
|
||||
* eo_debug: Enable logging of all ref/unref
|
||||
* eo: Add API to allow deletion by unref
|
||||
* Efl text: add Efl.Text.Markup interface
|
||||
* evas: Implement support for different H/V font DPI
|
||||
* elm_config: add offline and powersave config members
|
||||
* efl_wl: add function for returning the evas object for an extracted surface
|
||||
* wayland: add support for efl weight hint propagation from elm_win to efl_wl
|
||||
* evas textblocke: add align=end for putting a text at the opposite side of LTR/RTL
|
||||
* eina: eina_value - Add "struct tm" support (T6204)
|
||||
* edje_cc - add offset_scale/offscale per desc to allow offsets to scale
|
||||
* Genlist Item Pin Feature (T6241)
|
||||
* saver/svg: parse loaded tree data into svg XML file and save it
|
||||
* build: improve configure accessibility
|
||||
* eolian: Add API's for part enumeration
|
||||
* evas filters: Add "alphaonly" flag for blend and blur
|
||||
* elm: Add "shadow" part to all widgets
|
||||
* efl-wl: add function to get the parent of an extracted surface
|
||||
* ecore_imf: Add transaction start and end event callback
|
||||
* entry: Add autofill hint
|
||||
* eo: Add "destruct" event
|
||||
* efl-wl: move to xdg-shell vfinal
|
||||
* wayland: add xdg-shell vfinal support for client-side
|
||||
* Canvas image: add Efl.Canvas.Text.Factory + use in Ui.Text
|
||||
* efl-wl: add functionality for directly passing through xkb objects
|
||||
* ecore-x: add more info to Ecore_X_Event_Xkb event
|
||||
* ecore-x: add some useful xkb function wrappers
|
||||
* eolian: deferred parsing of inherits + better static checks
|
||||
* ecore: add function for prepending an event handler
|
||||
* efl-wl: add functions for managing allowed client pids
|
||||
* efl-wl: add function for passing ecore-exe flags to launched exes
|
||||
* ecore-drm2: Add API functions to get/set output relative mode
|
||||
* efl-wl: send surface enter/leave based on compositor object visibility
|
||||
* ecore-drm2: Add API to get/set which output is relative to another
|
||||
* ecore-drm2: Add API function to retrieve output user data
|
||||
* edje: add ability to reference images from other edje files
|
||||
* eolian: add API to query information about Objects
|
||||
* eolian: clean rollback support
|
||||
* evas: apply fribidi bracket types to show paired bracket properly
|
||||
* efreet: add method for disabling efreetd connection
|
||||
* efl_ui_spin: Added special value feature.
|
||||
* elm_entry: add elm_entry_prediction_hint_hash_set/del API
|
||||
* edje_cc: add option for verifying namespace usage (T6911)
|
||||
* eio: add method for setting the global file polling rate for fallback monitors
|
||||
* eina_debug: add function to reset debug subsystem after fork
|
||||
* eio: add method for determining if a monitor is using the fallback mechanism
|
||||
* edje_cc: add 'skip_namespace_validation' keyword (T7072)
|
||||
|
||||
Fixes:
|
||||
|
||||
* ecore-wl2: pass display to aux hint event_adds
|
||||
* ecore-wl2: don't send null set_parent requests for every window
|
||||
* ecore-wl2: sync aux hints after window creation
|
||||
* efl-wl: block connection attempts from unmanaged clients
|
||||
* wayland: fix min/max size setting
|
||||
* efl-wl: do shm pool ref/unref for bm safety
|
||||
* ecore-evas-wayland: update size when size hints are changed
|
||||
* efl-wl: add handling for commit during canvas render
|
||||
* efl-wl: set cursor surface roles
|
||||
* theme: clip start gadget arrow to intended clipper
|
||||
* edje crash with run program references - fix
|
||||
* Allow to override build date (T5495)
|
||||
* elm_win: simplify/fix recalc logic when changing csd
|
||||
* elm_win: set shadow geometry based on borderless state
|
||||
* elementary cursor: remove a warning message from Wayland supports
|
||||
* elm: Add missing undef EAPI to Elementary.h
|
||||
* ecore glib support - if we are not the main ctx owner loop to acquire
|
||||
* evas: Fix crash in E (T5868)
|
||||
* eolian: implement proper return type serialization (T5024)
|
||||
* eo: Check refs in efl_data_scope_safe_get (T5869)
|
||||
* wayland: fix xdg-shell popup windows
|
||||
* efl-wl: use correct accessor method for keyboard resource hash
|
||||
* elm_widget: do not reparent subobjs to top widget for non-elm objects
|
||||
* efl-wl: always dismiss popups on hide
|
||||
* efl-wl: handle case where eglBindWaylandDisplay fails
|
||||
* ecore: always set delete_me before removing fd from poll
|
||||
* efl-wl: initialize seat keymap fd to -1
|
||||
* ecore_evas_extn: Fix socket & plug windows
|
||||
* elm_test: Fail nicely if plug can't connect
|
||||
* evas: make top object returning functions return the top object
|
||||
* theme: handle e dialog sizing when no buttons are present
|
||||
* wayland: fix num/caps lock handling in events (T5737)
|
||||
* elm segment control: delete event cbs on obj delete.
|
||||
* glview: Fix ALWAYS render policy
|
||||
* elm_box: Fix support of aspect hints (T5888)
|
||||
* theme: fix dialog sizing when no buttons are present
|
||||
* edje: Fix warning message
|
||||
* efl_ui_clock: Parses the format recursively.
|
||||
* photocam: Fix key zoom in/out
|
||||
* elm init - fix init seq and quicklaunch as we shut down x before evas
|
||||
* ecore-wl2: normalize axis event values (T5427)
|
||||
* efl-wl: match nested wl seats based on display ordering
|
||||
* elm_win: update opaque region for fake windows
|
||||
* elm_win: check for wayland engine during finalize by checking for wl win
|
||||
* efl_ui_image: maintain geometry for prev image while preloading new image (T5936)
|
||||
* access: Fix crash in ecore
|
||||
* Canvas text: fix non-dirty paragraph width calculation (T5939)
|
||||
* evas: fix invalid return of evas_textgrid_cellrow_get()
|
||||
* eina file - use recursive locks for cache and file to avoid deadlock
|
||||
* eina mmap safety - only map zeropages if it's an eina file that sigbuses
|
||||
* multibuttonentry: Separate selected item and focused item logic.
|
||||
* efl_ui_clock: Add 'O' character to ignore POSIX alternative format in format.
|
||||
* elm focus manager - dont leak child lists when updating focus order (T5800)
|
||||
* elm focus manager - dont leak child lists when updating focus order (T5800)
|
||||
* eina_array: Fix magic checks to return
|
||||
* evas: handle object names with a list hash
|
||||
* evas: fix event grabber child stacking
|
||||
* ecore_exe - fix failed finalize fork to reutrn NULL not ecore_exe_free
|
||||
* evas: proceed glyph iterator to handle next index properly
|
||||
* evas_thread: only join the thread if the thread is still alive (T5245)
|
||||
* filters: Safety++
|
||||
* cxx: generate a constructor with a parent and a lambda function (T5980)
|
||||
* evas: don't search other fonts only for INHERITED script unicodes
|
||||
* edje: Add legacy compatibility code (T5944)
|
||||
* evas box - fix longstanding bug where min size is miscalculated
|
||||
* ecore exe - fix fix malloc fail handling
|
||||
* efl net - adapt to openssl 1.1.0 changes with tls method support
|
||||
* eina: prevent memory corruption in chained mempool
|
||||
* efl net http - fix protocol error handling to not crash and handle it
|
||||
* flip: Fix invalid use of EOAPI in legacy header
|
||||
* eina file: Fix map_populate on the global map
|
||||
* eina file: Ensure populate is safe to call
|
||||
* elm image: Fix async open to avoid multiple mmap
|
||||
* Entry: use _edje_seat_name_get to get the seat
|
||||
* edje: Fix invalid storage of efl_part objects (T6032)
|
||||
* efl po files - fix LTR/RTL translation string to be correct for langs
|
||||
* efl ui layout - handle content unset properly and remove the unset item
|
||||
* hover: Fix hover parts usage
|
||||
* ecore-x: reject successive MappingNotify events if they are identical
|
||||
* elm hoversel - fix alignment in ephoto (T6078)
|
||||
* evas textblock: use primary font's size as minimum size of a line
|
||||
* elm: Fix module load with ELM_RUN_IN_TREE
|
||||
* elm: Properly unregister providers on shutdown
|
||||
* evas: Fix shutdown of async cmd cache
|
||||
* eo: Fix crashes with call cache after init cycle
|
||||
* elm: Delete atspi root object on shutdown
|
||||
* ecore: Reset do_quit when ecore shuts down
|
||||
* elm: Fix shutdown of atspi (unregister handlers)
|
||||
* evas textblock: use main font's ascent/descent as minimum value
|
||||
* evas: Fix dangling references with input devices
|
||||
* eo: Fix unnecessary ERR logs with eo_debug
|
||||
* eo: Allow efl_reuse to be called with a parent
|
||||
* evas ector gl - fix leak of image data on data put (CID1374645)
|
||||
* evas font: check returned value of FcPatternGet function
|
||||
* edje entry: fill content info when text is deleted by imf event
|
||||
* ecore-file: do not emit events when an inotify watch is removed
|
||||
* elput: Fix issue of pointer rotation not being set on startup
|
||||
* eolian-bin: Free previously allocated eina_strbuf (CID1381502)
|
||||
* evas-gl-common: Fix dereference after null check (CID1374272)
|
||||
* evas-gl-image: Fix dereference after null check (CID1374273)
|
||||
* elementary: passing NULL to variadic funtion can be undefined.
|
||||
* eet: wrong comparision to less than zero with unsigned integer.
|
||||
* evas: there is no effect of variable assignment outside the function.
|
||||
* efreet: unsigned int cannot be compared to less than zero.
|
||||
* emotion gst1 - handle null imagwe data returrn and dont crash
|
||||
* eina: same expression on both statement.
|
||||
* eina: comparing less than zero with unsigned long int
|
||||
* emile: comparing less than zero with unsigned interger.
|
||||
* ephysic: comparing with same statement.
|
||||
* evas: there is no effect of variable assignment while clean up.
|
||||
* emotion: Properly unmap video frame
|
||||
* efl_ui_bg: fix ELM_BG_OPTION_CENTER bg in left top side.
|
||||
* edje_cc: fix a memory leak issue when edje_cc writes images
|
||||
* evas gl generic/common - add more linking for gles mode to fix deb build (T6158)
|
||||
* jp2k module - dont print ERR on llading if format wrong
|
||||
* edje_edit: duplicate assignment to variable.
|
||||
* ecore_wayland: fix assigned value is never used.
|
||||
* ecore: remove doxygen warning messages
|
||||
* win: Do not forward all key events on win (legacy) (T6148)
|
||||
* evas: Prevent crash with image_data_get (T5957)
|
||||
* elm_code_widget: make sure the widget is cleared properly. (T6185)
|
||||
* ecore_wl2: Remove just the flush from the idle handler (T6250)
|
||||
* elm_tooltip: set parent window for windowed tooltips
|
||||
* efl_wl: more closely follow wl spec for input regions
|
||||
* efl_wl: destroy extant shell surface upon surface deletion
|
||||
* efl_wl: do not propagate hints to main widget for child surfaces
|
||||
* ecore-wl2: correctly handle configure events on popup surfaces
|
||||
* ecore_cocoa: fix the backspace key
|
||||
* edje_cc: fix errors in documentation
|
||||
* edje_cc: add missing default values to documentation
|
||||
* edje_cc: fix color2 and color3 descriptions
|
||||
* edje_cc: fix state.no_render description
|
||||
* edje_cc: parse "fixed" as bool
|
||||
* edje_cc: fix incorrect type in minmul defaults
|
||||
* edje_cc: fix color_class description
|
||||
* edje_cc: move part_remove and program_remove to group
|
||||
* edje_cc: fix default color_class colors
|
||||
* edje_cc: fix spelling
|
||||
* edje_cc: make bool parsing consistent
|
||||
* edje_cc: make color parsing consistent
|
||||
* edje_cc: move box and table properties documentation
|
||||
* edje_cc: limit map.zoom to non-negative values
|
||||
* edje_cc: fix text.align description
|
||||
* edje_cc: fix program.filter description
|
||||
* edje_cc: fix item.max parsing
|
||||
* edje_cc: fix parsing and documentation
|
||||
* ecore-drm2: Fix issue of not being able to set output mode
|
||||
* Efl.Ui.Radio: remove value{} api
|
||||
* edje: don't return negative width and height from _parts_extends
|
||||
* evas textblock: handle ellipsis when text's height exceed its area by "br"
|
||||
* evas-software-generic: Check for render engine function before calling
|
||||
* evas-wayland-shm: Do not dereference a potentially freed pointer (CID1381707)
|
||||
* emotion: Fix data race condition (CID1381624)
|
||||
* evas-object-main: Fix null dereference (CID1381710)
|
||||
* evas-object-main: Fix null dereference (CID1381711)
|
||||
* evas-object-main: Fix potential null dereference (CID1381713)
|
||||
* evas_vg_cache: load svg from any file, not from defined only
|
||||
* ector: use cairo_pattern_add_color_stop_rgba in gradient_radial
|
||||
* vg_loaders/svg: set up default focal values for radialGradient
|
||||
* efl_gfx_path: fix typo in _path_bounds_get
|
||||
* evas_vg_load_svg: default stop opacity color should be 255, not 0
|
||||
* evas_vg_load_svg: get rid of static Evas_SVG_Parsing
|
||||
* efl ui win - make win centering work with multiple screens (T6323)
|
||||
* eo - fix freeq usage to not use freeq for a vtable cleaning
|
||||
* efl_ui_radio: keep radio state when theme is changed
|
||||
* efl net - handle proxy helper fails better and abort proxy lookups
|
||||
* elput - re-enable switches (power buttons, lid etc.)
|
||||
* elm_code_widget: keep track of visibility.
|
||||
* Ctxpopup: resizing ctxpopup after its content is removed (T6327)
|
||||
* genlist: fix state corruption of content
|
||||
* Efl.Ui.Slider: add default indicator format to %0.2f
|
||||
* elm_genlist: fix rare segfault
|
||||
* elput: Remove unreachable code (CID1382857)
|
||||
* ecore-wl2: Destroy buffer before we exit the buffer_test function
|
||||
* efl_ui_bg: fix unclipped image on EFL_UI_IMAGE_SCALE_TYPE_NONE
|
||||
* eo - by default on 64bit only use 47 bits because of luajit
|
||||
* elm ifrace scrollable - fix uninitialized values on scroll asjust
|
||||
* ecore ipc/con: fix nasty ... they dont mutually exclude
|
||||
* efl_ui_bg: add Efl.Gfx.color_get.
|
||||
* eina_file: make sure we use a stringshare when virtualized. (T6449)
|
||||
* ecore-evas-drm: Check for XDG_SEAT existence (T6455)
|
||||
* efl_ui_text: apply new theme logic and use constructor/destructor
|
||||
* Efl.Ui.Popup.Alert: add message signal process function for scroller size calculation
|
||||
* elementary: Fix resource leak (CID1383549)
|
||||
* elementary: Fix resource leak (CID1383550)
|
||||
* elementary: Fix resource leak (CID1383551)
|
||||
* eina: Fix typo in doxygen
|
||||
* evas: Fix potential crash with draw context
|
||||
* eeze: Don't leak udev enumeration
|
||||
* eeze: Remove unused device variables
|
||||
* eldbus test - del not unref obj as it has a parent ...
|
||||
* eina: fix random segfaults when displaying BT
|
||||
* Elementary: fix makefile ignore efl_ui_theme edc's change
|
||||
* ecore_con: bug workaround SO_REUSEADDR and EADDRINUSE from bind (fix)
|
||||
* elm - scroll manager - fix up momentum animator code to use real consts
|
||||
* elm: fix memleak in combobox
|
||||
* emotion: unset DISPLAY when loading an engine under wayland (T6418)
|
||||
* ecore evas init - init ecore then evas not the other way...
|
||||
* fix evas test suite to now init both ecore and evas.... correctly.
|
||||
* ecore-drm2: Fix enabling outputs
|
||||
* ecore-drm2: return supported rotations if not using hardware
|
||||
* efl-wl: do not modify extracted surface visibility during commit (T6443)
|
||||
* elementary: Remove use of implicit declaration
|
||||
* evas sw generic - don't dlopen osmesa until first needed.
|
||||
* ecore_audio - don't about destruction because of failed sndfile load
|
||||
* elm_tooltip: force immediate hint recalc during tooltip creation if 0x0 size
|
||||
* elm_tooltip: immediately show tooltip if callback is set for obj under pointer
|
||||
* efl-wl: unset cursor role on existing cursor surface if new cursor is set
|
||||
* ecore_audio wasapi - fix ecore win32 handler deletion and destruction (T6607)
|
||||
* efl theme - fix bug in e init splash that would do hide anim 2x (T6619)
|
||||
* efl-wl: send more mouse buttons to clients
|
||||
* efl-wl: propagate surface activation back to parent if child is hidden
|
||||
* efl-wl: set event ON_HOLD flag when they are sent to a surface
|
||||
* efl-wl: remove some broken logic for activating toplevel parents
|
||||
* efl-wl: only send keyboard enter and activation for mapped surfaces
|
||||
* efl-wl: immediately unset a destroyed surface's cursor
|
||||
* efl-wl: only perform mouse-out operations for a seat if the mouse was "in"
|
||||
* wayland: always flush client display when protocol sends are pending
|
||||
* ecore-wl2: correctly translate spacebar keyname into key events (T6620)
|
||||
* ecore-x: perform internal shutdown on io error if callback is set
|
||||
* ecore-x: add more null checks for functions
|
||||
* elementary config: Fix to use ELEMENTARY_BASE_DIR for configure path
|
||||
* ecore-x: filter XkbNewKeyboardNotifyEvent before emitting ecore-x event
|
||||
* ecore-x: re-add implementation of ecore_x_connection_get()
|
||||
* efl-wl: fix no-op of setting keyboard enter on already-entered surface
|
||||
* efl-wl: unset kbd mods changed flag after sending modifiers
|
||||
* ecore: prune existing thread_join callbacks during ecore_fork_reset
|
||||
* edje_cc: make -thread option
|
||||
* Efl.Ui.Image: remove previous image when NULL is set
|
||||
* elm: call ecore_event_init() during init
|
||||
* ecore-file: make monitoring truly fork-safe
|
||||
* eio: make inotify monitors fork-safe
|
||||
* disable async mode (use sync mode) for ibus when keymap changes
|
||||
* ecore-drm2: Ensure output changed event is sent for removed outputs
|
||||
* eio: remove broken pid-based monitor reset copied from ecore-file
|
||||
* ecore-imf: do ecore-x init during ctx creation instead of module init
|
||||
* elm: call ecore_app_args_set() after quicklaunch fork
|
||||
* elm: remove ecore-x init from quicklaunch post-fork
|
||||
* elm progressbar - fix val set (T6697)
|
||||
* efl ui format - fix format checking to be correct (T6697)
|
||||
* edje - entry - fix empty item handling (T6668)
|
||||
* ecore-evas-drm: Use output viewport in ecore_evas_animator_tick calls
|
||||
* evas drm engines: Fix variable type for output
|
||||
* elementary: fix legacy widget type name for backward compat
|
||||
* ecore - fix fd handlers to also set read/write/err flags on hup's
|
||||
* ecore - loop handler - fix wakeup to reslect active flag mask
|
||||
* evas event_grabber: fix child ordering when adding non-top children
|
||||
* elm_datetime: Handle wrong param case for legacy.
|
||||
* elm: set default theme name internally when applying config
|
||||
* efreet_xml: make sure we unmap the right pointer. (T5949)
|
||||
* evas: increase offset by 4 to do work for next map points
|
||||
* efl_ui_multibuttonentry: maintainance legacy function type.
|
||||
* elementary: add missed type for legacy.
|
||||
* elementary: bg - keep file path and key string for legacy bg widget
|
||||
* ecore-wl2: Reduce calls to strlen
|
||||
* ecore-wl2: Check for valid string before passing to strlen()
|
||||
* genlist: fix "insane" order [BUG COMPATIBILITY] (T5938)
|
||||
* efl_ui_clock: Fix wrong target to compare with.
|
||||
* ecore ipc - fix flush to not lose messages
|
||||
* evas: fix Evas Map AA changes the alpha flag of an image issue. (T1975)
|
||||
* eldbus: call ecore_init in eldbus_init
|
||||
* efl selection - fix paste with multiple windows and filter by window
|
||||
* efl selection manager - handle multi window selections properly
|
||||
* evas - plug in dirty + pixels get hold in "is inside" for images (T6791)
|
||||
* elm - selection manager - fix string buffer handling and format types (T6284)
|
||||
* ecore: poll the thread pipe twice during shutdown
|
||||
* ecore: reduce pipe wait time during shutdown
|
||||
* edje: fix potential memory leak.
|
||||
* edje: fix potential memory leak.
|
||||
* ecore: fix a potential memory leak.
|
||||
* ecore ipc - fix send to skip data payload if null/0
|
||||
* evas - loading extension query - fix to not skip small extensions
|
||||
* efl selection manager - fix crashes when doing selections on non-x11
|
||||
* efl selection manager - fix anoyther binary buffer treated as string bug
|
||||
* efl selection - fix entry <-> plain text compy and paste in wl
|
||||
* efl selection - fix another binary buffer treates as string bug
|
||||
* efl selection manager - fix dnd end handling to only handle on dnd
|
||||
* efl selection manager - fix x11 cnp from entry to plain text conversion
|
||||
* edje: Dont append font source if fonts are not embedded in edje
|
||||
* edje edje_cc: fix memory leak.
|
||||
* ecore: fix a potential memory leak.
|
||||
* ecore_wl_dnd: correct wrong variable assignment
|
||||
* elm: resolve possible memory leak.
|
||||
* elm: resolve possible memory leak.
|
||||
* ector cairo: fix a memory leak.
|
||||
* elm: resolve possible memory leak.
|
||||
* elm: resolve possible memory leak.
|
||||
* elementary bg: allow NULL pointers in legacy usage
|
||||
* elementary: fix build on X11.
|
||||
* edje: remove recalc from content_get and text_get
|
||||
* ecore animator, x, vsync ecore evas restore x vsync to work again
|
||||
* evas: fix default return value of image-related legacy functions
|
||||
* edje: fix backward compatibility issue caused by legacy cursor funcs
|
||||
* ecore-evas-win32: set draw_block until the window receives a configure event (T6907)
|
||||
* efl_ui_image: add NULL check in elm_image_memfile_set() function
|
||||
* evas textblock: fix double free issue from user style push/pop and free
|
||||
* Evas textblock: fix wrong hyphenation issues with non UTF8 encoded dictionary (T3221)
|
||||
* edje: return proper value from the function.
|
||||
* elm_multibuttonentry: Fix to install eo header files
|
||||
* edje: Fix to support translation for textblock part
|
||||
* evas textblock: update format nodes when a Evas Textblock Style is updated
|
||||
* evas textblock: manage default style properly for new interfaces
|
||||
* efl_ui_tags: Fixed bug when setting format string.
|
||||
* evas: fix a map rendering problem.
|
||||
* elm_main: call _elm_config_shutdown() after loop_iterate()
|
||||
* efl_ui_win: fix wrong comparison in icon_object_set
|
||||
* elm_interface_scrollable: change return value for post events.
|
||||
* edje: don't give a wrong Edje data when an Edje object has group parts
|
||||
* elm_notify: remove allow_events_set call in destructor
|
||||
* elm_spinner: Spinner value adjust when round enabled.
|
||||
* elementary textpath: update Evas map when text is updated
|
||||
* elementary widget: fix to trigger object signal emit properly. (T6981)
|
||||
* evas engines: do not immediately free native surface when unsetting it (T6970)
|
||||
* edje_cc: fixup edje_collections_lookup hash ids during collection pruning
|
||||
* evas vg: fix broken vg rendering. (T6993)
|
||||
* edje: fix an issue "description.text.text" is not shown (T6997)
|
||||
* evas vg: get rid of memory leak.
|
||||
* ecore_evas: fix crash on free of smart data. (T6974)
|
||||
* eina_barrier: handle PTHREAD_BARRIER_SERIAL_THREAD return from barrier_wait
|
||||
* evas vg: fix broken morphing(interpolation) (T6996)
|
||||
* evas vg: fix another memory leak
|
||||
* efreet: mark efreet_menu_async_parse() deprecated. (T585)
|
||||
* eina_lock: do not set PTHREAD_MUTEX_ERRORCHECK on recursive locks (T1984)
|
||||
* eina_lock: modify mutex debugging to ignore recursive locks
|
||||
* eina_lock: remove locks from eina tracking list on free while thread debugging
|
||||
* eina: disable abort on shutdown when triggered by system monitoring thread
|
||||
* eet: handle decode failures as errors in variant decoding (T5379)
|
||||
* ecore - handle G_IO_ERR conditions for net sockets (T5725)
|
||||
* emotion_generic: clean up event handlers on fork failure
|
||||
* eina_threadqueue: fix spinlock destruction by using spinlock api
|
||||
* eina_threadqueue: add locking for variable used between threads
|
||||
* eina: call eina_threads_init from eina_debug_init
|
||||
* eina: prevent threads subcomponent from being shutdown while eina is active
|
||||
* eina_debug_bt: only enable SIGPROF handler when profiling is enabled (T7028)
|
||||
* Edje load: add safecheck for TEXTBLOCK-specific code path (T6279)
|
||||
* ecore_cocoa: fix ECORE_EVENT_KEY_DOWN/UP on MacOS. (T6944)
|
||||
* efl: Bump required libinput version for Elput
|
||||
* edje: fix text set/get issue without edje calculation
|
||||
* Edje: recalc edje before fetching the real part (T7057)
|
||||
* ecore/thread: track "no_queue" threads (T7041)
|
||||
* ecore_con: make dns resolver thread stop blocking when canceled (T7041)
|
||||
* elm/win: move trigger for "shot" to first pre-render callback (T6929)
|
||||
* eina/lock: add errno wrapping for backtrace() calls in thread debug blocks
|
||||
* ecore/thread: track "no_queue" threads (T7041)
|
||||
* ecore/thread: flush main loop threads during ecore_thread_wait()
|
||||
* eio/fallback: fix fallback shutdown when threads exist
|
||||
* eio/fallback: remove intermediate idler
|
||||
* eio/fallback: fix MODIFY event emission on base path when monitoring (T7042)
|
||||
* eio/fallback: mark all fallback monitors as fallbacks, not just for win32
|
||||
* eio/fallback: do not modify the children hash while iterating it
|
||||
* tests: cancel the timeout timer when cleaning up eio tests
|
||||
* evas map: check render condition more elaborately. (T6975)
|
||||
* Elm label: fix "horizontal_fixed" usage with different styles (T5382)
|
||||
* eet: set parent struct member when adding a child to a parent node (T4600)
|
||||
* Evas font: fix inifinite loop problem for fallback fonts
|
||||
* Evas font: add comparison for fallbacks in evas_font_desc_cmp()
|
||||
* Evas font: simplify fallback parsing step
|
||||
* Evas textblock: clear ellipsis item at start of layout (T6986)
|
||||
* elm_test: fix invalid read in dnd image drop
|
||||
* ecore-con/legacy: kill server with DEL event if a dialer error occurs (T6330)
|
||||
* efreet: use correct path when generating error message about stale efreetd socket (T7045)
|
||||
* eo/base_class: explicitly refuse to set an object as its own parent
|
||||
|
||||
Changes since 1.19.0:
|
||||
---------------------
|
||||
|
||||
|
|
76
configure.ac
76
configure.ac
|
@ -1,5 +1,5 @@
|
|||
EFL_VERSION([1], [20], [99], [dev])
|
||||
AC_INIT([efl], [efl_version], [enlightenment-devel@lists.sourceforge.net])
|
||||
EFL_VERSION([1], [21], [0], [release])
|
||||
AC_INIT([efl], [efl_version-alpha1], [enlightenment-devel@lists.sourceforge.net])
|
||||
|
||||
AC_PREREQ([2.60])
|
||||
AC_CONFIG_SRCDIR([configure.ac])
|
||||
|
@ -15,7 +15,7 @@ AH_BOTTOM([
|
|||
])
|
||||
|
||||
|
||||
AM_INIT_AUTOMAKE([1.6 dist-xz -Wall color-tests subdir-objects])
|
||||
AM_INIT_AUTOMAKE([1.6 dist-xz no-dist-gzip -Wall color-tests subdir-objects])
|
||||
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
|
||||
|
||||
# Due to a bug in automake 1.14 we need to use this after AM_INIT_AUTOMAKE
|
||||
|
@ -470,7 +470,6 @@ AC_HEADER_TIME
|
|||
AC_CHECK_HEADERS([ \
|
||||
execinfo.h \
|
||||
mcheck.h \
|
||||
sys/inotify.h \
|
||||
sys/signalfd.h \
|
||||
sys/types.h \
|
||||
sys/param.h \
|
||||
|
@ -480,7 +479,8 @@ sys/auxv.h \
|
|||
asm/hwcap.h \
|
||||
])
|
||||
|
||||
if test "x${have_solaris}" != "xyes" ; then
|
||||
if test "x${have_linux}" = "xyes" ; then
|
||||
AC_CHECK_HEADERS([sys/inotify.h])
|
||||
AC_CHECK_HEADERS([sys/epoll.h])
|
||||
fi
|
||||
|
||||
|
@ -689,6 +689,7 @@ pause \
|
|||
gmtime_r \
|
||||
pthread_getcpuclockid \
|
||||
clock_gettime \
|
||||
clearenv
|
||||
])
|
||||
|
||||
AC_FUNC_ALLOCA
|
||||
|
@ -1355,6 +1356,13 @@ AC_DEFINE_IF([HAVE_CSHARP], [test "x${want_csharp}" = "xyes"],
|
|||
[1], [Compiling bindings for C Sharp])
|
||||
AC_SUBST([want_csharp])
|
||||
|
||||
if test "x${have_windows}" = "xyes"; then
|
||||
eflmonodlldir="$prefix/bin"
|
||||
else
|
||||
eflmonodlldir="$libdir/efl-mono-${EFL_VERSION_MAJOR}"
|
||||
fi
|
||||
AC_SUBST([eflmonodlldir])
|
||||
|
||||
# Efl Mono
|
||||
EFL_LIB_START_OPTIONAL([Efl_Mono], [test "x${want_csharp}" = "xyes"])
|
||||
|
||||
|
@ -1445,7 +1453,15 @@ AC_SUBST([CUSTOM_EXPORTS_MONO_DL_MONO])
|
|||
# Eos file/library mapping
|
||||
|
||||
# Unescaped sed pattern: sed -n 's/src\/lib\/\([a-z0-9_]*\)\/[a-z\/]*\/\([a-z0-9\._]*\)/\2,\1/pg'
|
||||
_configure_path=`realpath $0`
|
||||
AC_CHECK_PROG([have_realpath], [realpath], [yes], [no])
|
||||
if test "x${have_realpath}" = "xyes" ; then
|
||||
_configure_path=`realpath $0`
|
||||
else
|
||||
AC_CHECK_PROG([have_readlink], [readlink], [yes], [no])
|
||||
if test "x${have_readlink}" = "xyes" ; then
|
||||
_configure_path=`readlink -f $0`
|
||||
fi
|
||||
fi
|
||||
efl_mono_top_srcdir=`dirname ${_configure_path}`
|
||||
EFL_MONO_LIBRARY_MAP=`find ${efl_mono_top_srcdir}/src/lib/ -iname "*\.eo" | sed -n 's/.*\/src\/lib\/\(@<:@a-z0-9_@:>@*\)@<:@\/a-z@:>@*\/\(@<:@a-z0-9\._@:>@*\)/\2,\1/pg'`
|
||||
|
||||
|
@ -2141,7 +2157,7 @@ AC_ARG_ENABLE([wayland],
|
|||
[want_wayland="no"])
|
||||
|
||||
if test "${want_wayland}" = "yes"; then
|
||||
EFL_PKG_CHECK_STRICT([wayland-client >= 1.11.0 wayland-scanner >= 1.11.0 wayland-protocols >= 1.9])
|
||||
EFL_PKG_CHECK_STRICT([wayland-client >= 1.11.0 wayland-scanner >= 1.11.0 wayland-protocols >= 1.12])
|
||||
PKG_CHECK_MODULES([WAYLAND], [wayland-scanner >= 1.11.0],
|
||||
[
|
||||
AC_ARG_VAR([wayland_scanner], [The wayland-scanner executable])
|
||||
|
@ -3807,6 +3823,7 @@ EFL_OPTIONAL_INTERNAL_DEPEND_PKG([EFL_WL], [${want_x11_any}], [ecore_x])
|
|||
|
||||
EFL_DEPEND_PKG([EFL_WL], [WAYLAND],
|
||||
[wayland-server >= 1.11.0 xkbcommon >= 0.6.0])
|
||||
EFL_OPTIONAL_DEPEND_PKG([EFL_WL], [${want_x11_any}], [XKBCOMMONX11], [xkbcommon-x11])
|
||||
|
||||
EFL_EVAL_PKGS([EFL_WL])
|
||||
|
||||
|
@ -3930,7 +3947,7 @@ EFL_INTERNAL_DEPEND_PKG([ELPUT], [eeze])
|
|||
EFL_INTERNAL_DEPEND_PKG([ELPUT], [eo])
|
||||
EFL_INTERNAL_DEPEND_PKG([ELPUT], [eina])
|
||||
|
||||
EFL_DEPEND_PKG([ELPUT], [LIBINPUT], [libinput >= 1.6.0 xkbcommon >= 0.3.0 libudev])
|
||||
EFL_DEPEND_PKG([ELPUT], [LIBINPUT], [libinput >= 1.7.0 xkbcommon >= 0.3.0 libudev])
|
||||
|
||||
EFL_OPTIONAL_DEPEND_PKG([ELPUT], [${want_systemd}], [SYSTEMD], [libsystemd])
|
||||
EFL_ADD_FEATURE([ELPUT], [systemd-logind], [${want_systemd}])
|
||||
|
@ -4581,10 +4598,8 @@ EFL_INTERNAL_DEPEND_PKG([ECORE_EVAS], [emile])
|
|||
ECORE_EVAS_MODULE([extn], [${want_ecore_evas_extn}])
|
||||
ECORE_EVAS_MODULE([ews], [yes])
|
||||
ECORE_EVAS_MODULE([fb], [${want_fb}])
|
||||
ECORE_EVAS_MODULE([drm], [${want_drm}],
|
||||
[EFL_OPTIONAL_INTERNAL_DEPEND_PKG([ECORE_EVAS], [${want_drm}], [ecore-drm2])])
|
||||
ECORE_EVAS_MODULE([gl-drm], [${want_gl_drm}],
|
||||
[EFL_OPTIONAL_INTERNAL_DEPEND_PKG([ECORE_EVAS], [${want_gl_drm}], [ecore-drm2])])
|
||||
ECORE_EVAS_MODULE([drm], [${want_drm}])
|
||||
ECORE_EVAS_MODULE([gl-drm], [${want_gl_drm}])
|
||||
|
||||
ECORE_EVAS_MODULE([opengl-cocoa], [${want_ecore_evas_gl_cocoa}])
|
||||
|
||||
|
@ -4754,12 +4769,6 @@ dnl TODO: remove these ifdefs from code!
|
|||
AC_DEFINE([HAVE_EIO], [1], [Have eio library])
|
||||
#### End of Eio
|
||||
|
||||
# Eo Id
|
||||
if test "x${want_eo_id}" = "xyes" ; then
|
||||
AC_DEFINE([HAVE_EO_ID], [1], [Have eo id])
|
||||
fi
|
||||
|
||||
|
||||
#### Efreet
|
||||
EFL_LIB_START([Efreet])
|
||||
|
||||
|
@ -4782,6 +4791,7 @@ EFL_INTERNAL_DEPEND_PKG([EFREET], [eo])
|
|||
EFL_INTERNAL_DEPEND_PKG([EFREET], [efl])
|
||||
EFL_INTERNAL_DEPEND_PKG([EFREET], [eina])
|
||||
EFL_INTERNAL_DEPEND_PKG([EFREET], [emile])
|
||||
EFL_INTERNAL_DEPEND_PKG([EFREET], [ecore-con])
|
||||
EFL_INTERNAL_DEPEND_PKG([EFREET], [ecore-ipc])
|
||||
|
||||
### Checks for header files
|
||||
|
@ -5552,9 +5562,7 @@ AC_FUNC_ALLOCA
|
|||
|
||||
AC_CHECK_FUNCS([geteuid getuid getpwent])
|
||||
|
||||
if test "x${want_quicklaunch}" != "xno"; then
|
||||
AC_CHECK_FUNCS([fork clearenv])
|
||||
fi
|
||||
AC_CHECK_FUNCS([fork clearenv])
|
||||
|
||||
build_quicklaunch="no"
|
||||
if test "x${ac_cv_func_fork}" = "xyes" -a "x${efl_func_dlopen}" = "xyes"; then
|
||||
|
@ -5691,13 +5699,13 @@ esac
|
|||
AC_CONFIG_FILES([
|
||||
Makefile
|
||||
data/Makefile
|
||||
config/Makefile
|
||||
config/default/Makefile
|
||||
config/default/base.src
|
||||
config/mobile/Makefile
|
||||
config/mobile/base.src
|
||||
config/standard/Makefile
|
||||
config/standard/base.src
|
||||
data/elementary/config/Makefile
|
||||
data/elementary/config/default/Makefile
|
||||
data/elementary/config/default/base.src
|
||||
data/elementary/config/mobile/Makefile
|
||||
data/elementary/config/mobile/base.src
|
||||
data/elementary/config/standard/Makefile
|
||||
data/elementary/config/standard/base.src
|
||||
doc/Makefile
|
||||
doc/Doxyfile
|
||||
doc/previews/Makefile
|
||||
|
@ -5870,8 +5878,6 @@ AC_OUTPUT
|
|||
|
||||
#### Info
|
||||
|
||||
EFL_ADD_FEATURE([EO], [eo-id], [${want_eo_id}])
|
||||
|
||||
case $host_cpu in
|
||||
i*86|x86_64|amd64)
|
||||
EFL_ADD_FEATURE([cpu], [mmx], [${build_cpu_mmx}])
|
||||
|
@ -6121,16 +6127,6 @@ if test -n "$CFOPT_WARNING"; then
|
|||
echo "some functionality as useless, leading to visible application bugs."
|
||||
echo "_____________________________________________________________________"
|
||||
fi
|
||||
if test "x${want_eo_id}" = "xno"; then
|
||||
echo "_____________________________________________________________________"
|
||||
echo "Eo's ID abstraction interface is a major safety system that"
|
||||
echo "protects code from crashing or misbehaving in many cases. It does"
|
||||
echo "come at a slight cost, but the safety and protection is worth it."
|
||||
echo "Also by disabling this, you may also introduce security holes in"
|
||||
echo "EFL as well as cause all sorts of previously non-existant crashes."
|
||||
echo "Seriously reconsider disabling EO ID."
|
||||
echo "_____________________________________________________________________"
|
||||
fi
|
||||
if test "x${want_evas_cserve2}" = "xno"; then
|
||||
echo "_____________________________________________________________________"
|
||||
echo "Evas Cserve is built and on by default and no testing is done"
|
||||
|
|
|
@ -2,6 +2,7 @@ MAINTAINERCLEANFILES = Makefile.in
|
|||
|
||||
EXTRA_DIST =
|
||||
CLEANFILES =
|
||||
SUBDIRS =
|
||||
|
||||
########################################################################
|
||||
# Embryo
|
||||
|
@ -119,6 +120,8 @@ EXTRA_DIST += $(eluafiles_DATA)
|
|||
|
||||
# themes
|
||||
|
||||
SUBDIRS += elementary/config
|
||||
|
||||
elementaryfilesdir = $(datadir)/elementary/themes
|
||||
elementaryfiles_DATA = elementary/themes/default.edj
|
||||
CLEANFILES += elementary/themes/default.edj
|
||||
|
@ -128,14 +131,14 @@ include elementary/themes/Makefile.am
|
|||
elementary/themes/default.edj: elementary/themes/default.edc $(elementary_themes_files) $(efl_ui_themes_files) $(elementary_fdo_files) $(top_builddir)/src/bin/edje/edje_cc${EXEEXT}
|
||||
$(AM_V_EDJ) \
|
||||
$(MKDIR_P) elementary/themes/; \
|
||||
$(EDJE_CC) $(EDJE_CC_FLAGS) $(EDJE_CC_ELM_FLAGS) $< $@
|
||||
$(EDJE_CC) $(EDJE_CC_FLAGS) $(EDJE_CC_ELM_FLAGS) -N $< $@
|
||||
|
||||
# desktop files
|
||||
|
||||
elementarydesktopdir = $(datadir)/applications
|
||||
elementarydesktop_DATA = elementary/desktop/elementary_test.desktop elementary/desktop/elementary_config.desktop
|
||||
|
||||
elementaryicondir = $(datadir)/icons
|
||||
elementaryicondir = $(datadir)/icons/hicolor/128x128/apps
|
||||
elementaryicon_DATA = elementary/desktop/elementary.png
|
||||
|
||||
EXTRA_DIST += $(elementarydesktop_DATA) $(elementaryicon_DATA)
|
||||
|
@ -177,6 +180,12 @@ elementaryfdo_apps_64_DATA = $(elementary_fdo_apps_64_files)
|
|||
elementaryfdo_intl_128dir = $(datadir)/icons/Enlightenment-X/intl/128
|
||||
elementaryfdo_intl_128_DATA = $(elementary_fdo_intl_128_files)
|
||||
|
||||
elementaryfdo_mimetypes_16dir = $(datadir)/icons/Enlightenment-X/mimetypes/16
|
||||
elementaryfdo_mimetypes_16_DATA = $(elementary_fdo_mimetypes_16_files)
|
||||
|
||||
elementaryfdo_mimetypes_128dir = $(datadir)/icons/Enlightenment-X/mimetypes/128
|
||||
elementaryfdo_mimetypes_128_DATA = $(elementary_fdo_mimetypes_128_files)
|
||||
|
||||
# edje_externals
|
||||
|
||||
elementaryedje_externalsdir = $(datadir)/elementary/edje_externals
|
||||
|
@ -220,6 +229,7 @@ elementary/objects/test_prefs.edj \
|
|||
elementary/objects/test_prefs.epb \
|
||||
elementary/objects/test_focus_style.edj \
|
||||
elementary/objects/test_tooltip.edj \
|
||||
elementary/objects/test_tab_pager.edj \
|
||||
$(NULL)
|
||||
|
||||
CLEANFILES += $(elementaryobjects_DATA)
|
||||
|
@ -286,3 +296,7 @@ elementary/objects/test_prefs.epb: elementary/objects/test_prefs.epc
|
|||
$(MKDIR_P) elementary/objects/; \
|
||||
$(ELM_PREFS_CC) $(ELM_PREFS_FLAGS) $< $@
|
||||
|
||||
elementary/objects/test_tab_pager.edj: elementary/objects/test_tab_pager.edc
|
||||
$(AM_V_EDJ) \
|
||||
$(MKDIR_P) elementary/objects/; \
|
||||
$(EDJE_CC) $(EDJE_CC_FLAGS) $< $@
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
MAINTAINERCLEANFILES = Makefile.in
|
||||
SUBDIRS = default standard mobile
|
||||
|
||||
include ../src/Makefile_Eet_Helper.am
|
||||
include ../../../src/Makefile_Eet_Helper.am
|
||||
|
||||
EXTRA_DIST = profile.src
|
||||
|
||||
|
@ -11,8 +11,8 @@ files_DATA = profile.cfg
|
|||
|
||||
%.cfg: %.src
|
||||
$(AM_V_EET) \
|
||||
$(MKDIR_P) $(top_builddir)/config/; \
|
||||
$(EET) -i $(top_builddir)/config/$@ config $< 0
|
||||
$(MKDIR_P) $(top_builddir)/data/elementary/config/; \
|
||||
$(EET) -i $(top_builddir)/data/elementary/config/$@ config $< 0
|
||||
|
||||
clean-local:
|
||||
rm -rf *.cfg *~
|
|
@ -1,6 +1,6 @@
|
|||
MAINTAINERCLEANFILES = Makefile.in
|
||||
|
||||
include ../../src/Makefile_Eet_Helper.am
|
||||
include ../../../../src/Makefile_Eet_Helper.am
|
||||
|
||||
EXTRA_DIST = \
|
||||
profile.desktop \
|
||||
|
@ -15,8 +15,8 @@ files_DATA = \
|
|||
|
||||
%.cfg: %.src
|
||||
$(AM_V_EET) \
|
||||
$(MKDIR_P) $(top_builddir)/config/default/; \
|
||||
$(EET) -e $(top_builddir)/config/default/$@ config $< 1
|
||||
$(MKDIR_P) $(top_builddir)/data/elementary/config/default/; \
|
||||
$(EET) -e $(top_builddir)/data/elementary/config/default/$@ config $< 1
|
||||
|
||||
clean-local:
|
||||
rm -rf *.cfg *~
|
|
@ -1,5 +1,5 @@
|
|||
group "Elm_Config" struct {
|
||||
value "config_version" int: 131087;
|
||||
value "config_version" int: 131089;
|
||||
value "entry_select_allow" uchar: 1;
|
||||
value "engine" string: "";
|
||||
value "vsync" uchar: 0;
|
||||
|
@ -72,6 +72,7 @@ group "Elm_Config" struct {
|
|||
value "glayer_long_tap_start_timeout" double: 1.2; /* sec to start long-tap */
|
||||
value "glayer_double_tap_timeout" double: 0.25; /* Timeout between two mouse dows when doing double click (and more). */
|
||||
value "glayer_continues_enable" uchar: 1; /* Continues gesture enabled */
|
||||
value "glayer_tap_finger_size" int: 10;
|
||||
value "week_start" int: 1;
|
||||
value "weekend_start" int: 6;
|
||||
value "weekend_len" int: 2;
|
||||
|
@ -2326,6 +2327,59 @@ group "Elm_Config" struct {
|
|||
value "params" string: "down";
|
||||
}
|
||||
}
|
||||
}
|
||||
group "Elm_Config_Bindings_Widget" struct {
|
||||
value "name" string: "Efl.Ui.Slider";
|
||||
group "key_bindings" list {
|
||||
group "Elm_Config_Binding_Key" struct {
|
||||
value "context" int: 0;
|
||||
value "key" string: "Left";
|
||||
value "action" string: "drag";
|
||||
value "params" string: "left";
|
||||
}
|
||||
group "Elm_Config_Binding_Key" struct {
|
||||
value "context" int: 0;
|
||||
value "key" string: "KP_Left";
|
||||
value "action" string: "drag";
|
||||
value "params" string: "left";
|
||||
}
|
||||
group "Elm_Config_Binding_Key" struct {
|
||||
value "context" int: 0;
|
||||
value "key" string: "Right";
|
||||
value "action" string: "drag";
|
||||
value "params" string: "right";
|
||||
}
|
||||
group "Elm_Config_Binding_Key" struct {
|
||||
value "context" int: 0;
|
||||
value "key" string: "KP_Right";
|
||||
value "action" string: "drag";
|
||||
value "params" string: "right";
|
||||
}
|
||||
group "Elm_Config_Binding_Key" struct {
|
||||
value "context" int: 0;
|
||||
value "key" string: "Up";
|
||||
value "action" string: "drag";
|
||||
value "params" string: "up";
|
||||
}
|
||||
group "Elm_Config_Binding_Key" struct {
|
||||
value "context" int: 0;
|
||||
value "key" string: "KP_Up";
|
||||
value "action" string: "drag";
|
||||
value "params" string: "up";
|
||||
}
|
||||
group "Elm_Config_Binding_Key" struct {
|
||||
value "context" int: 0;
|
||||
value "key" string: "Down";
|
||||
value "action" string: "drag";
|
||||
value "params" string: "down";
|
||||
}
|
||||
group "Elm_Config_Binding_Key" struct {
|
||||
value "context" int: 0;
|
||||
value "key" string: "KP_Down";
|
||||
value "action" string: "drag";
|
||||
value "params" string: "down";
|
||||
}
|
||||
}
|
||||
}
|
||||
group "Elm_Config_Bindings_Widget" struct {
|
||||
value "name" string: "Efl.Ui.Slider_Interval";
|
Before Width: | Height: | Size: 6.7 KiB After Width: | Height: | Size: 6.7 KiB |
|
@ -1,6 +1,6 @@
|
|||
MAINTAINERCLEANFILES = Makefile.in
|
||||
|
||||
include ../../src/Makefile_Eet_Helper.am
|
||||
include ../../../../src/Makefile_Eet_Helper.am
|
||||
|
||||
EXTRA_DIST = \
|
||||
profile.desktop \
|
||||
|
@ -15,8 +15,8 @@ files_DATA = \
|
|||
|
||||
%.cfg: %.src
|
||||
$(AM_V_EET) \
|
||||
$(MKDIR_P) $(top_builddir)/config/; \
|
||||
$(EET) -e $(top_builddir)/config/mobile/$@ config $< 1
|
||||
$(MKDIR_P) $(top_builddir)/data/elementary/config/; \
|
||||
$(EET) -e $(top_builddir)/data/elementary/config/mobile/$@ config $< 1
|
||||
|
||||
clean-local:
|
||||
rm -rf *.cfg *~
|
|
@ -1,5 +1,5 @@
|
|||
group "Elm_Config" struct {
|
||||
value "config_version" int: 131087;
|
||||
value "config_version" int: 131089;
|
||||
value "entry_select_allow" uchar: 1;
|
||||
value "engine" string: "";
|
||||
value "vsync" uchar: 0;
|
||||
|
@ -72,6 +72,7 @@ group "Elm_Config" struct {
|
|||
value "glayer_long_tap_start_timeout" double: 1.2; /* sec to start long-tap */
|
||||
value "glayer_double_tap_timeout" double: 0.25; /* Timeout between two mouse dows when doing double click (and more). */
|
||||
value "glayer_continues_enable" uchar: 1; /* Continues gesture enabled */
|
||||
value "glayer_tap_finger_size" int: 10;
|
||||
value "week_start" int: 1;
|
||||
value "weekend_start" int: 6;
|
||||
value "weekend_len" int: 2;
|
||||
|
@ -2331,6 +2332,59 @@ group "Elm_Config" struct {
|
|||
}
|
||||
}
|
||||
}
|
||||
group "Elm_Config_Bindings_Widget" struct {
|
||||
value "name" string: "Efl.Ui.Slider";
|
||||
group "key_bindings" list {
|
||||
group "Elm_Config_Binding_Key" struct {
|
||||
value "context" int: 0;
|
||||
value "key" string: "Left";
|
||||
value "action" string: "drag";
|
||||
value "params" string: "left";
|
||||
}
|
||||
group "Elm_Config_Binding_Key" struct {
|
||||
value "context" int: 0;
|
||||
value "key" string: "KP_Left";
|
||||
value "action" string: "drag";
|
||||
value "params" string: "left";
|
||||
}
|
||||
group "Elm_Config_Binding_Key" struct {
|
||||
value "context" int: 0;
|
||||
value "key" string: "Right";
|
||||
value "action" string: "drag";
|
||||
value "params" string: "right";
|
||||
}
|
||||
group "Elm_Config_Binding_Key" struct {
|
||||
value "context" int: 0;
|
||||
value "key" string: "KP_Right";
|
||||
value "action" string: "drag";
|
||||
value "params" string: "right";
|
||||
}
|
||||
group "Elm_Config_Binding_Key" struct {
|
||||
value "context" int: 0;
|
||||
value "key" string: "Up";
|
||||
value "action" string: "drag";
|
||||
value "params" string: "up";
|
||||
}
|
||||
group "Elm_Config_Binding_Key" struct {
|
||||
value "context" int: 0;
|
||||
value "key" string: "KP_Up";
|
||||
value "action" string: "drag";
|
||||
value "params" string: "up";
|
||||
}
|
||||
group "Elm_Config_Binding_Key" struct {
|
||||
value "context" int: 0;
|
||||
value "key" string: "Down";
|
||||
value "action" string: "drag";
|
||||
value "params" string: "down";
|
||||
}
|
||||
group "Elm_Config_Binding_Key" struct {
|
||||
value "context" int: 0;
|
||||
value "key" string: "KP_Down";
|
||||
value "action" string: "drag";
|
||||
value "params" string: "down";
|
||||
}
|
||||
}
|
||||
}
|
||||
group "Elm_Config_Bindings_Widget" struct {
|
||||
value "name" string: "Efl.Ui.Slider_Interval";
|
||||
group "key_bindings" list {
|
Before Width: | Height: | Size: 7.4 KiB After Width: | Height: | Size: 7.4 KiB |
|
@ -1,6 +1,6 @@
|
|||
MAINTAINERCLEANFILES = Makefile.in
|
||||
|
||||
include ../../src/Makefile_Eet_Helper.am
|
||||
include ../../../../src/Makefile_Eet_Helper.am
|
||||
|
||||
EXTRA_DIST = \
|
||||
profile.desktop \
|
||||
|
@ -15,8 +15,8 @@ files_DATA = \
|
|||
|
||||
%.cfg: %.src
|
||||
$(AM_V_EET) \
|
||||
$(MKDIR_P) $(top_builddir)/config/standard/; \
|
||||
$(EET) -e $(top_builddir)/config/standard/$@ config $< 1
|
||||
$(MKDIR_P) $(top_builddir)/data/elementary/config/standard/; \
|
||||
$(EET) -e $(top_builddir)/data/elementary/config/standard/$@ config $< 1
|
||||
|
||||
clean-local:
|
||||
rm -rf *.cfg *~
|
|
@ -1,5 +1,5 @@
|
|||
group "Elm_Config" struct {
|
||||
value "config_version" int: 131087;
|
||||
value "config_version" int: 131089;
|
||||
value "entry_select_allow" uchar: 1;
|
||||
value "engine" string: "";
|
||||
value "vsync" uchar: 0;
|
||||
|
@ -73,6 +73,7 @@ group "Elm_Config" struct {
|
|||
value "glayer_long_tap_start_timeout" double: 1.2; /* sec to start long-tap */
|
||||
value "glayer_double_tap_timeout" double: 0.25; /* Timeout between two mouse dows when doing double click (and more). */
|
||||
value "glayer_continues_enable" uchar: 1; /* Continues gesture enabled */
|
||||
value "glayer_tap_finger_size" int: 10;
|
||||
value "week_start" int: 1;
|
||||
value "weekend_start" int: 6;
|
||||
value "weekend_len" int: 2;
|
||||
|
@ -2328,6 +2329,59 @@ group "Elm_Config" struct {
|
|||
}
|
||||
}
|
||||
}
|
||||
group "Elm_Config_Bindings_Widget" struct {
|
||||
value "name" string: "Efl.Ui.Slider";
|
||||
group "key_bindings" list {
|
||||
group "Elm_Config_Binding_Key" struct {
|
||||
value "context" int: 0;
|
||||
value "key" string: "Left";
|
||||
value "action" string: "drag";
|
||||
value "params" string: "left";
|
||||
}
|
||||
group "Elm_Config_Binding_Key" struct {
|
||||
value "context" int: 0;
|
||||
value "key" string: "KP_Left";
|
||||
value "action" string: "drag";
|
||||
value "params" string: "left";
|
||||
}
|
||||
group "Elm_Config_Binding_Key" struct {
|
||||
value "context" int: 0;
|
||||
value "key" string: "Right";
|
||||
value "action" string: "drag";
|
||||
value "params" string: "right";
|
||||
}
|
||||
group "Elm_Config_Binding_Key" struct {
|
||||
value "context" int: 0;
|
||||
value "key" string: "KP_Right";
|
||||
value "action" string: "drag";
|
||||
value "params" string: "right";
|
||||
}
|
||||
group "Elm_Config_Binding_Key" struct {
|
||||
value "context" int: 0;
|
||||
value "key" string: "Up";
|
||||
value "action" string: "drag";
|
||||
value "params" string: "up";
|
||||
}
|
||||
group "Elm_Config_Binding_Key" struct {
|
||||
value "context" int: 0;
|
||||
value "key" string: "KP_Up";
|
||||
value "action" string: "drag";
|
||||
value "params" string: "up";
|
||||
}
|
||||
group "Elm_Config_Binding_Key" struct {
|
||||
value "context" int: 0;
|
||||
value "key" string: "Down";
|
||||
value "action" string: "drag";
|
||||
value "params" string: "down";
|
||||
}
|
||||
group "Elm_Config_Binding_Key" struct {
|
||||
value "context" int: 0;
|
||||
value "key" string: "KP_Down";
|
||||
value "action" string: "drag";
|
||||
value "params" string: "down";
|
||||
}
|
||||
}
|
||||
}
|
||||
group "Elm_Config_Bindings_Widget" struct {
|
||||
value "name" string: "Efl.Ui.Slider_Interval";
|
||||
group "key_bindings" list {
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
|
@ -4,7 +4,7 @@ MAINTAINERCLEANFILES = Makefile.in
|
|||
desktopdir = $(datadir)/applications
|
||||
desktop_DATA = elementary_test.desktop elementary_config.desktop
|
||||
|
||||
icondir = $(datadir)/icons
|
||||
icondir = $(datadir)/icons/hicolor/128x128/apps
|
||||
icon_DATA = elementary.png
|
||||
|
||||
EXTRA_DIST = $(desktop_DATA) $(icon_DATA)
|
||||
|
|
|
@ -50,7 +50,8 @@ elementary_images_files = \
|
|||
elementary/images/pm_fill.png \
|
||||
elementary/images/pt.png \
|
||||
elementary/images/earth_normal.png \
|
||||
elementary/images/space.png
|
||||
elementary/images/space.png \
|
||||
elementary/images/image_items.eet
|
||||
|
||||
elementary_images_glayer_files = \
|
||||
elementary/images/g_layer/double_tap_1.png \
|
||||
|
|
Binary file not shown.
|
@ -6,6 +6,7 @@ elementary/objects/test_external.edc \
|
|||
elementary/objects/test_masking.edc \
|
||||
elementary/objects/test_prefs.edc \
|
||||
elementary/objects/test_prefs.epc \
|
||||
elementary/objects/test_tab_pager.edc \
|
||||
elementary/objects/multip.edc \
|
||||
elementary/objects/cursors.edc \
|
||||
elementary/objects/font_preview.edc \
|
||||
|
|
|
@ -0,0 +1,66 @@
|
|||
collections {
|
||||
group { "tab_page_layout";
|
||||
parts {
|
||||
spacer { "base";
|
||||
scale;
|
||||
desc { "default";
|
||||
}
|
||||
}
|
||||
swallow { "menu";
|
||||
scale;
|
||||
desc { "default";
|
||||
rel.to: "base";
|
||||
align: 0 0;
|
||||
min: 200 0;
|
||||
max: 200 -1;
|
||||
fixed: 0 1;
|
||||
}
|
||||
}
|
||||
rect { "separator";
|
||||
scale;
|
||||
desc { "default";
|
||||
rel.to: "menu";
|
||||
rel1.relative: 1 0;
|
||||
align: 0 0;
|
||||
min: 1 0;
|
||||
max: 1 -1;
|
||||
fixed: 0 1;
|
||||
color: 75 75 75 255;
|
||||
}
|
||||
}
|
||||
swallow { "tab_pager";
|
||||
scale;
|
||||
desc { "default";
|
||||
rel1.to: "separator";
|
||||
rel2.to: "base";
|
||||
rel1.relative: 1 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
group { "page_layout";
|
||||
parts {
|
||||
spacer { "base";
|
||||
scale;
|
||||
desc { "default";
|
||||
}
|
||||
}
|
||||
rect { "bg";
|
||||
scale;
|
||||
desc { "default";
|
||||
rel.to: "base";
|
||||
color: 255 255 255 255;
|
||||
}
|
||||
}
|
||||
text { "text";
|
||||
scale;
|
||||
desc { "default";
|
||||
rel.to: "base";
|
||||
align: 0.5 0.5;
|
||||
color: 0 0 0 255;
|
||||
text.size: 20;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -149,7 +149,6 @@ elementary/themes/edc/elm/textpath.edc \
|
|||
elementary/themes/edc/elm/thumb.edc \
|
||||
elementary/themes/edc/elm/toolbar.edc \
|
||||
elementary/themes/edc/elm/tooltip.edc \
|
||||
elementary/themes/edc/elm/uiclock.edc \
|
||||
elementary/themes/edc/elm/video.edc \
|
||||
elementary/themes/edc/elm/win.edc \
|
||||
\
|
||||
|
@ -1022,23 +1021,32 @@ elementary/themes/edc/efl/uiclock.edc \
|
|||
elementary/themes/edc/efl/cursor.edc \
|
||||
elementary/themes/edc/efl/focus.edc \
|
||||
elementary/themes/edc/efl/frame.edc \
|
||||
elementary/themes/edc/efl/multibuttonentry.edc \
|
||||
elementary/themes/edc/efl/navigation_bar.edc \
|
||||
elementary/themes/edc/efl/navigation_layout.edc \
|
||||
elementary/themes/edc/efl/tags.edc \
|
||||
elementary/themes/edc/efl/nstate.edc \
|
||||
elementary/themes/edc/efl/panes.edc \
|
||||
elementary/themes/edc/efl/photocam.edc \
|
||||
elementary/themes/edc/efl/popup.edc \
|
||||
elementary/themes/edc/efl/pointer.edc \
|
||||
elementary/themes/edc/efl/progress.edc \
|
||||
elementary/themes/edc/efl/radio.edc \
|
||||
elementary/themes/edc/efl/scroller.edc \
|
||||
elementary/themes/edc/efl/slider.edc \
|
||||
elementary/themes/edc/efl/spin.edc \
|
||||
elementary/themes/edc/efl/spin_button.edc \
|
||||
elementary/themes/edc/efl/datepicker.edc \
|
||||
elementary/themes/edc/efl/timepicker.edc \
|
||||
elementary/themes/edc/efl/text.edc \
|
||||
elementary/themes/edc/efl/textpath.edc \
|
||||
elementary/themes/edc/efl/tooltip.edc \
|
||||
elementary/themes/edc/efl/video.edc \
|
||||
elementary/themes/edc/efl/list.edc \
|
||||
elementary/themes/edc/efl/win.edc
|
||||
elementary/themes/edc/efl/win.edc \
|
||||
elementary/themes/edc/efl/pager.edc \
|
||||
elementary/themes/edc/efl/tab_pager.edc \
|
||||
elementary/themes/edc/efl/tab_bar.edc \
|
||||
elementary/themes/edc/efl/tab_page.edc
|
||||
|
||||
elementary_fdo_actions_128_files = \
|
||||
elementary/themes/fdo/actions/128/address-book-new.png \
|
||||
|
@ -1492,6 +1500,12 @@ elementary_fdo_intl_128_files = \
|
|||
elementary/themes/fdo/intl/128/flag-vn.png \
|
||||
elementary/themes/fdo/intl/128/flag-za.png
|
||||
|
||||
elementary_fdo_mimetypes_16_files = \
|
||||
elementary/themes/fdo/mimetypes/16/inode-directory.png
|
||||
|
||||
elementary_fdo_mimetypes_128_files = \
|
||||
elementary/themes/fdo/mimetypes/128/inode-directory.png
|
||||
|
||||
|
||||
elementary_fdo_files = \
|
||||
$(elementary_fdo_actions_128_files) \
|
||||
|
@ -1503,7 +1517,9 @@ elementary_fdo_files = \
|
|||
$(elementary_fdo_status_128_files) \
|
||||
$(elementary_fdo_devices_128_files) \
|
||||
$(elementary_fdo_apps_64_files) \
|
||||
$(elementary_fdo_intl_128_files)
|
||||
$(elementary_fdo_intl_128_files) \
|
||||
$(elementary_fdo_mimetypes_16_files) \
|
||||
$(elementary_fdo_mimetypes_128_files)
|
||||
|
||||
|
||||
EXTRA_DIST += $(elementary_themes_files) $(efl_ui_themes_files) $(elementary_fdo_files)
|
||||
|
|
|
@ -208,6 +208,14 @@ color_classes {
|
|||
color: 0 0 0 0;
|
||||
desc: "Background of a datetime widget";
|
||||
}
|
||||
color_class { name: "datepicker_bg";
|
||||
color: 0 0 0 0;
|
||||
desc: "Background of a datepicker widget";
|
||||
}
|
||||
color_class { name: "timepicker_bg";
|
||||
color: 0 0 0 0;
|
||||
desc: "Background of a timepicker widget";
|
||||
}
|
||||
color_class { name: "datetime_separator_text";
|
||||
color: FN_COL_DEFAULT;
|
||||
desc: "Text in a datetime separator area";
|
||||
|
@ -386,6 +394,30 @@ color_classes {
|
|||
color: FN_COL_DISABLE;
|
||||
desc: "Text of a disabled multibuttonentry item";
|
||||
}
|
||||
color_class { name: "tags_bg";
|
||||
color: 0 0 0 0;
|
||||
desc: "Background of a tags widget";
|
||||
}
|
||||
color_class { name: "tags_item_bg";
|
||||
color: 0 0 0 0;
|
||||
desc: "Background of a tags item object";
|
||||
}
|
||||
color_class { name: "tags_item_bg_selected";
|
||||
color: 0 0 0 0;
|
||||
desc: "Background of a selected tags item object";
|
||||
}
|
||||
color_class { name: "tags_item_text";
|
||||
color: FN_COL_DEFAULT;
|
||||
desc: "Text of a tags item";
|
||||
}
|
||||
color_class { name: "tags_item_text_pressed";
|
||||
color: FN_COL_HIGHLIGHT;
|
||||
desc: "Text of a pressed tags item";
|
||||
}
|
||||
color_class { name: "tags_item_text_disabled";
|
||||
color: FN_COL_DISABLE;
|
||||
desc: "Text of a disabled tags item";
|
||||
}
|
||||
color_class { "elm/win/background";
|
||||
color: 64 64 64 255;
|
||||
desc: "Background color of a standard window";
|
||||
|
|
|
@ -5,6 +5,7 @@ externals.external: "elm";
|
|||
// theme api version. from 1.10 on we will check version to avoid
|
||||
// compat issues
|
||||
data.item: "version" "119";
|
||||
data.item: "efl_theme_base" "dark";
|
||||
|
||||
collections {
|
||||
#include "fonts.edc"
|
||||
|
@ -35,7 +36,6 @@ collections {
|
|||
#include "edc/elm/access.edc"
|
||||
#include "edc/elm/photo.edc"
|
||||
#include "edc/elm/focus.edc"
|
||||
#include "edc/elm/uiclock.edc"
|
||||
#include "edc/elm/player.edc"
|
||||
#include "edc/elm/thumb.edc"
|
||||
#include "edc/elm/pointer.edc"
|
||||
|
@ -167,10 +167,12 @@ collections {
|
|||
#include "edc/efl/bg.edc"
|
||||
#include "edc/efl/button.edc"
|
||||
#include "edc/efl/calendar.edc"
|
||||
#include "edc/efl/navigation_bar.edc"
|
||||
#include "edc/efl/navigation_layout.edc"
|
||||
#include "edc/efl/nstate.edc"
|
||||
#include "edc/efl/list.edc"
|
||||
// XXX: mobile mode needs invisible scrollers... make signals that do this
|
||||
#include "edc/efl/scroller.edc"
|
||||
#include "edc/efl/list.edc"
|
||||
// XXX: mobile mode needs different entry setup
|
||||
#include "edc/efl/text.edc"
|
||||
#include "edc/efl/frame.edc"
|
||||
|
@ -181,16 +183,23 @@ collections {
|
|||
#include "edc/efl/popup.edc"
|
||||
#include "edc/efl/video.edc"
|
||||
#include "edc/efl/focus.edc"
|
||||
#include "edc/efl/multibuttonentry.edc"
|
||||
#include "edc/efl/tags.edc"
|
||||
#include "edc/efl/tooltip.edc"
|
||||
#include "edc/efl/photocam.edc"
|
||||
#include "edc/efl/progress.edc"
|
||||
#include "edc/efl/border.edc"
|
||||
#include "edc/efl/spin.edc"
|
||||
#include "edc/efl/spin_button.edc"
|
||||
#include "edc/efl/datepicker.edc"
|
||||
#include "edc/efl/timepicker.edc"
|
||||
// XXX: min size calc problems - too wide! ... err ok on my 32bit box... eh?
|
||||
#include "edc/efl/cursor.edc"
|
||||
#include "edc/efl/pointer.edc"
|
||||
#include "edc/efl/textpath.edc"
|
||||
#include "edc/efl/win.edc"
|
||||
#include "edc/efl/uiclock.edc"
|
||||
#include "edc/efl/pager.edc"
|
||||
#include "edc/efl/tab_pager.edc"
|
||||
#include "edc/efl/tab_bar.edc"
|
||||
#include "edc/efl/tab_page.edc"
|
||||
}
|
||||
|
|
|
@ -43,7 +43,7 @@ group { name: "e/widgets/dialog/main";
|
|||
rel1.offset: 4 4;
|
||||
rel2.relative: 0.0 1.0;
|
||||
rel2.offset: -1 0;
|
||||
rel2.to_y: "button.spacer";
|
||||
rel2.to_y: "button_spacer";
|
||||
fixed: 1 0;
|
||||
visible: 0;
|
||||
}
|
||||
|
@ -58,7 +58,7 @@ group { name: "e/widgets/dialog/main";
|
|||
rel1.to_x: "base";
|
||||
rel2.to_x: "base";
|
||||
rel2.offset: -5 -1;
|
||||
rel2.to_y: "button.spacer";
|
||||
rel2.to_y: "button_spacer";
|
||||
}
|
||||
description { state: "icon" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
|
@ -66,7 +66,7 @@ group { name: "e/widgets/dialog/main";
|
|||
rel1.to_x: "e.swallow.icon";
|
||||
}
|
||||
}
|
||||
spacer { "button.spacer";
|
||||
spacer { "button_spacer";
|
||||
desc {
|
||||
rel2.relative: 1.0 0.0;
|
||||
rel2.offset: -5 -8;
|
||||
|
|
|
@ -1,11 +1,46 @@
|
|||
/* bg widget style information
|
||||
|
||||
[SWALLOW]
|
||||
elm.swallow.rectangle: Used for elm_bg_color_set()
|
||||
elm.swallow.background: Used for elm_bg_file_set()
|
||||
elm.swallow.content: Used for elm_layout_part_content_set(bg, "overlay", content).
|
||||
efl.rectangle: Used for elm_bg_color_set()
|
||||
efl.background: Used for elm_bg_file_set()
|
||||
efl.content: Used for elm_layout_part_content_set(bg, "overlay", content).
|
||||
*/
|
||||
|
||||
group { "efl/bg";
|
||||
inherit: "elm/bg/base/default";
|
||||
}
|
||||
data.item: "version" "119";
|
||||
images.image: "bevel_dark_out.png" COMP;
|
||||
parts {
|
||||
part { name: "clipper"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
}
|
||||
}
|
||||
part { name: "base"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
color_class: "dialog_base";
|
||||
color: 64 64 64 255;
|
||||
}
|
||||
}
|
||||
part { name: "efl.rectangle"; type: SWALLOW;
|
||||
description { state: "default" 0.0;
|
||||
}
|
||||
}
|
||||
part { name: "efl.background"; type: SWALLOW;
|
||||
clip_to: "clipper";
|
||||
description { state: "default" 0.0;
|
||||
fixed: 1 1;
|
||||
}
|
||||
}
|
||||
part { name: "bevel";
|
||||
description { state: "default" 0.0;
|
||||
image.normal: "bevel_dark_out.png";
|
||||
image.border: 1 1 1 1;
|
||||
image.middle: 0;
|
||||
fill.smooth: 0;
|
||||
}
|
||||
}
|
||||
part { name: "efl.content"; type: SWALLOW;
|
||||
description { state: "default" 0.0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
File diff suppressed because it is too large
Load Diff
|
@ -1,8 +1,783 @@
|
|||
group { "efl/button";
|
||||
inherit: "elm/button/base/default";
|
||||
group { name: "efl/button";
|
||||
images.image: "button_normal.png" COMP;
|
||||
images.image: "button_clicked.png" COMP;
|
||||
|
||||
#undef ICON
|
||||
#define ICON 1
|
||||
#define LABEL 2
|
||||
#define MASK 3
|
||||
#define DISABLE 4
|
||||
#define PRESSED 8
|
||||
#define BACKGROUND 16
|
||||
script {
|
||||
public btmode;
|
||||
public eval_mode(m) {
|
||||
new m1 = m & MASK;
|
||||
new d = m & DISABLE;
|
||||
new p = m & PRESSED;
|
||||
new bg = m & BACKGROUND;
|
||||
if (bg) {
|
||||
set_state(PART:"base", "hidden", 0.0);
|
||||
set_state(PART:"efl.background", "visible", 0.0);
|
||||
} else {
|
||||
set_state(PART:"efl.background", "default", 0.0);
|
||||
if (!d) {
|
||||
if (!p)
|
||||
{
|
||||
set_state(PART:"base", "default", 0.0);
|
||||
set_state(PART:"base", "default", 0.0);
|
||||
}
|
||||
else {
|
||||
set_state(PART:"base", "pressed", 0.0);
|
||||
}
|
||||
} else {
|
||||
set_state(PART:"base", "disabled", 0.0);
|
||||
}
|
||||
}
|
||||
if (m1 == (ICON | LABEL)) {
|
||||
if (!d) {
|
||||
set_state(PART:"efl.content", "visible", 0.0);
|
||||
set_state(PART:"sizer_content", "visible", 0.0);
|
||||
set_state(PART:"event", "default", 0.0);
|
||||
if (!p) {
|
||||
set_state(PART:"efl.text", "visible", 0.0);
|
||||
set_state(PART:"icon_clip", "default", 0.0);
|
||||
} else {
|
||||
set_state(PART:"efl.text", "pressed_visible", 0.0);
|
||||
set_state(PART:"icon_clip", "pressed", 0.0);
|
||||
}
|
||||
} else {
|
||||
set_state(PART:"efl.content", "visible", 0.0);
|
||||
set_state(PART:"sizer_content", "visible", 0.0);
|
||||
set_state(PART:"efl.text", "disabled_visible", 0.0);
|
||||
set_state(PART:"icon_clip", "disabled", 0.0);
|
||||
set_state(PART:"event", "disabled", 0.0);
|
||||
}
|
||||
} else if (m1 == (ICON)) {
|
||||
if (!d) {
|
||||
set_state(PART:"efl.content", "icononly", 0.0);
|
||||
set_state(PART:"sizer_content", "icononly", 0.0);
|
||||
set_state(PART:"event", "default", 0.0);
|
||||
set_state(PART:"efl.text", "default", 0.0);
|
||||
if (!p)
|
||||
set_state(PART:"icon_clip", "default", 0.0);
|
||||
else
|
||||
set_state(PART:"icon_clip", "pressed", 0.0);
|
||||
} else {
|
||||
set_state(PART:"efl.content", "icononly", 0.0);
|
||||
set_state(PART:"sizer_content", "icononly", 0.0);
|
||||
set_state(PART:"efl.text", "default", 0.0);
|
||||
set_state(PART:"icon_clip", "disabled", 0.0);
|
||||
set_state(PART:"event", "disabled", 0.0);
|
||||
}
|
||||
} else if (m1 == (LABEL)) {
|
||||
if (!d) {
|
||||
set_state(PART:"efl.content", "default", 0.0);
|
||||
set_state(PART:"sizer_content", "default", 0.0);
|
||||
set_state(PART:"icon_clip", "default", 0.0);
|
||||
set_state(PART:"event", "default", 0.0);
|
||||
if (!p)
|
||||
set_state(PART:"efl.text", "textonly", 0.0);
|
||||
else
|
||||
set_state(PART:"efl.text", "pressed_textonly", 0.0);
|
||||
} else {
|
||||
set_state(PART:"efl.content", "default", 0.0);
|
||||
set_state(PART:"sizer_content", "default", 0.0);
|
||||
set_state(PART:"efl.text", "disabled_textonly", 0.0);
|
||||
set_state(PART:"icon_clip", "disabled", 0.0);
|
||||
set_state(PART:"event", "disabled", 0.0);
|
||||
}
|
||||
} else {
|
||||
if (!d) {
|
||||
set_state(PART:"efl.content", "default", 0.0);
|
||||
set_state(PART:"sizer_content", "default", 0.0);
|
||||
set_state(PART:"icon_clip", "default", 0.0);
|
||||
set_state(PART:"event", "default", 0.0);
|
||||
} else {
|
||||
set_state(PART:"efl.content", "default", 0.0);
|
||||
set_state(PART:"sizer_content", "default", 0.0);
|
||||
set_state(PART:"icon_clip", "disabled", 0.0);
|
||||
set_state(PART:"event", "disabled", 0.0);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
parts {
|
||||
image { "base";
|
||||
desc { "default";
|
||||
image.normal: "button_normal.png";
|
||||
image.border: 4 4 3 5;
|
||||
image.middle: SOLID;
|
||||
rel1.offset: -1 0;
|
||||
rel2.offset: 0 1;
|
||||
fill.smooth: 0;
|
||||
color_class: "button_bg";
|
||||
}
|
||||
desc { "pressed";
|
||||
inherit: "default";
|
||||
image.normal: "button_clicked.png";
|
||||
image.border: 5 5 4 6;
|
||||
color_class: "button_bg_pressed";
|
||||
}
|
||||
desc { "disabled";
|
||||
inherit: "default";
|
||||
color_class: "button_bg_disabled";
|
||||
}
|
||||
desc { "hidden";
|
||||
inherit: "default";
|
||||
visible: 0;
|
||||
}
|
||||
}
|
||||
swallow { "efl.background"; nomouse;
|
||||
required;
|
||||
desc { "default";
|
||||
rel1.to: "base";
|
||||
rel2.to: "base";
|
||||
visible: 0;
|
||||
}
|
||||
desc { "visible";
|
||||
inherit: "default";
|
||||
visible: 1;
|
||||
}
|
||||
}
|
||||
rect { "icon_clip";
|
||||
desc { "default";
|
||||
color_class: "button_icon";
|
||||
}
|
||||
desc { "pressed";
|
||||
inherit: "default";
|
||||
color_class: "button_icon_pressed";
|
||||
}
|
||||
desc { "disabled";
|
||||
inherit: "default";
|
||||
color_class: "button_icon_disabled";
|
||||
}
|
||||
}
|
||||
swallow { "efl.content"; nomouse;
|
||||
clip_to: "icon_clip";
|
||||
required;
|
||||
desc { "default";
|
||||
fixed: 1 0;
|
||||
align: 0.0 0.5;
|
||||
rel1.offset: 6 5;
|
||||
rel1.to: "base";
|
||||
rel2.relative: 0.0 1.0;
|
||||
rel2.offset: 6 -8;
|
||||
rel2.to: "base";
|
||||
visible: 0;
|
||||
}
|
||||
desc { "visible";
|
||||
inherit: "default";
|
||||
fixed: 1 0;
|
||||
aspect: 1.0 1.0;
|
||||
visible: 1;
|
||||
}
|
||||
desc { "icononly";
|
||||
inherit: "default";
|
||||
fixed: 0 0;
|
||||
align: 0.5 0.5;
|
||||
rel2.relative: 1.0 1.0;
|
||||
rel2.offset: -7 -8;
|
||||
visible: 1;
|
||||
}
|
||||
}
|
||||
text { "sizer_content"; nomouse;
|
||||
scale: 1;
|
||||
desc { "default";
|
||||
// fixed: 1 1;
|
||||
visible: 0;
|
||||
text { font: FN; size: 10;
|
||||
min: 0 0;
|
||||
text_class: "button_text";
|
||||
}
|
||||
}
|
||||
desc { "visible";
|
||||
inherit: "default";
|
||||
rel1.to: "efl.content";
|
||||
rel2.to: "efl.content";
|
||||
text {
|
||||
min: 1 1;
|
||||
ellipsis: -1;
|
||||
text: "M";
|
||||
}
|
||||
}
|
||||
desc { "icononly";
|
||||
inherit: "default";
|
||||
rel1.to: "efl.content";
|
||||
rel2.to: "efl.content";
|
||||
text {
|
||||
min: 1 1;
|
||||
ellipsis: -1;
|
||||
text: "M";
|
||||
}
|
||||
}
|
||||
}
|
||||
text { "efl.text"; nomouse;
|
||||
effect: SHADOW BOTTOM;
|
||||
scale;
|
||||
required;
|
||||
desc { "default";
|
||||
rel1.offset: 0 5;
|
||||
rel1.relative: 1.0 0.0;
|
||||
rel1.to_x: "efl.content";
|
||||
rel1.to_y: "base";
|
||||
rel2.offset: -8 -8;
|
||||
rel2.to: "base";
|
||||
color_class: "button_text";
|
||||
color3: 255 255 255 255;
|
||||
text { font: FN; size: 10;
|
||||
align: 0.5 0.5;
|
||||
min: 0 0;
|
||||
text_class: "button";
|
||||
}
|
||||
visible: 0;
|
||||
fixed: 1 1;
|
||||
}
|
||||
desc { "visible";
|
||||
inherit: "default";
|
||||
rel1.offset: 2 5;
|
||||
text.min: 1 1;
|
||||
text.ellipsis: -1;
|
||||
visible: 1;
|
||||
fixed: 0 0;
|
||||
}
|
||||
desc { "pressed_visible";
|
||||
inherit: "default";
|
||||
rel1.offset: 2 5;
|
||||
text.min: 1 1;
|
||||
text.ellipsis: -1;
|
||||
visible: 1;
|
||||
fixed: 0 0;
|
||||
color_class: "button_text_pressed";
|
||||
}
|
||||
desc { "textonly";
|
||||
inherit: "default";
|
||||
text.min: 1 1;
|
||||
text.ellipsis: -1;
|
||||
visible: 1;
|
||||
fixed: 0 0;
|
||||
}
|
||||
desc { "pressed_textonly";
|
||||
inherit: "default";
|
||||
text.min: 1 1;
|
||||
text.ellipsis: -1;
|
||||
visible: 1;
|
||||
fixed: 0 0;
|
||||
color_class: "button_text_pressed";
|
||||
}
|
||||
desc { "disabled_visible";
|
||||
inherit: "default";
|
||||
rel1.offset: 2 5;
|
||||
color_class: "button_text_disabled";
|
||||
color3: 255 255 255 255;
|
||||
text.min: 1 1;
|
||||
text.ellipsis: -1;
|
||||
visible: 1;
|
||||
fixed: 0 0;
|
||||
}
|
||||
desc { "disabled_textonly";
|
||||
inherit: "default";
|
||||
color_class: "button_text_disabled";
|
||||
color3: 255 255 255 255;
|
||||
text.min: 1 1;
|
||||
text.ellipsis: -1;
|
||||
visible: 1;
|
||||
fixed: 0 0;
|
||||
}
|
||||
}
|
||||
rect { "event";
|
||||
desc { "default";
|
||||
color: 0 0 0 0;
|
||||
}
|
||||
desc { "disabled";
|
||||
inherit: "default";
|
||||
visible: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
programs {
|
||||
program {
|
||||
signal: "mouse,down,1"; source: "event";
|
||||
action: SIGNAL_EMIT "efl,action,press" "efl";
|
||||
after: "button_click_anim";
|
||||
}
|
||||
program { name: "button_click_anim";
|
||||
script {
|
||||
new m = get_int(btmode);
|
||||
m |= PRESSED; set_int(btmode, m);
|
||||
eval_mode(m);
|
||||
}
|
||||
}
|
||||
program { name: "button_unclick";
|
||||
signal: "mouse,up,1"; source: "event";
|
||||
action: SIGNAL_EMIT "efl,action,unpress" "efl";
|
||||
after: "button_unclick_anim";
|
||||
}
|
||||
program { name: "button_unclick_anim";
|
||||
script {
|
||||
new m = get_int(btmode);
|
||||
m &= ~PRESSED; set_int(btmode, m);
|
||||
eval_mode(m);
|
||||
}
|
||||
}
|
||||
program { name: "buttonactivate";
|
||||
signal: "efl,anim,activate"; source: "efl";
|
||||
action: STATE_SET "pressed" 0.0;
|
||||
target: "base";
|
||||
after: "button_unpressed_anim";
|
||||
}
|
||||
program { name: "button_unpressed_anim";
|
||||
action: STATE_SET "default" 0.0;
|
||||
in: 0.5 0.0;
|
||||
target: "base";
|
||||
}
|
||||
program {
|
||||
signal: "mouse,clicked,1"; source: "event";
|
||||
action: SIGNAL_EMIT "efl,action,click" "efl";
|
||||
}
|
||||
program { name: "button_text_visible";
|
||||
signal: "efl,state,text,set"; source: "efl";
|
||||
script {
|
||||
new m = get_int(btmode);
|
||||
m |= LABEL; set_int(btmode, m);
|
||||
eval_mode(m);
|
||||
}
|
||||
}
|
||||
program { name: "button_text_hidden";
|
||||
signal: "efl,state,text,unset"; source: "efl";
|
||||
script {
|
||||
new m = get_int(btmode);
|
||||
m &= ~LABEL; set_int(btmode, m);
|
||||
eval_mode(m);
|
||||
}
|
||||
}
|
||||
program { name: "button_icon_visible";
|
||||
signal: "efl,state,content,set"; source: "efl";
|
||||
script {
|
||||
new m = get_int(btmode);
|
||||
m |= ICON; set_int(btmode, m);
|
||||
eval_mode(m);
|
||||
}
|
||||
}
|
||||
program { name: "button_icon_hidden";
|
||||
signal: "efl,state,content,unset"; source: "efl";
|
||||
script {
|
||||
new m = get_int(btmode);
|
||||
m &= ~ICON; set_int(btmode, m);
|
||||
eval_mode(m);
|
||||
}
|
||||
}
|
||||
program { name: "button_background_visible";
|
||||
signal: "efl,state,background,set"; source: "efl";
|
||||
script {
|
||||
new m = get_int(btmode);
|
||||
m |= BACKGROUND; set_int(btmode, m);
|
||||
eval_mode(m);
|
||||
}
|
||||
}
|
||||
program { name: "button_background_hidden";
|
||||
signal: "efl,state,background,unset"; source: "efl";
|
||||
script {
|
||||
new m = get_int(btmode);
|
||||
m &= ~BACKGROUND; set_int(btmode, m);
|
||||
eval_mode(m);
|
||||
}
|
||||
}
|
||||
program { name: "button_state_disabled";
|
||||
signal: "efl,state,disabled"; source: "efl";
|
||||
script {
|
||||
new m = get_int(btmode);
|
||||
m |= DISABLE; set_int(btmode, m);
|
||||
eval_mode(m);
|
||||
}
|
||||
}
|
||||
program { name: "button_state_enabled";
|
||||
signal: "efl,state,enabled"; source: "efl";
|
||||
script {
|
||||
new m = get_int(btmode);
|
||||
m &= ~DISABLE; set_int(btmode, m);
|
||||
eval_mode(m);
|
||||
}
|
||||
}
|
||||
}
|
||||
#undef ICON
|
||||
#undef LABEL
|
||||
#undef MASK
|
||||
#undef DISABLE
|
||||
#undef PRESSED
|
||||
#undef BACKGROUND
|
||||
}
|
||||
|
||||
group { "efl/button:anchor";
|
||||
inherit: "elm/button/base/anchor";
|
||||
group { name: "efl/button:anchor";
|
||||
images.image: "horizontal_separated_bar_small_glow.png" COMP;
|
||||
#define ICON 1
|
||||
#define LABEL 2
|
||||
#define MASK 3
|
||||
#define DISABLE 4
|
||||
script {
|
||||
public btmode;
|
||||
public eval_mode(m) {
|
||||
new m1 = m & MASK;
|
||||
new d = m & DISABLE;
|
||||
if (m1 == (ICON | LABEL)) {
|
||||
if (!d) {
|
||||
set_state(PART:"efl.content", "visible", 0.0);
|
||||
set_state(PART:"sizer_content", "visible", 0.0);
|
||||
set_state(PART:"efl.text", "visible", 0.0);
|
||||
set_state(PART:"icon_clip", "default", 0.0);
|
||||
set_state(PART:"bar", "default", 0.0);
|
||||
set_state(PART:"event", "default", 0.0);
|
||||
} else {
|
||||
set_state(PART:"efl.content", "visible", 0.0);
|
||||
set_state(PART:"sizer_content", "visible", 0.0);
|
||||
set_state(PART:"efl.text", "disabled_visible", 0.0);
|
||||
set_state(PART:"icon_clip", "disabled", 0.0);
|
||||
set_state(PART:"bar", "disabled", 0.0);
|
||||
set_state(PART:"event", "disabled", 0.0);
|
||||
}
|
||||
} else if (m1 == (ICON)) {
|
||||
if (!d) {
|
||||
set_state(PART:"efl.content", "icononly", 0.0);
|
||||
set_state(PART:"sizer_content", "icononly", 0.0);
|
||||
set_state(PART:"efl.text", "default", 0.0);
|
||||
set_state(PART:"icon_clip", "default", 0.0);
|
||||
set_state(PART:"bar", "default", 0.0);
|
||||
set_state(PART:"event", "default", 0.0);
|
||||
} else {
|
||||
set_state(PART:"efl.content", "icononly", 0.0);
|
||||
set_state(PART:"sizer_content", "icononly", 0.0);
|
||||
set_state(PART:"efl.text", "default", 0.0);
|
||||
set_state(PART:"icon_clip", "disabled", 0.0);
|
||||
set_state(PART:"bar", "disabled", 0.0);
|
||||
set_state(PART:"event", "disabled", 0.0);
|
||||
}
|
||||
} else if (m1 == (LABEL)) {
|
||||
if (!d) {
|
||||
set_state(PART:"efl.content", "default", 0.0);
|
||||
set_state(PART:"sizer_content", "default", 0.0);
|
||||
set_state(PART:"efl.text", "textonly", 0.0);
|
||||
set_state(PART:"icon_clip", "default", 0.0);
|
||||
set_state(PART:"bar", "default", 0.0);
|
||||
set_state(PART:"event", "default", 0.0);
|
||||
} else {
|
||||
set_state(PART:"efl.content", "default", 0.0);
|
||||
set_state(PART:"sizer_content", "default", 0.0);
|
||||
set_state(PART:"efl.text", "disabled_textonly", 0.0);
|
||||
set_state(PART:"icon_clip", "disabled", 0.0);
|
||||
set_state(PART:"bar", "disabled", 0.0);
|
||||
set_state(PART:"event", "disabled", 0.0);
|
||||
}
|
||||
} else {
|
||||
if (!d) {
|
||||
set_state(PART:"efl.content", "default", 0.0);
|
||||
set_state(PART:"sizer_content", "default", 0.0);
|
||||
set_state(PART:"icon_clip", "default", 0.0);
|
||||
set_state(PART:"bar", "default", 0.0);
|
||||
set_state(PART:"event", "default", 0.0);
|
||||
} else {
|
||||
set_state(PART:"efl.content", "default", 0.0);
|
||||
set_state(PART:"sizer_content", "default", 0.0);
|
||||
set_state(PART:"icon_clip", "disabled", 0.0);
|
||||
set_state(PART:"bar", "disabled", 0.0);
|
||||
set_state(PART:"event", "disabled", 0.0);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
parts {
|
||||
rect { "base";
|
||||
desc { "default";
|
||||
color: 0 0 0 0;
|
||||
}
|
||||
}
|
||||
rect { "icon_clip";
|
||||
desc { "default";
|
||||
}
|
||||
desc { "disabled";
|
||||
inherit: "default";
|
||||
color: 255 255 255 64;
|
||||
}
|
||||
}
|
||||
swallow { "efl.background"; nomouse;
|
||||
desc { "default";
|
||||
rel1.to: "base";
|
||||
rel2.to: "base";
|
||||
visible: 0;
|
||||
}
|
||||
desc { "visible";
|
||||
inherit: "default";
|
||||
visible: 1;
|
||||
}
|
||||
}
|
||||
swallow { "efl.content"; nomouse;
|
||||
clip_to: "icon_clip";
|
||||
desc { "default";
|
||||
fixed: 1 0;
|
||||
align: 0.0 0.5;
|
||||
rel1.offset: 0 4;
|
||||
rel1.to: "base";
|
||||
rel2.relative: 0.0 1.0;
|
||||
rel2.offset: 0 -5;
|
||||
rel2.to: "base";
|
||||
visible: 0;
|
||||
}
|
||||
desc { "visible";
|
||||
inherit: "default";
|
||||
fixed: 1 0;
|
||||
aspect: 1.0 1.0;
|
||||
visible: 1;
|
||||
}
|
||||
desc { "icononly";
|
||||
inherit: "default";
|
||||
fixed: 0 0;
|
||||
align: 0.5 0.5;
|
||||
rel2.relative: 1.0 1.0;
|
||||
rel2.offset: -1 -5;
|
||||
visible: 1;
|
||||
}
|
||||
}
|
||||
text { "sizer_content"; nomouse;
|
||||
scale: 1;
|
||||
desc { "default";
|
||||
visible: 0;
|
||||
text { font: FN; size: 10;
|
||||
min: 0 0;
|
||||
text_class: "button_text";
|
||||
}
|
||||
}
|
||||
desc { "visible";
|
||||
inherit: "default";
|
||||
rel1.to: "efl.content";
|
||||
rel2.to: "efl.content";
|
||||
text {
|
||||
min: 1 1;
|
||||
ellipsis: -1;
|
||||
text: "M";
|
||||
}
|
||||
}
|
||||
desc { "icononly";
|
||||
inherit: "default";
|
||||
rel1.to: "efl.content";
|
||||
rel2.to: "efl.content";
|
||||
text {
|
||||
min: 1 1;
|
||||
ellipsis: -1;
|
||||
text: "M";
|
||||
}
|
||||
}
|
||||
}
|
||||
text { "efl.text"; nomouse;
|
||||
effect: GLOW;
|
||||
scale: 1;
|
||||
desc { "default";
|
||||
rel1.offset: -2 0;
|
||||
rel1.relative: 1.0 0.0;
|
||||
rel1.to_x: "efl.content";
|
||||
rel1.to_y: "base";
|
||||
rel2.offset: -1 -1;
|
||||
rel2.to: "base";
|
||||
color_class: "button_text_anchor";
|
||||
color2: 255 255 255 255;
|
||||
color3: 255 255 255 255;
|
||||
text { font: FN; size: 10;
|
||||
align: 0.5 0.5;
|
||||
min: 0 0;
|
||||
text_class: "button_anchor";
|
||||
}
|
||||
visible: 0;
|
||||
}
|
||||
desc { "visible";
|
||||
inherit: "default";
|
||||
rel1.offset: 0 0;
|
||||
text.min: 1 1;
|
||||
text.ellipsis: -1;
|
||||
visible: 1;
|
||||
}
|
||||
desc { "textonly";
|
||||
inherit: "default";
|
||||
text.min: 1 1;
|
||||
text.ellipsis: -1;
|
||||
visible: 1;
|
||||
}
|
||||
desc { "disabled_visible";
|
||||
inherit: "default";
|
||||
rel1.offset: 0 0;
|
||||
color_class: "button_text_anchor_disabled";
|
||||
text.min: 1 1;
|
||||
text.ellipsis: -1;
|
||||
visible: 1;
|
||||
}
|
||||
desc { "disabled_textonly";
|
||||
inherit: "default";
|
||||
color_class: "button_text_anchor_disabled";
|
||||
text.min: 1 1;
|
||||
text.ellipsis: -1;
|
||||
visible: 1;
|
||||
}
|
||||
}
|
||||
text { "text2"; nomouse;
|
||||
effect: GLOW;
|
||||
scale: 1;
|
||||
desc { "default";
|
||||
fixed: 1 1;
|
||||
rel1.to: "efl.text";
|
||||
rel2.to: "efl.text";
|
||||
color_class: "button_text_anchor";
|
||||
color2: 255 255 255 255;
|
||||
color3: 255 255 255 255;
|
||||
text { font: FN; size: 10;
|
||||
text_source: "efl.text";
|
||||
min: 1 1;
|
||||
ellipsis: -1;
|
||||
text_class: "button_anchor";
|
||||
}
|
||||
visible: 0;
|
||||
}
|
||||
desc { "clicked";
|
||||
inherit: "default";
|
||||
visible: 1;
|
||||
}
|
||||
}
|
||||
image { "bar"; nomouse;
|
||||
desc { "default";
|
||||
image.normal: "horizontal_separated_bar_small_glow.png";
|
||||
image.border: 4 4 4 4;
|
||||
fill.smooth: 0;
|
||||
fixed: 0 1;
|
||||
rel1.relative: 0.0 1.0;
|
||||
rel1.offset: -3 -6;
|
||||
rel2.offset: 2 3;
|
||||
}
|
||||
desc { "disabled";
|
||||
inherit: "default";
|
||||
color: 255 255 255 64;
|
||||
}
|
||||
}
|
||||
image { "bar2"; nomouse;
|
||||
desc { "default";
|
||||
image.normal: "horizontal_separated_bar_small_glow.png";
|
||||
image.border: 4 4 4 4;
|
||||
fill.smooth: 0;
|
||||
rel1.to: "bar";
|
||||
rel2.to: "bar";
|
||||
color: 255 255 255 0;
|
||||
visible: 0;
|
||||
}
|
||||
desc { "clicked";
|
||||
inherit: "default";
|
||||
color: 255 255 255 255;
|
||||
visible: 1;
|
||||
}
|
||||
}
|
||||
rect { "event";
|
||||
desc { "default";
|
||||
color: 0 0 0 0;
|
||||
}
|
||||
desc { "disabled";
|
||||
inherit: "default";
|
||||
visible: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
programs {
|
||||
program {
|
||||
signal: "mouse,down,1"; source: "event";
|
||||
action: SIGNAL_EMIT "efl,action,press" "efl";
|
||||
after: "button_click_anim";
|
||||
}
|
||||
program { name: "button_click_anim";
|
||||
action: STATE_SET "clicked" 0.0;
|
||||
target: "bar2";
|
||||
target: "text2";
|
||||
}
|
||||
program {
|
||||
signal: "mouse,up,1"; source: "event";
|
||||
action: SIGNAL_EMIT "efl,action,unpress" "efl";
|
||||
after: "button_unclick_anim";
|
||||
}
|
||||
program { name: "button_unclick_anim";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "bar2";
|
||||
target: "text2";
|
||||
}
|
||||
program {
|
||||
signal: "efl,anim,activate"; source: "efl";
|
||||
action: STATE_SET "clicked" 0.0;
|
||||
target: "bar2";
|
||||
target: "text2";
|
||||
after: "button_unpressed_anim";
|
||||
}
|
||||
program { name: "button_unpressed_anim";
|
||||
action: STATE_SET "default" 0.0;
|
||||
in: 0.5 0.0;
|
||||
target: "bar2";
|
||||
target: "text2";
|
||||
}
|
||||
program {
|
||||
signal: "mouse,clicked,1"; source: "event";
|
||||
action: SIGNAL_EMIT "efl,action,click" "efl";
|
||||
}
|
||||
program { name: "button_text_visible";
|
||||
signal: "efl,state,text,set"; source: "efl";
|
||||
script {
|
||||
new m = get_int(btmode);
|
||||
m |= LABEL; set_int(btmode, m);
|
||||
eval_mode(m);
|
||||
}
|
||||
}
|
||||
program { name: "button_text_hidden";
|
||||
signal: "efl,state,text,unset"; source: "efl";
|
||||
script {
|
||||
new m = get_int(btmode);
|
||||
m &= ~LABEL; set_int(btmode, m);
|
||||
eval_mode(m);
|
||||
}
|
||||
}
|
||||
program { name: "button_icon_visible";
|
||||
signal: "efl,state,content,set"; source: "efl";
|
||||
script {
|
||||
new m = get_int(btmode);
|
||||
m |= ICON; set_int(btmode, m);
|
||||
eval_mode(m);
|
||||
}
|
||||
}
|
||||
program { name: "button_icon_hidden";
|
||||
signal: "efl,state,content,unset"; source: "efl";
|
||||
script {
|
||||
new m = get_int(btmode);
|
||||
m &= ~ICON; set_int(btmode, m);
|
||||
eval_mode(m);
|
||||
}
|
||||
}
|
||||
program { name: "button_background_visible";
|
||||
signal: "efl,state,background,set"; source: "efl";
|
||||
action: STATE_SET "visible" 0.0;
|
||||
target: "efl.background";
|
||||
}
|
||||
program { name: "button_background_hidden";
|
||||
signal: "efl,state,background,unset"; source: "efl";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "efl.background";
|
||||
}
|
||||
program { name: "button_state_disabled";
|
||||
signal: "efl,state,disabled"; source: "efl";
|
||||
script {
|
||||
new m = get_int(btmode);
|
||||
m |= DISABLE; set_int(btmode, m);
|
||||
eval_mode(m);
|
||||
}
|
||||
}
|
||||
program { name: "button_state_enabled";
|
||||
signal: "efl,state,enabled"; source: "efl";
|
||||
script {
|
||||
new m = get_int(btmode);
|
||||
m &= ~DISABLE; set_int(btmode, m);
|
||||
eval_mode(m);
|
||||
}
|
||||
}
|
||||
}
|
||||
#undef ICON
|
||||
#undef LABEL
|
||||
#undef MASK
|
||||
#undef DISABLE
|
||||
}
|
||||
|
||||
|
|
|
@ -41,7 +41,7 @@
|
|||
color: 0 0 0 0;\
|
||||
}\
|
||||
}\
|
||||
part { name: "elm,calendar,button"#_sufix",left";\
|
||||
part { name: "efl.calendar.button"#_sufix".left";\
|
||||
type: SWALLOW;\
|
||||
scale: 1;\
|
||||
description { state: "default" 0.0;\
|
||||
|
@ -55,7 +55,7 @@
|
|||
rel2.to: "right_bt"#_sufix;\
|
||||
}\
|
||||
}\
|
||||
part { name: "elm,calendar,button"#_sufix",right";\
|
||||
part { name: "efl.calendar.button"#_sufix".right";\
|
||||
type: SWALLOW;\
|
||||
scale: 1;\
|
||||
description { state: "default" 0.0;\
|
||||
|
@ -89,7 +89,7 @@
|
|||
}
|
||||
|
||||
#define CH(_pos) \
|
||||
part { name: "ch_"#_pos".base"; type: SPACER; \
|
||||
part { name: "ch_"#_pos"_base"; type: SPACER; \
|
||||
description { state: "default" 0.0; \
|
||||
rel1 { \
|
||||
relative: (_pos % 7 / 7) 0.0; \
|
||||
|
@ -101,13 +101,13 @@
|
|||
} \
|
||||
} \
|
||||
} \
|
||||
part { name: "ch_"#_pos".text"; type: TEXT; mouse_events: 0; \
|
||||
part { name: "efl.ch_"#_pos".text"; type: TEXT; mouse_events: 0; \
|
||||
effect: SHADOW BOTTOM; \
|
||||
scale: 1; \
|
||||
clip_to: "ch_"#_pos".clipper"; \
|
||||
clip_to: "ch_"#_pos"_clipper"; \
|
||||
description { state: "default" 0.0; \
|
||||
rel1.to: "ch_"#_pos".base"; \
|
||||
rel2.to: "ch_"#_pos".base"; \
|
||||
rel1.to: "ch_"#_pos"_base"; \
|
||||
rel2.to: "ch_"#_pos"_base"; \
|
||||
text { font: FN; size: 8; \
|
||||
min: 1 1; \
|
||||
ellipsis: -1; \
|
||||
|
@ -116,15 +116,15 @@
|
|||
color_class: "calendar_weekday_text"; \
|
||||
} \
|
||||
} \
|
||||
part { name: "ch_"#_pos".clipper"; type: RECT; \
|
||||
part { name: "ch_"#_pos"_clipper"; type: RECT; \
|
||||
description { state: "default" 0.0; \
|
||||
rel1.to: "ch_"#_pos".base"; \
|
||||
rel2.to: "ch_"#_pos".base"; \
|
||||
rel1.to: "ch_"#_pos"_base"; \
|
||||
rel2.to: "ch_"#_pos"_base"; \
|
||||
} \
|
||||
}
|
||||
|
||||
#define CIT(_pos) \
|
||||
part { name: "cit_"#_pos".rect"; type: SPACER; \
|
||||
part { name: "cit_"#_pos"_rect"; type: SPACER; \
|
||||
description { state: "default" 0.0; \
|
||||
rel1 { \
|
||||
relative: (_pos % 7 / 7) \
|
||||
|
@ -138,18 +138,18 @@
|
|||
} \
|
||||
} \
|
||||
} \
|
||||
part { name: "cit_"#_pos".event"; type: RECT; repeat_events: 1; \
|
||||
part { name: "cit_"#_pos"_event"; type: RECT; repeat_events: 1; \
|
||||
description { state: "default" 0.0; \
|
||||
rel1.to: "cit_"#_pos".rect"; \
|
||||
rel2.to: "cit_"#_pos".rect"; \
|
||||
rel1.to: "cit_"#_pos"_rect"; \
|
||||
rel2.to: "cit_"#_pos"_rect"; \
|
||||
color: 0 0 0 0; \
|
||||
} \
|
||||
} \
|
||||
part { name: "cit_"#_pos".pat"; mouse_events: 0; \
|
||||
part { name: "cit_"#_pos"_pat"; mouse_events: 0; \
|
||||
description { state: "default" 0.0; \
|
||||
rel1.to: "cit_"#_pos".selected"; \
|
||||
rel1.to: "cit_"#_pos"_selected"; \
|
||||
rel1.offset: 1 1; \
|
||||
rel2.to: "cit_"#_pos".selected"; \
|
||||
rel2.to: "cit_"#_pos"_selected"; \
|
||||
rel2.offset: -2 -2; \
|
||||
image.normal: "diagonal_stripes.png"; \
|
||||
color: 255 255 255 25; \
|
||||
|
@ -162,10 +162,10 @@
|
|||
visible: 1; \
|
||||
} \
|
||||
} \
|
||||
part { name: "cit_"#_pos".selected"; mouse_events: 0; \
|
||||
part { name: "cit_"#_pos"_selected"; mouse_events: 0; \
|
||||
description { state: "default" 0.0; \
|
||||
rel1.to: "cit_"#_pos".rect"; \
|
||||
rel2.to: "cit_"#_pos".rect"; \
|
||||
rel1.to: "cit_"#_pos"_rect"; \
|
||||
rel2.to: "cit_"#_pos"_rect"; \
|
||||
image.normal: "outline_glow.png"; \
|
||||
image.border: 4 4 4 4; \
|
||||
color_class: "calendar_day_selected"; \
|
||||
|
@ -176,10 +176,10 @@
|
|||
visible: 1; \
|
||||
} \
|
||||
} \
|
||||
part { name: "cit_"#_pos".selected2"; mouse_events: 0; \
|
||||
part { name: "cit_"#_pos"_selected2"; mouse_events: 0; \
|
||||
description { state: "default" 0.0; \
|
||||
rel1.to: "cit_"#_pos".rect"; \
|
||||
rel2.to: "cit_"#_pos".rect"; \
|
||||
rel1.to: "cit_"#_pos"_rect"; \
|
||||
rel2.to: "cit_"#_pos"_rect"; \
|
||||
image.normal: "outline_glow.png"; \
|
||||
image.border: 4 4 4 4; \
|
||||
color: 255 255 255 128; \
|
||||
|
@ -191,10 +191,10 @@
|
|||
visible: 1; \
|
||||
} \
|
||||
} \
|
||||
part { name: "cit_"#_pos".glow"; mouse_events: 0; \
|
||||
part { name: "cit_"#_pos"_glow"; mouse_events: 0; \
|
||||
description { state: "default" 0.0; \
|
||||
rel1.to: "cit_"#_pos".rect"; \
|
||||
rel2.to: "cit_"#_pos".rect"; \
|
||||
rel1.to: "cit_"#_pos"_rect"; \
|
||||
rel2.to: "cit_"#_pos"_rect"; \
|
||||
image.normal: "box_glow.png"; \
|
||||
image.border: 12 12 12 12; \
|
||||
image.middle: 0; \
|
||||
|
@ -206,11 +206,11 @@
|
|||
visible: 1; \
|
||||
} \
|
||||
} \
|
||||
part { name: "cit_"#_pos".text"; type: TEXTBLOCK; mouse_events: 0; \
|
||||
part { name: "efl.cit_"#_pos".text"; type: TEXTBLOCK; mouse_events: 0; \
|
||||
scale: 1; \
|
||||
description { state: "default" 0.0; \
|
||||
rel1.to: "cit_"#_pos".rect"; \
|
||||
rel2.to: "cit_"#_pos".rect"; \
|
||||
rel1.to: "cit_"#_pos"_rect"; \
|
||||
rel2.to: "cit_"#_pos"_rect"; \
|
||||
text.style: "efl_ui_calendar_date_style"; \
|
||||
text.min: 1 1; \
|
||||
text.ellipsis: -1; \
|
||||
|
@ -224,16 +224,16 @@
|
|||
text.style: "efl_ui_calendar_date_disabled_style"; \
|
||||
} \
|
||||
} \
|
||||
part { name: "cit_"#_pos".check"; mouse_events: 0; \
|
||||
part { name: "cit_"#_pos"_check"; mouse_events: 0; \
|
||||
scale: 1; \
|
||||
description { state: "default" 0.0; \
|
||||
fixed: 1 1; \
|
||||
rel1 { \
|
||||
to: "cit_"#_pos".rect"; \
|
||||
to: "cit_"#_pos"_rect"; \
|
||||
relative: 0.6 0.5; \
|
||||
} \
|
||||
rel2 { \
|
||||
to: "cit_"#_pos".rect"; \
|
||||
to: "cit_"#_pos"_rect"; \
|
||||
relative: 0.6 0.5; \
|
||||
} \
|
||||
min: 16 16; \
|
||||
|
@ -249,173 +249,173 @@
|
|||
visible: 1; \
|
||||
} \
|
||||
} \
|
||||
part { name: "cit_"#_pos".access"; type: RECT; repeat_events: 1; \
|
||||
part { name: "efl.cit_"#_pos".access"; type: RECT; repeat_events: 1; \
|
||||
description { state: "default" 0.0; \
|
||||
rel1.to: "cit_"#_pos".event"; \
|
||||
rel2.to: "cit_"#_pos".event"; \
|
||||
rel1.to: "cit_"#_pos"_event"; \
|
||||
rel2.to: "cit_"#_pos"_event"; \
|
||||
color: 0 0 0 0; \
|
||||
} \
|
||||
} \
|
||||
programs { \
|
||||
program { \
|
||||
name: "cit_"#_pos".go_active"; \
|
||||
name: "cit_"#_pos"_go_active"; \
|
||||
signal: "cit_"#_pos",selected"; \
|
||||
source: "elm"; \
|
||||
source: "efl"; \
|
||||
action: STATE_SET "selected" 0.0; \
|
||||
target: "cit_"#_pos".pat"; \
|
||||
target: "cit_"#_pos".selected"; \
|
||||
target: "cit_"#_pos"_pat"; \
|
||||
target: "cit_"#_pos"_selected"; \
|
||||
} \
|
||||
program { \
|
||||
name: "cit_"#_pos".go_passive"; \
|
||||
name: "cit_"#_pos"_go_passive"; \
|
||||
signal: "cit_"#_pos",unselected"; \
|
||||
source: "elm"; \
|
||||
source: "efl"; \
|
||||
action: STATE_SET "default" 0.0; \
|
||||
target: "cit_"#_pos".pat"; \
|
||||
target: "cit_"#_pos".selected"; \
|
||||
target: "cit_"#_pos"_pat"; \
|
||||
target: "cit_"#_pos"_selected"; \
|
||||
} \
|
||||
program { \
|
||||
name: "cit_"#_pos".focus_highlighted"; \
|
||||
name: "cit_"#_pos"_focus_highlighted"; \
|
||||
signal: "cit_"#_pos",focused"; \
|
||||
source: "elm"; \
|
||||
source: "efl"; \
|
||||
script { \
|
||||
set_int(item_focus_enabled, 1); \
|
||||
set_int(last_focused_item, _pos); \
|
||||
if (get_int(win_focus_enabled) == 1) \
|
||||
set_state(PART:"cit_"#_pos".glow", "focused", 0.0); \
|
||||
set_state(PART:"cit_"#_pos"_glow", "focused", 0.0); \
|
||||
} \
|
||||
} \
|
||||
program { \
|
||||
name: "cit_"#_pos".focus_unhighlighed"; \
|
||||
name: "cit_"#_pos"_focus_unhighlighed"; \
|
||||
signal: "cit_"#_pos",unfocused"; \
|
||||
source: "elm"; \
|
||||
source: "efl"; \
|
||||
script { \
|
||||
set_int(item_focus_enabled, 0); \
|
||||
set_state(PART:"cit_"#_pos".glow", "default", 0.0); \
|
||||
set_state(PART:"cit_"#_pos"_glow", "default", 0.0); \
|
||||
} \
|
||||
} \
|
||||
program { \
|
||||
name: "cit_"#_pos".is_today"; \
|
||||
name: "cit_"#_pos"_is_today"; \
|
||||
signal: "cit_"#_pos",today"; \
|
||||
source: "elm"; \
|
||||
source: "efl"; \
|
||||
action: STATE_SET "today" 0.0; \
|
||||
target: "cit_"#_pos".text"; \
|
||||
target: "efl.cit_"#_pos".text"; \
|
||||
} \
|
||||
program { \
|
||||
name: "cit_"#_pos".not_today"; \
|
||||
name: "cit_"#_pos"_not_today"; \
|
||||
signal: "cit_"#_pos",not_today"; \
|
||||
source: "elm"; \
|
||||
source: "efl"; \
|
||||
action: STATE_SET "default" 0.0; \
|
||||
target: "cit_"#_pos".text"; \
|
||||
target: "efl.cit_"#_pos".text"; \
|
||||
} \
|
||||
program { \
|
||||
name: "cit_"#_pos".enable"; \
|
||||
name: "cit_"#_pos"_enable"; \
|
||||
signal: "cit_"#_pos",enable"; \
|
||||
source: "elm"; \
|
||||
source: "efl"; \
|
||||
script { \
|
||||
new st[31]; \
|
||||
new Float:vl; \
|
||||
get_state(PART:"cit_"#_pos".text", st, 30, vl); \
|
||||
get_state(PART:"efl.cit_"#_pos".text", st, 30, vl); \
|
||||
if (!strcmp(st, "disabled")) \
|
||||
set_state(PART:"cit_"#_pos".text", "default", 0.0); \
|
||||
set_state(PART:"efl.cit_"#_pos".text", "default", 0.0); \
|
||||
} \
|
||||
} \
|
||||
program { \
|
||||
name: "cit_"#_pos".disable"; \
|
||||
name: "cit_"#_pos"_disable"; \
|
||||
signal: "cit_"#_pos",disable"; \
|
||||
source: "elm"; \
|
||||
source: "efl"; \
|
||||
action: STATE_SET "disabled" 0.0; \
|
||||
target: "cit_"#_pos".text"; \
|
||||
target: "efl.cit_"#_pos".text"; \
|
||||
} \
|
||||
program { \
|
||||
source: "cit_"#_pos".clicked"; \
|
||||
source: "cit_"#_pos"_clicked"; \
|
||||
signal: "mouse,down,1"; \
|
||||
source: "cit_"#_pos".event"; \
|
||||
source: "cit_"#_pos"_event"; \
|
||||
action: STATE_SET "highlighted" 0.0; \
|
||||
target: "cit_"#_pos".selected2"; \
|
||||
target: "cit_"#_pos"_selected2"; \
|
||||
} \
|
||||
program { \
|
||||
source: "cit_"#_pos".clicked"; \
|
||||
source: "cit_"#_pos"_clicked"; \
|
||||
signal: "mouse,up,1"; \
|
||||
source: "cit_"#_pos".event"; \
|
||||
source: "cit_"#_pos"_event"; \
|
||||
action: STATE_SET "default" 0.0; \
|
||||
target: "cit_"#_pos".selected2"; \
|
||||
target: "cit_"#_pos"_selected2"; \
|
||||
} \
|
||||
program { \
|
||||
source: "cit_"#_pos".clicked"; \
|
||||
source: "cit_"#_pos"_clicked"; \
|
||||
signal: "mouse,clicked,1"; \
|
||||
source: "cit_"#_pos".event"; \
|
||||
action: SIGNAL_EMIT "elm,action,selected" #_pos; \
|
||||
source: "cit_"#_pos"_event"; \
|
||||
action: SIGNAL_EMIT "efl,action,selected" #_pos; \
|
||||
} \
|
||||
program { \
|
||||
name: "cit_"#_pos".clear"; \
|
||||
name: "cit_"#_pos"_clear"; \
|
||||
signal: "cit_"#_pos",clear"; \
|
||||
source: "elm"; \
|
||||
source: "efl"; \
|
||||
action: STATE_SET "default" 0.0; \
|
||||
target: "cit_"#_pos".check"; \
|
||||
after: "cit_"#_pos".weekends_clear"; \
|
||||
after: "cit_"#_pos".holiday_clear"; \
|
||||
target: "cit_"#_pos"_check"; \
|
||||
after: "cit_"#_pos"_weekends_clear"; \
|
||||
after: "cit_"#_pos"_holiday_clear"; \
|
||||
} \
|
||||
program { \
|
||||
name: "cit_"#_pos".weekends_clear"; \
|
||||
name: "cit_"#_pos"_weekends_clear"; \
|
||||
script { \
|
||||
new st[31]; \
|
||||
new Float:vl; \
|
||||
get_state(PART:"cit_"#_pos".text", st, 30, vl); \
|
||||
get_state(PART:"efl.cit_"#_pos".text", st, 30, vl); \
|
||||
if (!strcmp(st, "weekend/day1") || !strcmp(st, "weekend/day2")) \
|
||||
set_state(PART:"cit_"#_pos".text", "default", 0.0); \
|
||||
set_state(PART:"efl.cit_"#_pos".text", "default", 0.0); \
|
||||
} \
|
||||
} \
|
||||
program { \
|
||||
name: "cit_"#_pos".holiday_clear"; \
|
||||
name: "cit_"#_pos"_holiday_clear"; \
|
||||
script { \
|
||||
new st[31]; \
|
||||
new Float:vl; \
|
||||
get_state(PART:"cit_"#_pos".text", st, 30, vl); \
|
||||
get_state(PART:"efl.cit_"#_pos".text", st, 30, vl); \
|
||||
if (!strcmp(st, "holiday")) \
|
||||
set_state(PART:"cit_"#_pos".text", "default", 0.0); \
|
||||
set_state(PART:"efl.cit_"#_pos".text", "default", 0.0); \
|
||||
} \
|
||||
} \
|
||||
program { \
|
||||
name: "cit_"#_pos".checked"; \
|
||||
name: "cit_"#_pos"_checked"; \
|
||||
signal: "cit_"#_pos",checked"; \
|
||||
source: "elm"; \
|
||||
source: "efl"; \
|
||||
action: STATE_SET "visible" 0.0; \
|
||||
target: "cit_"#_pos".check"; \
|
||||
target: "cit_"#_pos"_check"; \
|
||||
} \
|
||||
program { \
|
||||
name: "cit_"#_pos".holiday"; \
|
||||
name: "cit_"#_pos"_holiday"; \
|
||||
signal: "cit_"#_pos",holiday"; \
|
||||
source: "elm"; \
|
||||
source: "efl"; \
|
||||
script { \
|
||||
new st[31]; \
|
||||
new Float:vl; \
|
||||
get_state(PART:"cit_"#_pos".text", st, 30, vl); \
|
||||
get_state(PART:"efl.cit_"#_pos".text", st, 30, vl); \
|
||||
if (strcmp(st, "today")) \
|
||||
set_state(PART:"cit_"#_pos".text", "holiday", 0.0); \
|
||||
set_state(PART:"efl.cit_"#_pos".text", "holiday", 0.0); \
|
||||
} \
|
||||
} \
|
||||
program { \
|
||||
name: "cit_"#_pos".weekend/day1"; \
|
||||
name: "cit_"#_pos"_weekend/day1"; \
|
||||
signal: "cit_"#_pos",weekend/day1"; \
|
||||
source: "elm"; \
|
||||
source: "efl"; \
|
||||
script { \
|
||||
new st[31]; \
|
||||
new Float:vl; \
|
||||
get_state(PART:"cit_"#_pos".text", st, 30, vl); \
|
||||
get_state(PART:"efl.cit_"#_pos".text", st, 30, vl); \
|
||||
if ((strcmp(st, "today")) && (strcmp(st, "holiday")) )\
|
||||
set_state(PART:"cit_"#_pos".text", "weekend/day1", 0.0); \
|
||||
set_state(PART:"efl.cit_"#_pos".text", "weekend/day1", 0.0); \
|
||||
} \
|
||||
} \
|
||||
program { \
|
||||
name: "cit_"#_pos".weekend/day2"; \
|
||||
name: "cit_"#_pos"_weekend/day2"; \
|
||||
signal: "cit_"#_pos",weekend/day2"; \
|
||||
source: "elm"; \
|
||||
source: "efl"; \
|
||||
script { \
|
||||
new st[31]; \
|
||||
new Float:vl; \
|
||||
get_state(PART:"cit_"#_pos".text", st, 30, vl); \
|
||||
get_state(PART:"efl.cit_"#_pos".text", st, 30, vl); \
|
||||
if ((strcmp(st, "today")) && (strcmp(st, "holiday")) )\
|
||||
set_state(PART:"cit_"#_pos".text", "weekend/day2", 0.0); \
|
||||
set_state(PART:"efl.cit_"#_pos".text", "weekend/day2", 0.0); \
|
||||
} \
|
||||
} \
|
||||
}
|
||||
|
@ -446,7 +446,7 @@ group { "efl/calendar";
|
|||
rel2.offset: -2 -2;
|
||||
}
|
||||
}
|
||||
part { name: "background"; type: SWALLOW;
|
||||
part { name: "efl.background"; type: SWALLOW;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "bg";
|
||||
rel2.to: "bg";
|
||||
|
@ -516,20 +516,20 @@ group { "efl/calendar";
|
|||
}
|
||||
programs {
|
||||
program {
|
||||
signal: "elm,action,focus_highlight,show";
|
||||
source: "elm";
|
||||
signal: "efl,action,focus_highlight,show";
|
||||
source: "efl";
|
||||
script {
|
||||
set_int(win_focus_enabled, 1);
|
||||
if (get_int(item_focus_enabled) == 1) {
|
||||
new value[32];
|
||||
snprintf(value, 32, "cit_%d,focused", get_int(last_focused_item));
|
||||
emit(value, "elm");
|
||||
emit(value, "efl");
|
||||
}
|
||||
}
|
||||
}
|
||||
program {
|
||||
signal: "elm,action,focus_highlight,hide";
|
||||
source: "elm";
|
||||
signal: "efl,action,focus_highlight,hide";
|
||||
source: "efl";
|
||||
script {
|
||||
set_int(win_focus_enabled, 0);
|
||||
}
|
||||
|
@ -541,11 +541,177 @@ group { "efl/calendar";
|
|||
#undef CIT
|
||||
#undef CH
|
||||
|
||||
group { name: "efl/calendar/inc_button";
|
||||
images.image: "sym_right_light_normal.png" COMP;
|
||||
images.image: "sym_right_glow_normal.png" COMP;
|
||||
images.image: "sym_right_dark_normal.png" COMP;
|
||||
script {
|
||||
public mouse_down = 0;
|
||||
public multi_down = 0;
|
||||
}
|
||||
parts {
|
||||
part { name: "arrow.image";
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
min: 15 15;
|
||||
max: 15 15;
|
||||
color_class: "F032L1";
|
||||
image.normal: "sym_right_light_normal.png";
|
||||
}
|
||||
description { state: "pressed" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
image.normal: "sym_right_glow_normal.png";
|
||||
}
|
||||
description { state: "disabled" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
image.normal: "sym_right_dark_normal.png";
|
||||
}
|
||||
}
|
||||
part { name: "over";
|
||||
type: RECT;
|
||||
repeat_events: 1;
|
||||
description { state: "default" 0.0;
|
||||
color: 0 0 0 0;
|
||||
}
|
||||
}
|
||||
part { name: "disabler";
|
||||
type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
color: 0 0 0 0;
|
||||
visible: 0;
|
||||
}
|
||||
description { state: "disabled" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
visible: 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
programs {
|
||||
program { name: "button_press";
|
||||
signal: "mouse,down,1";
|
||||
source: "over";
|
||||
script {
|
||||
if ((get_int(multi_down) == 0) &&
|
||||
(get_int(mouse_down) == 0)) {
|
||||
set_int(mouse_down, 1);
|
||||
run_program(PROGRAM:"button_press2");
|
||||
}
|
||||
}
|
||||
}
|
||||
program { name: "button_press2";
|
||||
action: SIGNAL_EMIT "efl,action,press" "";
|
||||
after: "button_press_anim";
|
||||
}
|
||||
program { name: "button_press_anim";
|
||||
action: STATE_SET "pressed" 0.0;
|
||||
target: "arrow.image";
|
||||
}
|
||||
program { name: "button_unpress";
|
||||
signal: "mouse,up,1";
|
||||
source: "over";
|
||||
script {
|
||||
if (get_int(mouse_down) == 1) {
|
||||
set_int(mouse_down, 0);
|
||||
run_program(PROGRAM:"button_unpress2");
|
||||
run_program(PROGRAM:"button_unpress_anim");
|
||||
}
|
||||
}
|
||||
}
|
||||
program { name: "button_unpress2";
|
||||
action: SIGNAL_EMIT "efl,action,unpress" "";
|
||||
}
|
||||
program { name: "button_unpress_anim";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "arrow.image";
|
||||
}
|
||||
program { name: "button_click";
|
||||
signal: "mouse,clicked,1";
|
||||
source: "over";
|
||||
script {
|
||||
if (get_int(multi_down) == 0) {
|
||||
run_program(PROGRAM:"button_click2");
|
||||
}
|
||||
}
|
||||
}
|
||||
program { name: "action_unpressed";
|
||||
signal: "efl,action,unpressed";
|
||||
source: "efl";
|
||||
after: "button_unpress_anim";
|
||||
}
|
||||
program { name: "action_pressed";
|
||||
signal: "efl,action,pressed";
|
||||
source: "efl";
|
||||
after: "button_press_anim";
|
||||
}
|
||||
program { name: "button_click2";
|
||||
action: SIGNAL_EMIT "efl,action,click" "";
|
||||
}
|
||||
program { name: "access_pressed";
|
||||
signal: "efl,action,anim,activate";
|
||||
source: "efl";
|
||||
action: STATE_SET "pressed" 0.0;
|
||||
target: "arrow.image";
|
||||
after: "access_pressed_anim";
|
||||
}
|
||||
program { name: "access_pressed_anim";
|
||||
action: STATE_SET "default" 0.0;
|
||||
transition: DECELERATE 0.1;
|
||||
target: "arrow.image";
|
||||
}
|
||||
program { name: "disable";
|
||||
signal: "efl,state,disabled";
|
||||
source: "efl";
|
||||
action: STATE_SET "disabled" 0.0;
|
||||
target: "arrow.image";
|
||||
target: "disabler";
|
||||
}
|
||||
program { name: "enable";
|
||||
signal: "efl,state,enabled";
|
||||
source: "efl";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "arrow.image";
|
||||
target: "disabler";
|
||||
}
|
||||
program {
|
||||
name: "multi_down";
|
||||
signal: "efl,action,multi,down";
|
||||
source: "efl";
|
||||
script {
|
||||
set_int(multi_down, 1);
|
||||
}
|
||||
}
|
||||
program {
|
||||
name: "multi_up";
|
||||
signal: "efl,action,multi,up";
|
||||
source: "efl";
|
||||
script {
|
||||
set_int(multi_down, 0);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
group { "efl/calendar/inc_button";
|
||||
inherit: "elm/button/base/calendar/increase/default";
|
||||
}
|
||||
|
||||
group { "efl/calendar/dec_button";
|
||||
inherit: "elm/button/base/calendar/decrease/default";
|
||||
}
|
||||
group { name: "efl/calendar/dec_button";
|
||||
inherit: "efl/calendar/inc_button";
|
||||
images.image: "sym_left_light_normal.png" COMP;
|
||||
images.image: "sym_left_glow_normal.png" COMP;
|
||||
images.image: "sym_left_dark_normal.png" COMP;
|
||||
parts {
|
||||
part { name: "arrow.image";
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
min: 15 15;
|
||||
max: 15 15;
|
||||
image.normal: "sym_left_light_normal.png";
|
||||
}
|
||||
description { state: "pressed" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
image.normal: "sym_left_glow_normal.png";
|
||||
}
|
||||
description { state: "disabled" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
image.normal: "sym_left_dark_normal.png";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,7 +1,937 @@
|
|||
group { "efl/check";
|
||||
inherit: "elm/check/base/default";
|
||||
images.image: "inset_shadow_tiny.png" COMP;
|
||||
images.image: "bevel_in.png" COMP;
|
||||
images.image: "sym_check_alum.png" COMP;
|
||||
#define ICON 1
|
||||
#define LABEL 2
|
||||
#define MASK 3
|
||||
#define DISABLE 4
|
||||
script {
|
||||
public btmode;
|
||||
public eval_mode(m) {
|
||||
new m1 = m & MASK;
|
||||
new d = m & DISABLE;
|
||||
if (m1 == (ICON | LABEL)) {
|
||||
if (!d) {
|
||||
set_state(PART:"efl.content", "visible", 0.0);
|
||||
set_state(PART:"sizer_content", "visible", 0.0);
|
||||
set_state(PART:"efl.text", "visible", 0.0);
|
||||
set_state(PART:"shadow", "default", 0.0);
|
||||
set_state(PART:"base", "default", 0.0);
|
||||
set_state(PART:"clip", "default", 0.0);
|
||||
set_state(PART:"event", "default", 0.0);
|
||||
} else {
|
||||
set_state(PART:"efl.content", "visible", 0.0);
|
||||
set_state(PART:"sizer_content", "visible", 0.0);
|
||||
set_state(PART:"efl.text", "disabled_visible", 0.0);
|
||||
set_state(PART:"shadow", "disabled", 0.0);
|
||||
set_state(PART:"base", "disabled", 0.0);
|
||||
set_state(PART:"clip", "disabled", 0.0);
|
||||
set_state(PART:"event", "disabled", 0.0);
|
||||
}
|
||||
} else if (m1 == (ICON)) {
|
||||
if (!d) {
|
||||
set_state(PART:"efl.content", "visible", 0.0);
|
||||
set_state(PART:"sizer_content", "icononly", 0.0);
|
||||
set_state(PART:"efl.text", "default", 0.0);
|
||||
set_state(PART:"shadow", "default", 0.0);
|
||||
set_state(PART:"base", "default", 0.0);
|
||||
set_state(PART:"clip", "default", 0.0);
|
||||
set_state(PART:"event", "default", 0.0);
|
||||
} else {
|
||||
set_state(PART:"efl.content", "visible", 0.0);
|
||||
set_state(PART:"sizer_content", "icononly", 0.0);
|
||||
set_state(PART:"efl.text", "disabled", 0.0);
|
||||
set_state(PART:"shadow", "disabled", 0.0);
|
||||
set_state(PART:"base", "disabled", 0.0);
|
||||
set_state(PART:"clip", "disabled", 0.0);
|
||||
set_state(PART:"event", "disabled", 0.0);
|
||||
}
|
||||
} else if (m1 == (LABEL)) {
|
||||
if (!d) {
|
||||
set_state(PART:"efl.content", "default", 0.0);
|
||||
set_state(PART:"sizer_content", "default", 0.0);
|
||||
set_state(PART:"efl.text", "visible", 0.0);
|
||||
set_state(PART:"shadow", "default", 0.0);
|
||||
set_state(PART:"base", "default", 0.0);
|
||||
set_state(PART:"clip", "default", 0.0);
|
||||
set_state(PART:"event", "default", 0.0);
|
||||
} else {
|
||||
set_state(PART:"efl.content", "default", 0.0);
|
||||
set_state(PART:"sizer_content", "default", 0.0);
|
||||
set_state(PART:"efl.text", "disabled_visible", 0.0);
|
||||
set_state(PART:"shadow", "disabled", 0.0);
|
||||
set_state(PART:"base", "disabled", 0.0);
|
||||
set_state(PART:"clip", "disabled", 0.0);
|
||||
set_state(PART:"event", "disabled", 0.0);
|
||||
}
|
||||
} else {
|
||||
if (!d) {
|
||||
set_state(PART:"efl.content", "default", 0.0);
|
||||
set_state(PART:"sizer_content", "default", 0.0);
|
||||
set_state(PART:"efl.text", "default", 0.0);
|
||||
set_state(PART:"shadow", "default", 0.0);
|
||||
set_state(PART:"base", "default", 0.0);
|
||||
set_state(PART:"clip", "default", 0.0);
|
||||
set_state(PART:"event", "default", 0.0);
|
||||
} else {
|
||||
set_state(PART:"efl.content", "default", 0.0);
|
||||
set_state(PART:"sizer_content", "default", 0.0);
|
||||
set_state(PART:"efl.text", "default", 0.0);
|
||||
set_state(PART:"shadow", "disabled", 0.0);
|
||||
set_state(PART:"base", "disabled", 0.0);
|
||||
set_state(PART:"clip", "disabled", 0.0);
|
||||
set_state(PART:"event", "disabled", 0.0);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
parts {
|
||||
part { name: "base"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
rel1.offset: 1 1;
|
||||
rel1.to: "inset";
|
||||
rel2.offset: -2 -2;
|
||||
rel2.to: "inset";
|
||||
color: 24 24 24 255;
|
||||
}
|
||||
description { state: "disabled" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: 64 64 64 255;
|
||||
}
|
||||
}
|
||||
part { name: "shadow"; mouse_events: 0;
|
||||
description { state: "default" 0.0;
|
||||
image.normal: "inset_shadow_tiny.png";
|
||||
image.border: 4 4 4 4;
|
||||
rel1.to: "base";
|
||||
rel2.to: "base";
|
||||
}
|
||||
description { state: "disabled" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
visible: 0;
|
||||
}
|
||||
}
|
||||
part { name: "inset"; mouse_events: 0;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
fixed: 1 0;
|
||||
rel1.offset: 2 2;
|
||||
rel2.relative: 0.0 1.0;
|
||||
rel2.offset: 2 -3;
|
||||
align: 0.0 0.5;
|
||||
min: 13 13;
|
||||
max: 13 13;
|
||||
image.normal: "bevel_in.png";
|
||||
image.border: 1 1 1 1;
|
||||
image.middle: 0;
|
||||
fill.smooth: 0;
|
||||
}
|
||||
}
|
||||
part { name: "indicator"; mouse_events: 0;
|
||||
scale: 1;
|
||||
clip_to: "clip";
|
||||
description { state: "default" 0.0;
|
||||
fixed: 1 1;
|
||||
rel1.to: "base";
|
||||
rel2.to: "base";
|
||||
image.normal: "sym_check_alum.png";
|
||||
min: 11 11;
|
||||
max: 11 11;
|
||||
visible: 0;
|
||||
}
|
||||
description { state: "selected" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
visible: 1;
|
||||
}
|
||||
}
|
||||
part { name: "clip"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
}
|
||||
description { state: "disabled" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: 255 255 255 64;
|
||||
}
|
||||
}
|
||||
part { name: "efl.content"; type: SWALLOW;
|
||||
scale: 1;
|
||||
clip_to: "clip";
|
||||
required;
|
||||
description { state: "default" 0.0;
|
||||
fixed: 1 0;
|
||||
visible: 0;
|
||||
align: 0.0 0.5;
|
||||
max: 0 0;
|
||||
rel1.to_x: "inset";
|
||||
rel1.relative: 1.0 0.0;
|
||||
rel1.offset: 1 1;
|
||||
rel2.to_x: "inset";
|
||||
rel2.offset: 1 -2;
|
||||
rel2.relative: 1.0 1.0;
|
||||
}
|
||||
description { state: "visible" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
visible: 1;
|
||||
aspect: 1.0 1.0;
|
||||
min: 16 16;
|
||||
}
|
||||
}
|
||||
part { name: "sizer_content"; type: TEXT; mouse_events: 0;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
fixed: 1 1;
|
||||
visible: 0;
|
||||
text { font: FN; size: 10;
|
||||
min: 0 0;
|
||||
text_class: "check_text";
|
||||
}
|
||||
}
|
||||
description { state: "visible" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
rel1.to: "efl.content";
|
||||
rel2.to: "efl.content";
|
||||
text {
|
||||
min: 1 1;
|
||||
ellipsis: -1;
|
||||
text: "M";
|
||||
}
|
||||
}
|
||||
description { state: "icononly" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
rel1.to: "efl.content";
|
||||
rel2.to: "efl.content";
|
||||
text {
|
||||
min: 1 1;
|
||||
ellipsis: -1;
|
||||
text: "M";
|
||||
}
|
||||
}
|
||||
}
|
||||
part { name: "efl.text"; type: TEXT; mouse_events: 0;
|
||||
effect: SHADOW BOTTOM;
|
||||
scale: 1;
|
||||
required;
|
||||
description { state: "default" 0.0;
|
||||
rel1.offset: 2 2;
|
||||
rel1.to_x: "efl.content";
|
||||
rel1.relative: 1.0 0.0;
|
||||
rel2.offset: -3 -3;
|
||||
color: FN_COL_DEFAULT;
|
||||
color_class: "check_text";
|
||||
text { font: FN; size: 10;
|
||||
min: 0 0;
|
||||
align: 0.0 0.5;
|
||||
text_class: "check";
|
||||
}
|
||||
}
|
||||
description { state: "disabled" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color_class: "check_text_disabled";
|
||||
color3: 255 255 255 255;
|
||||
}
|
||||
description { state: "visible" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
visible: 1;
|
||||
text.min: 1 1;
|
||||
text.ellipsis: -1;
|
||||
}
|
||||
description { state: "disabled_visible" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color_class: "check_text_disabled";
|
||||
color3: 255 255 255 255;
|
||||
visible: 1;
|
||||
text.min: 1 1;
|
||||
text.ellipsis: -1;
|
||||
}
|
||||
}
|
||||
part { name: "event"; type: RECT;
|
||||
ignore_flags: ON_HOLD;
|
||||
description { state: "default" 0.0;
|
||||
color: 0 0 0 0;
|
||||
}
|
||||
description { state: "disabled" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
visible: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
programs {
|
||||
program {
|
||||
signal: "mouse,clicked,1"; source: "event";
|
||||
action: SIGNAL_EMIT "efl,action,check,toggle" "efl";
|
||||
}
|
||||
program {
|
||||
signal: "efl,state,check,on"; source: "efl";
|
||||
action: STATE_SET "selected" 0.0;
|
||||
target: "indicator";
|
||||
}
|
||||
program {
|
||||
signal: "efl,state,check,off"; source: "efl";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "indicator";
|
||||
}
|
||||
program {
|
||||
signal: "efl,state,text,set"; source: "efl";
|
||||
script {
|
||||
new m = get_int(btmode);
|
||||
m |= LABEL; set_int(btmode, m);
|
||||
eval_mode(m);
|
||||
}
|
||||
}
|
||||
program {
|
||||
signal: "efl,state,text,unset"; source: "efl";
|
||||
script {
|
||||
new m = get_int(btmode);
|
||||
m &= ~LABEL; set_int(btmode, m);
|
||||
eval_mode(m);
|
||||
}
|
||||
}
|
||||
program {
|
||||
signal: "efl,state,content,set"; source: "efl";
|
||||
script {
|
||||
new m = get_int(btmode);
|
||||
m |= ICON; set_int(btmode, m);
|
||||
eval_mode(m);
|
||||
}
|
||||
}
|
||||
program {
|
||||
signal: "efl,state,content,unset"; source: "efl";
|
||||
script {
|
||||
new m = get_int(btmode);
|
||||
m &= ~ICON; set_int(btmode, m);
|
||||
eval_mode(m);
|
||||
}
|
||||
}
|
||||
program {
|
||||
signal: "efl,state,disabled"; source: "efl";
|
||||
script {
|
||||
new m = get_int(btmode);
|
||||
m |= DISABLE; set_int(btmode, m);
|
||||
eval_mode(m);
|
||||
}
|
||||
}
|
||||
program {
|
||||
signal: "efl,state,enabled"; source: "efl";
|
||||
script {
|
||||
new m = get_int(btmode);
|
||||
m &= ~DISABLE; set_int(btmode, m);
|
||||
eval_mode(m);
|
||||
}
|
||||
}
|
||||
}
|
||||
#undef ICON
|
||||
#undef LABEL
|
||||
#undef MASK
|
||||
#undef DISABLE
|
||||
}
|
||||
|
||||
group { "efl/check:toggle";
|
||||
inherit: "elm/check/base/toggle";
|
||||
images.image: "inset_shadow_tiny.png" COMP;
|
||||
images.image: "bevel_in.png" COMP;
|
||||
images.image: "bevel_out.png" COMP;
|
||||
images.image: "vgrad_med_lighter.png" COMP;
|
||||
images.image: "shadow_square_tiny.png" COMP;
|
||||
images.image: "glow_small.png" COMP;
|
||||
|
||||
#define ICON 1
|
||||
#define LABEL 2
|
||||
#define MASK 3
|
||||
#define DISABLE 4
|
||||
script {
|
||||
public is_rtl;
|
||||
public is_drag;
|
||||
public was_drag;
|
||||
public btmode;
|
||||
public eval_mode(m) {
|
||||
new m1 = m & MASK;
|
||||
new d = m & DISABLE;
|
||||
if (m1 == (ICON | LABEL)) {
|
||||
if (!d) {
|
||||
set_state(PART:"efl.content", "visible", 0.0);
|
||||
set_state(PART:"sizer_content", "visible", 0.0);
|
||||
set_state(PART:"efl.text", "visible", 0.0);
|
||||
set_state(PART:"shadow", "default", 0.0);
|
||||
set_state(PART:"clip", "default", 0.0);
|
||||
set_state(PART:"event", "default", 0.0);
|
||||
set_state(PART:"event2", "default", 0.0);
|
||||
set_state(PART:"efl.ontext", "default", 0.0);
|
||||
set_state(PART:"efl.offtext", "default", 0.0);
|
||||
set_state(PART:"onrect", "default", 0.0);
|
||||
set_state(PART:"offrect", "default", 0.0);
|
||||
} else {
|
||||
set_state(PART:"efl.content", "visible", 0.0);
|
||||
set_state(PART:"sizer_content", "visible", 0.0);
|
||||
set_state(PART:"efl.text", "disabled_visible", 0.0);
|
||||
set_state(PART:"shadow", "disabled", 0.0);
|
||||
set_state(PART:"clip", "disabled", 0.0);
|
||||
set_state(PART:"event", "disabled", 0.0);
|
||||
set_state(PART:"event2", "disabled", 0.0);
|
||||
set_state(PART:"efl.ontext", "disabled", 0.0);
|
||||
set_state(PART:"efl.offtext", "disabled", 0.0);
|
||||
set_state(PART:"onrect", "disabled", 0.0);
|
||||
set_state(PART:"offrect", "disabled", 0.0);
|
||||
}
|
||||
} else if (m1 == (ICON)) {
|
||||
if (!d) {
|
||||
set_state(PART:"efl.content", "visible", 0.0);
|
||||
set_state(PART:"sizer_content", "icononly", 0.0);
|
||||
set_state(PART:"efl.text", "default", 0.0);
|
||||
set_state(PART:"shadow", "default", 0.0);
|
||||
set_state(PART:"clip", "default", 0.0);
|
||||
set_state(PART:"event", "default", 0.0);
|
||||
set_state(PART:"event2", "default", 0.0);
|
||||
set_state(PART:"efl.ontext", "default", 0.0);
|
||||
set_state(PART:"efl.offtext", "default", 0.0);
|
||||
set_state(PART:"onrect", "default", 0.0);
|
||||
set_state(PART:"offrect", "default", 0.0);
|
||||
} else {
|
||||
set_state(PART:"efl.content", "visible", 0.0);
|
||||
set_state(PART:"sizer_content", "icononly", 0.0);
|
||||
set_state(PART:"efl.text", "disabled", 0.0);
|
||||
set_state(PART:"shadow", "disabled", 0.0);
|
||||
set_state(PART:"clip", "disabled", 0.0);
|
||||
set_state(PART:"event", "disabled", 0.0);
|
||||
set_state(PART:"event2", "disabled", 0.0);
|
||||
set_state(PART:"efl.ontext", "disabled", 0.0);
|
||||
set_state(PART:"efl.offtext", "disabled", 0.0);
|
||||
set_state(PART:"onrect", "disabled", 0.0);
|
||||
set_state(PART:"offrect", "disabled", 0.0);
|
||||
}
|
||||
} else if (m1 == (LABEL)) {
|
||||
if (!d) {
|
||||
set_state(PART:"efl.content", "default", 0.0);
|
||||
set_state(PART:"sizer_content", "default", 0.0);
|
||||
set_state(PART:"efl.text", "visible", 0.0);
|
||||
set_state(PART:"shadow", "default", 0.0);
|
||||
set_state(PART:"clip", "default", 0.0);
|
||||
set_state(PART:"event", "default", 0.0);
|
||||
set_state(PART:"event2", "default", 0.0);
|
||||
set_state(PART:"efl.ontext", "default", 0.0);
|
||||
set_state(PART:"efl.offtext", "default", 0.0);
|
||||
set_state(PART:"onrect", "default", 0.0);
|
||||
set_state(PART:"offrect", "default", 0.0);
|
||||
} else {
|
||||
set_state(PART:"efl.content", "default", 0.0);
|
||||
set_state(PART:"sizer_content", "default", 0.0);
|
||||
set_state(PART:"efl.text", "disabled_visible", 0.0);
|
||||
set_state(PART:"shadow", "disabled", 0.0);
|
||||
set_state(PART:"clip", "disabled", 0.0);
|
||||
set_state(PART:"event", "disabled", 0.0);
|
||||
set_state(PART:"event2", "disabled", 0.0);
|
||||
set_state(PART:"efl.ontext", "disabled", 0.0);
|
||||
set_state(PART:"efl.offtext", "disabled", 0.0);
|
||||
set_state(PART:"onrect", "disabled", 0.0);
|
||||
set_state(PART:"offrect", "disabled", 0.0);
|
||||
}
|
||||
} else {
|
||||
if (!d) {
|
||||
set_state(PART:"efl.content", "default", 0.0);
|
||||
set_state(PART:"sizer_content", "default", 0.0);
|
||||
set_state(PART:"efl.text", "default", 0.0);
|
||||
set_state(PART:"shadow", "default", 0.0);
|
||||
set_state(PART:"clip", "default", 0.0);
|
||||
set_state(PART:"event", "default", 0.0);
|
||||
set_state(PART:"event2", "default", 0.0);
|
||||
set_state(PART:"efl.ontext", "default", 0.0);
|
||||
set_state(PART:"efl.offtext", "default", 0.0);
|
||||
set_state(PART:"onrect", "default", 0.0);
|
||||
set_state(PART:"offrect", "default", 0.0);
|
||||
} else {
|
||||
set_state(PART:"efl.content", "default", 0.0);
|
||||
set_state(PART:"sizer_content", "default", 0.0);
|
||||
set_state(PART:"efl.text", "default", 0.0);
|
||||
set_state(PART:"shadow", "disabled", 0.0);
|
||||
set_state(PART:"clip", "disabled", 0.0);
|
||||
set_state(PART:"event", "disabled", 0.0);
|
||||
set_state(PART:"event2", "disabled", 0.0);
|
||||
set_state(PART:"efl.ontext", "disabled", 0.0);
|
||||
set_state(PART:"efl.offtext", "disabled", 0.0);
|
||||
set_state(PART:"onrect", "disabled", 0.0);
|
||||
set_state(PART:"offrect", "disabled", 0.0);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
parts {
|
||||
part { name: "tog"; type: SPACER;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
fixed: 1 0;
|
||||
rel1.relative: 1.0 0.0;
|
||||
rel1.offset: 2 2;
|
||||
rel2.offset: -3 -3;
|
||||
align: 1.0 0.5;
|
||||
min: 88 15;
|
||||
max: 88 15;
|
||||
}
|
||||
}
|
||||
part { name: "onrect"; type: RECT; mouse_events: 0;
|
||||
scale: 1;
|
||||
clip_to: "tog_clip";
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "button";
|
||||
rel1.relative: -5.0 0.0;
|
||||
rel2.to: "button";
|
||||
rel2.relative: 0.5 1.0;
|
||||
color: 24 24 24 255;
|
||||
}
|
||||
description { state: "disabled" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: 64 64 64 255;
|
||||
}
|
||||
}
|
||||
part { name: "offrect"; type: RECT; mouse_events: 0;
|
||||
scale: 1;
|
||||
clip_to: "tog_clip";
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "button";
|
||||
rel1.relative: 0.5 0.0;
|
||||
rel2.to: "button";
|
||||
rel2.relative: 6.0 1.0;
|
||||
color: 24 24 24 255;
|
||||
}
|
||||
description { state: "disabled" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: 64 64 64 255;
|
||||
}
|
||||
}
|
||||
part { name: "efl.offtext"; type: TEXT; mouse_events: 0;
|
||||
effect: SHADOW BOTTOM;
|
||||
scale: 1;
|
||||
clip_to: "tog_clip";
|
||||
description { state: "default" 0.0;
|
||||
fixed: 1 1;
|
||||
rel1.to: "button";
|
||||
rel1.relative: 1.0 0.0;
|
||||
rel2.to: "offrect";
|
||||
color: FN_COL_DEFAULT;
|
||||
color_class: "check_off_text";
|
||||
text { font: FN; size: 10;
|
||||
min: 0 1;
|
||||
align: 0.5 0.5;
|
||||
text_class: "check_off_text";
|
||||
text: "OFF";
|
||||
}
|
||||
}
|
||||
description { state: "disabled" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color_class: "check_off_text_disabled";
|
||||
color3: 255 255 255 255;
|
||||
}
|
||||
}
|
||||
part { name: "efl.ontext"; type: TEXT; mouse_events: 0;
|
||||
effect: GLOW;
|
||||
scale: 1;
|
||||
clip_to: "tog_clip";
|
||||
description { state: "default" 0.0;
|
||||
fixed: 1 1;
|
||||
rel1.to: "onrect";
|
||||
rel1.offset: 2 -1;
|
||||
rel2.to: "button";
|
||||
rel2.relative: 0.0 1.0;
|
||||
rel2.offset: -1 -2;
|
||||
color_class: "check_on_text";
|
||||
color2: 255 255 255 255;
|
||||
color3: 255 255 255 255;
|
||||
text { font: FN; size: 10;
|
||||
min: 0 1;
|
||||
align: 0.5 0.5;
|
||||
text_class: "check_on_text";
|
||||
text: "ON";
|
||||
}
|
||||
}
|
||||
description { state: "disabled" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color_class: "check_on_text_disabled";
|
||||
color3: 255 255 255 255;
|
||||
}
|
||||
}
|
||||
part { name: "shadow"; mouse_events: 0;
|
||||
description { state: "default" 0.0;
|
||||
image.normal: "inset_shadow_tiny.png";
|
||||
image.border: 4 4 4 4;
|
||||
rel1.to: "tog";
|
||||
rel2.to: "tog";
|
||||
}
|
||||
description { state: "disabled" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
visible: 0;
|
||||
}
|
||||
}
|
||||
part { name: "inset"; mouse_events: 0;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
fixed: 1 1;
|
||||
rel1.to: "tog";
|
||||
rel1.offset: -1 -1;
|
||||
rel2.to: "tog";
|
||||
rel2.offset: 0 0;
|
||||
image.normal: "bevel_in.png";
|
||||
image.border: 1 1 1 1;
|
||||
image.middle: 0;
|
||||
fill.smooth: 0;
|
||||
}
|
||||
}
|
||||
part { name: "tog_clip"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "tog";
|
||||
rel2.to: "tog";
|
||||
}
|
||||
}
|
||||
part { name: "button"; type: RECT;
|
||||
scale: 1;
|
||||
clip_to: "tog_clip";
|
||||
dragable {
|
||||
x: 1 1 0;
|
||||
y: 0 0 0;
|
||||
confine: "tog";
|
||||
}
|
||||
description { state: "default" 0.0;
|
||||
fixed: 1 1;
|
||||
rel1.to: "tog";
|
||||
rel2.to: "tog";
|
||||
min: 15 15;
|
||||
max: 15 99999;
|
||||
color: 0 0 0 0;
|
||||
}
|
||||
}
|
||||
part { name: "shadow_but"; mouse_events: 0;
|
||||
description { state: "default" 0.0;
|
||||
rel1.offset: -3 -2;
|
||||
rel1.to: "base_but";
|
||||
rel2.offset: 2 4;
|
||||
rel2.to: "base_but";
|
||||
image.normal: "shadow_square_tiny.png";
|
||||
image.border: 6 6 6 6;
|
||||
fill.smooth: 0;
|
||||
}
|
||||
description { state: "clicked" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
rel1.offset: -2 -2;
|
||||
rel2.offset: 1 1;
|
||||
color: 255 255 255 128;
|
||||
}
|
||||
}
|
||||
part { name: "glow_but"; mouse_events: 0;
|
||||
description { state: "default" 0.0;
|
||||
rel1.offset: -3 -3;
|
||||
rel1.to: "base_but";
|
||||
rel2.offset: 2 2;
|
||||
rel2.to: "base_but";
|
||||
image.normal: "glow_small.png";
|
||||
image.border: 7 7 7 7;
|
||||
fill.smooth: 0;
|
||||
visible: 0;
|
||||
}
|
||||
description { state: "clicked" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
visible: 1;
|
||||
}
|
||||
}
|
||||
part { name: "base_but"; mouse_events: 0;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "button";
|
||||
rel2.to: "button";
|
||||
image.normal: "vgrad_med_lighter.png";
|
||||
fill.smooth: 0;
|
||||
TILED_HORIZ(120)
|
||||
}
|
||||
}
|
||||
part { name: "bevel_but"; mouse_events: 0;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "base_but";
|
||||
rel2.to: "base_but";
|
||||
image.normal: "bevel_out.png";
|
||||
image.border: 1 1 1 1;
|
||||
image.middle: 0;
|
||||
fill.smooth: 0;
|
||||
}
|
||||
}
|
||||
part { name: "button_events"; type: RECT;
|
||||
dragable.events: "button";
|
||||
description { state: "default" 0.0;
|
||||
color: 0 0 0 0;
|
||||
}
|
||||
}
|
||||
part { name: "clip"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
}
|
||||
description { state: "disabled" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: 255 255 255 64;
|
||||
}
|
||||
}
|
||||
part { name: "efl.content"; type: SWALLOW;
|
||||
scale: 1;
|
||||
clip_to: "clip";
|
||||
description { state: "default" 0.0;
|
||||
fixed: 1 0;
|
||||
visible: 0;
|
||||
align: 0.0 0.5;
|
||||
max: 0 0;
|
||||
rel1.offset: 1 1;
|
||||
rel2.offset: 1 -2;
|
||||
rel2.relative: 0.0 1.0;
|
||||
}
|
||||
description { state: "visible" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
fixed: 0 0;
|
||||
visible: 1;
|
||||
min: 16 16;
|
||||
}
|
||||
}
|
||||
part { name: "sizer_content"; type: TEXT; mouse_events: 0;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
fixed: 1 1;
|
||||
visible: 0;
|
||||
text { font: FN; size: 10;
|
||||
min: 0 0;
|
||||
text_class: "check_text";
|
||||
}
|
||||
}
|
||||
description { state: "visible" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
rel1.to: "efl.content";
|
||||
rel2.to: "efl.content";
|
||||
text {
|
||||
min: 1 1;
|
||||
ellipsis: -1;
|
||||
text: "M";
|
||||
}
|
||||
}
|
||||
description { state: "icononly" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
rel1.to: "efl.content";
|
||||
rel2.to: "efl.content";
|
||||
text {
|
||||
min: 1 1;
|
||||
ellipsis: -1;
|
||||
text: "M";
|
||||
}
|
||||
}
|
||||
}
|
||||
part { name: "efl.text"; type: TEXT; mouse_events: 0;
|
||||
effect: SHADOW BOTTOM;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to_x: "efl.content";
|
||||
rel1.relative: 1.0 0.0;
|
||||
rel1.offset: 2 2;
|
||||
rel2.to_x: "tog";
|
||||
rel2.relative: 0.0 1.0;
|
||||
rel2.offset: -5 -3;
|
||||
color: FN_COL_DEFAULT;
|
||||
color_class: "check_text";
|
||||
text { font: FN; size: 10;
|
||||
min: 0 0;
|
||||
align: 0.0 0.5;
|
||||
text_class: "check";
|
||||
}
|
||||
}
|
||||
description { state: "disabled" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color_class: "check_text_disabled";
|
||||
color3: 255 255 255 255;
|
||||
}
|
||||
description { state: "visible" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
visible: 1;
|
||||
text.min: 1 1;
|
||||
text.ellipsis: -1;
|
||||
}
|
||||
description { state: "disabled_visible" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color_class: "check_text_disabled";
|
||||
color3: 255 255 255 255;
|
||||
visible: 1;
|
||||
text.min: 1 1;
|
||||
text.ellipsis: -1;
|
||||
}
|
||||
}
|
||||
part { name: "event"; type: RECT;
|
||||
ignore_flags: ON_HOLD;
|
||||
description { state: "default" 0.0;
|
||||
color: 0 0 0 0;
|
||||
rel1.to_x: "efl.content";
|
||||
rel2.to_x: "efl.text";
|
||||
}
|
||||
description { state: "disabled" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
visible: 0;
|
||||
}
|
||||
}
|
||||
part { name: "event2"; type: RECT;
|
||||
ignore_flags: ON_HOLD;
|
||||
description { state: "default" 0.0;
|
||||
color: 0 0 0 0;
|
||||
visible: 0;
|
||||
}
|
||||
description { state: "disabled" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
visible: 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
programs {
|
||||
program {
|
||||
signal: "mouse,clicked,1"; source: "event";
|
||||
action: SIGNAL_EMIT "efl,action,check,toggle" "efl";
|
||||
}
|
||||
program {
|
||||
signal: "efl,state,check,on"; source: "efl";
|
||||
script {
|
||||
new Float:drag;
|
||||
if (get_int(is_rtl) == 0) {
|
||||
drag = 100.0;
|
||||
} else {
|
||||
drag = 0.0;
|
||||
}
|
||||
set_drag(PART:"button", drag, 0.0);
|
||||
}
|
||||
}
|
||||
program {
|
||||
signal: "efl,state,check,off"; source: "efl";
|
||||
script {
|
||||
new Float:drag;
|
||||
if (get_int(is_rtl) == 0) {
|
||||
drag = 0.0;
|
||||
} else {
|
||||
drag = 100.0;
|
||||
}
|
||||
set_drag(PART:"button", drag, 0.0);
|
||||
}
|
||||
}
|
||||
program {
|
||||
signal: "mouse,clicked,1"; source: "button";
|
||||
script {
|
||||
new Float:dx, Float:dy;
|
||||
get_drag(PART:"button", dx, dy);
|
||||
if (!get_int(was_drag)) {
|
||||
if (dx > 0.5) {
|
||||
set_drag(PART:"button", 0.0, 0.0);
|
||||
} else {
|
||||
set_drag(PART:"button", 1.0, 0.0);
|
||||
}
|
||||
if (((get_int(is_rtl) == 1) && (dx <= 0.5)) ||
|
||||
(get_int(is_rtl) == 0) && (dx > 0.5)) {
|
||||
emit("efl,action,check,off", "efl");
|
||||
} else {
|
||||
emit("efl,action,check,on", "efl");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
program {
|
||||
signal: "drag"; source: "button";
|
||||
script {
|
||||
set_int(is_drag, 1);
|
||||
}
|
||||
}
|
||||
program {
|
||||
signal: "mouse,down,1"; source: "button";
|
||||
script {
|
||||
set_int(was_drag, 0);
|
||||
set_int(is_drag, 0);
|
||||
}
|
||||
}
|
||||
program { name: "drag_end";
|
||||
signal: "mouse,up,1"; source: "button";
|
||||
script {
|
||||
new Float:dx, Float:dy;
|
||||
get_drag(PART:"button", dx, dy);
|
||||
if (get_int(is_drag)) {
|
||||
if (dx > 0.5) {
|
||||
set_drag(PART:"button", 1.0, 0.0);
|
||||
} else {
|
||||
set_drag(PART:"button", 0.0, 0.0);
|
||||
}
|
||||
if (((get_int(is_rtl) == 1) && (dx <= 0.5)) ||
|
||||
(get_int(is_rtl) == 0) && (dx > 0.5)) {
|
||||
emit("efl,action,check,on", "efl");
|
||||
} else {
|
||||
emit("efl,action,check,off", "efl");
|
||||
}
|
||||
set_int(was_drag, 1);
|
||||
set_int(is_drag, 0);
|
||||
}
|
||||
}
|
||||
}
|
||||
program {
|
||||
signal: "mouse,down,1"; source: "button";
|
||||
action: STATE_SET "clicked" 0.0;
|
||||
target: "shadow_but";
|
||||
target: "glow_but";
|
||||
}
|
||||
program {
|
||||
signal: "mouse,up,1"; source: "button";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "shadow_but";
|
||||
target: "glow_but";
|
||||
}
|
||||
program {
|
||||
signal: "efl,state,text,set"; source: "efl";
|
||||
script {
|
||||
new m = get_int(btmode);
|
||||
m |= LABEL; set_int(btmode, m);
|
||||
eval_mode(m);
|
||||
}
|
||||
}
|
||||
program {
|
||||
signal: "efl,state,text,unset"; source: "efl";
|
||||
script {
|
||||
new m = get_int(btmode);
|
||||
m &= ~LABEL; set_int(btmode, m);
|
||||
eval_mode(m);
|
||||
}
|
||||
}
|
||||
program {
|
||||
signal: "efl,state,content,set"; source: "efl";
|
||||
script {
|
||||
new m = get_int(btmode);
|
||||
m |= ICON; set_int(btmode, m);
|
||||
eval_mode(m);
|
||||
}
|
||||
}
|
||||
program {
|
||||
signal: "efl,state,content,unset"; source: "efl";
|
||||
script {
|
||||
new m = get_int(btmode);
|
||||
m &= ~ICON; set_int(btmode, m);
|
||||
eval_mode(m);
|
||||
}
|
||||
}
|
||||
program {
|
||||
signal: "efl,state,disabled"; source: "efl";
|
||||
script {
|
||||
new m = get_int(btmode);
|
||||
m |= DISABLE; set_int(btmode, m);
|
||||
eval_mode(m);
|
||||
}
|
||||
}
|
||||
program {
|
||||
signal: "efl,state,enabled"; source: "efl";
|
||||
script {
|
||||
new m = get_int(btmode);
|
||||
m &= ~DISABLE; set_int(btmode, m);
|
||||
eval_mode(m);
|
||||
}
|
||||
}
|
||||
program {
|
||||
signal: "edje,state,rtl"; source: "edje";
|
||||
script {
|
||||
set_int(is_rtl, 1);
|
||||
}
|
||||
}
|
||||
program {
|
||||
signal: "edje,state,ltr"; source: "edje";
|
||||
script {
|
||||
set_int(is_rtl, 0);
|
||||
}
|
||||
}
|
||||
}
|
||||
#undef ICON
|
||||
#undef LABEL
|
||||
#undef MASK
|
||||
#undef DISABLE
|
||||
}
|
||||
|
|
|
@ -78,14 +78,80 @@
|
|||
// "watch"
|
||||
// "xterm"
|
||||
|
||||
group { "efl/cursor/hand1";
|
||||
inherit: "elm/cursor/hand1/default";
|
||||
group { name: "efl/cursor/hand1";
|
||||
images.image: "pointer_hand1.png" COMP;
|
||||
parts {
|
||||
part { name: "base"; mouse_events: 0; scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
FIXED_SIZE(32, 32)
|
||||
image.normal: "pointer_hand1.png";
|
||||
}
|
||||
}
|
||||
part { name: "efl.hotspot"; type: SWALLOW;
|
||||
description { state: "default" 0.0;
|
||||
visible: 0;
|
||||
fixed: 1 1;
|
||||
rel1.relative: (26/32) (9/32);
|
||||
rel1.to: "base";
|
||||
rel2.to: "base";
|
||||
rel2.relative: (26/32) (9/32);
|
||||
rel2.offset: 0 0;
|
||||
}
|
||||
}
|
||||
/* efl.content.hotspot is the old name for the above part */
|
||||
alias: "efl.content.hotspot" "efl.hotspot";
|
||||
}
|
||||
}
|
||||
|
||||
group { "efl/cursor/blank";
|
||||
inherit: "elm/cursor/blank/default";
|
||||
group { name: "efl/cursor/blank";
|
||||
parts {
|
||||
part { name: "efl.hotspot"; type: SWALLOW;
|
||||
description { state: "default" 0.0;
|
||||
visible: 0;
|
||||
max: 1 1;
|
||||
}
|
||||
}
|
||||
/* efl.content.hotspot is the old name for the above part */
|
||||
alias: "efl.content.hotspot" "efl.hotspot";
|
||||
}
|
||||
}
|
||||
|
||||
group { "efl/cursor/xterm";
|
||||
inherit: "elm/cursor/xterm/default";
|
||||
group { name: "efl/cursor/xterm";
|
||||
images.image: "pointer_entry_bar.png" COMP;
|
||||
images.image: "led_dot_white.png" COMP;
|
||||
parts {
|
||||
part { name: "base"; mouse_events: 0; scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
min: 15 20;
|
||||
max: 15 99999;
|
||||
image.normal: "pointer_entry_bar.png";
|
||||
image.border: 0 0 10 10;
|
||||
rel1.offset: 0 2;
|
||||
rel2.offset: -1 -3;
|
||||
}
|
||||
}
|
||||
part { name: "efl.hotspot"; type: SWALLOW;
|
||||
description { state: "default" 0.0;
|
||||
visible: 0;
|
||||
fixed: 1 1;
|
||||
rel1.to: "base";
|
||||
rel2.to: "base";
|
||||
rel1.relative: 0.5 0.5;
|
||||
rel2.relative: 0.5 0.5;
|
||||
rel2.offset: 0 0;
|
||||
}
|
||||
}
|
||||
/* efl.content.hotspot is the old name for the above part */
|
||||
alias: "efl.content.hotspot" "efl.hotspot";
|
||||
part { name: "shine";
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "base";
|
||||
rel2.to: "base";
|
||||
image.normal: "led_dot_white.png";
|
||||
max: 27 27;
|
||||
aspect: 1.0 1.0;
|
||||
aspect_preference: VERTICAL;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -0,0 +1,345 @@
|
|||
group { "efl/datepicker";
|
||||
parts {
|
||||
spacer { "base";
|
||||
scale;
|
||||
desc { "default";
|
||||
min: 150 170;
|
||||
}
|
||||
}
|
||||
rect { "base_bg";
|
||||
scale;
|
||||
desc { "default";
|
||||
rel.to: "base";
|
||||
color_class: "datepicker_bg";
|
||||
}
|
||||
}
|
||||
spacer { "padding_bg_top";
|
||||
scale;
|
||||
desc { "default";
|
||||
min: 0 10;
|
||||
max: -1 10;
|
||||
fixed: 0 1;
|
||||
rel1 {
|
||||
relative: 0.0 0.0;
|
||||
to: "base_bg";
|
||||
}
|
||||
rel2 {
|
||||
relative: 1.0 0.0;
|
||||
to: "base_bg";
|
||||
}
|
||||
align: 0.5 0.0;
|
||||
}
|
||||
}
|
||||
spacer { "padding_bg_bottom";
|
||||
scale;
|
||||
desc { "default";
|
||||
min: 0 10;
|
||||
max: -1 10;
|
||||
fixed: 0 1;
|
||||
rel1 {
|
||||
relative: 0.0 1.0;
|
||||
to: "base_bg";
|
||||
}
|
||||
rel2 {
|
||||
relative: 1.0 1.0;
|
||||
to: "base_bg";
|
||||
}
|
||||
align: 0.5 1.0;
|
||||
}
|
||||
}
|
||||
spacer { "bg";
|
||||
scale;
|
||||
desc { "default";
|
||||
min: 150 150;
|
||||
max: 150 150;
|
||||
rel1 {
|
||||
relative: 0.0 1.0;
|
||||
to: "padding_bg_top";
|
||||
}
|
||||
rel2 {
|
||||
relative: 1.0 0.0;
|
||||
to: "padding_bg_bottom";
|
||||
}
|
||||
}
|
||||
}
|
||||
spacer { "padding_left";
|
||||
scale;
|
||||
desc { "default";
|
||||
min: 5 0;
|
||||
max: 5 -1;
|
||||
fixed: 1 0;
|
||||
rel1 {
|
||||
relative: 0.0 0.0;
|
||||
to: "bg";
|
||||
}
|
||||
rel2 {
|
||||
relative: 0.0 1.0;
|
||||
to: "bg";
|
||||
}
|
||||
align: 0.0 0.0;
|
||||
}
|
||||
}
|
||||
spacer { "padding_right";
|
||||
scale;
|
||||
desc { "default";
|
||||
min: 5 0;
|
||||
max: 5 -1;
|
||||
fixed: 1 0;
|
||||
rel2.to: "bg";
|
||||
rel1 {
|
||||
relative: 1.0 0.0;
|
||||
to: "bg";
|
||||
}
|
||||
rel2 {
|
||||
relative: 1.0 1.0;
|
||||
to: "bg";
|
||||
}
|
||||
align: 1.0 1.0;
|
||||
}
|
||||
}
|
||||
swallow { "efl.field0";
|
||||
mouse;
|
||||
scale;
|
||||
desc { "default";
|
||||
fixed: 1 0;
|
||||
min: 40 0;
|
||||
rel1 {
|
||||
relative: 1.0 0.0;
|
||||
to: "padding_left";
|
||||
}
|
||||
rel2.to: "padding_left";
|
||||
align: 0.0 0.5;
|
||||
}
|
||||
}
|
||||
spacer { "padding_center1";
|
||||
scale;
|
||||
desc { "default";
|
||||
fixed: 1 0;
|
||||
min: 10 0;
|
||||
max: 10 -1;
|
||||
rel1 {
|
||||
relative: 1.0 0.0;
|
||||
to: "efl.field0";
|
||||
}
|
||||
rel2.to: "efl.field0";
|
||||
align: 0.0 0.5;
|
||||
}
|
||||
}
|
||||
swallow { "efl.field1";
|
||||
mouse;
|
||||
scale;
|
||||
desc { "default";
|
||||
fixed: 1 0;
|
||||
min: 40 0;
|
||||
rel1 {
|
||||
relative: 1.0 0.0;
|
||||
to: "padding_center1";
|
||||
}
|
||||
rel2 {
|
||||
relative: 0.0 1.0;
|
||||
to_x: "padding_center2";
|
||||
to_y: "padding_center1";
|
||||
}
|
||||
}
|
||||
}
|
||||
spacer { "padding_center2";
|
||||
scale;
|
||||
desc { "default";
|
||||
fixed: 1 0;
|
||||
min: 10 0;
|
||||
max: 10 -1;
|
||||
rel1.to: "efl.field2";
|
||||
rel2 {
|
||||
relative: 0.0 1.0;
|
||||
to: "efl.field2";
|
||||
}
|
||||
align: 1.0 0.5;
|
||||
}
|
||||
}
|
||||
swallow { "efl.field2";
|
||||
mouse;
|
||||
scale;
|
||||
desc { "default";
|
||||
fixed: 1 0;
|
||||
min: 40 0;
|
||||
rel1.to: "padding_right";
|
||||
rel2 {
|
||||
relative: 0.0 1.0;
|
||||
to: "padding_right";
|
||||
}
|
||||
align: 1.0 0.5;
|
||||
}
|
||||
}
|
||||
rect { "access";
|
||||
repeat;
|
||||
desc { "default";
|
||||
fixed: 1 1;
|
||||
rel1.to: "bg";
|
||||
rel2.to: "bg";
|
||||
color: 0 0 0 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
group { "efl/datepicker/spin_button";
|
||||
parts {
|
||||
rect { "clip";
|
||||
desc { "default";
|
||||
rel.to: "efl.text_button";
|
||||
}
|
||||
}
|
||||
spacer { "base";
|
||||
scale;
|
||||
desc { "default";
|
||||
min: 40 150;
|
||||
}
|
||||
}
|
||||
rect { "bg";
|
||||
scale;
|
||||
desc { "default";
|
||||
color_class: "spinner_bg";
|
||||
}
|
||||
}
|
||||
rect { "access";
|
||||
repeat;
|
||||
desc { "default";
|
||||
fixed: 1 1;
|
||||
color: 0 0 0 0;
|
||||
rel1.to: "base";
|
||||
rel2.to: "base";
|
||||
hid;
|
||||
}
|
||||
desc { "active";
|
||||
inherit: "default";
|
||||
vis;
|
||||
}
|
||||
}
|
||||
swallow { "efl.inc_button";
|
||||
scale;
|
||||
desc { "default";
|
||||
align: 0.5 0.0;
|
||||
min: 40 40;
|
||||
max: 40 40;
|
||||
fixed: 1 1;
|
||||
}
|
||||
}
|
||||
swallow { "efl.dec_button";
|
||||
scale;
|
||||
desc { "default";
|
||||
align: 0.5 1.0;
|
||||
min: 40 40;
|
||||
max: 40 40;
|
||||
fixed: 1 1;
|
||||
}
|
||||
}
|
||||
swallow { "efl.entry";
|
||||
clip: "clip";
|
||||
desc { "default";
|
||||
fixed: 1 1;
|
||||
rel1.to: "efl.text_button";
|
||||
rel2.to: "efl.text_button";
|
||||
hid;
|
||||
}
|
||||
desc { "active";
|
||||
inherit: "default";
|
||||
vis;
|
||||
}
|
||||
}
|
||||
swallow { "efl.text_button";
|
||||
scale;
|
||||
desc { "default";
|
||||
rel.to_x: "base";
|
||||
rel1 {
|
||||
to_y: "efl.inc_button";
|
||||
relative: 0.0 1.0;
|
||||
}
|
||||
rel2 {
|
||||
to_y: "efl.dec_button";
|
||||
relative: 1.0 0.0;
|
||||
}
|
||||
min: 0 70;
|
||||
max: -1 70;
|
||||
fixed: 0 1;
|
||||
}
|
||||
desc { "inactive";
|
||||
inherit: "default";
|
||||
hid;
|
||||
}
|
||||
}
|
||||
rect { "disabler";
|
||||
norepeat;
|
||||
nomouse;
|
||||
desc { "default";
|
||||
color: 0 0 0 0;
|
||||
hid;
|
||||
}
|
||||
desc { "disabled";
|
||||
inherit: "default";
|
||||
vis;
|
||||
}
|
||||
}
|
||||
}
|
||||
programs {
|
||||
program { "entry_active";
|
||||
signal: "efl,state,entry,active";
|
||||
source: "efl";
|
||||
action: STATE_SET "active";
|
||||
target: "efl.entry";
|
||||
}
|
||||
program { "entry_inactive";
|
||||
signal: "efl,state,entry,inactive";
|
||||
source: "efl";
|
||||
action: STATE_SET "default";
|
||||
target: "efl.entry";
|
||||
}
|
||||
program { "text_button_active";
|
||||
signal: "efl,state,button,active";
|
||||
source: "efl";
|
||||
action: STATE_SET "default";
|
||||
target: "efl.text_button";
|
||||
}
|
||||
program { "text_button_inactive";
|
||||
signal: "efl,state,button,inactive";
|
||||
source: "efl";
|
||||
action: STATE_SET "inactive";
|
||||
target: "efl.text_button";
|
||||
}
|
||||
program { "access_activate";
|
||||
signal: "efl,state,access,active";
|
||||
source: "efl";
|
||||
action: STATE_SET "active";
|
||||
target: "access";
|
||||
}
|
||||
program { "access_inactivate";
|
||||
signal: "efl,state,access,inactive";
|
||||
source: "efl";
|
||||
action: STATE_SET "default";
|
||||
target: "access";
|
||||
}
|
||||
program { "disable";
|
||||
signal: "efl,state,disabled";
|
||||
source: "efl";
|
||||
action: STATE_SET "disabled";
|
||||
target: "disabler";
|
||||
}
|
||||
program { "enable";
|
||||
signal: "efl,state,enabled";
|
||||
source: "efl";
|
||||
action: STATE_SET "default";
|
||||
target: "disabler";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
group { "efl/datepicker/spin_button/text_button";
|
||||
inherit: "efl/spin_button/text_button";
|
||||
}
|
||||
|
||||
group { "efl/datepicker/spin_button/inc_button";
|
||||
inherit: "efl/spin_button/inc_button:vertical";
|
||||
}
|
||||
|
||||
group { "efl/datepicker/spin_button/dec_button";
|
||||
inherit: "efl/spin_button/dec_button:vertical";
|
||||
}
|
|
@ -1,7 +1,177 @@
|
|||
group { "efl/focus_highlight/top";
|
||||
inherit: "elm/focus_highlight/top/default";
|
||||
group { name: "efl/focus_highlight/top";
|
||||
images.image: "box_glow.png" COMP;
|
||||
images.image: "box_outline.png" COMP;
|
||||
data.item: "animate" "on";
|
||||
script {
|
||||
public s_x, s_y, s_w, s_h; /* source */
|
||||
public difx, dify, difw, difh;
|
||||
public g_anim_id;
|
||||
|
||||
public animator1(val, Float:pos) {
|
||||
new x, y, w, h, dx, dy, dw, dh, Float:p;
|
||||
p = 1.0 - ((1.0 - pos) * (1.0 - pos) * (1.0 - pos));
|
||||
dx = round(float_mul(float(get_int(difx)), p));
|
||||
x = get_int(s_x) + dx;
|
||||
dy = round(float_mul(float(get_int(dify)), p));
|
||||
y = get_int(s_y) + dy;
|
||||
dw = round(float_mul(float(get_int(difw)), p));
|
||||
w = get_int(s_w) + dw;
|
||||
dh = round(float_mul(float(get_int(difh)), p));
|
||||
h = get_int(s_h) + dh;
|
||||
update_offset(x, y, w, h);
|
||||
|
||||
if (pos >= 1.0) {
|
||||
set_int(g_anim_id, 0);
|
||||
}
|
||||
}
|
||||
|
||||
public update_offset(x, y, w, h) {
|
||||
set_state_val(PART:"base", STATE_REL1_OFFSET, x, y);
|
||||
set_state_val(PART:"base", STATE_REL2_OFFSET, x + w, y + h);
|
||||
}
|
||||
|
||||
public message(Msg_Type:type, id, ...) {
|
||||
if ((type == MSG_INT_SET) && (id == 1)) {
|
||||
new x1, y1, w1, h1, x2, y2, w2, h2;
|
||||
new anim_id;
|
||||
|
||||
anim_id = get_int(g_anim_id);
|
||||
if (anim_id != 0) {
|
||||
cancel_anim(anim_id);
|
||||
}
|
||||
|
||||
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);
|
||||
|
||||
custom_state(PART:"base", "default", 0.0);
|
||||
set_state_val(PART:"base", STATE_REL1, 0.0, 0.0);
|
||||
set_state_val(PART:"base", STATE_REL2, 0.0, 0.0);
|
||||
update_offset(x1, y1, w1, h1);
|
||||
set_state(PART:"base", "custom", 0.0);
|
||||
|
||||
anim_id = anim(0.2, "animator1", 1);
|
||||
set_int(g_anim_id, anim_id);
|
||||
}
|
||||
}
|
||||
}
|
||||
parts {
|
||||
part { name: "base"; type: SPACER;
|
||||
description { state: "default" 0.0;
|
||||
fixed: 1 1;
|
||||
}
|
||||
}
|
||||
part { name: "clip"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "glow";
|
||||
rel2.to: "glow";
|
||||
color: 255 255 255 0;
|
||||
}
|
||||
description { state: "visible" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: 255 255 255 255;
|
||||
}
|
||||
}
|
||||
part { name: "glow"; mouse_events: 0;
|
||||
clip_to: "clip";
|
||||
description { state: "default" 0.0;
|
||||
image.normal: "box_glow.png";
|
||||
image.border: 12 12 12 12;
|
||||
image.middle: 0;
|
||||
fill.smooth: 0;
|
||||
rel1.to: "base";
|
||||
rel1.offset: -7 -7;
|
||||
rel2.to: "base";
|
||||
rel2.offset: 5 5;
|
||||
}
|
||||
}
|
||||
part { name: "sel"; mouse_events: 0;
|
||||
clip_to: "clip";
|
||||
description { state: "default" 0.0;
|
||||
image.normal: "box_outline.png";
|
||||
image.border: 12 12 12 12;
|
||||
image.middle: 0;
|
||||
fill.smooth: 0;
|
||||
rel1.to: "glow";
|
||||
rel2.to: "glow";
|
||||
color: 255 255 255 0;
|
||||
}
|
||||
description { state: "hi" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: 255 255 255 255;
|
||||
}
|
||||
}
|
||||
}
|
||||
programs {
|
||||
program {
|
||||
signal: "efl,action,focus,show"; source: "efl";
|
||||
action: ACTION_STOP;
|
||||
target: "pulse";
|
||||
target: "pulse2";
|
||||
after: "go2";
|
||||
}
|
||||
program { name: "go2";
|
||||
action: STATE_SET "visible" 0.0;
|
||||
transition: DECELERATE 0.2;
|
||||
target: "clip";
|
||||
after: "pulse";
|
||||
after: "go3";
|
||||
}
|
||||
program { name: "go3";
|
||||
action: SIGNAL_EMIT "efl,action,focus,show,end" "efl";
|
||||
}
|
||||
program {
|
||||
signal: "efl,action,focus,hide"; source: "efl";
|
||||
action: STATE_SET "default" 0.0;
|
||||
transition: DECELERATE 0.4;
|
||||
target: "clip";
|
||||
after: "stop2";
|
||||
}
|
||||
program { name: "stop2";
|
||||
action: SIGNAL_EMIT "efl,action,focus,hide,end" "efl";
|
||||
after: "stop3";
|
||||
}
|
||||
program { name: "stop3";
|
||||
action: ACTION_STOP;
|
||||
target: "pulse";
|
||||
target: "pulse2";
|
||||
}
|
||||
program { name: "pulse";
|
||||
action: STATE_SET "hi" 0.0;
|
||||
transition: SINUSOIDAL 0.2;
|
||||
in: 3.0 0.0;
|
||||
target: "sel";
|
||||
after: "pulse2";
|
||||
}
|
||||
program { name: "pulse2";
|
||||
action: STATE_SET "default" 0.0;
|
||||
transition: SINUSOIDAL 0.4;
|
||||
target: "sel";
|
||||
after: "pulse";
|
||||
}
|
||||
program {
|
||||
signal: "efl,state,anim,stop"; source: "efl";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "base";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
group { "efl/focus_highlight/top:blank";
|
||||
inherit: "elm/focus_highlight/top/blank";
|
||||
group { name: "efl/focus_highlight/top:blank";
|
||||
parts {
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,3 +1,166 @@
|
|||
group { "efl/frame";
|
||||
inherit: "elm/frame/base/default";
|
||||
group { name: "efl/frame";
|
||||
images.image: "shadow_square_tiny.png" COMP;
|
||||
images.image: "vgrad_med_curved.png" COMP;
|
||||
images.image: "bevel_out.png" COMP;
|
||||
images.image: "holes_tiny_vert.png" COMP;
|
||||
parts {
|
||||
part { name: "shadow"; mouse_events: 0;
|
||||
description { state: "default" 0.0;
|
||||
rel1.offset: -1 0;
|
||||
rel2.offset: 0 1;
|
||||
image.normal: "shadow_square_tiny.png";
|
||||
image.border: 6 6 6 6;
|
||||
fill.smooth: 0;
|
||||
}
|
||||
}
|
||||
part { name: "base"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
rel1.relative: 0.0 1.0;
|
||||
rel1.offset: 2 0;
|
||||
rel1.to_y: "top";
|
||||
rel2.offset: -3 -3;
|
||||
color: 64 64 64 255;
|
||||
}
|
||||
}
|
||||
part { name: "top";
|
||||
description { state: "default" 0.0;
|
||||
image.normal: "vgrad_med_curved.png";
|
||||
rel1.offset: 2 2;
|
||||
rel2.to_y: "efl.text";
|
||||
rel2.offset: -3 -1;
|
||||
fill.smooth: 0;
|
||||
TILED_HORIZ(120)
|
||||
}
|
||||
}
|
||||
part { name: "edge1";
|
||||
description { state: "default" 0.0;
|
||||
image.normal: "holes_tiny_vert.png";
|
||||
rel1.offset: 4 0;
|
||||
rel1.to_y: "efl.text";
|
||||
rel2.offset: 4 -1;
|
||||
rel2.relative: 0.0 1.0;
|
||||
rel2.to_y: "efl.text";
|
||||
align: 0.0 0.5;
|
||||
FIXED_SIZE(3, 11)
|
||||
}
|
||||
}
|
||||
part { name: "edge2";
|
||||
description { state: "default" 0.0;
|
||||
image.normal: "holes_tiny_vert.png";
|
||||
rel1.offset: -5 0;
|
||||
rel1.to_y: "efl.text";
|
||||
rel1.relative: 1.0 0.0;
|
||||
rel2.offset: -5 -1;
|
||||
rel2.relative: 1.0 1.0;
|
||||
rel2.to_y: "efl.text";
|
||||
align: 1.0 0.5;
|
||||
FIXED_SIZE(3, 11)
|
||||
}
|
||||
}
|
||||
part { name: "efl.text"; type: TEXT;
|
||||
scale: 1;
|
||||
effect: SHADOW BOTTOM;
|
||||
description { state: "default" 0.0;
|
||||
color_class: "frame";
|
||||
rel1.relative: 1.0 0.0;
|
||||
rel1.offset: 1 2;
|
||||
rel1.to_x: "edge1";
|
||||
rel2.relative: 0.0 0.0;
|
||||
rel2.offset: -3 1;
|
||||
rel2.to_x: "edge2";
|
||||
align: 0.0 0.0;
|
||||
color: FN_COL_DISABLE;
|
||||
text { font: FNBD; size: 10;
|
||||
text_class: "frame";
|
||||
align: 0.0 0.0;
|
||||
min: 0 1;
|
||||
}
|
||||
fixed: 0 1;
|
||||
}
|
||||
}
|
||||
part { name: "clip"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
rel1.relative: 0.0 1.0;
|
||||
rel1.offset: 5 0;
|
||||
rel1.to_y: "efl.text";
|
||||
rel2.offset: -7 -7;
|
||||
}
|
||||
}
|
||||
part { name: "efl.content"; type: SWALLOW;
|
||||
clip_to: "clip";
|
||||
description { state: "default" 0.0;
|
||||
align: 0.0 1.0;
|
||||
rel1.relative: 0.0 1.0;
|
||||
rel1.offset: 5 0;
|
||||
rel1.to_y: "efl.text";
|
||||
rel2.offset: -7 -7;
|
||||
}
|
||||
description { state: "collapsed" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
minmul: 1.0 0.0;
|
||||
}
|
||||
}
|
||||
part { name: "bevel"; mouse_events: 0;
|
||||
description { state: "default" 0.0;
|
||||
rel1.offset: 2 2;
|
||||
rel2.offset: -3 -3;
|
||||
image.normal: "bevel_out.png";
|
||||
image.border: 1 1 1 1;
|
||||
image.middle: 0;
|
||||
fill.smooth: 0;
|
||||
}
|
||||
}
|
||||
part { name: "event"; type: RECT; ignore_flags: ON_HOLD;
|
||||
description { state: "default" 0.0;
|
||||
color: 0 0 0 0;
|
||||
rel1.to_y: "efl.text";
|
||||
rel2.to_y: "efl.text";
|
||||
}
|
||||
}
|
||||
}
|
||||
programs {
|
||||
program { name: "collapse";
|
||||
action: STATE_SET "collapsed" 0.0;
|
||||
target: "efl.content";
|
||||
transition: ACCELERATE 0.3;
|
||||
after: "signal";
|
||||
}
|
||||
program { name: "expand";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "efl.content";
|
||||
transition: DECELERATE 0.3;
|
||||
after: "signal";
|
||||
}
|
||||
program {
|
||||
signal: "mouse,up,1"; source: "event";
|
||||
action: SIGNAL_EMIT "efl,action,click" "efl";
|
||||
}
|
||||
program {
|
||||
signal: "efl,action,toggle"; source: "efl";
|
||||
script {
|
||||
new st[31];
|
||||
new Float:vl;
|
||||
get_state(PART:"efl.content", st, 30, vl);
|
||||
if (!strcmp(st, "default"))
|
||||
run_program(PROGRAM:"collapse");
|
||||
else
|
||||
run_program(PROGRAM:"expand");
|
||||
}
|
||||
}
|
||||
program {
|
||||
signal: "efl,action,switch"; source: "efl";
|
||||
script {
|
||||
new st[31];
|
||||
new Float:vl;
|
||||
get_state(PART:"efl.content", st, 30, vl);
|
||||
if (!strcmp(st, "default"))
|
||||
set_state(PART:"efl.content", "collapsed", 0.0);
|
||||
else
|
||||
set_state(PART:"efl.content", "default", 0.0);
|
||||
}
|
||||
}
|
||||
program { name: "signal";
|
||||
action: SIGNAL_EMIT "efl,anim,done" "efl";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,8 +1,471 @@
|
|||
group { "efl/list";
|
||||
inherit: "elm/list/base/default";
|
||||
inherit: "efl/scroller";
|
||||
}
|
||||
|
||||
group { "efl/list/item";
|
||||
inherit: "elm/list/item/default";
|
||||
group { "efl/view_list";
|
||||
inherit: "efl/list";
|
||||
}
|
||||
|
||||
group { "efl/list_item";
|
||||
data.item: "selectraise" "on";
|
||||
data.item: "focusraise" "on";
|
||||
images.image: "bevel_curved_horiz_out.png" COMP;
|
||||
images.image: "shadow_rounded_horiz.png" COMP;
|
||||
images.image: "vgrad_med_dark.png" COMP;
|
||||
images.image: "bevel_horiz_out.png" COMP;
|
||||
images.image: "shine.png" COMP;
|
||||
parts {
|
||||
rect { "event";
|
||||
desc { "default";
|
||||
color: 0 0 0 0;
|
||||
}
|
||||
desc { "disabled";
|
||||
inherit: "default";
|
||||
hid;
|
||||
}
|
||||
}
|
||||
rect { "base"; nomouse;
|
||||
desc { "default";
|
||||
color: 64 64 64 255;
|
||||
color_class: "list_item_base";
|
||||
}
|
||||
desc { "odd";
|
||||
color: 56 56 56 255;
|
||||
color_class: "list_item_base_odd";
|
||||
}
|
||||
}
|
||||
|
||||
image { "bevel"; nomouse;
|
||||
desc { "default";
|
||||
image.normal: "bevel_curved_horiz_out.png";
|
||||
image.border: 0 0 2 2;
|
||||
image.middle: 0;
|
||||
fill.smooth: 0;
|
||||
}
|
||||
}
|
||||
swallow { "efl.background";
|
||||
desc { "default";
|
||||
rel.to: "base";
|
||||
vis;
|
||||
}
|
||||
}
|
||||
image { "sel_shadow"; nomouse;
|
||||
desc { "default";
|
||||
image.normal: "shadow_rounded_horiz.png";
|
||||
image.border: 0 0 9 9;
|
||||
rel1.offset: 0 -4;
|
||||
rel2.offset: -1 5;
|
||||
fill.smooth: 0;
|
||||
hid;
|
||||
}
|
||||
desc { "selected";
|
||||
inherit: "default";
|
||||
vis;
|
||||
}
|
||||
}
|
||||
image { "sel_base"; nomouse;
|
||||
desc { "default";
|
||||
image.normal: "vgrad_med_dark.png";
|
||||
fill.smooth: 0;
|
||||
hid;
|
||||
TILED_HORIZ(120)
|
||||
}
|
||||
desc { "selected";
|
||||
inherit: "default";
|
||||
vis;
|
||||
}
|
||||
}
|
||||
image { "sel_bevel"; nomouse;
|
||||
desc { "default";
|
||||
image.normal: "bevel_horiz_out.png";
|
||||
image.border: 0 0 2 2;
|
||||
image.middle: 0;
|
||||
fill.smooth: 0;
|
||||
hid;
|
||||
}
|
||||
desc { "selected";
|
||||
inherit: "default";
|
||||
vis;
|
||||
}
|
||||
}
|
||||
|
||||
//##//
|
||||
text { "efl.text"; nomouse;
|
||||
effect: SHADOW BOTTOM;
|
||||
scale: 1;
|
||||
desc { "default";
|
||||
rel1.offset: 2 3;
|
||||
rel1.relative: 1.0 0.0;
|
||||
rel1.to_x: "efl.icon";
|
||||
rel2.offset: -3 -3;
|
||||
rel2.relative: 0.0 1.0;
|
||||
rel2.to_x: "efl.end";
|
||||
color: FN_COL_DEFAULT;
|
||||
color_class: "list_item";
|
||||
text { font: FN; size: 10;
|
||||
min: 1 1;
|
||||
ellipsis: -1;
|
||||
align: 0.0 0.5;
|
||||
text_class: "list_item";
|
||||
}
|
||||
}
|
||||
desc { "selected";
|
||||
inherit: "default";
|
||||
hid;
|
||||
}
|
||||
desc { "disabled";
|
||||
inherit: "default";
|
||||
hid;
|
||||
}
|
||||
}
|
||||
text { "label2"; nomouse;
|
||||
effect: SHADOW BOTTOM;
|
||||
scale: 1;
|
||||
desc { "default";
|
||||
rel1.to: "efl.text";
|
||||
rel2.to: "efl.text";
|
||||
color: FN_COL_DISABLE;
|
||||
color_class: "list_item_disabled";
|
||||
text { font: FN; size: 10;
|
||||
text_source: "efl.text";
|
||||
align: 0.0 0.5;
|
||||
text_class: "list_item";
|
||||
}
|
||||
hid;
|
||||
}
|
||||
desc { "selected";
|
||||
inherit: "default";
|
||||
hid;
|
||||
}
|
||||
desc { "disabled";
|
||||
inherit: "default";
|
||||
vis;
|
||||
}
|
||||
}
|
||||
text { "label3"; nomouse;
|
||||
effect: GLOW;
|
||||
scale: 1;
|
||||
desc { "default";
|
||||
rel1.offset: -2 -3;
|
||||
rel1.to: "efl.text";
|
||||
rel2.offset: 1 1;
|
||||
rel2.to: "efl.text";
|
||||
color: FN_COL_HIGHLIGHT;
|
||||
color_class: "list_item_selected";
|
||||
text { font: FN; size: 10;
|
||||
text_source: "efl.text";
|
||||
align: 0.0 0.5;
|
||||
text_class: "list_item";
|
||||
}
|
||||
hid;
|
||||
}
|
||||
desc { "selected";
|
||||
inherit: "default";
|
||||
vis;
|
||||
}
|
||||
desc { "disabled";
|
||||
inherit: "default";
|
||||
hid;
|
||||
}
|
||||
}
|
||||
//##//
|
||||
swallow { "efl.icon";
|
||||
desc { "default";
|
||||
fixed: 1 0;
|
||||
align: 0.0 0.5;
|
||||
aspect: 1.0 1.0;
|
||||
rel1.offset: 2 2;
|
||||
rel2.relative: 0.0 1.0;
|
||||
rel2.offset: 2 -3;
|
||||
}
|
||||
}
|
||||
swallow { "efl.end";
|
||||
desc { "default";
|
||||
fixed: 1 0;
|
||||
align: 1.0 0.5;
|
||||
aspect: 1.0 1.0;
|
||||
rel1.offset: -3 2;
|
||||
rel1.relative: 1.0 0.0;
|
||||
rel2.offset: -3 -3;
|
||||
}
|
||||
}
|
||||
//##//
|
||||
image { "sel_shine"; nomouse;
|
||||
desc { "default";
|
||||
image.normal: "shine.png";
|
||||
rel1.offset: 0 -2;
|
||||
rel1.to: "sel_base";
|
||||
rel2.relative: 1.0 0.0;
|
||||
rel2.offset: -1 2;
|
||||
rel2.to: "sel_base";
|
||||
hid;
|
||||
FIXED_SIZE(69, 5)
|
||||
}
|
||||
desc { "selected";
|
||||
inherit: "default";
|
||||
vis;
|
||||
}
|
||||
}
|
||||
rect { "event_block";
|
||||
desc { "default";
|
||||
color: 0 0 0 0;
|
||||
hid;
|
||||
}
|
||||
desc { "disabled";
|
||||
inherit: "default";
|
||||
vis;
|
||||
}
|
||||
}
|
||||
}
|
||||
programs {
|
||||
program {
|
||||
signal: "efl,state,odd"; source: "efl";
|
||||
action: STATE_SET "odd";
|
||||
target: "base";
|
||||
}
|
||||
program {
|
||||
signal: "efl,state,even"; source: "efl";
|
||||
action: STATE_SET "default";
|
||||
target: "base";
|
||||
}
|
||||
program {
|
||||
signal: "efl,state,pressed"; source: "efl";
|
||||
action: STATE_SET "selected";
|
||||
target: "sel_shadow";
|
||||
target: "sel_base";
|
||||
target: "sel_bevel";
|
||||
target: "efl.text";
|
||||
target: "label2";
|
||||
target: "label3";
|
||||
target: "sel_shine";
|
||||
}
|
||||
program {
|
||||
signal: "efl,state,unpressed"; source: "efl";
|
||||
action: STATE_SET "default";
|
||||
target: "sel_shadow";
|
||||
target: "sel_base";
|
||||
target: "sel_bevel";
|
||||
target: "efl.text";
|
||||
target: "label2";
|
||||
target: "label3";
|
||||
target: "sel_shine";
|
||||
}
|
||||
program {
|
||||
signal: "efl,state,selected"; source: "efl";
|
||||
action: STATE_SET "selected";
|
||||
target: "sel_shadow";
|
||||
target: "sel_base";
|
||||
target: "sel_bevel";
|
||||
target: "efl.text";
|
||||
target: "label2";
|
||||
target: "label3";
|
||||
target: "sel_shine";
|
||||
}
|
||||
program {
|
||||
signal: "efl,state,unselected"; source: "efl";
|
||||
action: STATE_SET "default";
|
||||
target: "sel_shadow";
|
||||
target: "sel_base";
|
||||
target: "sel_bevel";
|
||||
target: "efl.text";
|
||||
target: "label2";
|
||||
target: "label3";
|
||||
target: "sel_shine";
|
||||
}
|
||||
program {
|
||||
signal: "efl,state,disabled"; source: "efl";
|
||||
action: STATE_SET "disabled";
|
||||
target: "event";
|
||||
target: "efl.text";
|
||||
target: "label2";
|
||||
target: "label3";
|
||||
target: "event_block";
|
||||
}
|
||||
program {
|
||||
signal: "efl,state,enabled"; source: "efl";
|
||||
action: STATE_SET "default";
|
||||
target: "event";
|
||||
target: "efl.text";
|
||||
target: "label2";
|
||||
target: "label3";
|
||||
target: "event_block";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
group { "efl/list_item:empty";
|
||||
data.item: "selectraise" "on";
|
||||
data.item: "focusraise" "on";
|
||||
images.image: "bevel_curved_horiz_out.png" COMP;
|
||||
images.image: "shadow_rounded_horiz.png" COMP;
|
||||
images.image: "vgrad_med_dark.png" COMP;
|
||||
images.image: "bevel_horiz_out.png" COMP;
|
||||
images.image: "shine.png" COMP;
|
||||
parts {
|
||||
rect { "event";
|
||||
desc { "default";
|
||||
color: 0 0 0 0;
|
||||
}
|
||||
desc { "disabled";
|
||||
inherit: "default";
|
||||
hid;
|
||||
}
|
||||
}
|
||||
rect { "base"; nomouse;
|
||||
desc { "default";
|
||||
color: 64 64 64 255;
|
||||
color_class: "list_item_base";
|
||||
}
|
||||
desc { "odd";
|
||||
color: 56 56 56 255;
|
||||
color_class: "list_item_base_odd";
|
||||
}
|
||||
}
|
||||
|
||||
image { "bevel"; nomouse;
|
||||
desc { "default";
|
||||
image.normal: "bevel_curved_horiz_out.png";
|
||||
image.border: 0 0 2 2;
|
||||
image.middle: 0;
|
||||
fill.smooth: 0;
|
||||
}
|
||||
}
|
||||
swallow { "efl.background";
|
||||
desc { "default";
|
||||
rel.to: "base";
|
||||
vis;
|
||||
}
|
||||
}
|
||||
image { "sel_shadow"; nomouse;
|
||||
desc { "default";
|
||||
image.normal: "shadow_rounded_horiz.png";
|
||||
image.border: 0 0 9 9;
|
||||
rel1.offset: 0 -4;
|
||||
rel2.offset: -1 5;
|
||||
fill.smooth: 0;
|
||||
hid;
|
||||
}
|
||||
desc { "selected";
|
||||
inherit: "default";
|
||||
vis;
|
||||
}
|
||||
}
|
||||
image { "sel_base"; nomouse;
|
||||
desc { "default";
|
||||
image.normal: "vgrad_med_dark.png";
|
||||
fill.smooth: 0;
|
||||
hid;
|
||||
TILED_HORIZ(120)
|
||||
}
|
||||
desc { "selected";
|
||||
inherit: "default";
|
||||
vis;
|
||||
}
|
||||
}
|
||||
image { "sel_bevel"; nomouse;
|
||||
desc { "default";
|
||||
image.normal: "bevel_horiz_out.png";
|
||||
image.border: 0 0 2 2;
|
||||
image.middle: 0;
|
||||
fill.smooth: 0;
|
||||
hid;
|
||||
}
|
||||
desc { "selected";
|
||||
inherit: "default";
|
||||
vis;
|
||||
}
|
||||
}
|
||||
//##//
|
||||
swallow { "efl.content"; mouse;
|
||||
scale;
|
||||
desc { "default";
|
||||
min: 19 19;
|
||||
rel1.offset: -1 2;
|
||||
rel2.offset: -3 -3;
|
||||
}
|
||||
}
|
||||
//##//
|
||||
image { "sel_shine";
|
||||
desc { "default";
|
||||
image.normal: "shine.png";
|
||||
rel1.offset: 0 -2;
|
||||
rel1.to: "sel_base";
|
||||
rel2.relative: 1.0 0.0;
|
||||
rel2.offset: -1 2;
|
||||
rel2.to: "sel_base";
|
||||
hid;
|
||||
FIXED_SIZE(69, 5)
|
||||
}
|
||||
desc { "selected";
|
||||
inherit: "default";
|
||||
vis;
|
||||
}
|
||||
}
|
||||
rect { "event_block"; mouse;
|
||||
desc { "default";
|
||||
color: 0 0 0 0;
|
||||
hid;
|
||||
}
|
||||
desc { "disabled";
|
||||
inherit: "default";
|
||||
vis;
|
||||
}
|
||||
}
|
||||
}
|
||||
programs {
|
||||
program {
|
||||
signal: "efl,state,odd"; source: "efl";
|
||||
action: STATE_SET "odd";
|
||||
target: "base";
|
||||
}
|
||||
program {
|
||||
signal: "efl,state,even"; source: "efl";
|
||||
action: STATE_SET "default";
|
||||
target: "base";
|
||||
}
|
||||
program {
|
||||
signal: "efl,state,pressed"; source: "efl";
|
||||
action: STATE_SET "selected";
|
||||
target: "sel_shadow";
|
||||
target: "sel_base";
|
||||
target: "sel_bevel";
|
||||
target: "sel_shine";
|
||||
}
|
||||
program {
|
||||
signal: "efl,state,unpressed"; source: "efl";
|
||||
action: STATE_SET "default";
|
||||
target: "sel_shadow";
|
||||
target: "sel_base";
|
||||
target: "sel_bevel";
|
||||
target: "sel_shine";
|
||||
}
|
||||
program {
|
||||
signal: "efl,state,selected"; source: "efl";
|
||||
action: STATE_SET "selected";
|
||||
target: "sel_shadow";
|
||||
target: "sel_base";
|
||||
target: "sel_bevel";
|
||||
target: "sel_shine";
|
||||
}
|
||||
program {
|
||||
signal: "efl,state,unselected"; source: "efl";
|
||||
action: STATE_SET "default";
|
||||
target: "sel_shadow";
|
||||
target: "sel_base";
|
||||
target: "sel_bevel";
|
||||
target: "sel_shine";
|
||||
}
|
||||
program {
|
||||
signal: "efl,state,disabled"; source: "efl";
|
||||
action: STATE_SET "disabled";
|
||||
target: "event";
|
||||
target: "event_block";
|
||||
}
|
||||
program {
|
||||
signal: "efl,state,enabled"; source: "efl";
|
||||
action: STATE_SET "default";
|
||||
target: "event";
|
||||
target: "event_block";
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,114 @@
|
|||
//Efl.Ui.Navigation_Bar Themes
|
||||
group { "efl/navigation_bar";
|
||||
styles {
|
||||
style { name: "navigation_bar_text";
|
||||
base: "font="FNBD" font_size=10 text_class=label align=center color=#fff color_class=navigation_bar_text style=shadow,bottom shadow_color=#00000080 ellipsis=1.0 wrap=mixed";
|
||||
tag: "br" "\n";
|
||||
tag: "hilight" "+ font="FNBD" text_class=label_light";
|
||||
tag: "b" "+ font="FNBD" text_class=label_light";
|
||||
tag: "whitecolor" "+ color=#fff";
|
||||
tag: "tab" "\t";
|
||||
}
|
||||
}
|
||||
parts {
|
||||
spacer { "base";
|
||||
desc { "default";
|
||||
}
|
||||
}
|
||||
swallow { "efl.back_button";
|
||||
desc { "default";
|
||||
fixed: 1 0;
|
||||
min: 0 0;
|
||||
max: 0 -1;
|
||||
rel.to: "base";
|
||||
rel2.relative: 0.0 1.0;
|
||||
align: 0.0 0.5;
|
||||
hid;
|
||||
}
|
||||
desc { "visible";
|
||||
inherit: "default";
|
||||
min: 40 0;
|
||||
max: 40 -1;
|
||||
vis;
|
||||
}
|
||||
}
|
||||
swallow { "efl.left_content";
|
||||
desc { "default";
|
||||
rel.to: "base";
|
||||
rel2.relative: 0.0 1.0;
|
||||
align: 0.0 0.5;
|
||||
}
|
||||
}
|
||||
swallow { "efl.right_content";
|
||||
desc { "default";
|
||||
rel.to: "base";
|
||||
rel1.relative: 1.0 0.0;
|
||||
align: 1.0 0.5;
|
||||
}
|
||||
}
|
||||
spacer { "text_base";
|
||||
desc { "default";
|
||||
rel1 {
|
||||
to: "efl.back_button";
|
||||
relative: 1.0 0.0;
|
||||
}
|
||||
rel2 {
|
||||
to: "efl.right_content";
|
||||
relative: 0.0 1.0;
|
||||
}
|
||||
}
|
||||
desc { "left_content";
|
||||
inherit: "default";
|
||||
rel1 {
|
||||
to: "efl.left_content";
|
||||
relative: 1.0 0.0;
|
||||
}
|
||||
}
|
||||
}
|
||||
textblock { "efl.text";
|
||||
scale;
|
||||
desc { "default";
|
||||
text {
|
||||
style: "navigation_bar_text";
|
||||
}
|
||||
rel.to: "text_base";
|
||||
}
|
||||
}
|
||||
programs {
|
||||
program {
|
||||
signal: "efl,state,back_button,visible"; source: "efl";
|
||||
action: STATE_SET "visible" 0.0;
|
||||
target: "efl.back_button";
|
||||
}
|
||||
program {
|
||||
signal: "efl,state,back_button,hidden"; source: "efl";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "efl.back_button";
|
||||
}
|
||||
program {
|
||||
signal: "efl,state,left_content,set"; source: "efl";
|
||||
action: STATE_SET "left_content" 0.0;
|
||||
target: "text_base";
|
||||
}
|
||||
program {
|
||||
signal: "efl,state,left_content,unset"; source: "efl";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "text_base";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
group { name: "efl/navigation_bar/back_button";
|
||||
inherit: "efl/button";
|
||||
images.image: "icon_arrow_left.png" COMP;
|
||||
parts {
|
||||
image { name: "icon_arrow_left";
|
||||
insert_before: "efl.content";
|
||||
desc { "default";
|
||||
image.normal: "icon_arrow_left.png";
|
||||
fill.smooth: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,27 @@
|
|||
//Efl.Ui.Navigation_Layout Themes
|
||||
group { "efl/navigation_layout";
|
||||
parts {
|
||||
spacer { "base";
|
||||
desc { "default";
|
||||
}
|
||||
}
|
||||
swallow { "efl.bar";
|
||||
desc { "default";
|
||||
fixed: 0 1;
|
||||
min: 0 40;
|
||||
rel2.relative: 1.0 0.0;
|
||||
align: 0.5 0.0;
|
||||
}
|
||||
}
|
||||
swallow { "efl.content";
|
||||
desc { "default";
|
||||
rel1 {
|
||||
to_x: "base";
|
||||
to_y: "efl.bar";
|
||||
relative: 0.0 1.0;
|
||||
}
|
||||
rel2.to_x: "base";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -3,7 +3,7 @@ group { "efl/nstate";
|
|||
programs {
|
||||
program {
|
||||
signal: "mouse,clicked,1"; source: "event";
|
||||
action: SIGNAL_EMIT "elm,action,state,changed" "elm";
|
||||
action: SIGNAL_EMIT "efl,action,state,changed" "efl";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -0,0 +1,66 @@
|
|||
group { "efl/pager";
|
||||
parts {
|
||||
spacer { "base";
|
||||
scale;
|
||||
desc { "default";
|
||||
}
|
||||
}
|
||||
swallow { "efl.background";
|
||||
scale;
|
||||
desc { "default";
|
||||
}
|
||||
}
|
||||
swallow { "efl.page_root";
|
||||
scale;
|
||||
desc { "default";
|
||||
rel1.relative: 0.0 1.0;
|
||||
rel1.to: "efl.indicator";
|
||||
}
|
||||
}
|
||||
swallow { "efl.indicator";
|
||||
scale;
|
||||
desc { "default";
|
||||
rel2.relative: 1.0 0.0;
|
||||
align: 0.5 0.0;
|
||||
min: 0 50;
|
||||
}
|
||||
}
|
||||
swallow { "efl.event";
|
||||
scale;
|
||||
repeat_events: 1;
|
||||
desc { "default";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
group { "efl/pager/indicator";
|
||||
images {
|
||||
image: "ring_white_middle.png" COMP;
|
||||
}
|
||||
parts {
|
||||
spacer { "base";
|
||||
scale;
|
||||
desc { "default";
|
||||
}
|
||||
}
|
||||
image { "icon";
|
||||
scale;
|
||||
desc { "default";
|
||||
image.normal: "ring_white_middle.png";
|
||||
color: 0 0 0 255;
|
||||
min: 6 6;
|
||||
}
|
||||
desc { "selected";
|
||||
inherit: "default";
|
||||
color: 255 0 0 255;
|
||||
}
|
||||
}
|
||||
}
|
||||
script {
|
||||
public message(Msg_Type:type, id, ...) {
|
||||
set_tween_state(PART:"icon", getfarg(2),
|
||||
"default", 0.0, "selected", 0.0);
|
||||
}
|
||||
}
|
||||
}
|
File diff suppressed because it is too large
Load Diff
|
@ -1,3 +1,100 @@
|
|||
group { "efl/photocam";
|
||||
inherit: "elm/photocam/base/default";
|
||||
group { name: "efl/photocam";
|
||||
inherit: "efl/scroller";
|
||||
images.image: "knob_round_busy.png" COMP;
|
||||
images.image: "glow_round_corners.png" COMP;
|
||||
parts {
|
||||
part { name: "busy_clip"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
visible: 0;
|
||||
color: 255 255 255 0;
|
||||
}
|
||||
description { state: "active" 0.0;
|
||||
visible: 1;
|
||||
color: 255 255 255 255;
|
||||
}
|
||||
}
|
||||
part { name: "knob"; mouse_events: 0;
|
||||
clip_to: "busy_clip";
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
image.normal: "knob_round_busy.png";
|
||||
min: 40 40;
|
||||
max: 40 40;
|
||||
align: 0.0 0.0;
|
||||
rel1.offset: 3 3;
|
||||
rel2.offset: 3 3;
|
||||
fixed: 1 1;
|
||||
}
|
||||
}
|
||||
part { name: "knob_spinner"; mouse_events: 0;
|
||||
clip_to: "busy_clip";
|
||||
description { state: "default" 0.0;
|
||||
fixed: 1 1;
|
||||
rel1.to: "knob";
|
||||
rel2.to: "knob";
|
||||
image.normal: "glow_round_corners.png";
|
||||
map.on: 1;
|
||||
map.smooth: 1;
|
||||
map.rotation.center: "knob";
|
||||
}
|
||||
description { state: "spin" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
map.rotation.z: 360;
|
||||
}
|
||||
}
|
||||
}
|
||||
programs {
|
||||
program { name: "spin";
|
||||
signal: "efl,state,busy,start"; source: "efl";
|
||||
action: ACTION_STOP;
|
||||
target: "spin";
|
||||
target: "spin0";
|
||||
target: "spin1";
|
||||
target: "spin2";
|
||||
target: "spin3";
|
||||
target: "spin4";
|
||||
after: "spin0";
|
||||
}
|
||||
program { name: "spin0";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "knob_spinner";
|
||||
after: "spin1";
|
||||
}
|
||||
program { name: "spin1";
|
||||
action: STATE_SET "spin" 0.0;
|
||||
transition: LINEAR 1.0;
|
||||
target: "knob_spinner";
|
||||
after: "spin2";
|
||||
}
|
||||
program { name: "spin2";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "knob_spinner";
|
||||
after: "spin1";
|
||||
}
|
||||
|
||||
program {
|
||||
signal: "efl,state,busy,start"; source: "efl";
|
||||
action: STATE_SET "active" 0.0;
|
||||
transition: SINUSOIDAL 0.25;
|
||||
target: "busy_clip";
|
||||
}
|
||||
|
||||
program {
|
||||
signal: "efl,state,busy,stop"; source: "efl";
|
||||
action: STATE_SET "default" 0.0;
|
||||
transition: SINUSOIDAL 1.0;
|
||||
target: "busy_clip";
|
||||
after: "spin3";
|
||||
}
|
||||
program { name: "spin3";
|
||||
action: ACTION_STOP;
|
||||
target: "spin";
|
||||
target: "spin2";
|
||||
after: "spin4";
|
||||
}
|
||||
program { name: "spin4";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "knob_spinner";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -0,0 +1,221 @@
|
|||
group { name: "efl/pointer";
|
||||
images {
|
||||
image: "pointer.png" COMP;
|
||||
image: "pointer_glow.png" COMP;
|
||||
}
|
||||
parts {
|
||||
part {
|
||||
name: "base";
|
||||
mouse_events: 0;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
aspect: 1.0 1.0;
|
||||
min: 32 32;
|
||||
/* force a specific aspect ratio so
|
||||
* when it gets scaled it wont squash
|
||||
* or stretch */
|
||||
aspect_preference: BOTH;
|
||||
/* both axes control aspect - thus it
|
||||
* will be WITHIN the bounds the axes
|
||||
* of thre part describe */
|
||||
image {
|
||||
normal: "pointer.png";
|
||||
}
|
||||
}
|
||||
}
|
||||
part { name: "glow";
|
||||
description { state: "default" 0.0;
|
||||
image.normal: "pointer_glow.png";
|
||||
color: 255 255 255 0;
|
||||
}
|
||||
description { state: "visible" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: 255 255 255 255;
|
||||
}
|
||||
description { state: "faded" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: 255 255 255 128;
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "efl.hotspot";
|
||||
/* this is a "fake" swallow part
|
||||
* that is used by e to determine
|
||||
* the pointer hotspot - or where
|
||||
* the actual mouse events get
|
||||
* reported from on the cursor */
|
||||
type: SWALLOW;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
visible: 0;
|
||||
fixed: 1 1;
|
||||
rel1 {
|
||||
/* the hotspot will scale with the cursor here */
|
||||
to: "base";
|
||||
relative: 0.1875 0.1875;
|
||||
offset: 0 0;
|
||||
}
|
||||
rel2 {
|
||||
to: "base";
|
||||
relative: 0.1875 0.1875;
|
||||
offset: 0 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
programs {
|
||||
program {
|
||||
signal: "efl,action,mouse,down"; source: "efl";
|
||||
action: STATE_SET "visible" 0.0;
|
||||
target: "glow";
|
||||
after: "fade";
|
||||
}
|
||||
program { name: "fade";
|
||||
action: STATE_SET "default" 0.0;
|
||||
transition: SINUSOIDAL 0.5;
|
||||
target: "glow";
|
||||
}
|
||||
program { name: "pulse";
|
||||
signal: "e,state,mouse,idle"; source: "e";
|
||||
in: 10.0 0.0;
|
||||
action: STATE_SET "faded" 0.0;
|
||||
transition: SINUSOIDAL 0.25;
|
||||
target: "glow";
|
||||
after: "pulse2";
|
||||
}
|
||||
program { name: "pulse2";
|
||||
action: STATE_SET "default" 0.0;
|
||||
transition: SINUSOIDAL 0.5;
|
||||
target: "glow";
|
||||
after: "pulse";
|
||||
}
|
||||
program {
|
||||
signal: "efl,action,mouse,move"; source: "efl";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "glow";
|
||||
after: "stop2";
|
||||
}
|
||||
program { name: "stop2";
|
||||
action: ACTION_STOP;
|
||||
target: "pulse";
|
||||
target: "pulse2";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
group { name: "efl/pointer:bottom_right_corner";
|
||||
inherit: "efl/pointer";
|
||||
images.image: "mini_box_glow.png" COMP;
|
||||
parts {
|
||||
part { name: "box";
|
||||
insert_after: "glow";
|
||||
description { state: "default" 0.0;
|
||||
image.normal: "mini_box_glow.png";
|
||||
image.border: 7 7 7 7;
|
||||
rel1.relative: 0.3 0.3;
|
||||
rel2.relative: 0.7 0.7;
|
||||
}
|
||||
description { state: "p1" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
rel1.relative: 0.3 0.3;
|
||||
rel2.relative: 1.0 1.0;
|
||||
}
|
||||
}
|
||||
}
|
||||
programs {
|
||||
program { name: "box1";
|
||||
signal: "load"; source: "";
|
||||
action: STATE_SET "p1" 0.0;
|
||||
transition: SINUSOIDAL 0.5;
|
||||
target: "box";
|
||||
after: "box2";
|
||||
}
|
||||
program { name: "box2";
|
||||
action: STATE_SET "default" 0.0;
|
||||
transition: SINUSOIDAL 0.5;
|
||||
target: "box";
|
||||
after: "box1";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
group { name: "efl/pointer:bottom_left_corner";
|
||||
inherit: "efl/pointer:bottom_right_corner";
|
||||
parts {
|
||||
part { name: "box";
|
||||
description { state: "default" 0.0;
|
||||
rel1.relative: 0.7 0.3;
|
||||
rel2.relative: 1.0 0.7;
|
||||
}
|
||||
description { state: "p1" 0.0;
|
||||
rel1.relative: 0.3 0.3;
|
||||
rel2.relative: 1.0 1.0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
group { name: "efl/pointer:bottom_side";
|
||||
inherit: "efl/pointer:bottom_right_corner";
|
||||
parts {
|
||||
part { name: "box";
|
||||
description { state: "default" 0.0;
|
||||
rel1.relative: 0.3 0.3;
|
||||
rel2.relative: 1.0 0.7;
|
||||
}
|
||||
description { state: "p1" 0.0;
|
||||
rel1.relative: 0.3 0.3;
|
||||
rel2.relative: 1.0 1.0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
group { name: "efl/pointer:top_right_corner";
|
||||
inherit: "efl/pointer:bottom_right_corner";
|
||||
parts {
|
||||
part { name: "box";
|
||||
description { state: "default" 0.0;
|
||||
rel1.relative: 0.3 0.3;
|
||||
rel2.relative: 0.7 0.7;
|
||||
}
|
||||
description { state: "p1" 0.0;
|
||||
rel1.relative: 0.3 0.0;
|
||||
rel2.relative: 1.0 0.7;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
group { name: "efl/pointer:top_left_corner";
|
||||
inherit: "efl/pointer:bottom_right_corner";
|
||||
parts {
|
||||
part { name: "box";
|
||||
description { state: "default" 0.0;
|
||||
rel1.relative: 0.6 0.6;
|
||||
rel2.relative: 1.0 1.0;
|
||||
}
|
||||
description { state: "p1" 0.0;
|
||||
rel1.relative: 0.3 0.3;
|
||||
rel2.relative: 1.0 1.0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
group { name: "efl/pointer:top_side";
|
||||
inherit: "efl/pointer:bottom_right_corner";
|
||||
parts {
|
||||
part { name: "box";
|
||||
description { state: "default" 0.0;
|
||||
rel1.relative: 0.3 0.6;
|
||||
rel2.relative: 1.0 1.0;
|
||||
}
|
||||
description { state: "p1" 0.0;
|
||||
rel1.relative: 0.3 0.3;
|
||||
rel2.relative: 1.0 1.0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -15,7 +15,7 @@ group { "efl/popup";
|
|||
image.normal: "rounded_square.png";
|
||||
}
|
||||
}
|
||||
swallow { "elm.swallow.content";
|
||||
swallow { "efl.content";
|
||||
desc { "default";
|
||||
rel.to: "base";
|
||||
}
|
||||
|
@ -28,7 +28,7 @@ group { "efl/popup_alert";
|
|||
alias: "efl/popup_alert_text";
|
||||
images.image: "rounded_square.png" COMP;
|
||||
parts {
|
||||
alias: "title" "elm.text.title";
|
||||
alias: "title" "efl.text.title";
|
||||
image { "bg";
|
||||
desc { "default";
|
||||
min: 100 100;
|
||||
|
@ -57,7 +57,7 @@ group { "efl/popup_alert";
|
|||
min: 0 20;
|
||||
}
|
||||
}
|
||||
textblock { "elm.text.title";
|
||||
textblock { "efl.text.title";
|
||||
scale;
|
||||
desc { "default";
|
||||
fixed: 1 1;
|
||||
|
@ -72,7 +72,7 @@ group { "efl/popup_alert";
|
|||
vis;
|
||||
}
|
||||
}
|
||||
swallow { "buttons";
|
||||
swallow { "efl.buttons";
|
||||
desc { "default";
|
||||
fixed: 0 1;
|
||||
rel.to: "base";
|
||||
|
@ -85,12 +85,12 @@ group { "efl/popup_alert";
|
|||
min: 0 30;
|
||||
}
|
||||
}
|
||||
swallow { "elm.swallow.content";
|
||||
swallow { "efl.content";
|
||||
desc { "default";
|
||||
rel1.to_x: "base";
|
||||
rel1.to_y: "title_bg";
|
||||
rel2.to_x: "base";
|
||||
rel2.to_y: "buttons";
|
||||
rel2.to_y: "efl.buttons";
|
||||
rel1.relative: 0.0 1.0;
|
||||
rel2.relative: 1.0 0.0;
|
||||
}
|
||||
|
@ -98,15 +98,15 @@ group { "efl/popup_alert";
|
|||
}
|
||||
programs {
|
||||
program {
|
||||
signal: "elm,title,show"; source: "elm";
|
||||
signal: "efl,title,show"; source: "efl";
|
||||
action: STATE_SET "title_visible" 0.0;
|
||||
target: "title_bg";
|
||||
target: "elm.text.title";
|
||||
target: "efl.text.title";
|
||||
}
|
||||
program {
|
||||
signal: "elm,buttons,show"; source: "elm";
|
||||
signal: "efl,buttons,show"; source: "efl";
|
||||
action: STATE_SET "button_visible" 0.0;
|
||||
target: "buttons";
|
||||
target: "efl.buttons";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -125,17 +125,17 @@ group { "efl/popup/backwall";
|
|||
desc { "default";
|
||||
color: 0 0 0 64;
|
||||
}
|
||||
desc { "show_image";
|
||||
desc { "content_visible";
|
||||
inherit: "default";
|
||||
hid;
|
||||
}
|
||||
}
|
||||
swallow { "elm.swallow.image";
|
||||
swallow { "efl.content";
|
||||
desc { "default";
|
||||
rel.to: "base";
|
||||
hid;
|
||||
}
|
||||
desc { "show_image";
|
||||
desc { "content_visible";
|
||||
inherit: "default";
|
||||
vis;
|
||||
}
|
||||
|
@ -150,20 +150,20 @@ group { "efl/popup/backwall";
|
|||
|
||||
programs {
|
||||
program {
|
||||
signal: "elm,state,image,visible"; source: "elm";
|
||||
action: STATE_SET "show_image" 0.0;
|
||||
signal: "efl,state,content,set"; source: "efl";
|
||||
action: STATE_SET "content_visible" 0.0;
|
||||
target: "base";
|
||||
target: "elm.swallow.image";
|
||||
target: "efl.content";
|
||||
}
|
||||
program {
|
||||
signal: "elm,state,image,hidden"; source: "elm";
|
||||
signal: "efl,state,content,unset"; source: "efl";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "base";
|
||||
target: "elm.swallow.image";
|
||||
target: "efl.content";
|
||||
}
|
||||
program {
|
||||
signal: "mouse,clicked,1"; source: "block";
|
||||
action: SIGNAL_EMIT "elm,action,clicked" "elm";
|
||||
action: SIGNAL_EMIT "efl,action,clicked" "efl";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -172,7 +172,7 @@ group { "efl/popup_alert/button_layout1";
|
|||
alias: "efl/popup_alert_scroll/button_layout1";
|
||||
alias: "efl/popup_alert_text/button_layout1";
|
||||
parts {
|
||||
swallow { "elm.swallow.button1";
|
||||
swallow { "efl.button1";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -188,13 +188,13 @@ group { "efl/popup_alert/button_layout2";
|
|||
min: 5 5;
|
||||
}
|
||||
}
|
||||
swallow { "elm.swallow.button1";
|
||||
swallow { "efl.button1";
|
||||
desc { "default";
|
||||
rel2.to_x: "div1";
|
||||
rel2.relative: 0.0 1.0;
|
||||
}
|
||||
}
|
||||
swallow { "elm.swallow.button2";
|
||||
swallow { "efl.button2";
|
||||
desc { "default";
|
||||
rel1.to_x: "div1";
|
||||
rel1.relative: 1.0 0.0;
|
||||
|
@ -221,13 +221,13 @@ group { "efl/popup_alert/button_layout3";
|
|||
min: 5 5;
|
||||
}
|
||||
}
|
||||
swallow { "elm.swallow.button1";
|
||||
swallow { "efl.button1";
|
||||
desc { "default";
|
||||
rel2.to_x: "div1";
|
||||
rel2.relative: 0.0 1.0;
|
||||
}
|
||||
}
|
||||
swallow { "elm.swallow.button2";
|
||||
swallow { "efl.button2";
|
||||
desc { "default";
|
||||
rel1.to_x: "div1";
|
||||
rel2.to_x: "div2";
|
||||
|
@ -235,7 +235,7 @@ group { "efl/popup_alert/button_layout3";
|
|||
rel2.relative: 0.0 1.0;
|
||||
}
|
||||
}
|
||||
swallow { "elm.swallow.button3";
|
||||
swallow { "efl.button3";
|
||||
desc { "default";
|
||||
rel1.to_x: "div2";
|
||||
rel1.relative: 1.0 0.0;
|
||||
|
@ -251,8 +251,26 @@ group { "efl/popup_alert/button";
|
|||
}
|
||||
|
||||
group { "efl/popup_alert_scroll/scroller";
|
||||
inherit: "elm/scroller/base/popup/no_inset_shadow";
|
||||
inherit: "efl/scroller";
|
||||
alias: "efl/popup_alert_text/scroller";
|
||||
parts {
|
||||
swallow { "efl.content";
|
||||
desc { "default";
|
||||
rel1.offset: 0 0;
|
||||
rel2.offset: 0 0;
|
||||
}
|
||||
}
|
||||
spacer { "inset";
|
||||
desc { "default";
|
||||
hid;
|
||||
}
|
||||
}
|
||||
spacer { "shadow";
|
||||
desc { "default";
|
||||
hid;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
group { "efl/popup_alert_text/text";
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1,3 +1,292 @@
|
|||
group { "efl/radio";
|
||||
inherit: "elm/radio/base/default";
|
||||
images.image: "inset_shadow_circle_tiny.png" COMP;
|
||||
images.image: "inset_circle_tiny.png" COMP;
|
||||
images.image: "sym_radio_alum.png" COMP;
|
||||
#define ICON 1
|
||||
#define LABEL 2
|
||||
#define MASK 3
|
||||
#define DISABLE 4
|
||||
script {
|
||||
public btmode;
|
||||
public eval_mode(m) {
|
||||
new m1 = m & MASK;
|
||||
new d = m & DISABLE;
|
||||
if (m1 == (ICON | LABEL)) {
|
||||
if (!d) {
|
||||
set_state(PART:"efl.content", "visible", 0.0);
|
||||
set_state(PART:"sizer_content", "visible", 0.0);
|
||||
set_state(PART:"efl.text", "visible", 0.0);
|
||||
set_state(PART:"inset", "default", 0.0);
|
||||
set_state(PART:"clip", "default", 0.0);
|
||||
set_state(PART:"event", "default", 0.0);
|
||||
} else {
|
||||
set_state(PART:"efl.content", "visible", 0.0);
|
||||
set_state(PART:"sizer_content", "visible", 0.0);
|
||||
set_state(PART:"efl.text", "disabled_visible", 0.0);
|
||||
set_state(PART:"inset", "disabled", 0.0);
|
||||
set_state(PART:"clip", "disabled", 0.0);
|
||||
set_state(PART:"event", "disabled", 0.0);
|
||||
}
|
||||
} else if (m1 == (ICON)) {
|
||||
if (!d) {
|
||||
set_state(PART:"efl.content", "visible", 0.0);
|
||||
set_state(PART:"sizer_content", "icononly", 0.0);
|
||||
set_state(PART:"efl.text", "default", 0.0);
|
||||
set_state(PART:"inset", "default", 0.0);
|
||||
set_state(PART:"clip", "default", 0.0);
|
||||
set_state(PART:"event", "default", 0.0);
|
||||
} else {
|
||||
set_state(PART:"efl.content", "visible", 0.0);
|
||||
set_state(PART:"sizer_content", "icononly", 0.0);
|
||||
set_state(PART:"efl.text", "disabled", 0.0);
|
||||
set_state(PART:"inset", "disabled", 0.0);
|
||||
set_state(PART:"clip", "disabled", 0.0);
|
||||
set_state(PART:"event", "disabled", 0.0);
|
||||
}
|
||||
} else if (m1 == (LABEL)) {
|
||||
if (!d) {
|
||||
set_state(PART:"efl.content", "default", 0.0);
|
||||
set_state(PART:"sizer_content", "default", 0.0);
|
||||
set_state(PART:"efl.text", "visible", 0.0);
|
||||
set_state(PART:"inset", "default", 0.0);
|
||||
set_state(PART:"clip", "default", 0.0);
|
||||
set_state(PART:"event", "default", 0.0);
|
||||
} else {
|
||||
set_state(PART:"efl.content", "default", 0.0);
|
||||
set_state(PART:"sizer_content", "default", 0.0);
|
||||
set_state(PART:"efl.text", "disabled_visible", 0.0);
|
||||
set_state(PART:"inset", "disabled", 0.0);
|
||||
set_state(PART:"clip", "disabled", 0.0);
|
||||
set_state(PART:"event", "disabled", 0.0);
|
||||
}
|
||||
} else {
|
||||
if (!d) {
|
||||
set_state(PART:"efl.content", "default", 0.0);
|
||||
set_state(PART:"sizer_content", "default", 0.0);
|
||||
set_state(PART:"efl.text", "default", 0.0);
|
||||
set_state(PART:"inset", "default", 0.0);
|
||||
set_state(PART:"clip", "default", 0.0);
|
||||
set_state(PART:"event", "default", 0.0);
|
||||
} else {
|
||||
set_state(PART:"efl.content", "default", 0.0);
|
||||
set_state(PART:"sizer_content", "default", 0.0);
|
||||
set_state(PART:"efl.text", "default", 0.0);
|
||||
set_state(PART:"inset", "disabled", 0.0);
|
||||
set_state(PART:"clip", "disabled", 0.0);
|
||||
set_state(PART:"event", "disabled", 0.0);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
parts {
|
||||
part { name: "inset"; mouse_events: 0;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
rel1.offset: 2 2;
|
||||
rel2.relative: 0.0 1.0;
|
||||
rel2.offset: 2 -3;
|
||||
image.normal: "inset_shadow_circle_tiny.png";
|
||||
align: 0.0 0.5;
|
||||
min: 13 13;
|
||||
max: 13 13;
|
||||
fixed: 1 0;
|
||||
}
|
||||
description { state: "disabled" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
image.normal: "inset_circle_tiny.png";
|
||||
}
|
||||
}
|
||||
part { name: "indicator"; mouse_events: 0;
|
||||
scale: 1;
|
||||
clip_to: "clip";
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "inset";
|
||||
rel2.to: "inset";
|
||||
image.normal: "sym_radio_alum.png";
|
||||
min: 11 11;
|
||||
max: 11 11;
|
||||
visible: 0;
|
||||
}
|
||||
description { state: "selected" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
visible: 1;
|
||||
}
|
||||
}
|
||||
part { name: "clip"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
}
|
||||
description { state: "disabled" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: 255 255 255 64;
|
||||
}
|
||||
}
|
||||
part { name: "efl.content"; type: SWALLOW;
|
||||
required;
|
||||
scale: 1;
|
||||
clip_to: "clip";
|
||||
description { state: "default" 0.0;
|
||||
fixed: 1 0;
|
||||
visible: 0;
|
||||
align: 0.0 0.5;
|
||||
max: 0 0;
|
||||
rel1.to_x: "inset";
|
||||
rel1.relative: 1.0 0.0;
|
||||
rel1.offset: 1 1;
|
||||
rel2.to_x: "inset";
|
||||
rel2.offset: 1 -2;
|
||||
rel2.relative: 1.0 1.0;
|
||||
}
|
||||
description { state: "visible" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
visible: 1;
|
||||
aspect: 1.0 1.0;
|
||||
min: 16 16;
|
||||
}
|
||||
}
|
||||
part { name: "sizer_content"; type: TEXT; mouse_events: 0;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
fixed: 1 1;
|
||||
visible: 0;
|
||||
text { font: FN; size: 10;
|
||||
min: 0 0;
|
||||
text_class: "radio_text";
|
||||
}
|
||||
}
|
||||
description { state: "visible" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
rel1.to: "efl.content";
|
||||
rel2.to: "efl.content";
|
||||
text {
|
||||
min: 1 1;
|
||||
ellipsis: -1;
|
||||
text: "M";
|
||||
}
|
||||
}
|
||||
description { state: "icononly" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
rel1.to: "efl.content";
|
||||
rel2.to: "efl.content";
|
||||
text {
|
||||
min: 1 1;
|
||||
ellipsis: -1;
|
||||
text: "M";
|
||||
}
|
||||
}
|
||||
}
|
||||
part { name: "efl.text"; type: TEXT; mouse_events: 0;
|
||||
effect: SHADOW BOTTOM;
|
||||
scale: 1;
|
||||
required;
|
||||
description { state: "default" 0.0;
|
||||
rel1.offset: 2 2;
|
||||
rel1.to_x: "efl.content";
|
||||
rel1.relative: 1.0 0.0;
|
||||
rel2.offset: -3 -3;
|
||||
color: FN_COL_DEFAULT;
|
||||
color_class: "radio_text";
|
||||
text { font: FN; size: 10;
|
||||
min: 0 0;
|
||||
align: 0.0 0.5;
|
||||
text_class: "radio";
|
||||
}
|
||||
}
|
||||
description { state: "disabled" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color_class: "radio_text_disabled";
|
||||
color3: 255 255 255 255;
|
||||
}
|
||||
description { state: "visible" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
visible: 1;
|
||||
text.min: 1 1;
|
||||
text.ellipsis: -1;
|
||||
}
|
||||
description { state: "disabled_visible" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color_class: "radio_text_disabled";
|
||||
color3: 255 255 255 255;
|
||||
visible: 1;
|
||||
text.min: 1 1;
|
||||
text.ellipsis: -1;
|
||||
}
|
||||
}
|
||||
part { name: "event"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
color: 0 0 0 0;
|
||||
}
|
||||
description { state: "disabled" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
visible: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
programs {
|
||||
program {
|
||||
signal: "mouse,clicked,1"; source: "event";
|
||||
action: SIGNAL_EMIT "efl,action,radio,toggle" "efl";
|
||||
}
|
||||
program {
|
||||
signal: "efl,state,radio,on"; source: "efl";
|
||||
action: STATE_SET "selected" 0.0;
|
||||
target: "indicator";
|
||||
}
|
||||
program {
|
||||
signal: "efl,state,radio,off"; source: "efl";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "indicator";
|
||||
}
|
||||
program {
|
||||
signal: "efl,state,text,set"; source: "efl";
|
||||
script {
|
||||
new m = get_int(btmode);
|
||||
m |= LABEL; set_int(btmode, m);
|
||||
eval_mode(m);
|
||||
}
|
||||
}
|
||||
program {
|
||||
signal: "efl,state,text,unset"; source: "efl";
|
||||
script {
|
||||
new m = get_int(btmode);
|
||||
m &= ~LABEL; set_int(btmode, m);
|
||||
eval_mode(m);
|
||||
}
|
||||
}
|
||||
program {
|
||||
signal: "efl,state,content,set"; source: "efl";
|
||||
script {
|
||||
new m = get_int(btmode);
|
||||
m |= ICON; set_int(btmode, m);
|
||||
eval_mode(m);
|
||||
}
|
||||
}
|
||||
program {
|
||||
signal: "efl,state,content,unset"; source: "efl";
|
||||
script {
|
||||
new m = get_int(btmode);
|
||||
m &= ~ICON; set_int(btmode, m);
|
||||
eval_mode(m);
|
||||
}
|
||||
}
|
||||
program {
|
||||
signal: "efl,state,disabled"; source: "efl";
|
||||
script {
|
||||
new m = get_int(btmode);
|
||||
m |= DISABLE; set_int(btmode, m);
|
||||
eval_mode(m);
|
||||
}
|
||||
}
|
||||
program {
|
||||
signal: "efl,state,enabled"; source: "efl";
|
||||
script {
|
||||
new m = get_int(btmode);
|
||||
m &= ~DISABLE; set_int(btmode, m);
|
||||
eval_mode(m);
|
||||
}
|
||||
}
|
||||
}
|
||||
#undef ICON
|
||||
#undef LABEL
|
||||
#undef MASK
|
||||
#undef DISABLE
|
||||
}
|
||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -6,7 +6,7 @@ group { "efl/spin";
|
|||
color: 0 0 0 0;
|
||||
}
|
||||
}
|
||||
text { "elm.text";
|
||||
text { "efl.text";
|
||||
nomouse;
|
||||
scale;
|
||||
desc { "default";
|
||||
|
|
|
@ -3,7 +3,7 @@ group { "efl/spin_button";
|
|||
parts {
|
||||
rect { "clip";
|
||||
desc { "default";
|
||||
rel.to: "elm.swallow.text_button";
|
||||
rel.to: "efl.text_button";
|
||||
}
|
||||
}
|
||||
rect { "bg";
|
||||
|
@ -36,12 +36,12 @@ group { "efl/spin_button";
|
|||
vis;
|
||||
}
|
||||
}
|
||||
swallow { "elm.swallow.entry";
|
||||
swallow { "efl.entry";
|
||||
clip: "clip";
|
||||
desc { "default";
|
||||
fixed: 1 1;
|
||||
rel1.to: "elm.swallow.text_button";
|
||||
rel2.to: "elm.swallow.text_button";
|
||||
rel1.to: "efl.text_button";
|
||||
rel2.to: "efl.text_button";
|
||||
hid;
|
||||
}
|
||||
desc { "active";
|
||||
|
@ -49,7 +49,7 @@ group { "efl/spin_button";
|
|||
vis;
|
||||
}
|
||||
}
|
||||
swallow { "elm.swallow.dec_button";
|
||||
swallow { "efl.dec_button";
|
||||
scale;
|
||||
desc { "default";
|
||||
fixed: 1 0;
|
||||
|
@ -63,7 +63,7 @@ group { "efl/spin_button";
|
|||
aspect: 1.0 1.0; aspect_preference: VERTICAL;
|
||||
}
|
||||
}
|
||||
swallow { "elm.swallow.inc_button";
|
||||
swallow { "efl.inc_button";
|
||||
scale;
|
||||
desc { "default";
|
||||
fixed: 1 0;
|
||||
|
@ -77,16 +77,16 @@ group { "efl/spin_button";
|
|||
aspect: 1.0 1.0; aspect_preference: VERTICAL;
|
||||
}
|
||||
}
|
||||
swallow { "elm.swallow.text_button";
|
||||
swallow { "efl.text_button";
|
||||
scale;
|
||||
desc { "default";
|
||||
vis;
|
||||
rel1.to_y: "inset";
|
||||
rel1.to_x: "elm.swallow.dec_button";
|
||||
rel1.to_x: "efl.dec_button";
|
||||
rel1.relative: 1.0 0.0;
|
||||
rel1.offset: 1 1;
|
||||
rel2.to_y: "inset";
|
||||
rel2.to_x: "elm.swallow.inc_button";
|
||||
rel2.to_x: "efl.inc_button";
|
||||
rel2.relative: 0.0 1.0;
|
||||
rel2.offset: -2 -2;
|
||||
}
|
||||
|
@ -110,50 +110,50 @@ group { "efl/spin_button";
|
|||
}
|
||||
programs {
|
||||
program { "entry_active";
|
||||
signal: "elm,state,entry,active";
|
||||
source: "elm";
|
||||
signal: "efl,state,entry,active";
|
||||
source: "efl";
|
||||
action: STATE_SET "active";
|
||||
target: "elm.swallow.entry";
|
||||
target: "efl.entry";
|
||||
}
|
||||
program { "entry_inactive";
|
||||
signal: "elm,state,entry,inactive";
|
||||
source: "elm";
|
||||
signal: "efl,state,entry,inactive";
|
||||
source: "efl";
|
||||
action: STATE_SET "default";
|
||||
target: "elm.swallow.entry";
|
||||
target: "efl.entry";
|
||||
}
|
||||
program { "text_button_active";
|
||||
signal: "elm,state,button,active";
|
||||
source: "elm";
|
||||
signal: "efl,state,button,active";
|
||||
source: "efl";
|
||||
action: STATE_SET "default";
|
||||
target: "elm.swallow.text_button";
|
||||
target: "efl.text_button";
|
||||
}
|
||||
program { "text_button_inactive";
|
||||
signal: "elm,state,button,inactive";
|
||||
source: "elm";
|
||||
signal: "efl,state,button,inactive";
|
||||
source: "efl";
|
||||
action: STATE_SET "inactive";
|
||||
target: "elm.swallow.text_button";
|
||||
target: "efl.text_button";
|
||||
}
|
||||
program { "access_activate";
|
||||
signal: "elm,state,access,active";
|
||||
source: "elm";
|
||||
signal: "efl,state,access,active";
|
||||
source: "efl";
|
||||
action: STATE_SET "active";
|
||||
target: "access";
|
||||
}
|
||||
program { "access_inactivate";
|
||||
signal: "elm,state,access,inactive";
|
||||
source: "elm";
|
||||
signal: "efl,state,access,inactive";
|
||||
source: "efl";
|
||||
action: STATE_SET "default";
|
||||
target: "access";
|
||||
}
|
||||
program { "disable";
|
||||
signal: "elm,state,disabled";
|
||||
source: "elm";
|
||||
signal: "efl,state,disabled";
|
||||
source: "efl";
|
||||
action: STATE_SET "disabled";
|
||||
target: "disabler";
|
||||
}
|
||||
program { "enable";
|
||||
signal: "elm,state,enabled";
|
||||
source: "elm";
|
||||
signal: "efl,state,enabled";
|
||||
source: "efl";
|
||||
action: STATE_SET "default";
|
||||
target: "disabler";
|
||||
}
|
||||
|
@ -163,7 +163,7 @@ group { "efl/spin_button";
|
|||
group { "efl/spin_button:vertical";
|
||||
inherit: "efl/spin_button";
|
||||
parts {
|
||||
swallow { "elm.swallow.inc_button";
|
||||
swallow { "efl.inc_button";
|
||||
scale;
|
||||
desc { "default";
|
||||
rel1.to: "inset";
|
||||
|
@ -174,16 +174,16 @@ group { "efl/spin_button:vertical";
|
|||
align: 1.0 0.5;
|
||||
}
|
||||
}
|
||||
swallow { "elm.swallow.text_button";
|
||||
swallow { "efl.text_button";
|
||||
scale;
|
||||
desc { "default";
|
||||
vis;
|
||||
rel1.to_y: "inset";
|
||||
rel1.to_x: "elm.swallow.dec_button";
|
||||
rel1.to_x: "efl.dec_button";
|
||||
rel1.relative: 1.0 0.0;
|
||||
rel1.offset: 1 1;
|
||||
rel2.to_y: "inset";
|
||||
rel2.to_x: "elm.swallow.inc_button";
|
||||
rel2.to_x: "efl.inc_button";
|
||||
rel2.relative: 0.0 1.0;
|
||||
rel2.offset: -2 -2;
|
||||
}
|
||||
|
@ -192,7 +192,7 @@ group { "efl/spin_button:vertical";
|
|||
hid;
|
||||
}
|
||||
}
|
||||
swallow { "elm.swallow.dec_button";
|
||||
swallow { "efl.dec_button";
|
||||
scale;
|
||||
desc { "default";
|
||||
rel1.to: "inset";
|
||||
|
@ -207,22 +207,307 @@ group { "efl/spin_button:vertical";
|
|||
}
|
||||
|
||||
group { "efl/spin_button/inc_button";
|
||||
inherit: "elm/button/base/spinner/increase/default";
|
||||
images.image: "sym_right_light_normal.png" COMP;
|
||||
images.image: "sym_right_glow_normal.png" COMP;
|
||||
images.image: "sym_right_dark_normal.png" COMP;
|
||||
script {
|
||||
public mouse_down = 0;
|
||||
public multi_down = 0;
|
||||
}
|
||||
parts {
|
||||
part { name: "arrow.image";
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
min: 15 15;
|
||||
max: 15 15;
|
||||
color_class: "F032L1";
|
||||
image.normal: "sym_right_light_normal.png";
|
||||
}
|
||||
description { state: "pressed" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
image.normal: "sym_right_glow_normal.png";
|
||||
}
|
||||
description { state: "disabled" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
image.normal: "sym_right_dark_normal.png";
|
||||
}
|
||||
}
|
||||
part { name: "over";
|
||||
type: RECT;
|
||||
repeat_events: 1;
|
||||
description { state: "default" 0.0;
|
||||
color: 0 0 0 0;
|
||||
}
|
||||
}
|
||||
part { name: "disabler";
|
||||
type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
color: 0 0 0 0;
|
||||
visible: 0;
|
||||
}
|
||||
description { state: "disabled" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
visible: 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
programs {
|
||||
program { name: "button_press";
|
||||
signal: "mouse,down,1";
|
||||
source: "over";
|
||||
script {
|
||||
if ((get_int(multi_down) == 0) &&
|
||||
(get_int(mouse_down) == 0)) {
|
||||
set_int(mouse_down, 1);
|
||||
run_program(PROGRAM:"button_press2");
|
||||
}
|
||||
}
|
||||
}
|
||||
program { name: "button_press2";
|
||||
action: SIGNAL_EMIT "efl,action,press" "";
|
||||
after: "button_press_anim";
|
||||
}
|
||||
program { name: "button_press_anim";
|
||||
action: STATE_SET "pressed" 0.0;
|
||||
target: "arrow.image";
|
||||
}
|
||||
program { name: "button_unpress";
|
||||
signal: "mouse,up,1";
|
||||
source: "over";
|
||||
script {
|
||||
if (get_int(mouse_down) == 1) {
|
||||
set_int(mouse_down, 0);
|
||||
run_program(PROGRAM:"button_unpress2");
|
||||
run_program(PROGRAM:"button_unpress_anim");
|
||||
}
|
||||
}
|
||||
}
|
||||
program { name: "button_unpress2";
|
||||
action: SIGNAL_EMIT "efl,action,unpress" "";
|
||||
}
|
||||
program { name: "button_unpress_anim";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "arrow.image";
|
||||
}
|
||||
program { name: "button_click";
|
||||
signal: "mouse,clicked,1";
|
||||
source: "over";
|
||||
script {
|
||||
if (get_int(multi_down) == 0) {
|
||||
run_program(PROGRAM:"button_click2");
|
||||
}
|
||||
}
|
||||
}
|
||||
program { name: "action_unpressed";
|
||||
signal: "efl,action,unpressed";
|
||||
source: "efl";
|
||||
after: "button_unpress_anim";
|
||||
}
|
||||
program { name: "action_pressed";
|
||||
signal: "efl,action,pressed";
|
||||
source: "efl";
|
||||
after: "button_press_anim";
|
||||
}
|
||||
program { name: "button_click2";
|
||||
action: SIGNAL_EMIT "efl,action,click" "";
|
||||
}
|
||||
program { name: "access_pressed";
|
||||
signal: "efl,action,anim,activate";
|
||||
source: "efl";
|
||||
action: STATE_SET "pressed" 0.0;
|
||||
target: "arrow.image";
|
||||
after: "access_pressed_anim";
|
||||
}
|
||||
program { name: "access_pressed_anim";
|
||||
action: STATE_SET "default" 0.0;
|
||||
transition: DECELERATE 0.1;
|
||||
target: "arrow.image";
|
||||
}
|
||||
program { name: "disable";
|
||||
signal: "efl,state,disabled";
|
||||
source: "efl";
|
||||
action: STATE_SET "disabled" 0.0;
|
||||
target: "arrow.image";
|
||||
target: "disabler";
|
||||
}
|
||||
program { name: "enable";
|
||||
signal: "efl,state,enabled";
|
||||
source: "efl";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "arrow.image";
|
||||
target: "disabler";
|
||||
}
|
||||
program {
|
||||
name: "multi_down";
|
||||
signal: "efl,action,multi,down";
|
||||
source: "efl";
|
||||
script {
|
||||
set_int(multi_down, 1);
|
||||
}
|
||||
}
|
||||
program {
|
||||
name: "multi_up";
|
||||
signal: "efl,action,multi,up";
|
||||
source: "efl";
|
||||
script {
|
||||
set_int(multi_down, 0);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
group { "efl/spin_button/entry";
|
||||
inherit: "efl/text";
|
||||
}
|
||||
|
||||
group { "efl/spin_button/dec_button";
|
||||
inherit: "elm/button/base/spinner/decrease/default";
|
||||
inherit: "efl/spin_button/inc_button";
|
||||
images.image: "sym_left_light_normal.png" COMP;
|
||||
images.image: "sym_left_glow_normal.png" COMP;
|
||||
images.image: "sym_left_dark_normal.png" COMP;
|
||||
parts {
|
||||
part { name: "arrow.image";
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
min: 15 15;
|
||||
max: 15 15;
|
||||
image.normal: "sym_left_light_normal.png";
|
||||
}
|
||||
description { state: "pressed" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
image.normal: "sym_left_glow_normal.png";
|
||||
}
|
||||
description { state: "disabled" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
image.normal: "sym_left_dark_normal.png";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
group { "efl/spin_button/text_button";
|
||||
inherit: "elm/button/base/spinner/default";
|
||||
alias: "efl/spin_button/text_button:vertical";
|
||||
parts {
|
||||
part { name: "bg";
|
||||
type: SPACER;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
}
|
||||
}
|
||||
part { name: "efl.text";
|
||||
type: TEXT;
|
||||
scale: 1;
|
||||
effect: SHADOW BOTTOM;
|
||||
description { state: "default" 0.0;
|
||||
color: FN_COL_DEFAULT;
|
||||
color_class: "spinner";
|
||||
rel1.to: "bg";
|
||||
rel2.to: "bg";
|
||||
text { font: FN; size: 10;
|
||||
min: 1 1;
|
||||
text_class: "spinner";
|
||||
ellipsis: -1;
|
||||
}
|
||||
}
|
||||
description { state: "disabled" 0.0;
|
||||
inherit: "default" 0.0 ;
|
||||
color: FN_COL_DISABLE;
|
||||
color_class: "spinner_disabled";
|
||||
}
|
||||
}
|
||||
part { name: "over";
|
||||
type: RECT;
|
||||
repeat_events: 1;
|
||||
description { state: "default" 0.0;
|
||||
color: 0 0 0 0;
|
||||
}
|
||||
}
|
||||
part { name: "disabler";
|
||||
type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
color: 0 0 0 0;
|
||||
visible: 0;
|
||||
}
|
||||
description { state: "disabled" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
visible: 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
programs {
|
||||
program { name: "button_click";
|
||||
signal: "mouse,clicked,1";
|
||||
source: "over";
|
||||
script {
|
||||
run_program(PROGRAM:"button_click2");
|
||||
}
|
||||
}
|
||||
program { name: "button_click2";
|
||||
action: SIGNAL_EMIT "efl,action,click" "";
|
||||
}
|
||||
program { name: "disable";
|
||||
signal: "efl,state,disabled";
|
||||
source: "efl";
|
||||
action: STATE_SET "disabled" 0.0;
|
||||
target: "disabler";
|
||||
target: "efl.text";
|
||||
}
|
||||
program { name: "enable";
|
||||
signal: "efl,state,enabled";
|
||||
source: "efl";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "disabler";
|
||||
target: "efl.text";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
group { "efl/spin_button/inc_button:vertical";
|
||||
inherit: "elm/button/base/spinner/increase/vertical";
|
||||
inherit: "efl/spin_button/inc_button";
|
||||
images.image: "sym_up_light_normal.png" COMP;
|
||||
images.image: "sym_up_glow_normal.png" COMP;
|
||||
images.image: "sym_up_dark_normal.png" COMP;
|
||||
parts {
|
||||
part { name: "arrow.image";
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
min: 15 15;
|
||||
max: 15 15;
|
||||
image.normal: "sym_up_light_normal.png";
|
||||
}
|
||||
description { state: "pressed" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
image.normal: "sym_up_glow_normal.png";
|
||||
}
|
||||
description { state: "disabled" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
image.normal: "sym_up_dark_normal.png";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
group { "efl/spin_button/dec_button:vertical";
|
||||
inherit: "elm/button/base/spinner/decrease/vertical";
|
||||
}
|
||||
inherit: "efl/spin_button/dec_button";
|
||||
images.image: "sym_down_light_normal.png" COMP;
|
||||
images.image: "sym_down_glow_normal.png" COMP;
|
||||
images.image: "sym_down_dark_normal.png" COMP;
|
||||
parts {
|
||||
part { name: "arrow.image";
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
min: 15 15;
|
||||
max: 15 15;
|
||||
image.normal: "sym_down_light_normal.png";
|
||||
}
|
||||
description { state: "pressed" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
image.normal: "sym_down_glow_normal.png";
|
||||
}
|
||||
description { state: "disabled" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
image.normal: "sym_down_dark_normal.png";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -0,0 +1,596 @@
|
|||
group { "efl/tab_bar";
|
||||
images.image: "vgrad_med_lighter.png" COMP;
|
||||
images.image: "bevel_out.png" COMP;
|
||||
images.image: "shine.png" COMP;
|
||||
images.image: "shadow_square_tiny.png" COMP;
|
||||
parts {
|
||||
spacer { "base";
|
||||
scale;
|
||||
desc { "default";
|
||||
}
|
||||
}
|
||||
image { "shadow";
|
||||
nomouse;
|
||||
desc { "default";
|
||||
rel.to: "base";
|
||||
rel1.offset: -3 -2;
|
||||
rel2.offset: 2 3;
|
||||
image.normal: "shadow_square_tiny.png";
|
||||
image.border: 6 6 6 6;
|
||||
fill.smooth: 0;
|
||||
}
|
||||
}
|
||||
image { "bg";
|
||||
desc { "default";
|
||||
rel.to: "base";
|
||||
image.normal: "vgrad_med_lighter.png";
|
||||
rel1.offset: 0 0;
|
||||
rel2.offset: -1 -1;
|
||||
fill.smooth: 0;
|
||||
}
|
||||
}
|
||||
swallow { "efl.content";
|
||||
scale;
|
||||
desc { "default";
|
||||
rel.to: "base";
|
||||
}
|
||||
}
|
||||
image { "bevel";
|
||||
nomouse;
|
||||
desc { "default";
|
||||
rel.to: "base";
|
||||
image.normal: "bevel_out.png";
|
||||
image.border: 1 1 1 1;
|
||||
image.middle: 0;
|
||||
fill.smooth: 0;
|
||||
}
|
||||
}
|
||||
image { "shine";
|
||||
nomouse;
|
||||
desc { "default";
|
||||
image.normal: "shine.png";
|
||||
rel.to: "base";
|
||||
rel1.offset: 0 -2;
|
||||
rel2.relative: 1.0 0.0;
|
||||
rel2.offset: -1 2;
|
||||
FIXED_SIZE(69, 5)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
group { "efl/tab_bar/tab";
|
||||
images.image: "shadow_inset_bevels.png" COMP;
|
||||
images.image: "shadow_angled_in_sides.png" COMP;
|
||||
images.image: "horizontal_separated_bar_small_glow.png" COMP;
|
||||
data.item: "transition_animation_on" "1";
|
||||
images.image: "bevel_dark_in.png" COMP;
|
||||
|
||||
#define ICON 1
|
||||
#define LABEL 2
|
||||
#define MASK 3
|
||||
#define DISABLE 4
|
||||
script {
|
||||
public btmode;
|
||||
public eval_mode(m) {
|
||||
new m1 = m & MASK;
|
||||
new d = m & DISABLE;
|
||||
if (m1 == (ICON | LABEL)) {
|
||||
if (!d) {
|
||||
set_state(PART:"efl.icon", "default", 0.0);
|
||||
set_state(PART:"icon_clip", "default", 0.0);
|
||||
set_state(PART:"efl.text", "default", 0.0);
|
||||
set_state(PART:"label2", "default", 0.0);
|
||||
} else {
|
||||
set_state(PART:"efl.icon", "default", 0.0);
|
||||
set_state(PART:"icon_clip", "disabled", 0.0);
|
||||
set_state(PART:"efl.text", "disabled", 0.0);
|
||||
set_state(PART:"label2", "default", 0.0);
|
||||
}
|
||||
} else if (m1 == (ICON)) {
|
||||
if (!d) {
|
||||
set_state(PART:"efl.icon", "icononly", 0.0);
|
||||
set_state(PART:"icon_clip", "default", 0.0);
|
||||
set_state(PART:"efl.text", "icononly", 0.0);
|
||||
set_state(PART:"label2", "icononly", 0.0);
|
||||
} else {
|
||||
set_state(PART:"efl.icon", "icononly", 0.0);
|
||||
set_state(PART:"icon_clip", "disabled", 0.0);
|
||||
set_state(PART:"efl.text", "icononly", 0.0);
|
||||
set_state(PART:"label2", "icononly", 0.0);
|
||||
}
|
||||
} else if (m1 == (LABEL)) {
|
||||
if (!d) {
|
||||
set_state(PART:"efl.icon", "noicon", 0.0);
|
||||
set_state(PART:"icon_clip", "default", 0.0);
|
||||
set_state(PART:"efl.text", "noicon", 0.0);
|
||||
set_state(PART:"label2", "noicon", 0.0);
|
||||
} else {
|
||||
set_state(PART:"efl.icon", "noicon", 0.0);
|
||||
set_state(PART:"icon_clip", "disabled", 0.0);
|
||||
set_state(PART:"efl.text", "noicon_disabled", 0.0);
|
||||
set_state(PART:"label2", "noicon_disabled", 0.0);
|
||||
}
|
||||
} else {
|
||||
if (!d) {
|
||||
set_state(PART:"efl.icon", "noicon", 0.0);
|
||||
set_state(PART:"icon_clip", "default", 0.0);
|
||||
set_state(PART:"efl.text", "noicon", 0.0);
|
||||
set_state(PART:"label2", "noicon", 0.0);
|
||||
} else {
|
||||
set_state(PART:"efl.icon", "noicon", 0.0);
|
||||
set_state(PART:"icon_clip", "disabled", 0.0);
|
||||
set_state(PART:"efl.text", "noicon_disabled", 0.0);
|
||||
set_state(PART:"label2", "noicon_disabled", 0.0);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
parts {
|
||||
spacer { "base";
|
||||
scale;
|
||||
desc { "default";
|
||||
}
|
||||
desc { "vert";
|
||||
rel1.offset: -1 0;
|
||||
rel2.offset: 0 -1;
|
||||
}
|
||||
}
|
||||
image { "shadow1";
|
||||
nomouse;
|
||||
desc { "default";
|
||||
rel.to: "base";
|
||||
image.normal: "shadow_inset_bevels.png";
|
||||
image.border: 2 2 0 1;
|
||||
hid;
|
||||
}
|
||||
desc { "selected";
|
||||
inherit: "default";
|
||||
vis;
|
||||
}
|
||||
}
|
||||
image { "shadow2";
|
||||
nomouse;
|
||||
desc { "default";
|
||||
rel.to: "shadow1";
|
||||
rel1.offset: 1 0;
|
||||
rel2.offset: -2 -1;
|
||||
image.normal: "shadow_angled_in_sides.png";
|
||||
image.border: 8 8 0 1;
|
||||
image.middle: 0;
|
||||
hid;
|
||||
}
|
||||
desc { "selected";
|
||||
inherit: "default";
|
||||
vis;
|
||||
}
|
||||
}
|
||||
rect { "bend_clip";
|
||||
desc { "default";
|
||||
hid;
|
||||
}
|
||||
desc { "vert";
|
||||
vis;
|
||||
}
|
||||
}
|
||||
image { "bend";
|
||||
clip_to: "bend_clip";
|
||||
desc { "default";
|
||||
min: 2 2;
|
||||
max: 99999 2;
|
||||
rel2.offset: -1 1;
|
||||
rel2.relative: 1.0 0.0;
|
||||
image.normal: "bevel_dark_in.png";
|
||||
image.border: 2 2 2 2;
|
||||
fill.smooth: 0;
|
||||
hid;
|
||||
fixed: 1 1;
|
||||
}
|
||||
desc { "selected";
|
||||
inherit: "default";
|
||||
vis;
|
||||
}
|
||||
}
|
||||
rect { "icon_clip";
|
||||
desc { "default";
|
||||
}
|
||||
desc { "disabled";
|
||||
inherit: "default";
|
||||
color: 255 255 255 64;
|
||||
}
|
||||
}
|
||||
rect { "icon_clip1";
|
||||
clip_to: "icon_clip";
|
||||
desc { "default";
|
||||
color: 255 255 255 255;
|
||||
vis;
|
||||
}
|
||||
desc { "animation";
|
||||
inherit: "default";
|
||||
color: 255 255 255 0;
|
||||
hid;
|
||||
}
|
||||
}
|
||||
swallow { "efl.icon";
|
||||
clip_to: "icon_clip1";
|
||||
desc { "default";
|
||||
align: 0.5 0.5;
|
||||
rel1.relative: 0.0 0.0;
|
||||
rel1.offset: 2 2;
|
||||
rel2.to_y: "efl.text";
|
||||
rel2.relative: 1.0 0.0;
|
||||
rel2.offset: -3 -1;
|
||||
}
|
||||
desc { "noicon";
|
||||
inherit: "default" 0.0;
|
||||
hid;
|
||||
rel1.offset: 2 0;
|
||||
rel2.relative: 1.0 0.0;
|
||||
rel2.offset: -3 -4;
|
||||
}
|
||||
desc { "icononly";
|
||||
inherit: "default" 0.0;
|
||||
vis;
|
||||
rel2.relative: 1.0 1.0;
|
||||
rel2.offset: -3 -3;
|
||||
rel2.to_y: "icon_clip";
|
||||
}
|
||||
}
|
||||
rect { "icon_clip2";
|
||||
clip_to: "icon_clip";
|
||||
desc { "default";
|
||||
color: 255 255 255 0;
|
||||
hid;
|
||||
}
|
||||
desc { "animation";
|
||||
inherit: "default" 0.0;
|
||||
color: 255 255 255 255;
|
||||
vis;
|
||||
}
|
||||
}
|
||||
swallow { "efl.icon_new";
|
||||
clip_to: "icon_clip2";
|
||||
desc { "default";
|
||||
align: 0.5 0.5;
|
||||
rel1.relative: 0.0 0.0;
|
||||
rel1.offset: 2 2;
|
||||
rel2.to_y: "efl.text";
|
||||
rel2.relative: 1.0 0.0;
|
||||
rel2.offset: -3 -1;
|
||||
}
|
||||
desc { "noicon";
|
||||
inherit: "default";
|
||||
hid;
|
||||
rel1.offset: 2 0;
|
||||
rel2.relative: 1.0 0.0;
|
||||
rel2.offset: -3 -4;
|
||||
}
|
||||
desc { "icononly";
|
||||
inherit: "default" 0.0;
|
||||
vis;
|
||||
rel2.relative: 1.0 1.0;
|
||||
rel2.offset: -3 -3;
|
||||
rel2.to_y: "icon_clip";
|
||||
}
|
||||
}
|
||||
rect { "text_clip1";
|
||||
desc { "default";
|
||||
color: 255 255 255 255;
|
||||
vis;
|
||||
}
|
||||
desc { "animation";
|
||||
inherit: "default";
|
||||
color: 255 255 255 0;
|
||||
hid;
|
||||
}
|
||||
}
|
||||
text { "efl.text";
|
||||
nomouse;
|
||||
effect: SHADOW BOTTOM;
|
||||
scale;
|
||||
clip_to: "text_clip1";
|
||||
desc { "default";
|
||||
rel1.offset: 4 -3;
|
||||
rel1.relative: 0.0 1.0;
|
||||
rel2.offset: -5 -3;
|
||||
align: 0.5 1.0;
|
||||
color: FN_COL_DEFAULT;
|
||||
color_class: "toolbar_item";
|
||||
text { font: FN; size: 10;
|
||||
min: 1 1;
|
||||
ellipsis: -1;
|
||||
align: 0.5 0.5;
|
||||
text_class: "toolbar_item";
|
||||
}
|
||||
fixed: 0 1;
|
||||
}
|
||||
desc { "selected";
|
||||
inherit: "default";
|
||||
hid;
|
||||
color_class: "toolbar_item_selected";
|
||||
}
|
||||
desc { "disabled";
|
||||
inherit: "default";
|
||||
color: FN_COL_DISABLE;
|
||||
color_class: "toolbar_item_disabled";
|
||||
}
|
||||
desc { "noicon";
|
||||
inherit: "default";
|
||||
rel1.offset: 4 2;
|
||||
rel1.relative: 0.0 0.0;
|
||||
}
|
||||
desc { "noicon_disabled";
|
||||
inherit: "noicon";
|
||||
color: FN_COL_DISABLE;
|
||||
color_class: "toolbar_item_disabled";
|
||||
}
|
||||
desc { "icononly";
|
||||
inherit: "default";
|
||||
text.min: 0 0;
|
||||
hid;
|
||||
fixed: 1 1;
|
||||
}
|
||||
}
|
||||
text { "label2";
|
||||
nomouse;
|
||||
effect: GLOW;
|
||||
scale;
|
||||
clip_to: "text_clip1";
|
||||
desc { "default";
|
||||
rel1.offset: -3 -3;
|
||||
rel1.to: "efl.text";
|
||||
rel2.offset: 2 1;
|
||||
rel2.to: "efl.text";
|
||||
color: FN_COL_HIGHLIGHT;
|
||||
color_class: "toolbar_item_active";
|
||||
text { font: FN; size: 10;
|
||||
text_source: "efl.text";
|
||||
align: 0.5 0.5;
|
||||
text_class: "toolbar_item";
|
||||
}
|
||||
hid;
|
||||
}
|
||||
desc { "selected";
|
||||
inherit: "default";
|
||||
vis;
|
||||
}
|
||||
desc { "noicon";
|
||||
inherit: "default";
|
||||
}
|
||||
desc { "noicon_disabled";
|
||||
inherit: "noicon";
|
||||
}
|
||||
desc { "icononly";
|
||||
inherit: "default";
|
||||
text.min: 0 0;
|
||||
hid;
|
||||
fixed: 1 1;
|
||||
}
|
||||
}
|
||||
rect { "text_clip2";
|
||||
desc { "default";
|
||||
color: 255 255 255 0;
|
||||
hid;
|
||||
}
|
||||
desc { "animation";
|
||||
inherit: "default";
|
||||
color: 255 255 255 255;
|
||||
vis;
|
||||
}
|
||||
}
|
||||
image { "bar";
|
||||
nomouse;
|
||||
desc { "default";
|
||||
fixed: 0 1;
|
||||
rel1.offset: -3 -7;
|
||||
rel1.relative: 0.0 1.0;
|
||||
rel1.to: "shadow2";
|
||||
rel2.offset: 2 2;
|
||||
rel2.to: "shadow2";
|
||||
image.normal: "horizontal_separated_bar_small_glow.png";
|
||||
image.border: 4 4 4 4;
|
||||
fill.smooth: 0;
|
||||
hid;
|
||||
}
|
||||
desc { "selected";
|
||||
inherit: "default";
|
||||
vis;
|
||||
}
|
||||
}
|
||||
image { "highlight";
|
||||
nomouse;
|
||||
desc { "default";
|
||||
fixed: 0 1;
|
||||
rel1.offset: -3 -7;
|
||||
rel1.relative: 0.0 1.0;
|
||||
rel1.to: "shadow2";
|
||||
rel2.offset: 2 2;
|
||||
rel2.to: "shadow2";
|
||||
image.normal: "horizontal_separated_bar_small_glow.png";
|
||||
image.border: 4 4 4 4;
|
||||
fill.smooth: 0;
|
||||
hid;
|
||||
}
|
||||
desc { "selected";
|
||||
inherit: "default";
|
||||
vis;
|
||||
}
|
||||
}
|
||||
rect { "event";
|
||||
ignore_flags: ON_HOLD;
|
||||
desc { "default";
|
||||
color: 0 0 0 0;
|
||||
}
|
||||
}
|
||||
programs {
|
||||
program {
|
||||
signal: "efl,orient,horizontal"; source: "efl";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "base";
|
||||
target: "bend_clip";
|
||||
}
|
||||
program {
|
||||
signal: "efl,orient,vertical"; source: "efl";
|
||||
action: STATE_SET "vert" 0.0;
|
||||
target: "base";
|
||||
target: "bend_clip";
|
||||
}
|
||||
program { name: "st0";
|
||||
signal: "load"; source: "";
|
||||
script {
|
||||
set_int(btmode, LABEL | ICON);
|
||||
}
|
||||
}
|
||||
program {
|
||||
signal: "efl,state,selected"; source: "efl";
|
||||
action: STATE_SET "selected" 0.0;
|
||||
target: "efl.text";
|
||||
target: "label2";
|
||||
target: "shadow1";
|
||||
target: "shadow2";
|
||||
target: "bar";
|
||||
target: "bend";
|
||||
}
|
||||
program {
|
||||
signal: "efl,state,unselected"; source: "efl";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "efl.text";
|
||||
target: "label2";
|
||||
target: "shadow1";
|
||||
target: "shadow2";
|
||||
target: "bar";
|
||||
target: "bend";
|
||||
}
|
||||
program {
|
||||
signal: "mouse,up,1"; source: "event";
|
||||
action: SIGNAL_EMIT "efl,action,click" "efl";
|
||||
}
|
||||
program {
|
||||
signal: "efl,highlight,on"; source: "efl";
|
||||
action: STATE_SET "selected" 0.0;
|
||||
target: "highlight";
|
||||
}
|
||||
program {
|
||||
signal: "efl,highlight,off"; source: "efl";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "highlight";
|
||||
}
|
||||
program {
|
||||
signal: "mouse,in"; source: "event";
|
||||
action: SIGNAL_EMIT "efl,mouse,in" "efl";
|
||||
}
|
||||
program { name: "mouse,out";
|
||||
signal: "mouse,out"; source: "event";
|
||||
action: SIGNAL_EMIT "efl,mouse,out" "efl";
|
||||
}
|
||||
program { name: "st1";
|
||||
signal: "efl,text,hidden"; source: "efl";
|
||||
script {
|
||||
new m = get_int(btmode);
|
||||
m &= ~LABEL; set_int(btmode, m);
|
||||
eval_mode(m);
|
||||
}
|
||||
}
|
||||
program { name: "st2";
|
||||
signal: "efl,text,visible"; source: "efl";
|
||||
script {
|
||||
new m = get_int(btmode);
|
||||
m |= LABEL; set_int(btmode, m);
|
||||
eval_mode(m);
|
||||
}
|
||||
}
|
||||
program { name: "st3";
|
||||
signal: "efl,icon,hidden"; source: "efl";
|
||||
script {
|
||||
new m = get_int(btmode);
|
||||
m &= ~ICON; set_int(btmode, m);
|
||||
eval_mode(m);
|
||||
}
|
||||
}
|
||||
program { name: "st4";
|
||||
signal: "efl,icon,visible"; source: "efl";
|
||||
script {
|
||||
new m = get_int(btmode);
|
||||
m |= ICON; set_int(btmode, m);
|
||||
eval_mode(m);
|
||||
}
|
||||
}
|
||||
program { name: "st5";
|
||||
signal: "efl,state,disabled"; source: "efl";
|
||||
script {
|
||||
new m = get_int(btmode);
|
||||
m |= DISABLE; set_int(btmode, m);
|
||||
eval_mode(m);
|
||||
}
|
||||
}
|
||||
program { name: "st6";
|
||||
signal: "efl,state,enabled"; source: "efl";
|
||||
script {
|
||||
new m = get_int(btmode);
|
||||
m &= ~DISABLE; set_int(btmode, m);
|
||||
eval_mode(m);
|
||||
}
|
||||
}
|
||||
program {
|
||||
signal: "efl,state,moving"; source: "efl";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "shadow1";
|
||||
target: "shadow2";
|
||||
}
|
||||
program {
|
||||
signal: "efl,state,icon_set,forward"; source: "efl";
|
||||
after: "icon_set,animation";
|
||||
}
|
||||
program {
|
||||
signal: "efl,state,icon_set,backward"; source: "efl";
|
||||
after: "icon_set,animation";
|
||||
}
|
||||
program { name: "icon_set,animation";
|
||||
signal: "efl,state,icon_set"; source: "efl";
|
||||
action: STATE_SET "animation" 0.0;
|
||||
target: "icon_clip1";
|
||||
target: "icon_clip2";
|
||||
transition: LINEAR 0.2;
|
||||
after: "icon_set,animation,done";
|
||||
}
|
||||
program { name: "icon_set,animation,done";
|
||||
action: SIGNAL_EMIT "efl,state,icon_set,done" "efl";
|
||||
}
|
||||
program {
|
||||
signal: "efl,state,icon,reset"; source: "efl";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "icon_clip1";
|
||||
target: "icon_clip2";
|
||||
}
|
||||
program {
|
||||
signal: "efl,state,label_set,forward"; source: "efl";
|
||||
after: "label_set,animation";
|
||||
}
|
||||
program {
|
||||
signal: "efl,state,label_set,backward"; source: "efl";
|
||||
after: "label_set,animation";
|
||||
}
|
||||
program { name: "label_set,animation";
|
||||
signal: "efl,state,label_set"; source: "efl";
|
||||
action: STATE_SET "animation" 0.0;
|
||||
target: "text_clip1";
|
||||
target: "text_clip2";
|
||||
transition: LINEAR 0.2;
|
||||
after: "label_set,animation,done";
|
||||
}
|
||||
program { name: "label_set,animation,done";
|
||||
action: SIGNAL_EMIT "efl,state,label_set,done" "efl";
|
||||
}
|
||||
program {
|
||||
signal: "efl,state,label,reset"; source: "efl";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "text_clip1";
|
||||
target: "text_clip2";
|
||||
}
|
||||
}
|
||||
#undef ICON
|
||||
#undef LABEL
|
||||
#undef MASK
|
||||
#undef DISABLE
|
||||
}
|
||||
}
|
|
@ -0,0 +1,15 @@
|
|||
group { "efl/tab_page";
|
||||
parts {
|
||||
spacer { "base";
|
||||
scale;
|
||||
desc { "default";
|
||||
}
|
||||
}
|
||||
swallow { "efl.content";
|
||||
scale;
|
||||
desc { "default";
|
||||
rel.to: "base";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,34 @@
|
|||
group { "efl/tab_pager";
|
||||
parts {
|
||||
spacer { "base";
|
||||
scale;
|
||||
desc { "default";
|
||||
}
|
||||
}
|
||||
swallow { "efl.tab_root";
|
||||
scale;
|
||||
desc { "default";
|
||||
rel.to: "base";
|
||||
align: 0 0;
|
||||
min: 0 50;
|
||||
max: -1 50;
|
||||
fixed: 0 1;
|
||||
}
|
||||
}
|
||||
swallow { "efl.page_root";
|
||||
scale;
|
||||
desc { "default";
|
||||
rel1.to: "efl.tab_root";
|
||||
rel2.to: "base";
|
||||
rel1.relative: 0 1;
|
||||
}
|
||||
}
|
||||
swallow { "efl.event";
|
||||
scale;
|
||||
repeat_events: 1;
|
||||
desc { "default";
|
||||
rel.to: "efl.page_root";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,4 +1,4 @@
|
|||
group { "efl/multibuttonentry";
|
||||
group { "efl/tags";
|
||||
data.item: "horizontal_pad" 0;
|
||||
data.item: "vertical_pad" 0;
|
||||
data.item: "closed_height" 0;
|
||||
|
@ -6,16 +6,16 @@ group { "efl/multibuttonentry";
|
|||
rect { "bg";
|
||||
scale;
|
||||
desc { "default";
|
||||
color_class: "multibuttonentry_bg";
|
||||
color_class: "tags_bg";
|
||||
}
|
||||
}
|
||||
swallow { "elm.swallow.background";
|
||||
swallow { "efl.background";
|
||||
scale;
|
||||
desc { "default";
|
||||
rel.to: "bg";
|
||||
}
|
||||
}
|
||||
swallow { "box.swallow";
|
||||
swallow { "efl.box";
|
||||
desc { "default";
|
||||
rel.to: "bg";
|
||||
}
|
||||
|
@ -23,20 +23,20 @@ group { "efl/multibuttonentry";
|
|||
}
|
||||
}
|
||||
|
||||
group { "efl/multibuttonentry/label";
|
||||
group { "efl/tags/label";
|
||||
parts {
|
||||
text { "elm.text";
|
||||
text { "efl.text";
|
||||
nomouse;
|
||||
effect: GLOW;
|
||||
scale;
|
||||
desc { "default";
|
||||
color: FN_COL_HIGHLIGHT;
|
||||
color_class: "multibuttonentry_label";
|
||||
color_class: "tags_label";
|
||||
text { font: FNBD; size: 10;
|
||||
min: 1 1;
|
||||
ellipsis: -1;
|
||||
align: 0.5 0.5;
|
||||
text_class: "multibuttonentry_label";
|
||||
text_class: "tags_label";
|
||||
}
|
||||
rel1.offset: 2 2;
|
||||
rel2.offset: -5 -5;
|
||||
|
@ -45,33 +45,15 @@ group { "efl/multibuttonentry/label";
|
|||
}
|
||||
}
|
||||
|
||||
group { "efl/multibuttonentry/guidetext";
|
||||
parts {
|
||||
text { "elm.text";
|
||||
scale;
|
||||
effect: SHADOW BOTTOM;
|
||||
desc { "default";
|
||||
rel1.offset: 2 2;
|
||||
rel2.offset: -4 -4;
|
||||
color: FN_COL_DISABLE;
|
||||
text { font: FNBD; size: 10;
|
||||
min: 0 1;
|
||||
align: 0.0 0.5;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
group { "efl/multibuttonentry/btn";
|
||||
group { "efl/tags/btn";
|
||||
images.image: "button_normal.png" COMP;
|
||||
images.image: "button_clicked.png" COMP;
|
||||
images.image: "sym_close_dark_normal.png" COMP;
|
||||
images.image: "sym_close_dark_selected.png" COMP;
|
||||
images.image: "win_glow.png" COMP;
|
||||
styles {
|
||||
style { name: "efl_multibuttonentry_textblock_style";
|
||||
base: "font="FN" align=0.5 font_size=10 color=#ffffffff style=shadow,bottom shadow_color=#00000080 text_class=multibuttonentry_item ellipsis=1.0";
|
||||
style { name: "efl_tags_textblock_style";
|
||||
base: "font="FN" align=0.5 font_size=10 color=#ffffffff style=shadow,bottom shadow_color=#00000080 text_class=tags_item ellipsis=1.0";
|
||||
tag: "br" "\n";
|
||||
tag: "ps" "ps";
|
||||
tag: "hilight" "+ font="FNBD;
|
||||
|
@ -87,10 +69,10 @@ group { "efl/multibuttonentry/btn";
|
|||
parts {
|
||||
rect { "bg";
|
||||
desc { "default";
|
||||
color_class: "multibuttonentry_item_bg";
|
||||
color_class: "tags_item_bg";
|
||||
}
|
||||
desc { "pressed";
|
||||
color_class: "multibuttonentry_item_bg_selected";
|
||||
color_class: "tags_item_bg_selected";
|
||||
}
|
||||
}
|
||||
image { "base";
|
||||
|
@ -161,15 +143,15 @@ group { "efl/multibuttonentry/btn";
|
|||
color: 0 0 0 0;
|
||||
}
|
||||
}
|
||||
textblock { "elm.btn.text";
|
||||
textblock { "efl.btn.text";
|
||||
nomouse;
|
||||
scale;
|
||||
desc { "default";
|
||||
color_class: "multibuttonentry_item_text";
|
||||
text { style: "efl_multibuttonentry_textblock_style";
|
||||
color_class: "tags_item_text";
|
||||
text { style: "efl_tags_textblock_style";
|
||||
min: 1 1;
|
||||
ellipsis: -1;
|
||||
text_class: "multibuttonentry_item_text";
|
||||
text_class: "tags_item_text";
|
||||
}
|
||||
hid;
|
||||
rel1.offset: 5 5;
|
||||
|
@ -184,12 +166,12 @@ group { "efl/multibuttonentry/btn";
|
|||
nomouse;
|
||||
scale;
|
||||
desc { "default";
|
||||
color_class: "multibuttonentry_item_text";
|
||||
text { style: "efl_multibuttonentry_textblock_style";
|
||||
text_source: "elm.btn.text";
|
||||
color_class: "tags_item_text";
|
||||
text { style: "efl_tags_textblock_style";
|
||||
text_source: "efl.btn.text";
|
||||
min: 0 1;
|
||||
align: 0.0 0.5;
|
||||
text_class: "multibuttonentry_item_text";
|
||||
text_class: "tags_item_text";
|
||||
}
|
||||
align: 0.0 0.5;
|
||||
rel1.offset: 5 5;
|
||||
|
@ -201,16 +183,16 @@ group { "efl/multibuttonentry/btn";
|
|||
}
|
||||
desc { "pressed";
|
||||
inherit: "default";
|
||||
color_class: "multibuttonentry_item_text_pressed";
|
||||
color_class: "tags_item_text_pressed";
|
||||
text {
|
||||
text_class: "multibuttonentry_item_text_pressed";
|
||||
text_class: "tags_item_text_pressed";
|
||||
}
|
||||
}
|
||||
desc { "disabled";
|
||||
inherit: "default";
|
||||
color_class: "multibuttonentry_item_text_disabled";
|
||||
color_class: "tags_item_text_disabled";
|
||||
text {
|
||||
text_class: "multibuttonentry_item_text_disabled";
|
||||
text_class: "tags_item_text_disabled";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -226,28 +208,28 @@ group { "efl/multibuttonentry/btn";
|
|||
}
|
||||
}
|
||||
program {
|
||||
signal: "elm,state,default";
|
||||
source: "elm";
|
||||
signal: "efl,state,default";
|
||||
source: "efl";
|
||||
action: STATE_SET "default";
|
||||
target: "glow";
|
||||
}
|
||||
program {
|
||||
signal: "elm,state,focused";
|
||||
source: "elm";
|
||||
signal: "efl,state,focused";
|
||||
source: "efl";
|
||||
action: STATE_SET "focused";
|
||||
target: "glow";
|
||||
}
|
||||
program {
|
||||
signal: "elm,state,enabled";
|
||||
source: "elm";
|
||||
signal: "efl,state,enabled";
|
||||
source: "efl";
|
||||
script {
|
||||
set_state(PART:"text", "default", 0.0);
|
||||
set_int(disabled , 0);
|
||||
}
|
||||
}
|
||||
program {
|
||||
signal: "elm,state,disabled";
|
||||
source: "elm";
|
||||
signal: "efl,state,disabled";
|
||||
source: "efl";
|
||||
script {
|
||||
new st[31];
|
||||
new Float: vl;
|
||||
|
@ -259,8 +241,8 @@ group { "efl/multibuttonentry/btn";
|
|||
}
|
||||
}
|
||||
program {
|
||||
signal: "elm,state,unfocused";
|
||||
source: "elm";
|
||||
signal: "efl,state,unfocused";
|
||||
source: "efl";
|
||||
action: STATE_SET "unfocused";
|
||||
target: "glow";
|
||||
}
|
||||
|
@ -289,7 +271,7 @@ group { "efl/multibuttonentry/btn";
|
|||
program {
|
||||
signal: "mouse,clicked,1";
|
||||
source: "del";
|
||||
action: SIGNAL_EMIT "elm,deleted" "elm";
|
||||
action: SIGNAL_EMIT "efl,deleted" "efl";
|
||||
}
|
||||
program {
|
||||
signal: "mouse,down,1";
|
||||
|
@ -306,35 +288,23 @@ group { "efl/multibuttonentry/btn";
|
|||
}
|
||||
}
|
||||
|
||||
group { "efl/multibuttonentry/closedbutton";
|
||||
styles {
|
||||
style { name: "textblock_style_efl_multibuttonentry_default";
|
||||
base: "font="FNBD" font_size=10 text_class=multibuttonentry_closed style=glow color=#3399ffff glow_color=#3399ff18 align=center glow2_color=#3399ff12 wrap=char";
|
||||
tag: "br" "\n";
|
||||
tag: "ps" "ps";
|
||||
tag: "hilight" "+ font="FNBD;
|
||||
tag: "b" "+ font="FNBD;
|
||||
tag: "tab" "\t";
|
||||
}
|
||||
}
|
||||
group { "efl/tags/number";
|
||||
parts {
|
||||
rect { "bg";
|
||||
desc { "default";
|
||||
color: 0 0 0 0;
|
||||
}
|
||||
}
|
||||
textblock { "elm.text";
|
||||
text { "efl.text";
|
||||
nomouse;
|
||||
effect: GLOW;
|
||||
scale;
|
||||
desc { "default";
|
||||
rel1.offset: 2 2;
|
||||
rel1.to: "bg";
|
||||
rel2.offset: -3 -3;
|
||||
rel2.to: "bg";
|
||||
text { style: "textblock_style_multibuttonentry_default";
|
||||
color: FN_COL_HIGHLIGHT;
|
||||
color_class: "tags_number";
|
||||
text { font: FNBD; size: 10;
|
||||
min: 1 1;
|
||||
ellipsis: -1;
|
||||
align: 0.5 0.5;
|
||||
text_class: "tags_number";
|
||||
}
|
||||
rel1.offset: 2 2;
|
||||
rel2.offset: -5 -5;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,8 +1,9 @@
|
|||
|
||||
group { "efl/text/scroller";
|
||||
inherit: "elm/scroller/base/default";
|
||||
inherit: "efl/scroller";
|
||||
image: "bg_glow_in.png" COMP;
|
||||
parts {
|
||||
part { name: "elm.swallow.background"; type: SWALLOW;
|
||||
part { name: "efl.background"; type: SWALLOW;
|
||||
clip_to: "clipper";
|
||||
description { state: "default" 0.0;
|
||||
rel1.offset: 1 1;
|
||||
|
@ -28,17 +29,17 @@ group { "efl/text/scroller";
|
|||
color: DARK_GREY_BG_COLOR;
|
||||
}
|
||||
}
|
||||
part { name: "elm.swallow.content";
|
||||
part { name: "efl.content"; type: SWALLOW;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "elm.swallow.icon";
|
||||
rel1.to: "efl.icon";
|
||||
rel1.relative: 1.0 0.0;
|
||||
rel1.offset: 0 0;
|
||||
rel2.to: "elm.swallow.end";
|
||||
rel2.to: "efl.end";
|
||||
rel2.relative: 0.0 1.0;
|
||||
rel2.offset: -1 -1;
|
||||
}
|
||||
}
|
||||
part { name: "elm.swallow.icon"; type: SWALLOW;
|
||||
part { name: "efl.icon"; type: SWALLOW;
|
||||
clip_to: "clipper";
|
||||
description { state: "default" 0.0;
|
||||
fixed: 1 1;
|
||||
|
@ -57,16 +58,16 @@ group { "efl/text/scroller";
|
|||
}
|
||||
}
|
||||
program {
|
||||
signal: "elm,action,show,icon"; source: "elm";
|
||||
signal: "efl,action,show,icon"; source: "efl";
|
||||
action: STATE_SET "visible" 0.0;
|
||||
target: "elm.swallow.icon";
|
||||
target: "efl.icon";
|
||||
}
|
||||
program {
|
||||
signal: "elm,action,hide,icon"; source: "elm";
|
||||
signal: "efl,action,hide,icon"; source: "efl";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "elm.swallow.icon";
|
||||
target: "efl.icon";
|
||||
}
|
||||
part { name: "elm.swallow.end"; type: SWALLOW;
|
||||
part { name: "efl.end"; type: SWALLOW;
|
||||
clip_to: "clipper";
|
||||
description { state: "default" 0.0;
|
||||
fixed: 1 1;
|
||||
|
@ -85,14 +86,14 @@ group { "efl/text/scroller";
|
|||
}
|
||||
}
|
||||
program {
|
||||
signal: "elm,action,show,end"; source: "elm";
|
||||
signal: "efl,action,show,end"; source: "efl";
|
||||
action: STATE_SET "visible" 0.0;
|
||||
target: "elm.swallow.end";
|
||||
target: "efl.end";
|
||||
}
|
||||
program {
|
||||
signal: "elm,action,hide,end"; source: "elm";
|
||||
signal: "efl,action,hide,end"; source: "efl";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "elm.swallow.end";
|
||||
target: "efl.end";
|
||||
}
|
||||
part { name: "glow";
|
||||
insert_after: "shadow";
|
||||
|
@ -118,7 +119,7 @@ group { "efl/text/scroller";
|
|||
}
|
||||
programs {
|
||||
program {
|
||||
signal: "elm,action,focus_highlight,show"; source: "elm";
|
||||
signal: "efl,action,focus_highlight,show"; source: "efl";
|
||||
action: STATE_SET "focused" 0.0;
|
||||
target: "glow";
|
||||
after: "focus_in2";
|
||||
|
@ -129,26 +130,26 @@ group { "efl/text/scroller";
|
|||
target: "glow";
|
||||
}
|
||||
program {
|
||||
signal: "elm,action,focus_highlight,hide"; source: "elm";
|
||||
signal: "efl,action,focus_highlight,hide"; source: "efl";
|
||||
action: STATE_SET "default" 0.0;
|
||||
transition: DECELERATE 0.3;
|
||||
target: "glow";
|
||||
}
|
||||
program { name: "validation_fail";
|
||||
signal: "validation,default,fail";
|
||||
source: "elm";
|
||||
source: "efl";
|
||||
action: STATE_SET "fail" 0.0;
|
||||
target: "validation_glow";
|
||||
}
|
||||
program { name: "validation_pass";
|
||||
signal: "validation,default,pass";
|
||||
source: "elm";
|
||||
source: "efl";
|
||||
action: STATE_SET "pass" 0.0;
|
||||
target: "validation_glow";
|
||||
}
|
||||
program { name: "validation_off";
|
||||
signal: "validation,default";
|
||||
source: "elm";
|
||||
source: "efl";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "validation_glow";
|
||||
}
|
||||
|
@ -182,7 +183,7 @@ group { "efl/text/single/scroller";
|
|||
visible: 0;
|
||||
}
|
||||
}
|
||||
part { name: "elm.dragable.vbar"; type: RECT;
|
||||
part { name: "efl.dragable.vbar"; type: RECT;
|
||||
dragable.x: 0 0 0;
|
||||
dragable.y: 1 1 0;
|
||||
dragable.confine: "sb_vbar_base";
|
||||
|
@ -202,7 +203,7 @@ group { "efl/text/single/scroller";
|
|||
visible: 0;
|
||||
}
|
||||
}
|
||||
part { name: "elm.dragable.hbar"; type: RECT;
|
||||
part { name: "efl.dragable.hbar"; type: RECT;
|
||||
dragable.x: 1 1 0;
|
||||
dragable.y: 0 0 0;
|
||||
dragable.confine: "sb_hbar_base";
|
||||
|
@ -217,35 +218,35 @@ group { "efl/text/single/scroller";
|
|||
}
|
||||
part { name: "bg"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "elm.swallow.background";
|
||||
rel2.to: "elm.swallow.background";
|
||||
rel1.to: "efl.background";
|
||||
rel2.to: "efl.background";
|
||||
color: DARK_GREY_BG_COLOR;
|
||||
color_class: "scroller_bg";
|
||||
}
|
||||
}
|
||||
part { name: "clipper"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "elm.swallow.background";
|
||||
rel2.to: "elm.swallow.background";
|
||||
rel1.to: "efl.background";
|
||||
rel2.to: "efl.background";
|
||||
}
|
||||
}
|
||||
part { name: "elm.swallow.background"; type: SWALLOW;
|
||||
part { name: "efl.background"; type: SWALLOW;
|
||||
clip_to: "clipper";
|
||||
description { state: "default" 0.0;
|
||||
rel1.offset: 1 1;
|
||||
rel2.offset: -2 -2;
|
||||
}
|
||||
}
|
||||
part { name: "elm.swallow.content"; type: SWALLOW;
|
||||
part { name: "efl.content"; type: SWALLOW;
|
||||
clip_to: "clipper";
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "elm.swallow.icon";
|
||||
rel1.to: "efl.icon";
|
||||
rel1.relative: 1.0 0.0;
|
||||
rel2.to: "elm.swallow.end";
|
||||
rel2.to: "efl.end";
|
||||
rel2.relative: 0.0 1.0;
|
||||
}
|
||||
}
|
||||
part { name: "elm.swallow.icon"; type: SWALLOW;
|
||||
part { name: "efl.icon"; type: SWALLOW;
|
||||
clip_to: "clipper";
|
||||
description { state: "default" 0.0;
|
||||
fixed: 1 1;
|
||||
|
@ -262,16 +263,16 @@ group { "efl/text/single/scroller";
|
|||
}
|
||||
}
|
||||
program {
|
||||
signal: "elm,action,show,icon"; source: "elm";
|
||||
signal: "efl,action,show,icon"; source: "efl";
|
||||
action: STATE_SET "visible" 0.0;
|
||||
target: "elm.swallow.icon";
|
||||
target: "efl.icon";
|
||||
}
|
||||
program {
|
||||
signal: "elm,action,hide,icon"; source: "elm";
|
||||
signal: "efl,action,hide,icon"; source: "efl";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "elm.swallow.icon";
|
||||
target: "efl.icon";
|
||||
}
|
||||
part { name: "elm.swallow.end"; type: SWALLOW;
|
||||
part { name: "efl.end"; type: SWALLOW;
|
||||
clip_to: "clipper";
|
||||
description { state: "default" 0.0;
|
||||
fixed: 1 1;
|
||||
|
@ -288,14 +289,14 @@ group { "efl/text/single/scroller";
|
|||
}
|
||||
}
|
||||
program {
|
||||
signal: "elm,action,show,end"; source: "elm";
|
||||
signal: "efl,action,show,end"; source: "efl";
|
||||
action: STATE_SET "visible" 0.0;
|
||||
target: "elm.swallow.end";
|
||||
target: "efl.end";
|
||||
}
|
||||
program {
|
||||
signal: "elm,action,hide,end"; source: "elm";
|
||||
signal: "efl,action,hide,end"; source: "efl";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "elm.swallow.end";
|
||||
target: "efl.end";
|
||||
}
|
||||
part { name: "inset"; mouse_events: 0;
|
||||
description { state: "default" 0.0;
|
||||
|
@ -320,7 +321,7 @@ group { "efl/text/single/scroller";
|
|||
color: 255 255 255 128;
|
||||
}
|
||||
}
|
||||
part { name: "elm.swallow.overlay"; type: SWALLOW;
|
||||
part { name: "efl.overlay"; type: SWALLOW;
|
||||
clip_to: "clipper";
|
||||
description { state: "default" 0.0;
|
||||
rel1.offset: 1 1;
|
||||
|
@ -350,7 +351,7 @@ group { "efl/text/single/scroller";
|
|||
}
|
||||
programs {
|
||||
program {
|
||||
signal: "elm,action,focus_highlight,show"; source: "elm";
|
||||
signal: "efl,action,focus_highlight,show"; source: "efl";
|
||||
action: STATE_SET "focused" 0.0;
|
||||
target: "glow";
|
||||
after: "focus_in2";
|
||||
|
@ -361,26 +362,26 @@ group { "efl/text/single/scroller";
|
|||
target: "glow";
|
||||
}
|
||||
program {
|
||||
signal: "elm,action,focus_highlight,hide"; source: "elm";
|
||||
signal: "efl,action,focus_highlight,hide"; source: "efl";
|
||||
action: STATE_SET "default" 0.0;
|
||||
transition: DECELERATE 0.3;
|
||||
target: "glow";
|
||||
}
|
||||
program { name: "validation_fail";
|
||||
signal: "validation,default,fail";
|
||||
source: "elm";
|
||||
source: "efl";
|
||||
action: STATE_SET "fail" 0.0;
|
||||
target: "validation_glow";
|
||||
}
|
||||
program { name: "validation_pass";
|
||||
signal: "validation,default,pass";
|
||||
source: "elm";
|
||||
source: "efl";
|
||||
action: STATE_SET "pass" 0.0;
|
||||
target: "validation_glow";
|
||||
}
|
||||
program { name: "validation_off";
|
||||
signal: "validation,default";
|
||||
source: "elm";
|
||||
source: "efl";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "validation_glow";
|
||||
}
|
||||
|
@ -422,22 +423,22 @@ group { "efl/text/cursor";
|
|||
}
|
||||
programs {
|
||||
program {
|
||||
signal: "selection,changed"; source: "elm.text";
|
||||
signal: "selection,changed"; source: "efl.text";
|
||||
action: STATE_SET "hidden" 0.0;
|
||||
target: "clipper";
|
||||
}
|
||||
program {
|
||||
signal: "selection,cleared"; source: "elm.text";
|
||||
signal: "selection,cleared"; source: "efl.text";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "clipper";
|
||||
}
|
||||
program {
|
||||
signal: "selection,reset"; source: "elm.text";
|
||||
signal: "selection,reset"; source: "efl.text";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "clipper";
|
||||
}
|
||||
program {
|
||||
signal: "elm,action,focus"; source: "elm";
|
||||
signal: "efl,action,focus"; source: "efl";
|
||||
action: ACTION_STOP;
|
||||
target: "cursor_show";
|
||||
target: "cursor_hide";
|
||||
|
@ -446,7 +447,7 @@ group { "efl/text/cursor";
|
|||
after: "cursor_show";
|
||||
}
|
||||
program {
|
||||
signal: "elm,action,unfocus"; source: "elm";
|
||||
signal: "efl,action,unfocus"; source: "efl";
|
||||
action: ACTION_STOP;
|
||||
target: "cursor_show";
|
||||
target: "cursor_hide";
|
||||
|
@ -455,7 +456,7 @@ group { "efl/text/cursor";
|
|||
after: "cursor_hide_stop";
|
||||
}
|
||||
program {
|
||||
signal: "elm,action,show,cursor"; source: "elm";
|
||||
signal: "efl,action,show,cursor"; source: "efl";
|
||||
action: ACTION_STOP;
|
||||
target: "cursor_show";
|
||||
target: "cursor_hide";
|
||||
|
@ -541,17 +542,17 @@ group { "efl/text";
|
|||
}
|
||||
}
|
||||
parts {
|
||||
part { name: "elm.swallow.background"; type: SWALLOW;
|
||||
part { name: "efl.background"; type: SWALLOW;
|
||||
description { state: "default" 0.0;
|
||||
rel1.offset: 1 1;
|
||||
rel2.offset: -2 -2;
|
||||
}
|
||||
}
|
||||
part { name: "elm.guide"; type: TEXTBLOCK; mouse_events: 0;
|
||||
part { name: "efl.guide"; type: TEXTBLOCK; mouse_events: 0;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "elm.text";
|
||||
rel2.to: "elm.text";
|
||||
rel1.to: "efl.text";
|
||||
rel2.to: "efl.text";
|
||||
text { style: "efl_ui_text_guide_style";
|
||||
min: 0 1;
|
||||
align: 0.0 0.0;
|
||||
|
@ -562,7 +563,7 @@ group { "efl/text";
|
|||
visible: 0;
|
||||
}
|
||||
}
|
||||
part { name: "elm.text"; type: SWALLOW;
|
||||
part { name: "efl.text"; type: SWALLOW;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
/* we gotta use 0 0 here, because of scrolled entries */
|
||||
|
@ -579,32 +580,32 @@ group { "efl/text";
|
|||
program {
|
||||
signal: "load"; source: "";
|
||||
action: FOCUS_SET;
|
||||
target: "elm.text";
|
||||
target: "efl.text";
|
||||
}
|
||||
program {
|
||||
signal: "elm,state,disabled"; source: "elm";
|
||||
signal: "efl,state,disabled"; source: "efl";
|
||||
action: STATE_SET "disabled" 0.0;
|
||||
target: "elm.text";
|
||||
target: "efl.text";
|
||||
}
|
||||
program {
|
||||
signal: "elm,state,enabled"; source: "elm";
|
||||
signal: "efl,state,enabled"; source: "efl";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "elm.text";
|
||||
target: "efl.text";
|
||||
}
|
||||
#if 0
|
||||
program {
|
||||
signal: "elm,guide,disabled"; source: "elm";
|
||||
signal: "efl,guide,disabled"; source: "efl";
|
||||
action: STATE_SET "hidden" 0.0;
|
||||
target: "elm.guide";
|
||||
target: "efl.guide";
|
||||
}
|
||||
program {
|
||||
signal: "elm,guide,enabled"; source: "elm";
|
||||
signal: "efl,guide,enabled"; source: "efl";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "elm.guide";
|
||||
target: "efl.guide";
|
||||
}
|
||||
#endif
|
||||
program { name: "key-down";
|
||||
signal: "entry,keydown"; source: "elm.text";
|
||||
signal: "entry,keydown"; source: "efl.text";
|
||||
script {
|
||||
new buf[32];
|
||||
snprintf(buf, 31, "key-down%i", (rand() % 5) + 1);
|
||||
|
@ -645,7 +646,7 @@ group { "efl/text/magnifier";
|
|||
visible: 0;
|
||||
}
|
||||
}
|
||||
part { name: "elm.swallow.content"; type: SWALLOW; mouse_events: 0;
|
||||
part { name: "efl.content"; type: SWALLOW; mouse_events: 0;
|
||||
description { state: "default" 0.0;
|
||||
rel1.offset: 10 10;
|
||||
rel1.to: "over";
|
||||
|
@ -675,16 +676,16 @@ group { "efl/text/magnifier";
|
|||
}
|
||||
programs {
|
||||
program { name: "magnifier_show";
|
||||
signal: "elm,action,show,magnifier"; source: "elm";
|
||||
signal: "efl,action,show,magnifier"; source: "efl";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "elm.swallow.content";
|
||||
target: "efl.content";
|
||||
target: "bg";
|
||||
target: "over";
|
||||
}
|
||||
program { name: "magnifier_hide";
|
||||
signal: "elm,action,hide,magnifier"; source: "elm";
|
||||
signal: "efl,action,hide,magnifier"; source: "efl";
|
||||
action: STATE_SET "hidden" 0.0;
|
||||
target: "elm.swallow.content";
|
||||
target: "efl.content";
|
||||
target: "bg";
|
||||
target: "over";
|
||||
}
|
||||
|
@ -725,13 +726,13 @@ group { "efl/text/handler/start";
|
|||
}
|
||||
programs {
|
||||
program {
|
||||
signal: "elm,handler,show"; source: "elm";
|
||||
signal: "efl,handler,show"; source: "efl";
|
||||
action: STATE_SET "visible" 0.0;
|
||||
target: "base";
|
||||
target: "event";
|
||||
}
|
||||
program {
|
||||
signal: "elm,handler,hide"; source: "elm";
|
||||
signal: "efl,handler,hide"; source: "efl";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "base";
|
||||
target: "event";
|
||||
|
@ -773,13 +774,13 @@ group { "efl/text/handler/end";
|
|||
}
|
||||
programs {
|
||||
program {
|
||||
signal: "elm,handler,show"; source: "elm";
|
||||
signal: "efl,handler,show"; source: "efl";
|
||||
action: STATE_SET "visible" 0.0;
|
||||
target: "base";
|
||||
target: "event";
|
||||
}
|
||||
program {
|
||||
signal: "elm,handler,hide"; source: "elm";
|
||||
signal: "efl,handler,hide"; source: "efl";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "base";
|
||||
target: "event";
|
||||
|
@ -913,4 +914,4 @@ group { "efl/text/emoticon/worried"; images.image:
|
|||
group { "efl/text/emoticon/wtf"; images.image:
|
||||
"emo-wtf.png" COMP; parts { part { "icon"; nomouse; desc { "default"; max: 64 64; image.normal:
|
||||
"emo-wtf.png"; } } } }
|
||||
//------------------------------------------------------------
|
||||
//------------------------------------------------------------
|
|
@ -1,3 +1,24 @@
|
|||
group { "efl/textpath";
|
||||
inherit: "elm/textpath/base/default";
|
||||
group { name: "efl/textpath";
|
||||
styles {
|
||||
style { name: "textpath_style2";
|
||||
base: "font="FN" font_size=16 text_class=tb_plain wrap=none align=left color=#ffffffff style=shadow,bottom shadow_color=#00000080";
|
||||
tag: "br" "\n";
|
||||
tag: "b" "+ font="FNBD" text_class=tb_light";
|
||||
ENABLED_TEXTBLOCK_TAGS
|
||||
}
|
||||
}
|
||||
parts {
|
||||
part { name: "efl.text";
|
||||
type: TEXTBLOCK;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
align: 0.0 0.0;
|
||||
text {
|
||||
style: "textpath_style2";
|
||||
min: 0 1;
|
||||
align: 0.0 0.5;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -0,0 +1,409 @@
|
|||
group { "efl/timepicker";
|
||||
nomouse;
|
||||
parts {
|
||||
spacer { "base";
|
||||
scale;
|
||||
desc { "default";
|
||||
min: 150 170;
|
||||
}
|
||||
desc { "24layout";
|
||||
min: 110 170;
|
||||
}
|
||||
}
|
||||
rect { "base_bg";
|
||||
scale;
|
||||
desc { "default";
|
||||
rel.to: "base";
|
||||
color_class: "timepicker_bg";
|
||||
}
|
||||
}
|
||||
spacer { "padding_bg_top";
|
||||
scale;
|
||||
desc { "default";
|
||||
min: 0 10;
|
||||
max: -1 10;
|
||||
fixed: 0 1;
|
||||
rel1 {
|
||||
relative: 0.0 0.0;
|
||||
to: "base_bg";
|
||||
}
|
||||
rel2 {
|
||||
relative: 1.0 0.0;
|
||||
to: "base_bg";
|
||||
}
|
||||
align: 0.5 0.0;
|
||||
}
|
||||
}
|
||||
spacer { "padding_bg_bottom";
|
||||
scale;
|
||||
desc { "default";
|
||||
min: 0 10;
|
||||
max: -1 10;
|
||||
fixed: 0 1;
|
||||
rel1 {
|
||||
relative: 0.0 1.0;
|
||||
to: "base_bg";
|
||||
}
|
||||
rel2 {
|
||||
relative: 1.0 1.0;
|
||||
to: "base_bg";
|
||||
}
|
||||
align: 0.5 1.0;
|
||||
}
|
||||
}
|
||||
spacer { "bg";
|
||||
scale;
|
||||
desc { "default";
|
||||
min: 150 150;
|
||||
max: 150 150;
|
||||
rel1 {
|
||||
relative: 0.0 1.0;
|
||||
to: "padding_bg_top";
|
||||
}
|
||||
rel2 {
|
||||
relative: 1.0 0.0;
|
||||
to: "padding_bg_bottom";
|
||||
}
|
||||
}
|
||||
desc { "24layout";
|
||||
inherit: "default";
|
||||
min: 110 150;
|
||||
max: 110 150;
|
||||
}
|
||||
}
|
||||
spacer { "padding_left";
|
||||
scale;
|
||||
desc { "default";
|
||||
min: 0 0;
|
||||
max: 0 -1;
|
||||
fixed: 1 0;
|
||||
rel1 {
|
||||
relative: 0.0 0.0;
|
||||
to: "bg";
|
||||
}
|
||||
rel2 {
|
||||
relative: 0.0 1.0;
|
||||
to: "bg";
|
||||
}
|
||||
align: 0.0 0.0;
|
||||
}
|
||||
}
|
||||
spacer { "padding_right";
|
||||
scale;
|
||||
desc { "default";
|
||||
min: 0 0;
|
||||
max: 0 -1;
|
||||
fixed: 1 0;
|
||||
rel1 {
|
||||
relative: 1.0 0.0;
|
||||
to: "bg";
|
||||
}
|
||||
rel2 {
|
||||
relative: 1.0 1.0;
|
||||
to: "bg";
|
||||
}
|
||||
align: 1.0 1.0;
|
||||
}
|
||||
}
|
||||
swallow { "efl.field0";
|
||||
mouse;
|
||||
scale;
|
||||
desc { "default";
|
||||
fixed: 1 0;
|
||||
min: 40 0;
|
||||
rel1 {
|
||||
relative: 1.0 0.0;
|
||||
to: "padding_left";
|
||||
}
|
||||
rel2.to: "padding_left";
|
||||
align: 0.0 0.5;
|
||||
}
|
||||
}
|
||||
spacer{ "padding_center1";
|
||||
scale;
|
||||
desc { "default";
|
||||
fixed: 1 0;
|
||||
min: 3 0;
|
||||
max: 3 -1;
|
||||
rel1 {
|
||||
relative: 1.0 0.0;
|
||||
to: "efl.field0";
|
||||
}
|
||||
rel2.to: "efl.field0";
|
||||
align: 0.0 0.5;
|
||||
}
|
||||
desc { "invisible";
|
||||
inherit: default 0.0;
|
||||
min: 15 0;
|
||||
max: 15 -1;
|
||||
}
|
||||
}
|
||||
spacer { "bg_text";
|
||||
scale;
|
||||
desc { "default";
|
||||
rel1 {
|
||||
relative: 1.0 0.0;
|
||||
to: "padding_center1";
|
||||
}
|
||||
rel2.to: "padding_center1";
|
||||
align: 0.0 0.5;
|
||||
min: 9 0;
|
||||
max: 9 -1;
|
||||
fixed: 1 0;
|
||||
}
|
||||
desc { "invisible";
|
||||
inherit: default 0.0;
|
||||
min: 0 0;
|
||||
max: 0 0;
|
||||
}
|
||||
}
|
||||
text { "hour_minute_colon";
|
||||
scale;
|
||||
desc { "default";
|
||||
rel1.to: "bg_text";
|
||||
rel2.to: "bg_text";
|
||||
color: 255 255 255 255;
|
||||
fixed: 1 1;
|
||||
text {
|
||||
min: 1 0;
|
||||
font: "Sans";
|
||||
size: "15";
|
||||
//text: ":";
|
||||
align: 0.5 0.44;
|
||||
}
|
||||
vis;
|
||||
}
|
||||
desc { "invisible";
|
||||
inherit: default 0.0;
|
||||
hid;
|
||||
}
|
||||
}
|
||||
spacer { "padding_center2";
|
||||
scale;
|
||||
desc { "default";
|
||||
fixed: 1 0;
|
||||
min: 3 0;
|
||||
max: 3 -1;
|
||||
rel1 {
|
||||
relative: 1.0 0.0;
|
||||
to: "bg_text";
|
||||
}
|
||||
rel2.to: "bg_text";
|
||||
align: 0.0 0.5;
|
||||
}
|
||||
desc { "invisible";
|
||||
inherit: default 0.0;
|
||||
min: 0 0;
|
||||
max: 0 0;
|
||||
}
|
||||
}
|
||||
swallow { "efl.field1";
|
||||
mouse;
|
||||
scale;
|
||||
desc { "default";
|
||||
fixed: 1 0;
|
||||
min: 40 0;
|
||||
rel1 {
|
||||
relative: 1.0 0.0;
|
||||
to: "padding_center2";
|
||||
}
|
||||
rel2.to: "padding_center2";
|
||||
align: 0.0 0.5;
|
||||
}
|
||||
}
|
||||
spacer { "padding_center3";
|
||||
scale;
|
||||
desc { "default";
|
||||
fixed: 1 0;
|
||||
min: 3 0;
|
||||
max: 3 -1;
|
||||
rel1 {
|
||||
relative: 1.0 0.0;
|
||||
to: "efl.field1";
|
||||
}
|
||||
rel2.to: "efl.field1";
|
||||
align: 0.0 0.5;
|
||||
}
|
||||
desc { "invisible";
|
||||
inherit: default 0.0;
|
||||
min: 15 0;
|
||||
max: 15 -1;
|
||||
}
|
||||
}
|
||||
spacer { "bg_text2";
|
||||
scale;
|
||||
desc { "default";
|
||||
rel1 {
|
||||
relative: 1.0 0.0;
|
||||
to: "padding_center3";
|
||||
}
|
||||
rel2.to: "padding_center3";
|
||||
align: 0.0 0.5;
|
||||
min: 9 0;
|
||||
max: 9 -1;
|
||||
fixed: 1 0;
|
||||
}
|
||||
desc { "invisible";
|
||||
inherit: default 0.0;
|
||||
min: 0 0;
|
||||
max: 0 0;
|
||||
}
|
||||
}
|
||||
text { "hour_minute_colon2";
|
||||
scale;
|
||||
desc { "default";
|
||||
rel1.to: "bg_text2";
|
||||
rel2.to: "bg_text2";
|
||||
color: 255 255 255 255;
|
||||
fixed: 1 1;
|
||||
text {
|
||||
min: 1 0;
|
||||
font: "Sans";
|
||||
size: "15";
|
||||
//text: ":";
|
||||
align: 0.5 0.44;
|
||||
}
|
||||
vis;
|
||||
}
|
||||
desc { "invisible";
|
||||
inherit: default 0.0;
|
||||
hid;
|
||||
}
|
||||
}
|
||||
spacer { "padding_center4";
|
||||
scale;
|
||||
desc { "default";
|
||||
fixed: 1 0;
|
||||
min: 3 0;
|
||||
max: 3 -1;
|
||||
rel1 {
|
||||
relative: 1.0 0.0;
|
||||
to: "bg_text2";
|
||||
}
|
||||
rel2.to: "bg_text2";
|
||||
align: 0.0 0.5;
|
||||
}
|
||||
desc { "invisible";
|
||||
inherit: default 0.0;
|
||||
min: 0 0;
|
||||
max: 0 0;
|
||||
}
|
||||
}
|
||||
swallow { "efl.field2";
|
||||
mouse;
|
||||
scale;
|
||||
desc { "default";
|
||||
fixed: 1 0;
|
||||
min: 40 0;
|
||||
max: 40 -1;
|
||||
rel1 {
|
||||
relative: 1.0 0.0;
|
||||
to: "padding_center4";
|
||||
}
|
||||
rel2.to: "padding_center4";
|
||||
align: 0.0 0.5;
|
||||
}
|
||||
desc { "24layout";
|
||||
hid;
|
||||
min: 0 0;
|
||||
max: 0 -1;
|
||||
}
|
||||
}
|
||||
rect { "access";
|
||||
repeat;
|
||||
desc { "default";
|
||||
fixed: 1 1;
|
||||
rel1.to: "bg";
|
||||
rel2.to: "bg";
|
||||
color: 0 0 0 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
programs {
|
||||
program { "visible_ampm";
|
||||
signal: "efl,state,ampm,visible";
|
||||
source: "efl";
|
||||
script {
|
||||
set_state(PART:"base", "default", 0.0);
|
||||
set_state(PART:"bg", "default", 0.0);
|
||||
set_state(PART:"efl.field2", "default", 0.0);
|
||||
}
|
||||
}
|
||||
program { "invisible_ampm";
|
||||
signal: "efl,state,ampm,invisible";
|
||||
source: "efl";
|
||||
script {
|
||||
set_state(PART:"base", "24layout", 0.0);
|
||||
set_state(PART:"bg", "24layout", 0.0);
|
||||
set_state(PART:"efl.field2", "24layout", 0.0);
|
||||
}
|
||||
}
|
||||
program { "visible_colon_field0";
|
||||
signal: "efl,state,colon,visible,field0";
|
||||
source: "efl";
|
||||
action: STATE_SET "default";
|
||||
target: "padding_center1";
|
||||
target: "hour_minute_colon";
|
||||
target: "bg_text";
|
||||
target: "padding_center2";
|
||||
}
|
||||
program { "invisible_colon_field0";
|
||||
signal: "efl,state,colon,invisible,field0";
|
||||
source: "efl";
|
||||
action: STATE_SET "invisible";
|
||||
target: "padding_center1";
|
||||
target: "hour_minute_colon";
|
||||
target: "bg_text";
|
||||
target: "padding_center2";
|
||||
}
|
||||
program { "visible_colon_field1";
|
||||
signal: "efl,state,colon,visible,field1";
|
||||
source: "efl";
|
||||
action: STATE_SET "default";
|
||||
target: "padding_center3";
|
||||
target: "hour_minute_colon2";
|
||||
target: "bg_text2";
|
||||
target: "padding_center4";
|
||||
}
|
||||
program { "invisible_colon_field1";
|
||||
signal: "efl,state,colon,invisible,field1";
|
||||
source: "efl";
|
||||
action: STATE_SET "invisible";
|
||||
target: "padding_center3";
|
||||
target: "hour_minute_colon2";
|
||||
target: "bg_text2";
|
||||
target: "padding_center4";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
group { "efl/timepicker/spin_button";
|
||||
inherit: "efl/datepicker/spin_button";
|
||||
}
|
||||
|
||||
group { "efl/timepicker/spin_button/text_button";
|
||||
inherit: "efl/spin_button/text_button";
|
||||
}
|
||||
|
||||
group { "efl/timepicker/spin_button/inc_button";
|
||||
inherit: "efl/spin_button/inc_button:vertical";
|
||||
}
|
||||
|
||||
group { "efl/timepicker/spin_button/dec_button";
|
||||
inherit: "efl/spin_button/dec_button:vertical";
|
||||
}
|
||||
group { "efl/timepicker/button";
|
||||
inherit: "efl/button";
|
||||
parts {
|
||||
image { "base";
|
||||
desc { "default";
|
||||
min: 40 40;
|
||||
max: 40 40;
|
||||
}
|
||||
desc { "pressed";
|
||||
min: 40 40;
|
||||
max: 40 40;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,15 +1,431 @@
|
|||
group { "efl/label/tooltip";
|
||||
inherit: "elm/label/base/tooltip/default";
|
||||
group { name: "efl/label/tooltip";
|
||||
alias: "efl/label/base/tooltip"; //XXX: Remove it in EFL 2.0
|
||||
alias: "efl/label/base/tooltip/transparent";
|
||||
styles {
|
||||
style { name: "tooltip_style2";
|
||||
base: "font="FN" font_size=10 color=#ffffff style=shadow,bottom shadow_color=#00000080 text_class=bubble";
|
||||
tag: "br" "\n";
|
||||
tag: "hilight" "+ font="FN" text_class=bubble";
|
||||
tag: "b" "+ font="FN" text_class=bubble";
|
||||
tag: "tab" "\t";
|
||||
}
|
||||
}
|
||||
parts {
|
||||
part { name: "efl.text"; type: TEXTBLOCK; mouse_events: 0;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
text {
|
||||
style: "tooltip_style2";
|
||||
min: 1 1;
|
||||
ellipsis: -1;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
group { "efl/tooltip";
|
||||
inherit: "elm/tooltip/base/default";
|
||||
group { name: "efl/tooltip";
|
||||
min: 30 30;
|
||||
data.item: "pad_x" "10";
|
||||
data.item: "pad_y" "10";
|
||||
data.item: "pad_border_x" "1";
|
||||
data.item: "pad_border_y" "1";
|
||||
/* tooltip is hidden after this amount.
|
||||
Keep in sync with hide animations */
|
||||
data.item: "hide_timeout" "0.35";
|
||||
// if in a window... it's transparent!
|
||||
data.item: "transparent" "enabled";
|
||||
images.image: "tooltip-base.png" COMP;
|
||||
images.image: "tooltip-corner-top-left-tip.png" COMP;
|
||||
images.image: "tooltip-corner-top-right-tip.png" COMP;
|
||||
images.image: "tooltip-corner-bottom-left-tip.png" COMP;
|
||||
images.image: "tooltip-corner-bottom-right-tip.png" COMP;
|
||||
images.image: "tooltip-edge-left-tip.png" COMP;
|
||||
images.image: "tooltip-edge-right-tip.png" COMP;
|
||||
images.image: "tooltip-edge-bottom-tip.png" COMP;
|
||||
images.image: "tooltip-edge-top-tip.png" COMP;
|
||||
script {
|
||||
hide_corners() {
|
||||
set_state(PART:"corner-top-left", "default", 0.0);
|
||||
set_state(PART:"corner-top-right", "default", 0.0);
|
||||
set_state(PART:"corner-bottom-left", "default", 0.0);
|
||||
set_state(PART:"corner-bottom-right", "default", 0.0);
|
||||
}
|
||||
hide_edges() {
|
||||
set_state(PART:"clipper-edge-left", "default", 0.0);
|
||||
set_state(PART:"clipper-edge-right", "default", 0.0);
|
||||
set_state(PART:"clipper-edge-top", "default", 0.0);
|
||||
set_state(PART:"clipper-edge-bottom", "default", 0.0);
|
||||
}
|
||||
show_corner_top_left() {
|
||||
set_state(PART:"corner-top-left", "visible", 0.0);
|
||||
set_state(PART:"corner-top-right", "default", 0.0);
|
||||
set_state(PART:"corner-bottom-left", "default", 0.0);
|
||||
set_state(PART:"corner-bottom-right", "default", 0.0);
|
||||
hide_edges();
|
||||
}
|
||||
show_corner_top_right() {
|
||||
set_state(PART:"corner-top-right", "visible", 0.0);
|
||||
set_state(PART:"corner-top-left", "default", 0.0);
|
||||
set_state(PART:"corner-bottom-left", "default", 0.0);
|
||||
set_state(PART:"corner-bottom-right", "default", 0.0);
|
||||
hide_edges();
|
||||
}
|
||||
show_corner_bottom_left() {
|
||||
set_state(PART:"corner-bottom-left", "visible", 0.0);
|
||||
set_state(PART:"corner-bottom-right", "default", 0.0);
|
||||
set_state(PART:"corner-top-left", "default", 0.0);
|
||||
set_state(PART:"corner-top-right", "default", 0.0);
|
||||
hide_edges();
|
||||
}
|
||||
show_corner_bottom_right() {
|
||||
set_state(PART:"corner-bottom-right", "visible", 0.0);
|
||||
set_state(PART:"corner-bottom-left", "default", 0.0);
|
||||
set_state(PART:"corner-top-left", "default", 0.0);
|
||||
set_state(PART:"corner-top-right", "default", 0.0);
|
||||
hide_edges();
|
||||
}
|
||||
show_edge_left(Float:val) {
|
||||
set_state(PART:"clipper-edge-left", "visible", 0.0);
|
||||
set_drag(PART:"edge-drag-left", 0.0, val);
|
||||
set_state(PART:"clipper-edge-right", "default", 0.0);
|
||||
set_state(PART:"clipper-edge-top", "default", 0.0);
|
||||
set_state(PART:"clipper-edge-bottom", "default", 0.0);
|
||||
hide_corners();
|
||||
}
|
||||
show_edge_right(Float:val) {
|
||||
set_state(PART:"clipper-edge-right", "visible", 0.0);
|
||||
set_drag(PART:"edge-drag-right", 0.0, val);
|
||||
set_state(PART:"clipper-edge-left", "default", 0.0);
|
||||
set_state(PART:"clipper-edge-top", "default", 0.0);
|
||||
set_state(PART:"clipper-edge-bottom", "default", 0.0);
|
||||
hide_corners();
|
||||
}
|
||||
show_edge_top(Float:val) {
|
||||
set_state(PART:"clipper-edge-top", "visible", 0.0);
|
||||
set_drag(PART:"edge-drag-top", val, 0.0);
|
||||
set_state(PART:"clipper-edge-bottom", "default", 0.0);
|
||||
set_state(PART:"clipper-edge-left", "default", 0.0);
|
||||
set_state(PART:"clipper-edge-right", "default", 0.0);
|
||||
hide_corners();
|
||||
}
|
||||
show_edge_bottom(Float:val) {
|
||||
set_state(PART:"clipper-edge-bottom", "visible", 0.0);
|
||||
set_drag(PART:"edge-drag-bottom", val, 0.0);
|
||||
set_state(PART:"clipper-edge-top", "default", 0.0);
|
||||
set_state(PART:"clipper-edge-left", "default", 0.0);
|
||||
set_state(PART:"clipper-edge-right", "default", 0.0);
|
||||
hide_corners();
|
||||
}
|
||||
public message(Msg_Type:type, id, ...) {
|
||||
if ((type == MSG_FLOAT_SET) && (id == 1)) {
|
||||
new Float:x, Float:y;
|
||||
|
||||
x = getfarg(2);
|
||||
y = getfarg(3);
|
||||
|
||||
if (x < 0.0) {
|
||||
if (y < 0.0) show_corner_top_left();
|
||||
else if (y > 1.0) show_corner_bottom_left();
|
||||
else show_edge_left(y);
|
||||
} else if (x > 1.0) {
|
||||
if (y < 0.0) show_corner_top_right();
|
||||
else if (y > 1.0) show_corner_bottom_right();
|
||||
else show_edge_right(y);
|
||||
} else {
|
||||
if (y < 0.0) show_edge_top(x);
|
||||
else if (y > 1.0) show_edge_bottom(x);
|
||||
else {
|
||||
hide_corners();
|
||||
hide_edges();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
parts {
|
||||
part { name: "clipper"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
color: 255 255 255 0;
|
||||
rel1 { to: "pop"; offset: -5 -5; }
|
||||
rel2 { to: "pop"; offset: 5 5; }
|
||||
}
|
||||
description { state: "visible" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: 255 255 255 255;
|
||||
}
|
||||
}
|
||||
part { name: "pop"; mouse_events: 0;
|
||||
clip_to: "clipper";
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
min: 30 30;
|
||||
rel1 {
|
||||
to: "efl.content";
|
||||
offset: -5 -4;
|
||||
}
|
||||
rel2 {
|
||||
to: "efl.content";
|
||||
offset: 4 5;
|
||||
}
|
||||
image {
|
||||
normal: "tooltip-base.png";
|
||||
border: 7 7 6 8;
|
||||
}
|
||||
image.middle: SOLID;
|
||||
}
|
||||
}
|
||||
#define TT_CORNER(name_, rx, ry, ax, ay, ox, oy) \
|
||||
part { name: "corner-"name_; mouse_events: 0; \
|
||||
clip_to: "clipper"; \
|
||||
scale: 1; \
|
||||
description { state: "default" 0.0; \
|
||||
visible: 0; \
|
||||
align: ax ay; \
|
||||
FIXED_SIZE(12, 12) \
|
||||
rel1 { \
|
||||
relative: rx ry; \
|
||||
offset: ox oy; \
|
||||
to: "pop"; \
|
||||
} \
|
||||
rel2 { \
|
||||
relative: rx ry; \
|
||||
offset: ox oy; \
|
||||
to: "pop"; \
|
||||
} \
|
||||
image.normal: "tooltip-corner-"name_"-tip.png"; \
|
||||
} \
|
||||
description { state: "visible" 0.0; \
|
||||
inherit: "default" 0.0; \
|
||||
visible: 1; \
|
||||
} \
|
||||
}
|
||||
TT_CORNER("top-left", 0, 0, 0, 0, -4, -5);
|
||||
TT_CORNER("top-right", 1, 0, 1, 0, 3, -5);
|
||||
TT_CORNER("bottom-left", 0, 1, 0, 1, -4, 2);
|
||||
TT_CORNER("bottom-right", 1, 1, 1, 1, 3, 2);
|
||||
#undef TT_CORNER
|
||||
|
||||
#define TT_EDGE_VERT(name_, rx, ax, ox) \
|
||||
part { name: "clipper-edge-"name_; type: RECT; \
|
||||
clip_to: "clipper"; \
|
||||
description { state: "default" 0.0; \
|
||||
visible: 0; \
|
||||
min: 9 13; \
|
||||
align: ax 0.5; \
|
||||
fixed: 1 1; \
|
||||
rel1 { \
|
||||
relative: rx 0.0; \
|
||||
offset: ox 0; \
|
||||
to: "efl.content"; \
|
||||
} \
|
||||
rel2 { \
|
||||
relative: rx 1.0; \
|
||||
offset: ox 0; \
|
||||
to: "efl.content"; \
|
||||
} \
|
||||
} \
|
||||
description { state: "visible" 0.0; \
|
||||
inherit: "default" 0.0; \
|
||||
visible: 1; \
|
||||
} \
|
||||
} \
|
||||
part { name: "edge-area-"name_; type: RECT; mouse_events: 0; \
|
||||
clip_to: "clipper-edge-"name_; \
|
||||
scale: 1; \
|
||||
description { state: "default" 0.0; \
|
||||
color: 0 0 0 0; \
|
||||
min: 9 13; \
|
||||
align: ax 0.5; \
|
||||
fixed: 1 1; \
|
||||
rel1 { \
|
||||
relative: rx 0.0; \
|
||||
offset: ox 0; \
|
||||
to: "efl.content"; \
|
||||
} \
|
||||
rel2 { \
|
||||
relative: rx 1.0; \
|
||||
offset: ox 0; \
|
||||
to: "efl.content"; \
|
||||
} \
|
||||
} \
|
||||
} \
|
||||
part { name: "edge-drag-"name_; type: RECT; mouse_events: 0; \
|
||||
clip_to: "clipper-edge-"name_; \
|
||||
scale: 1; \
|
||||
dragable { \
|
||||
x: 0 0 0; \
|
||||
y: 1 1 0; \
|
||||
confine: "edge-area-"name_; \
|
||||
} \
|
||||
description { state: "default" 0.0; \
|
||||
color: 0 0 0 0; \
|
||||
min: 9 13; \
|
||||
rel1.to: "edge-area-"name_; \
|
||||
rel2.to: "edge-area-"name_; \
|
||||
} \
|
||||
} \
|
||||
part { name: "edge-img-"name_; mouse_events: 0; \
|
||||
clip_to: "clipper-edge-"name_; \
|
||||
description { state: "default" 0.0; \
|
||||
FIXED_SIZE(9, 13) \
|
||||
align: ax 0.5; \
|
||||
rel1.to: "edge-drag-"name_; \
|
||||
rel2.to: "edge-drag-"name_; \
|
||||
image.normal: "tooltip-edge-"name_"-tip.png"; \
|
||||
} \
|
||||
}
|
||||
TT_EDGE_VERT("left", 0, 1, -3);
|
||||
TT_EDGE_VERT("right", 1, 0, 2);
|
||||
#undef TT_EDGE_VERT
|
||||
|
||||
#define TT_EDGE_HORIZ(name_, ry, ay, oy) \
|
||||
part { name: "clipper-edge-"name_; type: RECT; \
|
||||
clip_to: "clipper"; \
|
||||
scale: 1; \
|
||||
description { state: "default" 0.0; \
|
||||
visible: 0; \
|
||||
min: 11 9; \
|
||||
align: 0.5 ay; \
|
||||
fixed: 1 1; \
|
||||
rel1 { \
|
||||
relative: 0.0 ry; \
|
||||
offset: 0 oy; \
|
||||
to: "efl.content"; \
|
||||
} \
|
||||
rel2 { \
|
||||
relative: 1.0 ry; \
|
||||
offset: 0 oy; \
|
||||
to: "efl.content"; \
|
||||
} \
|
||||
} \
|
||||
description { state: "visible" 0.0; \
|
||||
inherit: "default" 0.0; \
|
||||
visible: 1; \
|
||||
} \
|
||||
} \
|
||||
part { name: "edge-area-"name_; type: RECT; mouse_events: 0; \
|
||||
clip_to: "clipper-edge-"name_; \
|
||||
scale: 1; \
|
||||
description { state: "default" 0.0; \
|
||||
color: 0 0 0 0; \
|
||||
min: 11 9; \
|
||||
align: 0.5 ay; \
|
||||
fixed: 1 1; \
|
||||
rel1.to: "clipper-edge-"name_; \
|
||||
rel2.to: "clipper-edge-"name_; \
|
||||
} \
|
||||
} \
|
||||
part { name: "edge-drag-"name_; type: RECT; mouse_events: 0; \
|
||||
clip_to: "clipper-edge-"name_; \
|
||||
scale: 1; \
|
||||
dragable { \
|
||||
x: 1 1 0; \
|
||||
y: 0 0 0; \
|
||||
confine: "edge-area-"name_; \
|
||||
} \
|
||||
description { state: "default" 0.0; \
|
||||
color: 0 0 0 0; \
|
||||
min: 11 9; \
|
||||
rel1.to: "edge-area-"name_; \
|
||||
rel2.to: "edge-area-"name_; \
|
||||
} \
|
||||
} \
|
||||
part { name: "edge-img-"name_; mouse_events: 0; \
|
||||
clip_to: "clipper-edge-"name_; \
|
||||
scale: 1; \
|
||||
description { state: "default" 0.0; \
|
||||
FIXED_SIZE(11, 9) \
|
||||
align: 0.5 ay; \
|
||||
rel1.to: "edge-drag-"name_; \
|
||||
rel2.to: "edge-drag-"name_; \
|
||||
image.normal: "tooltip-edge-"name_"-tip.png"; \
|
||||
} \
|
||||
}
|
||||
TT_EDGE_HORIZ("top", 0, 1, -1);
|
||||
TT_EDGE_HORIZ("bottom", 1, 0, 1);
|
||||
#undef TT_EDGE_HORIZ
|
||||
part { name: "clipper_content"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
color: 255 255 255 0;
|
||||
rel1.to: "efl.content";
|
||||
rel2.to: "efl.content";
|
||||
}
|
||||
description { state: "visible" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: 255 255 255 255;
|
||||
}
|
||||
}
|
||||
part { name: "efl.content"; type: SWALLOW;
|
||||
clip_to: "clipper_content";
|
||||
description { state: "default" 0.0;
|
||||
rel1.offset: 10 10;
|
||||
rel2.offset: -11 -11;
|
||||
}
|
||||
}
|
||||
programs {
|
||||
program { name: "show0";
|
||||
signal: "efl,action,show"; source: "efl";
|
||||
action: ACTION_STOP;
|
||||
target: "hide0";
|
||||
target: "hide1";
|
||||
target: "hide2";
|
||||
target: "hide3";
|
||||
after: "show1";
|
||||
after: "show2";
|
||||
}
|
||||
program { name: "show1";
|
||||
action: STATE_SET "visible" 0.0;
|
||||
transition: LINEAR 0.15;
|
||||
target: "clipper";
|
||||
}
|
||||
program { name: "show2";
|
||||
in: 0.1 0.0;
|
||||
action: STATE_SET "visible" 0.0;
|
||||
transition: LINEAR 0.15;
|
||||
target: "clipper_content";
|
||||
}
|
||||
program { name: "hide0";
|
||||
signal: "efl,action,hide"; source: "efl";
|
||||
action: ACTION_STOP;
|
||||
target: "show0";
|
||||
target: "show1";
|
||||
target: "show2";
|
||||
after: "hide1";
|
||||
after: "hide2";
|
||||
after: "hide3";
|
||||
}
|
||||
program { name: "hide1";
|
||||
script {
|
||||
hide_corners();
|
||||
hide_edges();
|
||||
}
|
||||
}
|
||||
program { name: "hide2";
|
||||
action: STATE_SET "default" 0.0;
|
||||
transition: LINEAR 0.1;
|
||||
target: "clipper_content";
|
||||
}
|
||||
program { name: "hide3";
|
||||
in: 0.1 0.0;
|
||||
action: STATE_SET "default" 0.0;
|
||||
transition: LINEAR 0.1;
|
||||
target: "clipper";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
group { "efl/tooltip:transparent";
|
||||
inherit: "elm/tooltip/base/transparent";
|
||||
group { name: "efl/tooltip:transparent";
|
||||
data.item: "pad_x" "10";
|
||||
data.item: "pad_y" "10";
|
||||
data.item: "transparent" "enabled";
|
||||
parts {
|
||||
part { name: "efl.content"; type: SWALLOW; mouse_events: 0;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0; }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#define DATETIME_FIELD(_pos) \
|
||||
swallow { "field"#_pos; \
|
||||
swallow { "efl.field"#_pos; \
|
||||
scale; \
|
||||
clip_to: "clip"; \
|
||||
desc { "default"; \
|
||||
|
@ -8,9 +8,9 @@
|
|||
align: 0.0 0.5; \
|
||||
fixed: 1 1; \
|
||||
rel1.relative: 1.0 0.0; \
|
||||
rel1.to: "separator"#_pos; \
|
||||
rel1.to: "efl.separator"#_pos; \
|
||||
rel2.relative: 1.0 1.0; \
|
||||
rel2.to: "separator"#_pos; \
|
||||
rel2.to: "efl.separator"#_pos; \
|
||||
} \
|
||||
desc { "enable"; \
|
||||
inherit: "default"; \
|
||||
|
@ -21,19 +21,19 @@
|
|||
programs{ \
|
||||
program { "field_"#_pos"enabled"; \
|
||||
signal: "field"#_pos",enable"; \
|
||||
source: "elm"; \
|
||||
source: "efl"; \
|
||||
action: STATE_SET "enable"; \
|
||||
target: "field"#_pos; \
|
||||
target: "efl.field"#_pos; \
|
||||
} \
|
||||
program { "field_"#_pos"disabled"; \
|
||||
signal: "field"#_pos",disable"; \
|
||||
source: "elm"; \
|
||||
source: "efl"; \
|
||||
action: STATE_SET "default"; \
|
||||
target: "field"#_pos; \
|
||||
target: "efl.field"#_pos; \
|
||||
} \
|
||||
}
|
||||
#define DATETIME_SEPARATOR(_pos, _after) \
|
||||
text { "separator"#_pos; \
|
||||
text { "efl.separator"#_pos; \
|
||||
scale; \
|
||||
effect: SHADOW BOTTOM; \
|
||||
clip_to: "disclip"; \
|
||||
|
@ -44,11 +44,11 @@
|
|||
fixed: 1 0; \
|
||||
rel1 { \
|
||||
relative: 1.0 0.0; \
|
||||
to: "field"#_after; \
|
||||
to: "efl.field"#_after; \
|
||||
} \
|
||||
rel2 { \
|
||||
relative: 1.0 1.0; \
|
||||
to: "field"#_after; \
|
||||
to: "efl.field"#_after; \
|
||||
} \
|
||||
color_class: "datetime_separator_text"; \
|
||||
text { \
|
||||
|
@ -65,17 +65,17 @@
|
|||
min: 8 10; \
|
||||
} \
|
||||
} \
|
||||
text { "separator"#_pos"d"; \
|
||||
text { "efl.separator"#_pos"d"; \
|
||||
scale; \
|
||||
effect: SHADOW BOTTOM; \
|
||||
clip_to: "disclip2"; \
|
||||
desc { "default"; \
|
||||
hid; \
|
||||
rel1.to: "separator"#_pos; \
|
||||
rel2.to: "separator"#_pos; \
|
||||
rel1.to: "efl.separator"#_pos; \
|
||||
rel2.to: "efl.separator"#_pos; \
|
||||
color_class: "datetime_separator_text_disabled"; \
|
||||
text { \
|
||||
text_source: "separator"#_pos; \
|
||||
text_source: "efl.separator"#_pos; \
|
||||
font: "Sans"; size: 10; \
|
||||
text_class: "datetime_separator_text_disabled"; \
|
||||
} \
|
||||
|
@ -88,17 +88,17 @@
|
|||
programs { \
|
||||
program { \
|
||||
signal: "field"#_after",enable"; \
|
||||
source: "elm"; \
|
||||
source: "efl"; \
|
||||
action: STATE_SET "enable"; \
|
||||
target: "separator"#_pos; \
|
||||
target: "separator"#_pos"d"; \
|
||||
target: "efl.separator"#_pos; \
|
||||
target: "efl.separator"#_pos"d"; \
|
||||
} \
|
||||
program { \
|
||||
signal: "field"#_after",disable"; \
|
||||
source: "elm"; \
|
||||
source: "efl"; \
|
||||
action: STATE_SET "default"; \
|
||||
target: "separator"#_pos; \
|
||||
target: "separator"#_pos"d"; \
|
||||
target: "efl.separator"#_pos; \
|
||||
target: "efl.separator"#_pos"d"; \
|
||||
} \
|
||||
}
|
||||
|
||||
|
@ -111,15 +111,15 @@ group { "efl/uiclock";
|
|||
}
|
||||
rect { "clip";
|
||||
desc { "default";
|
||||
rel1.to: "separator0";
|
||||
rel2.to: "separator7";
|
||||
rel1.to: "efl.separator0";
|
||||
rel2.to: "efl.separator7";
|
||||
}
|
||||
}
|
||||
rect { "disclip";
|
||||
clip_to: "clip";
|
||||
desc { "default";
|
||||
rel1.to: "separator0";
|
||||
rel2.to: "separator7";
|
||||
rel1.to: "efl.separator0";
|
||||
rel2.to: "efl.separator7";
|
||||
}
|
||||
desc { "disabled";
|
||||
inherit: "default";
|
||||
|
@ -129,8 +129,8 @@ group { "efl/uiclock";
|
|||
rect { "disclip2";;
|
||||
clip_to: "clip";
|
||||
desc { "default";
|
||||
rel1.to: "separator0";
|
||||
rel2.to: "separator7";
|
||||
rel1.to: "efl.separator0";
|
||||
rel2.to: "efl.separator7";
|
||||
hid;
|
||||
}
|
||||
desc { "disabled";
|
||||
|
@ -138,7 +138,7 @@ group { "efl/uiclock";
|
|||
vis;
|
||||
}
|
||||
}
|
||||
spacer { "separator0";;
|
||||
spacer { "efl.separator0";;
|
||||
scale;
|
||||
desc { "default";
|
||||
min: 8 10;
|
||||
|
@ -163,17 +163,17 @@ group { "efl/uiclock";
|
|||
DATETIME_SEPARATOR(7,6)
|
||||
DATETIME_FIELD(7)
|
||||
DATETIME_SEPARATOR(8,7)
|
||||
spacer { "separator9";;
|
||||
spacer { "efl.separator9";;
|
||||
desc { "default";
|
||||
rel1.to: "separator7";
|
||||
rel1.to: "efl.separator7";
|
||||
rel1.relative: 1.0 0.0;
|
||||
min: 8 10;
|
||||
}
|
||||
}
|
||||
rect { "discover";;
|
||||
desc { "default";
|
||||
rel1.to: "separator0";
|
||||
rel2.to: "separator7";
|
||||
rel1.to: "efl.separator0";
|
||||
rel2.to: "efl.separator7";
|
||||
hid;
|
||||
color: 0 0 0 0;
|
||||
}
|
||||
|
@ -182,7 +182,7 @@ group { "efl/uiclock";
|
|||
vis;
|
||||
}
|
||||
}
|
||||
rect { "elm.access";
|
||||
rect { "efl.access";
|
||||
repeat;
|
||||
desc { "default";
|
||||
color: 0 0 0 0;
|
||||
|
@ -191,16 +191,16 @@ group { "efl/uiclock";
|
|||
}
|
||||
programs {
|
||||
program {
|
||||
signal: "elm,state,disabled";
|
||||
source: "elm";
|
||||
signal: "efl,state,disabled";
|
||||
source: "efl";
|
||||
action: STATE_SET "disabled";
|
||||
target: "disclip";
|
||||
target: "disclip2";
|
||||
target: "discover";
|
||||
}
|
||||
program {
|
||||
signal: "elm,state,enabled";
|
||||
source: "elm";
|
||||
signal: "efl,state,enabled";
|
||||
source: "efl";
|
||||
action: STATE_SET "default";
|
||||
target: "disclip";
|
||||
target: "disclip2";
|
||||
|
|
|
@ -1,3 +1,43 @@
|
|||
group { "efl/video";
|
||||
inherit: "elm/video/base/default";
|
||||
group { name: "efl/video";
|
||||
parts {
|
||||
part { name: "clipper"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
color: 255 255 255 255;
|
||||
}
|
||||
description { state: "darker" 0.0;
|
||||
color: 128 128 128 255;
|
||||
}
|
||||
}
|
||||
part { name: "efl.video"; type: SWALLOW; mouse_events: 1;
|
||||
clip_to: "clipper";
|
||||
description { state: "default" 0.0;
|
||||
aspect: 1.0 1.0; aspect_preference: BOTH;
|
||||
}
|
||||
}
|
||||
}
|
||||
programs {
|
||||
program {
|
||||
signal: "efl,video,load"; source: "efl";
|
||||
action: STATE_SET "darker" 0.0;
|
||||
target: "clipper";
|
||||
}
|
||||
program {
|
||||
signal: "efl,video,play"; source: "efl";
|
||||
action: STATE_SET "default" 0.0;
|
||||
transition: SINUSOIDAL 0.2 CURRENT;
|
||||
target: "clipper";
|
||||
}
|
||||
program {
|
||||
signal: "efl,video,end"; source: "efl";
|
||||
action: STATE_SET "darker" 0.0;
|
||||
transition: SINUSOIDAL 0.5 CURRENT;
|
||||
target: "clipper";
|
||||
}
|
||||
program {
|
||||
signal: "efl,video,pause"; source: "efl";
|
||||
action: STATE_SET "darker" 0.0;
|
||||
transition: SINUSOIDAL 0.7 CURRENT;
|
||||
target: "clipper";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,3 +1,31 @@
|
|||
group { "efl/win";
|
||||
inherit: "elm/win/base/default";
|
||||
data.item: "version" "119";
|
||||
parts {
|
||||
rect { "client_clip"; nomouse; }
|
||||
swallow { "efl.menu";
|
||||
clip_to: "client_clip";
|
||||
desc { "default";
|
||||
rel2.relative: 1 0;
|
||||
link.base: "efl,action,hide" "efl";
|
||||
align: 0.5 0.0;
|
||||
hid;
|
||||
}
|
||||
desc { "visible";
|
||||
inherit: "default";
|
||||
link.base: "efl,action,show_menu" "efl";
|
||||
fixed: 0 1;
|
||||
vis;
|
||||
}
|
||||
}
|
||||
swallow { "efl.contents";
|
||||
clip_to: "client_clip";
|
||||
desc { "default";
|
||||
}
|
||||
desc { "with_menu";
|
||||
rel1.to: "efl.menu";
|
||||
rel1.relative: 0 1;
|
||||
link.base: "efl,action,show_menu" "efl";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -36,7 +36,7 @@ group { name: "elm/actionslider/base/default";
|
|||
fill.smooth: 0;
|
||||
}
|
||||
}
|
||||
part { name: "icon.dragable.area"; type: SPACER;
|
||||
part { name: "icon_dragable_area"; type: SPACER;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "bg";
|
||||
rel2.to: "bg";
|
||||
|
@ -105,14 +105,14 @@ group { name: "elm/actionslider/base/default";
|
|||
fixed: 1 1;
|
||||
min: 40 10;
|
||||
align: 0.5 0.5;
|
||||
rel1.to: "icon.dragable.area";
|
||||
rel1.to: "icon_dragable_area";
|
||||
rel2 {
|
||||
relative: 0.0 1.0;
|
||||
to: "icon.dragable.area";
|
||||
to: "icon_dragable_area";
|
||||
}
|
||||
}
|
||||
dragable {
|
||||
confine: "icon.dragable.area";
|
||||
confine: "icon_dragable_area";
|
||||
x: 1 1 0;
|
||||
y: 0 0 0;
|
||||
}
|
||||
|
@ -123,9 +123,9 @@ group { name: "elm/actionslider/base/default";
|
|||
min: 40 10;
|
||||
color: 0 0 0 0;
|
||||
rel1.to_x: "elm.drag_button_base";
|
||||
rel1.to_y: "icon.dragable.area";
|
||||
rel1.to_y: "icon_dragable_area";
|
||||
rel2.to_x: "elm.drag_button_base";
|
||||
rel2.to_y: "icon.dragable.area";
|
||||
rel2.to_y: "icon_dragable_area";
|
||||
}
|
||||
dragable {
|
||||
events: "elm.drag_button_base";
|
||||
|
|
|
@ -28,7 +28,7 @@ group { name: "elm/bubble/top_left/default";
|
|||
visible: 1;
|
||||
}
|
||||
}
|
||||
part { name: "sizer.content"; type: TEXT; mouse_events: 0;
|
||||
part { name: "sizer_content"; type: TEXT; mouse_events: 0;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
fixed: 1 1;
|
||||
|
@ -164,13 +164,13 @@ group { name: "elm/bubble/top_left/default";
|
|||
signal: "elm,state,icon,visible"; source: "elm";
|
||||
action: STATE_SET "visible" 0.0;
|
||||
target: "elm.swallow.icon";
|
||||
target: "sizer.content";
|
||||
target: "sizer_content";
|
||||
}
|
||||
program {
|
||||
signal: "elm,state,icon,hidden"; source: "elm";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "elm.swallow.icon";
|
||||
target: "sizer.content";
|
||||
target: "sizer_content";
|
||||
}
|
||||
program {
|
||||
signal: "edje,state,rtl"; source: "edje";
|
||||
|
@ -217,7 +217,7 @@ group { name: "elm/bubble/top_right/default";
|
|||
visible: 1;
|
||||
}
|
||||
}
|
||||
part { name: "sizer.content"; type: TEXT; mouse_events: 0;
|
||||
part { name: "sizer_content"; type: TEXT; mouse_events: 0;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
fixed: 1 1;
|
||||
|
@ -350,13 +350,13 @@ group { name: "elm/bubble/top_right/default";
|
|||
signal: "elm,state,icon,visible"; source: "elm";
|
||||
action: STATE_SET "visible" 0.0;
|
||||
target: "elm.swallow.icon";
|
||||
target: "sizer.content";
|
||||
target: "sizer_content";
|
||||
}
|
||||
program {
|
||||
signal: "elm,state,icon,hidden"; source: "elm";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "elm.swallow.icon";
|
||||
target: "sizer.content";
|
||||
target: "sizer_content";
|
||||
}
|
||||
program {
|
||||
signal: "edje,state,rtl"; source: "edje";
|
||||
|
@ -404,7 +404,7 @@ group { name: "elm/bubble/bottom_left/default";
|
|||
visible: 1;
|
||||
}
|
||||
}
|
||||
part { name: "sizer.content"; type: TEXT; mouse_events: 0;
|
||||
part { name: "sizer_content"; type: TEXT; mouse_events: 0;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
fixed: 1 1;
|
||||
|
@ -534,13 +534,13 @@ group { name: "elm/bubble/bottom_left/default";
|
|||
signal: "elm,state,icon,visible"; source: "elm";
|
||||
action: STATE_SET "visible" 0.0;
|
||||
target: "elm.swallow.icon";
|
||||
target: "sizer.content";
|
||||
target: "sizer_content";
|
||||
}
|
||||
program {
|
||||
signal: "elm,state,icon,hidden"; source: "elm";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "elm.swallow.icon";
|
||||
target: "sizer.content";
|
||||
target: "sizer_content";
|
||||
}
|
||||
program {
|
||||
signal: "edje,state,rtl"; source: "edje";
|
||||
|
@ -586,7 +586,7 @@ group { name: "elm/bubble/bottom_right/default";
|
|||
visible: 1;
|
||||
}
|
||||
}
|
||||
part { name: "sizer.content"; type: TEXT; mouse_events: 0;
|
||||
part { name: "sizer_content"; type: TEXT; mouse_events: 0;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
fixed: 1 1;
|
||||
|
@ -716,13 +716,13 @@ group { name: "elm/bubble/bottom_right/default";
|
|||
signal: "elm,state,icon,visible"; source: "elm";
|
||||
action: STATE_SET "visible" 0.0;
|
||||
target: "elm.swallow.icon";
|
||||
target: "sizer.content";
|
||||
target: "sizer_content";
|
||||
}
|
||||
program {
|
||||
signal: "elm,state,icon,hidden"; source: "elm";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "elm.swallow.icon";
|
||||
target: "sizer.content";
|
||||
target: "sizer_content";
|
||||
}
|
||||
program {
|
||||
signal: "edje,state,rtl"; source: "edje";
|
||||
|
|
|
@ -37,7 +37,7 @@ group { name: "elm/button/base/default";
|
|||
if (m1 == (ICON | LABEL)) {
|
||||
if (!d) {
|
||||
set_state(PART:"elm.swallow.content", "visible", 0.0);
|
||||
set_state(PART:"sizer.content", "visible", 0.0);
|
||||
set_state(PART:"sizer_content", "visible", 0.0);
|
||||
set_state(PART:"event", "default", 0.0);
|
||||
if (!p) {
|
||||
set_state(PART:"elm.text", "visible", 0.0);
|
||||
|
@ -48,7 +48,7 @@ group { name: "elm/button/base/default";
|
|||
}
|
||||
} else {
|
||||
set_state(PART:"elm.swallow.content", "visible", 0.0);
|
||||
set_state(PART:"sizer.content", "visible", 0.0);
|
||||
set_state(PART:"sizer_content", "visible", 0.0);
|
||||
set_state(PART:"elm.text", "disabled_visible", 0.0);
|
||||
set_state(PART:"icon_clip", "disabled", 0.0);
|
||||
set_state(PART:"event", "disabled", 0.0);
|
||||
|
@ -56,7 +56,7 @@ group { name: "elm/button/base/default";
|
|||
} else if (m1 == (ICON)) {
|
||||
if (!d) {
|
||||
set_state(PART:"elm.swallow.content", "icononly", 0.0);
|
||||
set_state(PART:"sizer.content", "icononly", 0.0);
|
||||
set_state(PART:"sizer_content", "icononly", 0.0);
|
||||
set_state(PART:"event", "default", 0.0);
|
||||
set_state(PART:"elm.text", "default", 0.0);
|
||||
if (!p)
|
||||
|
@ -65,7 +65,7 @@ group { name: "elm/button/base/default";
|
|||
set_state(PART:"icon_clip", "pressed", 0.0);
|
||||
} else {
|
||||
set_state(PART:"elm.swallow.content", "icononly", 0.0);
|
||||
set_state(PART:"sizer.content", "icononly", 0.0);
|
||||
set_state(PART:"sizer_content", "icononly", 0.0);
|
||||
set_state(PART:"elm.text", "default", 0.0);
|
||||
set_state(PART:"icon_clip", "disabled", 0.0);
|
||||
set_state(PART:"event", "disabled", 0.0);
|
||||
|
@ -73,7 +73,7 @@ group { name: "elm/button/base/default";
|
|||
} else if (m1 == (LABEL)) {
|
||||
if (!d) {
|
||||
set_state(PART:"elm.swallow.content", "default", 0.0);
|
||||
set_state(PART:"sizer.content", "default", 0.0);
|
||||
set_state(PART:"sizer_content", "default", 0.0);
|
||||
set_state(PART:"icon_clip", "default", 0.0);
|
||||
set_state(PART:"event", "default", 0.0);
|
||||
if (!p)
|
||||
|
@ -82,7 +82,7 @@ group { name: "elm/button/base/default";
|
|||
set_state(PART:"elm.text", "pressed_textonly", 0.0);
|
||||
} else {
|
||||
set_state(PART:"elm.swallow.content", "default", 0.0);
|
||||
set_state(PART:"sizer.content", "default", 0.0);
|
||||
set_state(PART:"sizer_content", "default", 0.0);
|
||||
set_state(PART:"elm.text", "disabled_textonly", 0.0);
|
||||
set_state(PART:"icon_clip", "disabled", 0.0);
|
||||
set_state(PART:"event", "disabled", 0.0);
|
||||
|
@ -90,12 +90,12 @@ group { name: "elm/button/base/default";
|
|||
} else {
|
||||
if (!d) {
|
||||
set_state(PART:"elm.swallow.content", "default", 0.0);
|
||||
set_state(PART:"sizer.content", "default", 0.0);
|
||||
set_state(PART:"sizer_content", "default", 0.0);
|
||||
set_state(PART:"icon_clip", "default", 0.0);
|
||||
set_state(PART:"event", "default", 0.0);
|
||||
} else {
|
||||
set_state(PART:"elm.swallow.content", "default", 0.0);
|
||||
set_state(PART:"sizer.content", "default", 0.0);
|
||||
set_state(PART:"sizer_content", "default", 0.0);
|
||||
set_state(PART:"icon_clip", "disabled", 0.0);
|
||||
set_state(PART:"event", "disabled", 0.0);
|
||||
}
|
||||
|
@ -179,7 +179,7 @@ group { name: "elm/button/base/default";
|
|||
visible: 1;
|
||||
}
|
||||
}
|
||||
text { "sizer.content"; nomouse;
|
||||
text { "sizer_content"; nomouse;
|
||||
scale: 1;
|
||||
desc { "default";
|
||||
// fixed: 1 1;
|
||||
|
@ -419,14 +419,14 @@ group { name: "elm/button/base/anchor";
|
|||
if (m1 == (ICON | LABEL)) {
|
||||
if (!d) {
|
||||
set_state(PART:"elm.swallow.content", "visible", 0.0);
|
||||
set_state(PART:"sizer.content", "visible", 0.0);
|
||||
set_state(PART:"sizer_content", "visible", 0.0);
|
||||
set_state(PART:"elm.text", "visible", 0.0);
|
||||
set_state(PART:"icon_clip", "default", 0.0);
|
||||
set_state(PART:"bar", "default", 0.0);
|
||||
set_state(PART:"event", "default", 0.0);
|
||||
} else {
|
||||
set_state(PART:"elm.swallow.content", "visible", 0.0);
|
||||
set_state(PART:"sizer.content", "visible", 0.0);
|
||||
set_state(PART:"sizer_content", "visible", 0.0);
|
||||
set_state(PART:"elm.text", "disabled_visible", 0.0);
|
||||
set_state(PART:"icon_clip", "disabled", 0.0);
|
||||
set_state(PART:"bar", "disabled", 0.0);
|
||||
|
@ -435,14 +435,14 @@ group { name: "elm/button/base/anchor";
|
|||
} else if (m1 == (ICON)) {
|
||||
if (!d) {
|
||||
set_state(PART:"elm.swallow.content", "icononly", 0.0);
|
||||
set_state(PART:"sizer.content", "icononly", 0.0);
|
||||
set_state(PART:"sizer_content", "icononly", 0.0);
|
||||
set_state(PART:"elm.text", "default", 0.0);
|
||||
set_state(PART:"icon_clip", "default", 0.0);
|
||||
set_state(PART:"bar", "default", 0.0);
|
||||
set_state(PART:"event", "default", 0.0);
|
||||
} else {
|
||||
set_state(PART:"elm.swallow.content", "icononly", 0.0);
|
||||
set_state(PART:"sizer.content", "icononly", 0.0);
|
||||
set_state(PART:"sizer_content", "icononly", 0.0);
|
||||
set_state(PART:"elm.text", "default", 0.0);
|
||||
set_state(PART:"icon_clip", "disabled", 0.0);
|
||||
set_state(PART:"bar", "disabled", 0.0);
|
||||
|
@ -451,14 +451,14 @@ group { name: "elm/button/base/anchor";
|
|||
} else if (m1 == (LABEL)) {
|
||||
if (!d) {
|
||||
set_state(PART:"elm.swallow.content", "default", 0.0);
|
||||
set_state(PART:"sizer.content", "default", 0.0);
|
||||
set_state(PART:"sizer_content", "default", 0.0);
|
||||
set_state(PART:"elm.text", "textonly", 0.0);
|
||||
set_state(PART:"icon_clip", "default", 0.0);
|
||||
set_state(PART:"bar", "default", 0.0);
|
||||
set_state(PART:"event", "default", 0.0);
|
||||
} else {
|
||||
set_state(PART:"elm.swallow.content", "default", 0.0);
|
||||
set_state(PART:"sizer.content", "default", 0.0);
|
||||
set_state(PART:"sizer_content", "default", 0.0);
|
||||
set_state(PART:"elm.text", "disabled_textonly", 0.0);
|
||||
set_state(PART:"icon_clip", "disabled", 0.0);
|
||||
set_state(PART:"bar", "disabled", 0.0);
|
||||
|
@ -467,13 +467,13 @@ group { name: "elm/button/base/anchor";
|
|||
} else {
|
||||
if (!d) {
|
||||
set_state(PART:"elm.swallow.content", "default", 0.0);
|
||||
set_state(PART:"sizer.content", "default", 0.0);
|
||||
set_state(PART:"sizer_content", "default", 0.0);
|
||||
set_state(PART:"icon_clip", "default", 0.0);
|
||||
set_state(PART:"bar", "default", 0.0);
|
||||
set_state(PART:"event", "default", 0.0);
|
||||
} else {
|
||||
set_state(PART:"elm.swallow.content", "default", 0.0);
|
||||
set_state(PART:"sizer.content", "default", 0.0);
|
||||
set_state(PART:"sizer_content", "default", 0.0);
|
||||
set_state(PART:"icon_clip", "disabled", 0.0);
|
||||
set_state(PART:"bar", "disabled", 0.0);
|
||||
set_state(PART:"event", "disabled", 0.0);
|
||||
|
@ -533,7 +533,7 @@ group { name: "elm/button/base/anchor";
|
|||
visible: 1;
|
||||
}
|
||||
}
|
||||
text { "sizer.content"; nomouse;
|
||||
text { "sizer_content"; nomouse;
|
||||
scale: 1;
|
||||
desc { "default";
|
||||
visible: 0;
|
||||
|
@ -1039,13 +1039,13 @@ group { name: "elm/button/base/hoversel_vertical_entry/default";
|
|||
if (m1 == (ICON | LABEL)) {
|
||||
if (!d) {
|
||||
set_state(PART:"elm.swallow.content", "visible", 0.0);
|
||||
set_state(PART:"sizer.content", "visible", 0.0);
|
||||
set_state(PART:"sizer_content", "visible", 0.0);
|
||||
set_state(PART:"elm.text", "visible", 0.0);
|
||||
set_state(PART:"icon_clip", "default", 0.0);
|
||||
set_state(PART:"event", "default", 0.0);
|
||||
} else {
|
||||
set_state(PART:"elm.swallow.content", "visible", 0.0);
|
||||
set_state(PART:"sizer.content", "visible", 0.0);
|
||||
set_state(PART:"sizer_content", "visible", 0.0);
|
||||
set_state(PART:"elm.text", "disabled_visible", 0.0);
|
||||
set_state(PART:"icon_clip", "disabled", 0.0);
|
||||
set_state(PART:"event", "disabled", 0.0);
|
||||
|
@ -1053,13 +1053,13 @@ group { name: "elm/button/base/hoversel_vertical_entry/default";
|
|||
} else if (m1 == (ICON)) {
|
||||
if (!d) {
|
||||
set_state(PART:"elm.swallow.content", "icononly", 0.0);
|
||||
set_state(PART:"sizer.content", "icononly", 0.0);
|
||||
set_state(PART:"sizer_content", "icononly", 0.0);
|
||||
set_state(PART:"elm.text", "default", 0.0);
|
||||
set_state(PART:"icon_clip", "default", 0.0);
|
||||
set_state(PART:"event", "default", 0.0);
|
||||
} else {
|
||||
set_state(PART:"elm.swallow.content", "icononly", 0.0);
|
||||
set_state(PART:"sizer.content", "icononly", 0.0);
|
||||
set_state(PART:"sizer_content", "icononly", 0.0);
|
||||
set_state(PART:"elm.text", "default", 0.0);
|
||||
set_state(PART:"icon_clip", "disabled", 0.0);
|
||||
set_state(PART:"event", "disabled", 0.0);
|
||||
|
@ -1067,13 +1067,13 @@ group { name: "elm/button/base/hoversel_vertical_entry/default";
|
|||
} else if (m1 == (LABEL)) {
|
||||
if (!d) {
|
||||
set_state(PART:"elm.swallow.content", "default", 0.0);
|
||||
set_state(PART:"sizer.content", "default", 0.0);
|
||||
set_state(PART:"sizer_content", "default", 0.0);
|
||||
set_state(PART:"elm.text", "textonly", 0.0);
|
||||
set_state(PART:"icon_clip", "default", 0.0);
|
||||
set_state(PART:"event", "default", 0.0);
|
||||
} else {
|
||||
set_state(PART:"elm.swallow.content", "default", 0.0);
|
||||
set_state(PART:"sizer.content", "default", 0.0);
|
||||
set_state(PART:"sizer_content", "default", 0.0);
|
||||
set_state(PART:"elm.text", "disabled_textonly", 0.0);
|
||||
set_state(PART:"icon_clip", "disabled", 0.0);
|
||||
set_state(PART:"event", "disabled", 0.0);
|
||||
|
@ -1081,12 +1081,12 @@ group { name: "elm/button/base/hoversel_vertical_entry/default";
|
|||
} else {
|
||||
if (!d) {
|
||||
set_state(PART:"elm.swallow.content", "default", 0.0);
|
||||
set_state(PART:"sizer.content", "default", 0.0);
|
||||
set_state(PART:"sizer_content", "default", 0.0);
|
||||
set_state(PART:"icon_clip", "default", 0.0);
|
||||
set_state(PART:"event", "default", 0.0);
|
||||
} else {
|
||||
set_state(PART:"elm.swallow.content", "default", 0.0);
|
||||
set_state(PART:"sizer.content", "default", 0.0);
|
||||
set_state(PART:"sizer_content", "default", 0.0);
|
||||
set_state(PART:"icon_clip", "disabled", 0.0);
|
||||
set_state(PART:"event", "disabled", 0.0);
|
||||
}
|
||||
|
@ -1160,7 +1160,7 @@ group { name: "elm/button/base/hoversel_vertical_entry/default";
|
|||
visible: 1;
|
||||
}
|
||||
}
|
||||
text { "sizer.content"; nomouse;
|
||||
text { "sizer_content"; nomouse;
|
||||
scale: 1;
|
||||
desc { "default";
|
||||
fixed: 1 1;
|
||||
|
@ -1532,7 +1532,7 @@ group { name: "elm/button/base/hoversel_horizontal_entry/default";
|
|||
}
|
||||
}
|
||||
program { name: "button_press2";
|
||||
action: SIGNAL_EMIT "elm,action,press" "";
|
||||
action: SIGNAL_EMIT "elm,action,press" "elm";
|
||||
after: "button_press_anim";
|
||||
}
|
||||
program { name: "button_press_anim";
|
||||
|
@ -1551,7 +1551,7 @@ group { name: "elm/button/base/hoversel_horizontal_entry/default";
|
|||
}
|
||||
}
|
||||
program { name: "button_unpress2";
|
||||
action: SIGNAL_EMIT "elm,action,unpress" "";
|
||||
action: SIGNAL_EMIT "elm,action,unpress" "elm";
|
||||
}
|
||||
program { name: "button_unpress_anim";
|
||||
action: STATE_SET "default" 0.0;
|
||||
|
@ -1577,7 +1577,7 @@ group { name: "elm/button/base/hoversel_horizontal_entry/default";
|
|||
after: "button_press_anim";
|
||||
}
|
||||
program { name: "button_click2";
|
||||
action: SIGNAL_EMIT "elm,action,click" "";
|
||||
action: SIGNAL_EMIT "elm,action,click" "elm";
|
||||
}
|
||||
program { name: "access_pressed";
|
||||
signal: "elm,action,anim,activate";
|
||||
|
@ -1714,7 +1714,7 @@ group { name: "elm/button/base/hoversel_horizontal_entry/default";
|
|||
}
|
||||
}
|
||||
program { name: "button_click2";
|
||||
action: SIGNAL_EMIT "elm,action,click" "";
|
||||
action: SIGNAL_EMIT "elm,action,click" "elm";
|
||||
}
|
||||
program { name: "disable";
|
||||
signal: "elm,state,disabled";
|
||||
|
|
|
@ -98,7 +98,7 @@
|
|||
}
|
||||
|
||||
#define CH(_pos) \
|
||||
part { name: "ch_"#_pos".base"; type: SPACER; \
|
||||
part { name: "ch_"#_pos"_base"; type: SPACER; \
|
||||
description { state: "default" 0.0; \
|
||||
rel1 { \
|
||||
relative: (_pos % 7 / 7) 0.0; \
|
||||
|
@ -110,13 +110,13 @@
|
|||
} \
|
||||
} \
|
||||
} \
|
||||
part { name: "ch_"#_pos".text"; type: TEXT; mouse_events: 0; \
|
||||
part { name: "elm.ch_"#_pos".text"; type: TEXT; mouse_events: 0; \
|
||||
effect: SHADOW BOTTOM; \
|
||||
scale: 1; \
|
||||
clip_to: "ch_"#_pos".clipper"; \
|
||||
clip_to: "ch_"#_pos"_clipper"; \
|
||||
description { state: "default" 0.0; \
|
||||
rel1.to: "ch_"#_pos".base"; \
|
||||
rel2.to: "ch_"#_pos".base"; \
|
||||
rel1.to: "ch_"#_pos"_base"; \
|
||||
rel2.to: "ch_"#_pos"_base"; \
|
||||
text { font: FN; size: 8; \
|
||||
min: 1 1; \
|
||||
ellipsis: -1; \
|
||||
|
@ -125,15 +125,15 @@
|
|||
color_class: "calendar_weekday_text"; \
|
||||
} \
|
||||
} \
|
||||
part { name: "ch_"#_pos".clipper"; type: RECT; \
|
||||
part { name: "ch_"#_pos"_clipper"; type: RECT; \
|
||||
description { state: "default" 0.0; \
|
||||
rel1.to: "ch_"#_pos".base"; \
|
||||
rel2.to: "ch_"#_pos".base"; \
|
||||
rel1.to: "ch_"#_pos"_base"; \
|
||||
rel2.to: "ch_"#_pos"_base"; \
|
||||
} \
|
||||
}
|
||||
|
||||
#define CIT(_pos) \
|
||||
part { name: "cit_"#_pos".rect"; type: SPACER; \
|
||||
part { name: "cit_"#_pos"_rect"; type: SPACER; \
|
||||
description { state: "default" 0.0; \
|
||||
rel1 { \
|
||||
relative: (_pos % 7 / 7) \
|
||||
|
@ -147,18 +147,18 @@
|
|||
} \
|
||||
} \
|
||||
} \
|
||||
part { name: "cit_"#_pos".event"; type: RECT; repeat_events: 1; \
|
||||
part { name: "cit_"#_pos"_event"; type: RECT; repeat_events: 1; \
|
||||
description { state: "default" 0.0; \
|
||||
rel1.to: "cit_"#_pos".rect"; \
|
||||
rel2.to: "cit_"#_pos".rect"; \
|
||||
rel1.to: "cit_"#_pos"_rect"; \
|
||||
rel2.to: "cit_"#_pos"_rect"; \
|
||||
color: 0 0 0 0; \
|
||||
} \
|
||||
} \
|
||||
part { name: "cit_"#_pos".pat"; mouse_events: 0; \
|
||||
part { name: "cit_"#_pos"_pat"; mouse_events: 0; \
|
||||
description { state: "default" 0.0; \
|
||||
rel1.to: "cit_"#_pos".selected"; \
|
||||
rel1.to: "cit_"#_pos"_selected"; \
|
||||
rel1.offset: 1 1; \
|
||||
rel2.to: "cit_"#_pos".selected"; \
|
||||
rel2.to: "cit_"#_pos"_selected"; \
|
||||
rel2.offset: -2 -2; \
|
||||
image.normal: "diagonal_stripes.png"; \
|
||||
color: 255 255 255 25; \
|
||||
|
@ -171,10 +171,10 @@
|
|||
visible: 1; \
|
||||
} \
|
||||
} \
|
||||
part { name: "cit_"#_pos".selected"; mouse_events: 0; \
|
||||
part { name: "cit_"#_pos"_selected"; mouse_events: 0; \
|
||||
description { state: "default" 0.0; \
|
||||
rel1.to: "cit_"#_pos".rect"; \
|
||||
rel2.to: "cit_"#_pos".rect"; \
|
||||
rel1.to: "cit_"#_pos"_rect"; \
|
||||
rel2.to: "cit_"#_pos"_rect"; \
|
||||
image.normal: "outline_glow.png"; \
|
||||
image.border: 4 4 4 4; \
|
||||
color_class: "calendar_day_selected"; \
|
||||
|
@ -185,10 +185,10 @@
|
|||
visible: 1; \
|
||||
} \
|
||||
} \
|
||||
part { name: "cit_"#_pos".selected2"; mouse_events: 0; \
|
||||
part { name: "cit_"#_pos"_selected2"; mouse_events: 0; \
|
||||
description { state: "default" 0.0; \
|
||||
rel1.to: "cit_"#_pos".rect"; \
|
||||
rel2.to: "cit_"#_pos".rect"; \
|
||||
rel1.to: "cit_"#_pos"_rect"; \
|
||||
rel2.to: "cit_"#_pos"_rect"; \
|
||||
image.normal: "outline_glow.png"; \
|
||||
image.border: 4 4 4 4; \
|
||||
color: 255 255 255 128; \
|
||||
|
@ -200,10 +200,10 @@
|
|||
visible: 1; \
|
||||
} \
|
||||
} \
|
||||
part { name: "cit_"#_pos".glow"; mouse_events: 0; \
|
||||
part { name: "cit_"#_pos"_glow"; mouse_events: 0; \
|
||||
description { state: "default" 0.0; \
|
||||
rel1.to: "cit_"#_pos".rect"; \
|
||||
rel2.to: "cit_"#_pos".rect"; \
|
||||
rel1.to: "cit_"#_pos"_rect"; \
|
||||
rel2.to: "cit_"#_pos"_rect"; \
|
||||
image.normal: "box_glow.png"; \
|
||||
image.border: 12 12 12 12; \
|
||||
image.middle: 0; \
|
||||
|
@ -215,11 +215,11 @@
|
|||
visible: 1; \
|
||||
} \
|
||||
} \
|
||||
part { name: "cit_"#_pos".text"; type: TEXTBLOCK; mouse_events: 0; \
|
||||
part { name: "elm.cit_"#_pos".text"; type: TEXTBLOCK; mouse_events: 0; \
|
||||
scale: 1; \
|
||||
description { state: "default" 0.0; \
|
||||
rel1.to: "cit_"#_pos".rect"; \
|
||||
rel2.to: "cit_"#_pos".rect"; \
|
||||
rel1.to: "cit_"#_pos"_rect"; \
|
||||
rel2.to: "cit_"#_pos"_rect"; \
|
||||
text.style: "calendar_date_style"; \
|
||||
text.min: 1 1; \
|
||||
text.ellipsis: -1; \
|
||||
|
@ -245,16 +245,16 @@
|
|||
text.style: "calendar_date_weekend2_style"; \
|
||||
} \
|
||||
} \
|
||||
part { name: "cit_"#_pos".check"; mouse_events: 0; \
|
||||
part { name: "cit_"#_pos"_check"; mouse_events: 0; \
|
||||
scale: 1; \
|
||||
description { state: "default" 0.0; \
|
||||
fixed: 1 1; \
|
||||
rel1 { \
|
||||
to: "cit_"#_pos".rect"; \
|
||||
to: "cit_"#_pos"_rect"; \
|
||||
relative: 0.6 0.5; \
|
||||
} \
|
||||
rel2 { \
|
||||
to: "cit_"#_pos".rect"; \
|
||||
to: "cit_"#_pos"_rect"; \
|
||||
relative: 0.6 0.5; \
|
||||
} \
|
||||
min: 16 16; \
|
||||
|
@ -270,173 +270,173 @@
|
|||
visible: 1; \
|
||||
} \
|
||||
} \
|
||||
part { name: "cit_"#_pos".access"; type: RECT; repeat_events: 1; \
|
||||
part { name: "elm.cit_"#_pos".access"; type: RECT; repeat_events: 1; \
|
||||
description { state: "default" 0.0; \
|
||||
rel1.to: "cit_"#_pos".event"; \
|
||||
rel2.to: "cit_"#_pos".event"; \
|
||||
rel1.to: "cit_"#_pos"_event"; \
|
||||
rel2.to: "cit_"#_pos"_event"; \
|
||||
color: 0 0 0 0; \
|
||||
} \
|
||||
} \
|
||||
programs { \
|
||||
program { \
|
||||
name: "cit_"#_pos".go_active"; \
|
||||
name: "cit_"#_pos"_go_active"; \
|
||||
signal: "cit_"#_pos",selected"; \
|
||||
source: "elm"; \
|
||||
action: STATE_SET "selected" 0.0; \
|
||||
target: "cit_"#_pos".pat"; \
|
||||
target: "cit_"#_pos".selected"; \
|
||||
target: "cit_"#_pos"_pat"; \
|
||||
target: "cit_"#_pos"_selected"; \
|
||||
} \
|
||||
program { \
|
||||
name: "cit_"#_pos".go_passive"; \
|
||||
name: "cit_"#_pos"_go_passive"; \
|
||||
signal: "cit_"#_pos",unselected"; \
|
||||
source: "elm"; \
|
||||
action: STATE_SET "default" 0.0; \
|
||||
target: "cit_"#_pos".pat"; \
|
||||
target: "cit_"#_pos".selected"; \
|
||||
target: "cit_"#_pos"_pat"; \
|
||||
target: "cit_"#_pos"_selected"; \
|
||||
} \
|
||||
program { \
|
||||
name: "cit_"#_pos".focus_highlighted"; \
|
||||
name: "cit_"#_pos"_focus_highlighted"; \
|
||||
signal: "cit_"#_pos",focused"; \
|
||||
source: "elm"; \
|
||||
script { \
|
||||
set_int(item_focus_enabled, 1); \
|
||||
set_int(last_focused_item, _pos); \
|
||||
if (get_int(win_focus_enabled) == 1) \
|
||||
set_state(PART:"cit_"#_pos".glow", "focused", 0.0); \
|
||||
set_state(PART:"cit_"#_pos"_glow", "focused", 0.0); \
|
||||
} \
|
||||
} \
|
||||
program { \
|
||||
name: "cit_"#_pos".focus_unhighlighed"; \
|
||||
name: "cit_"#_pos"_focus_unhighlighed"; \
|
||||
signal: "cit_"#_pos",unfocused"; \
|
||||
source: "elm"; \
|
||||
script { \
|
||||
set_int(item_focus_enabled, 0); \
|
||||
set_state(PART:"cit_"#_pos".glow", "default", 0.0); \
|
||||
set_state(PART:"cit_"#_pos"_glow", "default", 0.0); \
|
||||
} \
|
||||
} \
|
||||
program { \
|
||||
name: "cit_"#_pos".is_today"; \
|
||||
name: "cit_"#_pos"_is_today"; \
|
||||
signal: "cit_"#_pos",today"; \
|
||||
source: "elm"; \
|
||||
action: STATE_SET "today" 0.0; \
|
||||
target: "cit_"#_pos".text"; \
|
||||
target: "elm.cit_"#_pos".text"; \
|
||||
} \
|
||||
program { \
|
||||
name: "cit_"#_pos".not_today"; \
|
||||
name: "cit_"#_pos"_not_today"; \
|
||||
signal: "cit_"#_pos",not_today"; \
|
||||
source: "elm"; \
|
||||
action: STATE_SET "default" 0.0; \
|
||||
target: "cit_"#_pos".text"; \
|
||||
target: "elm.cit_"#_pos".text"; \
|
||||
} \
|
||||
program { \
|
||||
name: "cit_"#_pos".enable"; \
|
||||
name: "cit_"#_pos"_enable"; \
|
||||
signal: "cit_"#_pos",enable"; \
|
||||
source: "elm"; \
|
||||
script { \
|
||||
new st[31]; \
|
||||
new Float:vl; \
|
||||
get_state(PART:"cit_"#_pos".text", st, 30, vl); \
|
||||
get_state(PART:"elm.cit_"#_pos".text", st, 30, vl); \
|
||||
if (!strcmp(st, "disabled")) \
|
||||
set_state(PART:"cit_"#_pos".text", "default", 0.0); \
|
||||
set_state(PART:"elm.cit_"#_pos".text", "default", 0.0); \
|
||||
} \
|
||||
} \
|
||||
program { \
|
||||
name: "cit_"#_pos".disable"; \
|
||||
name: "cit_"#_pos"_disable"; \
|
||||
signal: "cit_"#_pos",disable"; \
|
||||
source: "elm"; \
|
||||
action: STATE_SET "disabled" 0.0; \
|
||||
target: "cit_"#_pos".text"; \
|
||||
target: "elm.cit_"#_pos".text"; \
|
||||
} \
|
||||
program { \
|
||||
source: "cit_"#_pos".clicked"; \
|
||||
source: "cit_"#_pos"_clicked"; \
|
||||
signal: "mouse,down,1"; \
|
||||
source: "cit_"#_pos".event"; \
|
||||
source: "cit_"#_pos"_event"; \
|
||||
action: STATE_SET "highlighted" 0.0; \
|
||||
target: "cit_"#_pos".selected2"; \
|
||||
target: "cit_"#_pos"_selected2"; \
|
||||
} \
|
||||
program { \
|
||||
source: "cit_"#_pos".clicked"; \
|
||||
source: "cit_"#_pos"_clicked"; \
|
||||
signal: "mouse,up,1"; \
|
||||
source: "cit_"#_pos".event"; \
|
||||
source: "cit_"#_pos"_event"; \
|
||||
action: STATE_SET "default" 0.0; \
|
||||
target: "cit_"#_pos".selected2"; \
|
||||
target: "cit_"#_pos"_selected2"; \
|
||||
} \
|
||||
program { \
|
||||
source: "cit_"#_pos".clicked"; \
|
||||
source: "cit_"#_pos"_clicked"; \
|
||||
signal: "mouse,clicked,1"; \
|
||||
source: "cit_"#_pos".event"; \
|
||||
source: "cit_"#_pos"_event"; \
|
||||
action: SIGNAL_EMIT "elm,action,selected" #_pos; \
|
||||
} \
|
||||
program { \
|
||||
name: "cit_"#_pos".clear"; \
|
||||
name: "cit_"#_pos"_clear"; \
|
||||
signal: "cit_"#_pos",clear"; \
|
||||
source: "elm"; \
|
||||
action: STATE_SET "default" 0.0; \
|
||||
target: "cit_"#_pos".check"; \
|
||||
after: "cit_"#_pos".weekends_clear"; \
|
||||
after: "cit_"#_pos".holiday_clear"; \
|
||||
target: "cit_"#_pos"_check"; \
|
||||
after: "cit_"#_pos"_weekends_clear"; \
|
||||
after: "cit_"#_pos"_holiday_clear"; \
|
||||
} \
|
||||
program { \
|
||||
name: "cit_"#_pos".weekends_clear"; \
|
||||
name: "cit_"#_pos"_weekends_clear"; \
|
||||
script { \
|
||||
new st[31]; \
|
||||
new Float:vl; \
|
||||
get_state(PART:"cit_"#_pos".text", st, 30, vl); \
|
||||
get_state(PART:"elm.cit_"#_pos".text", st, 30, vl); \
|
||||
if (!strcmp(st, "weekend/day1") || !strcmp(st, "weekend/day2")) \
|
||||
set_state(PART:"cit_"#_pos".text", "default", 0.0); \
|
||||
set_state(PART:"elm.cit_"#_pos".text", "default", 0.0); \
|
||||
} \
|
||||
} \
|
||||
program { \
|
||||
name: "cit_"#_pos".holiday_clear"; \
|
||||
name: "cit_"#_pos"_holiday_clear"; \
|
||||
script { \
|
||||
new st[31]; \
|
||||
new Float:vl; \
|
||||
get_state(PART:"cit_"#_pos".text", st, 30, vl); \
|
||||
get_state(PART:"elm.cit_"#_pos".text", st, 30, vl); \
|
||||
if (!strcmp(st, "holiday")) \
|
||||
set_state(PART:"cit_"#_pos".text", "default", 0.0); \
|
||||
set_state(PART:"elm.cit_"#_pos".text", "default", 0.0); \
|
||||
} \
|
||||
} \
|
||||
program { \
|
||||
name: "cit_"#_pos".checked"; \
|
||||
name: "cit_"#_pos"_checked"; \
|
||||
signal: "cit_"#_pos",checked"; \
|
||||
source: "elm"; \
|
||||
action: STATE_SET "visible" 0.0; \
|
||||
target: "cit_"#_pos".check"; \
|
||||
target: "cit_"#_pos"_check"; \
|
||||
} \
|
||||
program { \
|
||||
name: "cit_"#_pos".holiday"; \
|
||||
name: "cit_"#_pos"_holiday"; \
|
||||
signal: "cit_"#_pos",holiday"; \
|
||||
source: "elm"; \
|
||||
script { \
|
||||
new st[31]; \
|
||||
new Float:vl; \
|
||||
get_state(PART:"cit_"#_pos".text", st, 30, vl); \
|
||||
get_state(PART:"elm.cit_"#_pos".text", st, 30, vl); \
|
||||
if (strcmp(st, "today")) \
|
||||
set_state(PART:"cit_"#_pos".text", "holiday", 0.0); \
|
||||
set_state(PART:"elm.cit_"#_pos".text", "holiday", 0.0); \
|
||||
} \
|
||||
} \
|
||||
program { \
|
||||
name: "cit_"#_pos".weekend/day1"; \
|
||||
name: "cit_"#_pos"_weekend/day1"; \
|
||||
signal: "cit_"#_pos",weekend/day1"; \
|
||||
source: "elm"; \
|
||||
script { \
|
||||
new st[31]; \
|
||||
new Float:vl; \
|
||||
get_state(PART:"cit_"#_pos".text", st, 30, vl); \
|
||||
get_state(PART:"elm.cit_"#_pos".text", st, 30, vl); \
|
||||
if ((strcmp(st, "today")) && (strcmp(st, "holiday")) )\
|
||||
set_state(PART:"cit_"#_pos".text", "weekend/day1", 0.0); \
|
||||
set_state(PART:"elm.cit_"#_pos".text", "weekend/day1", 0.0); \
|
||||
} \
|
||||
} \
|
||||
program { \
|
||||
name: "cit_"#_pos".weekend/day2"; \
|
||||
name: "cit_"#_pos"_weekend/day2"; \
|
||||
signal: "cit_"#_pos",weekend/day2"; \
|
||||
source: "elm"; \
|
||||
script { \
|
||||
new st[31]; \
|
||||
new Float:vl; \
|
||||
get_state(PART:"cit_"#_pos".text", st, 30, vl); \
|
||||
get_state(PART:"elm.cit_"#_pos".text", st, 30, vl); \
|
||||
if ((strcmp(st, "today")) && (strcmp(st, "holiday")) )\
|
||||
set_state(PART:"cit_"#_pos".text", "weekend/day2", 0.0); \
|
||||
set_state(PART:"elm.cit_"#_pos".text", "weekend/day2", 0.0); \
|
||||
} \
|
||||
} \
|
||||
}
|
||||
|
|
|
@ -14,7 +14,7 @@ group { name: "elm/check/base/default";
|
|||
if (m1 == (ICON | LABEL)) {
|
||||
if (!d) {
|
||||
set_state(PART:"elm.swallow.content", "visible", 0.0);
|
||||
set_state(PART:"sizer.content", "visible", 0.0);
|
||||
set_state(PART:"sizer_content", "visible", 0.0);
|
||||
set_state(PART:"elm.text", "visible", 0.0);
|
||||
set_state(PART:"shadow", "default", 0.0);
|
||||
set_state(PART:"base", "default", 0.0);
|
||||
|
@ -22,7 +22,7 @@ group { name: "elm/check/base/default";
|
|||
set_state(PART:"event", "default", 0.0);
|
||||
} else {
|
||||
set_state(PART:"elm.swallow.content", "visible", 0.0);
|
||||
set_state(PART:"sizer.content", "visible", 0.0);
|
||||
set_state(PART:"sizer_content", "visible", 0.0);
|
||||
set_state(PART:"elm.text", "disabled_visible", 0.0);
|
||||
set_state(PART:"shadow", "disabled", 0.0);
|
||||
set_state(PART:"base", "disabled", 0.0);
|
||||
|
@ -32,7 +32,7 @@ group { name: "elm/check/base/default";
|
|||
} else if (m1 == (ICON)) {
|
||||
if (!d) {
|
||||
set_state(PART:"elm.swallow.content", "visible", 0.0);
|
||||
set_state(PART:"sizer.content", "icononly", 0.0);
|
||||
set_state(PART:"sizer_content", "icononly", 0.0);
|
||||
set_state(PART:"elm.text", "default", 0.0);
|
||||
set_state(PART:"shadow", "default", 0.0);
|
||||
set_state(PART:"base", "default", 0.0);
|
||||
|
@ -40,7 +40,7 @@ group { name: "elm/check/base/default";
|
|||
set_state(PART:"event", "default", 0.0);
|
||||
} else {
|
||||
set_state(PART:"elm.swallow.content", "visible", 0.0);
|
||||
set_state(PART:"sizer.content", "icononly", 0.0);
|
||||
set_state(PART:"sizer_content", "icononly", 0.0);
|
||||
set_state(PART:"elm.text", "disabled", 0.0);
|
||||
set_state(PART:"shadow", "disabled", 0.0);
|
||||
set_state(PART:"base", "disabled", 0.0);
|
||||
|
@ -50,7 +50,7 @@ group { name: "elm/check/base/default";
|
|||
} else if (m1 == (LABEL)) {
|
||||
if (!d) {
|
||||
set_state(PART:"elm.swallow.content", "default", 0.0);
|
||||
set_state(PART:"sizer.content", "default", 0.0);
|
||||
set_state(PART:"sizer_content", "default", 0.0);
|
||||
set_state(PART:"elm.text", "visible", 0.0);
|
||||
set_state(PART:"shadow", "default", 0.0);
|
||||
set_state(PART:"base", "default", 0.0);
|
||||
|
@ -58,7 +58,7 @@ group { name: "elm/check/base/default";
|
|||
set_state(PART:"event", "default", 0.0);
|
||||
} else {
|
||||
set_state(PART:"elm.swallow.content", "default", 0.0);
|
||||
set_state(PART:"sizer.content", "default", 0.0);
|
||||
set_state(PART:"sizer_content", "default", 0.0);
|
||||
set_state(PART:"elm.text", "disabled_visible", 0.0);
|
||||
set_state(PART:"shadow", "disabled", 0.0);
|
||||
set_state(PART:"base", "disabled", 0.0);
|
||||
|
@ -68,7 +68,7 @@ group { name: "elm/check/base/default";
|
|||
} else {
|
||||
if (!d) {
|
||||
set_state(PART:"elm.swallow.content", "default", 0.0);
|
||||
set_state(PART:"sizer.content", "default", 0.0);
|
||||
set_state(PART:"sizer_content", "default", 0.0);
|
||||
set_state(PART:"elm.text", "default", 0.0);
|
||||
set_state(PART:"shadow", "default", 0.0);
|
||||
set_state(PART:"base", "default", 0.0);
|
||||
|
@ -76,7 +76,7 @@ group { name: "elm/check/base/default";
|
|||
set_state(PART:"event", "default", 0.0);
|
||||
} else {
|
||||
set_state(PART:"elm.swallow.content", "default", 0.0);
|
||||
set_state(PART:"sizer.content", "default", 0.0);
|
||||
set_state(PART:"sizer_content", "default", 0.0);
|
||||
set_state(PART:"elm.text", "default", 0.0);
|
||||
set_state(PART:"shadow", "disabled", 0.0);
|
||||
set_state(PART:"base", "disabled", 0.0);
|
||||
|
@ -175,7 +175,7 @@ group { name: "elm/check/base/default";
|
|||
min: 16 16;
|
||||
}
|
||||
}
|
||||
part { name: "sizer.content"; type: TEXT; mouse_events: 0;
|
||||
part { name: "sizer_content"; type: TEXT; mouse_events: 0;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
fixed: 1 1;
|
||||
|
@ -347,7 +347,7 @@ group { name: "elm/check/base/toggle";
|
|||
if (m1 == (ICON | LABEL)) {
|
||||
if (!d) {
|
||||
set_state(PART:"elm.swallow.content", "visible", 0.0);
|
||||
set_state(PART:"sizer.content", "visible", 0.0);
|
||||
set_state(PART:"sizer_content", "visible", 0.0);
|
||||
set_state(PART:"elm.text", "visible", 0.0);
|
||||
set_state(PART:"shadow", "default", 0.0);
|
||||
set_state(PART:"clip", "default", 0.0);
|
||||
|
@ -359,7 +359,7 @@ group { name: "elm/check/base/toggle";
|
|||
set_state(PART:"offrect", "default", 0.0);
|
||||
} else {
|
||||
set_state(PART:"elm.swallow.content", "visible", 0.0);
|
||||
set_state(PART:"sizer.content", "visible", 0.0);
|
||||
set_state(PART:"sizer_content", "visible", 0.0);
|
||||
set_state(PART:"elm.text", "disabled_visible", 0.0);
|
||||
set_state(PART:"shadow", "disabled", 0.0);
|
||||
set_state(PART:"clip", "disabled", 0.0);
|
||||
|
@ -373,7 +373,7 @@ group { name: "elm/check/base/toggle";
|
|||
} else if (m1 == (ICON)) {
|
||||
if (!d) {
|
||||
set_state(PART:"elm.swallow.content", "visible", 0.0);
|
||||
set_state(PART:"sizer.content", "icononly", 0.0);
|
||||
set_state(PART:"sizer_content", "icononly", 0.0);
|
||||
set_state(PART:"elm.text", "default", 0.0);
|
||||
set_state(PART:"shadow", "default", 0.0);
|
||||
set_state(PART:"clip", "default", 0.0);
|
||||
|
@ -385,7 +385,7 @@ group { name: "elm/check/base/toggle";
|
|||
set_state(PART:"offrect", "default", 0.0);
|
||||
} else {
|
||||
set_state(PART:"elm.swallow.content", "visible", 0.0);
|
||||
set_state(PART:"sizer.content", "icononly", 0.0);
|
||||
set_state(PART:"sizer_content", "icononly", 0.0);
|
||||
set_state(PART:"elm.text", "disabled", 0.0);
|
||||
set_state(PART:"shadow", "disabled", 0.0);
|
||||
set_state(PART:"clip", "disabled", 0.0);
|
||||
|
@ -399,7 +399,7 @@ group { name: "elm/check/base/toggle";
|
|||
} else if (m1 == (LABEL)) {
|
||||
if (!d) {
|
||||
set_state(PART:"elm.swallow.content", "default", 0.0);
|
||||
set_state(PART:"sizer.content", "default", 0.0);
|
||||
set_state(PART:"sizer_content", "default", 0.0);
|
||||
set_state(PART:"elm.text", "visible", 0.0);
|
||||
set_state(PART:"shadow", "default", 0.0);
|
||||
set_state(PART:"clip", "default", 0.0);
|
||||
|
@ -411,7 +411,7 @@ group { name: "elm/check/base/toggle";
|
|||
set_state(PART:"offrect", "default", 0.0);
|
||||
} else {
|
||||
set_state(PART:"elm.swallow.content", "default", 0.0);
|
||||
set_state(PART:"sizer.content", "default", 0.0);
|
||||
set_state(PART:"sizer_content", "default", 0.0);
|
||||
set_state(PART:"elm.text", "disabled_visible", 0.0);
|
||||
set_state(PART:"shadow", "disabled", 0.0);
|
||||
set_state(PART:"clip", "disabled", 0.0);
|
||||
|
@ -425,7 +425,7 @@ group { name: "elm/check/base/toggle";
|
|||
} else {
|
||||
if (!d) {
|
||||
set_state(PART:"elm.swallow.content", "default", 0.0);
|
||||
set_state(PART:"sizer.content", "default", 0.0);
|
||||
set_state(PART:"sizer_content", "default", 0.0);
|
||||
set_state(PART:"elm.text", "default", 0.0);
|
||||
set_state(PART:"shadow", "default", 0.0);
|
||||
set_state(PART:"clip", "default", 0.0);
|
||||
|
@ -437,7 +437,7 @@ group { name: "elm/check/base/toggle";
|
|||
set_state(PART:"offrect", "default", 0.0);
|
||||
} else {
|
||||
set_state(PART:"elm.swallow.content", "default", 0.0);
|
||||
set_state(PART:"sizer.content", "default", 0.0);
|
||||
set_state(PART:"sizer_content", "default", 0.0);
|
||||
set_state(PART:"elm.text", "default", 0.0);
|
||||
set_state(PART:"shadow", "disabled", 0.0);
|
||||
set_state(PART:"clip", "disabled", 0.0);
|
||||
|
@ -679,7 +679,7 @@ group { name: "elm/check/base/toggle";
|
|||
min: 16 16;
|
||||
}
|
||||
}
|
||||
part { name: "sizer.content"; type: TEXT; mouse_events: 0;
|
||||
part { name: "sizer_content"; type: TEXT; mouse_events: 0;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
fixed: 1 1;
|
||||
|
|
|
@ -287,7 +287,7 @@ group { name: "elm/clock/flipampm/default";
|
|||
}
|
||||
|
||||
#define SWALLOW_PART(_NAME, _R1X, _R1Y, _R2X, _R2Y) \
|
||||
part { name: _NAME; \
|
||||
part { name: "elm."_NAME; \
|
||||
type: SWALLOW; \
|
||||
description { state: "default" 0.0; \
|
||||
rel1.relative: _R1X _R1Y; \
|
||||
|
|
|
@ -660,7 +660,8 @@ group { name: "elm/colorselector/item/default";
|
|||
color: 255 255 255 64;
|
||||
}
|
||||
}
|
||||
part { name: "color_obj"; type: SWALLOW;
|
||||
alias: "color_obj" "elm.swallow.color_obj";
|
||||
part { name: "elm.swallow.color_obj"; type: SWALLOW;
|
||||
clip_to: "clipper";
|
||||
description { state: "default" 0.0;
|
||||
rel1.offset: 3 3;
|
||||
|
|
|
@ -9,8 +9,9 @@
|
|||
#define DAYSELECOR_DAY_STATE_SELECTED 3
|
||||
|
||||
#define DAYSELECTOR_DAY(_pos, _after)\
|
||||
alias: "day"#_pos "elm.swallow.day"#_pos; \
|
||||
part {\
|
||||
name: "day"#_pos;\
|
||||
name: "elm.swallow.day"#_pos;\
|
||||
type: SWALLOW;\
|
||||
scale: 1;\
|
||||
clip_to: "clipper";\
|
||||
|
@ -21,12 +22,12 @@
|
|||
fixed: 1 0;\
|
||||
rel1 {\
|
||||
relative: 1.0 0.0;\
|
||||
to: "day"#_after;\
|
||||
to: "elm.swallow.day"#_after;\
|
||||
offset: 0 0;\
|
||||
}\
|
||||
rel2 {\
|
||||
relative: 1.0 1.0;\
|
||||
to: "day"#_after;\
|
||||
to: "elm.swallow.day"#_after;\
|
||||
}\
|
||||
}\
|
||||
description { state: "visible" 0.0;\
|
||||
|
@ -38,24 +39,24 @@
|
|||
programs{\
|
||||
program {\
|
||||
name: "day"#_pos"visible";\
|
||||
signal: "day"#_pos",visible";\
|
||||
signal: "elm,day"#_pos",visible";\
|
||||
source: "elm";\
|
||||
action: STATE_SET "visible" 0.0;\
|
||||
target: "day"#_pos;\
|
||||
target: "elm.swallow.day"#_pos;\
|
||||
}\
|
||||
program {\
|
||||
name: "day"#_pos"notvisible";\
|
||||
signal: "day"#_pos",default";\
|
||||
signal: "elm,day"#_pos",default";\
|
||||
source: "elm";\
|
||||
action: STATE_SET "default" 0.0;\
|
||||
target: "day"#_pos;\
|
||||
target: "elm.swallow.day"#_pos;\
|
||||
}\
|
||||
}
|
||||
|
||||
group { name: "elm/dayselector/base/default";
|
||||
parts {
|
||||
part {
|
||||
name: "day0";
|
||||
name: "elm.swallow.day0";
|
||||
type: SWALLOW;
|
||||
scale: 1;
|
||||
clip_to: "clipper";
|
||||
|
@ -82,8 +83,8 @@ group { name: "elm/dayselector/base/default";
|
|||
type: RECT;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
rel1.to: "day0";
|
||||
rel2.to: "day6";
|
||||
rel1.to: "elm.swallow.day0";
|
||||
rel2.to: "elm.swallow.day6";
|
||||
}
|
||||
description {
|
||||
state: "visible" 0.0;
|
||||
|
@ -125,17 +126,17 @@ group { name: "elm/dayselector/base/default";
|
|||
}
|
||||
program {
|
||||
name: "day0_visible";
|
||||
signal: "day0,visible";
|
||||
signal: "elm,day0,visible";
|
||||
source: "elm";
|
||||
action: STATE_SET "visible" 0.0;
|
||||
target: "day0";
|
||||
target: "elm.swallow.day0";
|
||||
}
|
||||
program {
|
||||
name: "day0_default";
|
||||
signal: "day0,default";
|
||||
signal: "elm,day0,default";
|
||||
source: "elm";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "day0";
|
||||
target: "elm.swallow.day0";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -854,8 +854,6 @@ group { name: "elm/entry/base-single/default";
|
|||
|
||||
group { name: "elm/entry/base-single/spinner/default";
|
||||
alias: "elm/entry/base-single/spinner/vertical";
|
||||
alias: "elm/entry/base-single/spin_button/default";
|
||||
alias: "elm/entry/base-single/spin_button/vertical";
|
||||
inherit: "elm/entry/base-single/default";
|
||||
styles {
|
||||
style { name: "entry_single_spinner_style";
|
||||
|
|
|
@ -167,7 +167,7 @@ group { name: "elm/ews/decoration/default";
|
|||
rel2.relative: 1.0 0.85;
|
||||
}
|
||||
}
|
||||
part { name: "e.swallow.icon"; type: SWALLOW; nomouse;
|
||||
part { name: "elm.swallow.icon"; type: SWALLOW; nomouse;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "icon";
|
||||
rel1.relative: 0.15 0.15;
|
||||
|
|
|
@ -1975,7 +1975,7 @@ group { "elm/genlist/item/icon_top_text_bottom/default"; nomouse;
|
|||
target: "elm.text.flip";
|
||||
}
|
||||
//##//
|
||||
text { "sizer.content";
|
||||
text { "sizer_content";
|
||||
scale;
|
||||
desc { "default";
|
||||
fixed: 1 1;
|
||||
|
@ -2009,8 +2009,8 @@ group { "elm/genlist/item/icon_top_text_bottom/default"; nomouse;
|
|||
desc { "default";
|
||||
fixed: 1 1;
|
||||
aspect: 1.0 1.0;
|
||||
rel1.to: "sizer.content";
|
||||
rel2.to: "sizer.content";
|
||||
rel1.to: "sizer_content";
|
||||
rel2.to: "sizer_content";
|
||||
link.base: "elm,state,flip,disabled";
|
||||
}
|
||||
desc { "flip_enabled";
|
||||
|
@ -2031,7 +2031,7 @@ COMPRESS_ODD("elm/genlist/item_compress_odd/icon_top_text_bottom/default", "elm/
|
|||
group { "elm/genlist/tree/icon_top_text_bottom/default";
|
||||
inherit: "elm/genlist/item/icon_top_text_bottom/default";
|
||||
parts {
|
||||
image { "sizer.content";
|
||||
image { "sizer_content";
|
||||
desc { "default";
|
||||
rel1.to_x: "arrow";
|
||||
rel1.offset: 1 2;
|
||||
|
|
|
@ -18,6 +18,7 @@
|
|||
* - src/bin/elementary/test_icon.c (elementary_test -to "Icon Standard")
|
||||
* - data/elementary/themes/Makefile.am
|
||||
* - data/Makefile.am (only for new dirs)
|
||||
* - data/elementary/themes/fdo/index.theme (only for new dirs)
|
||||
* - elm_icon documentation ????? really?
|
||||
* - don't forget to run "make distcheck"
|
||||
*
|
||||
|
@ -588,6 +589,7 @@ FLAG(CTX, "flag-za")
|
|||
|
||||
//// mimetypes //////////////////////////////////////////////////////////////
|
||||
#define CTX "mimetypes"
|
||||
ICO2(CTX, "inode-directory")
|
||||
// TODO ... don't really know about this one (they are LOTS of icons)
|
||||
#undef CTX
|
||||
|
||||
|
|
|
@ -1,3 +1,10 @@
|
|||
#define HORIZONTAL_FIXED \
|
||||
description { state: "horizontal_fixed" 0.0; \
|
||||
inherit: "default" 0.0; \
|
||||
fixed: 1 0; \
|
||||
text.min: 0 1; \
|
||||
}
|
||||
|
||||
group { name: "elm/label/base/default";
|
||||
styles {
|
||||
style { name: "label_style";
|
||||
|
@ -28,11 +35,7 @@ group { name: "elm/label/base/default";
|
|||
min: 1 1;
|
||||
}
|
||||
}
|
||||
description { state: "horizontal_fixed" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
fixed: 1 0;
|
||||
text.min: 0 1;
|
||||
}
|
||||
HORIZONTAL_FIXED
|
||||
}
|
||||
}
|
||||
programs {
|
||||
|
@ -62,6 +65,7 @@ group { name: "elm/label/base/default/left";
|
|||
parts {
|
||||
textblock { "elm.text";
|
||||
desc { "default"; text.style: "label_style_left"; }
|
||||
HORIZONTAL_FIXED
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -79,6 +83,7 @@ group { name: "elm/label/base/default/right";
|
|||
parts {
|
||||
textblock { "elm.text";
|
||||
desc { "default"; text.style: "label_style_right"; }
|
||||
HORIZONTAL_FIXED
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -509,3 +514,4 @@ group { name: "elm/label/base/slide_bounce";
|
|||
}
|
||||
}
|
||||
}
|
||||
#undef HORIZONTAL_FIXED
|
||||
|
|
|
@ -18,7 +18,9 @@ group { name: "elm/multibuttonentry/base/default";
|
|||
rel2.to: "bg";
|
||||
}
|
||||
}
|
||||
part { name: "box.swallow"; type: SWALLOW;
|
||||
/* this widget was released with non-namespaced parts in legacy api */
|
||||
alias: "box.swallow" "elm.swallow.box";
|
||||
part { name: "elm.swallow.box"; type: SWALLOW;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "bg";
|
||||
rel2.to: "bg";
|
||||
|
|
|
@ -13,7 +13,7 @@ group { name: "elm/scroller/panel/default";
|
|||
|
||||
group { name: "elm/scroller/panel/left/default";
|
||||
parts {
|
||||
part { name: "panel_area";
|
||||
part { name: "elm.panel_area";
|
||||
type: SWALLOW;
|
||||
description { state: "default" 0.0;
|
||||
rel2.relative: 0.0 1.0;
|
||||
|
@ -26,16 +26,16 @@ group { name: "elm/scroller/panel/left/default";
|
|||
visible: 1;
|
||||
}
|
||||
}
|
||||
part { name: "event_area";
|
||||
part { name: "elm.event_area";
|
||||
type: SWALLOW;
|
||||
description { state: "default" 0.0;
|
||||
rel1 {
|
||||
relative: 1.0 0.0;
|
||||
to: "panel_area";
|
||||
to: "elm.panel_area";
|
||||
}
|
||||
rel2 {
|
||||
relative: 1.0 1.0;
|
||||
to: "panel_area";
|
||||
to: "elm.panel_area";
|
||||
}
|
||||
align: 0.0 0.5;
|
||||
fixed: 1 1;
|
||||
|
@ -50,16 +50,16 @@ group { name: "elm/scroller/panel/left/default";
|
|||
type: RECT;
|
||||
repeat_events: 1;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "panel_area";
|
||||
rel2.to: "panel_area";
|
||||
rel1.to: "elm.panel_area";
|
||||
rel2.to: "elm.panel_area";
|
||||
color: 0 0 0 0;
|
||||
}
|
||||
}
|
||||
part { name: "bg";
|
||||
type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "panel_area";
|
||||
rel2.to: "panel_area";
|
||||
rel1.to: "elm.panel_area";
|
||||
rel2.to: "elm.panel_area";
|
||||
color: 64 64 64 255;
|
||||
visible: 0;
|
||||
}
|
||||
|
@ -71,8 +71,8 @@ group { name: "elm/scroller/panel/left/default";
|
|||
part { name: "elm.swallow.content";
|
||||
type: SWALLOW;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "panel_area";
|
||||
rel2.to: "panel_area";
|
||||
rel1.to: "elm.panel_area";
|
||||
rel2.to: "elm.panel_area";
|
||||
visible: 0;
|
||||
}
|
||||
description { state: "visible" 0.0;
|
||||
|
@ -86,8 +86,8 @@ group { name: "elm/scroller/panel/left/default";
|
|||
signal: "elm,state,content,visible";
|
||||
source: "elm";
|
||||
action: STATE_SET "visible" 0.0;
|
||||
target: "panel_area";
|
||||
target: "event_area";
|
||||
target: "elm.panel_area";
|
||||
target: "elm.event_area";
|
||||
target: "bg";
|
||||
target: "elm.swallow.content";
|
||||
}
|
||||
|
@ -95,8 +95,8 @@ group { name: "elm/scroller/panel/left/default";
|
|||
signal: "elm,state,content,hidden";
|
||||
source: "elm";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "panel_area";
|
||||
target: "event_area";
|
||||
target: "elm.panel_area";
|
||||
target: "elm.event_area";
|
||||
target: "bg";
|
||||
target: "elm.swallow.content";
|
||||
}
|
||||
|
@ -105,7 +105,7 @@ group { name: "elm/scroller/panel/left/default";
|
|||
|
||||
group { name: "elm/scroller/panel/right/default";
|
||||
parts {
|
||||
part { name: "event_area";
|
||||
part { name: "elm.event_area";
|
||||
type: SWALLOW;
|
||||
description { state: "default" 0.0;
|
||||
rel2.relative: 0.0 1.0;
|
||||
|
@ -118,16 +118,16 @@ group { name: "elm/scroller/panel/right/default";
|
|||
visible: 1;
|
||||
}
|
||||
}
|
||||
part { name: "panel_area";
|
||||
part { name: "elm.panel_area";
|
||||
type: SWALLOW;
|
||||
description { state: "default" 0.0;
|
||||
rel1 {
|
||||
relative: 1.0 0.0;
|
||||
to: "event_area";
|
||||
to: "elm.event_area";
|
||||
}
|
||||
rel2 {
|
||||
relative: 1.0 1.0;
|
||||
to: "event_area";
|
||||
to: "elm.event_area";
|
||||
}
|
||||
align: 0.0 0.5;
|
||||
fixed: 1 1;
|
||||
|
@ -142,16 +142,16 @@ group { name: "elm/scroller/panel/right/default";
|
|||
type: RECT;
|
||||
repeat_events: 1;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "panel_area";
|
||||
rel2.to: "panel_area";
|
||||
rel1.to: "elm.panel_area";
|
||||
rel2.to: "elm.panel_area";
|
||||
color: 0 0 0 0;
|
||||
}
|
||||
}
|
||||
part { name: "bg";
|
||||
type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "panel_area";
|
||||
rel2.to: "panel_area";
|
||||
rel1.to: "elm.panel_area";
|
||||
rel2.to: "elm.panel_area";
|
||||
color: 64 64 64 255;
|
||||
visible: 0;
|
||||
}
|
||||
|
@ -163,8 +163,8 @@ group { name: "elm/scroller/panel/right/default";
|
|||
part { name: "elm.swallow.content";
|
||||
type: SWALLOW;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "panel_area";
|
||||
rel2.to: "panel_area";
|
||||
rel1.to: "elm.panel_area";
|
||||
rel2.to: "elm.panel_area";
|
||||
visible: 0;
|
||||
}
|
||||
description { state: "visible" 0.0;
|
||||
|
@ -178,8 +178,8 @@ group { name: "elm/scroller/panel/right/default";
|
|||
signal: "elm,state,content,visible";
|
||||
source: "elm";
|
||||
action: STATE_SET "visible" 0.0;
|
||||
target: "panel_area";
|
||||
target: "event_area";
|
||||
target: "elm.panel_area";
|
||||
target: "elm.event_area";
|
||||
target: "bg";
|
||||
target: "elm.swallow.content";
|
||||
}
|
||||
|
@ -187,8 +187,8 @@ group { name: "elm/scroller/panel/right/default";
|
|||
signal: "elm,state,content,hidden";
|
||||
source: "elm";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "panel_area";
|
||||
target: "event_area";
|
||||
target: "elm.panel_area";
|
||||
target: "elm.event_area";
|
||||
target: "bg";
|
||||
target: "elm.swallow.content";
|
||||
}
|
||||
|
@ -197,7 +197,7 @@ group { name: "elm/scroller/panel/right/default";
|
|||
|
||||
group { name: "elm/scroller/panel/top/default";
|
||||
parts {
|
||||
part { name: "panel_area";
|
||||
part { name: "elm.panel_area";
|
||||
type: SWALLOW;
|
||||
description { state: "default" 0.0;
|
||||
rel2.relative: 1.0 0.0;
|
||||
|
@ -210,16 +210,16 @@ group { name: "elm/scroller/panel/top/default";
|
|||
visible: 1;
|
||||
}
|
||||
}
|
||||
part { name: "event_area";
|
||||
part { name: "elm.event_area";
|
||||
type: SWALLOW;
|
||||
description { state: "default" 0.0;
|
||||
rel1 {
|
||||
relative: 0.0 1.0;
|
||||
to: "panel_area";
|
||||
to: "elm.panel_area";
|
||||
}
|
||||
rel2 {
|
||||
relative: 1.0 1.0;
|
||||
to: "panel_area";
|
||||
to: "elm.panel_area";
|
||||
}
|
||||
align: 0.5 0.0;
|
||||
fixed: 1 1;
|
||||
|
@ -234,16 +234,16 @@ group { name: "elm/scroller/panel/top/default";
|
|||
type: RECT;
|
||||
repeat_events: 1;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "panel_area";
|
||||
rel2.to: "panel_area";
|
||||
rel1.to: "elm.panel_area";
|
||||
rel2.to: "elm.panel_area";
|
||||
color: 0 0 0 0;
|
||||
}
|
||||
}
|
||||
part { name: "bg";
|
||||
type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "panel_area";
|
||||
rel2.to: "panel_area";
|
||||
rel1.to: "elm.panel_area";
|
||||
rel2.to: "elm.panel_area";
|
||||
color: 64 64 64 255;
|
||||
visible: 0;
|
||||
}
|
||||
|
@ -255,8 +255,8 @@ group { name: "elm/scroller/panel/top/default";
|
|||
part { name: "elm.swallow.content";
|
||||
type: SWALLOW;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "panel_area";
|
||||
rel2.to: "panel_area";
|
||||
rel1.to: "elm.panel_area";
|
||||
rel2.to: "elm.panel_area";
|
||||
visible: 0;
|
||||
}
|
||||
description { state: "visible" 0.0;
|
||||
|
@ -270,8 +270,8 @@ group { name: "elm/scroller/panel/top/default";
|
|||
signal: "elm,state,content,visible";
|
||||
source: "elm";
|
||||
action: STATE_SET "visible" 0.0;
|
||||
target: "panel_area";
|
||||
target: "event_area";
|
||||
target: "elm.panel_area";
|
||||
target: "elm.event_area";
|
||||
target: "bg";
|
||||
target: "elm.swallow.content";
|
||||
}
|
||||
|
@ -279,8 +279,8 @@ group { name: "elm/scroller/panel/top/default";
|
|||
signal: "elm,state,content,hidden";
|
||||
source: "elm";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "panel_area";
|
||||
target: "event_area";
|
||||
target: "elm.panel_area";
|
||||
target: "elm.event_area";
|
||||
target: "bg";
|
||||
target: "elm.swallow.content";
|
||||
}
|
||||
|
@ -289,7 +289,7 @@ group { name: "elm/scroller/panel/top/default";
|
|||
|
||||
group { name: "elm/scroller/panel/bottom/default";
|
||||
parts {
|
||||
part { name: "event_area";
|
||||
part { name: "elm.event_area";
|
||||
type: SWALLOW;
|
||||
description { state: "default" 0.0;
|
||||
rel2.relative: 1.0 0.0;
|
||||
|
@ -302,16 +302,16 @@ group { name: "elm/scroller/panel/bottom/default";
|
|||
visible: 1;
|
||||
}
|
||||
}
|
||||
part { name: "panel_area";
|
||||
part { name: "elm.panel_area";
|
||||
type: SWALLOW;
|
||||
description { state: "default" 0.0;
|
||||
rel1 {
|
||||
relative: 0.0 1.0;
|
||||
to: "event_area";
|
||||
to: "elm.event_area";
|
||||
}
|
||||
rel2 {
|
||||
relative: 1.0 1.0;
|
||||
to: "event_area";
|
||||
to: "elm.event_area";
|
||||
}
|
||||
align: 0.5 0.0;
|
||||
fixed: 1 1;
|
||||
|
@ -326,16 +326,16 @@ group { name: "elm/scroller/panel/bottom/default";
|
|||
type: RECT;
|
||||
repeat_events: 1;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "panel_area";
|
||||
rel2.to: "panel_area";
|
||||
rel1.to: "elm.panel_area";
|
||||
rel2.to: "elm.panel_area";
|
||||
color: 0 0 0 0;
|
||||
}
|
||||
}
|
||||
part { name: "bg";
|
||||
type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "panel_area";
|
||||
rel2.to: "panel_area";
|
||||
rel1.to: "elm.panel_area";
|
||||
rel2.to: "elm.panel_area";
|
||||
color: 64 64 64 255;
|
||||
visible: 0;
|
||||
}
|
||||
|
@ -347,8 +347,8 @@ group { name: "elm/scroller/panel/bottom/default";
|
|||
part { name: "elm.swallow.content";
|
||||
type: SWALLOW;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "panel_area";
|
||||
rel2.to: "panel_area";
|
||||
rel1.to: "elm.panel_area";
|
||||
rel2.to: "elm.panel_area";
|
||||
visible: 0;
|
||||
}
|
||||
description { state: "visible" 0.0;
|
||||
|
@ -362,8 +362,8 @@ group { name: "elm/scroller/panel/bottom/default";
|
|||
signal: "elm,state,content,visible";
|
||||
source: "elm";
|
||||
action: STATE_SET "visible" 0.0;
|
||||
target: "panel_area";
|
||||
target: "event_area";
|
||||
target: "elm.panel_area";
|
||||
target: "elm.event_area";
|
||||
target: "bg";
|
||||
target: "elm.swallow.content";
|
||||
}
|
||||
|
@ -371,8 +371,8 @@ group { name: "elm/scroller/panel/bottom/default";
|
|||
signal: "elm,state,content,hidden";
|
||||
source: "elm";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "panel_area";
|
||||
target: "event_area";
|
||||
target: "elm.panel_area";
|
||||
target: "elm.event_area";
|
||||
target: "bg";
|
||||
target: "elm.swallow.content";
|
||||
}
|
||||
|
|
|
@ -62,7 +62,7 @@ group { name: "elm/photo/base/shadow";
|
|||
}
|
||||
}
|
||||
parts {
|
||||
part { name: "size"; type: SWALLOW;
|
||||
part { name: "size"; type: SPACER;
|
||||
description { state: "default" 0.0;
|
||||
rel1.offset: 7 7;
|
||||
rel2.offset: -8 -8;
|
||||
|
|
|
@ -490,7 +490,7 @@ group { name: "elm/popup/item/popup/default";
|
|||
group { name: "elm/popup/base/subpopup";
|
||||
inherit: "elm/popup/base/default";
|
||||
parts {
|
||||
part { name: "pad.closebtn"; type: SPACER;
|
||||
part { name: "pad_closebtn"; type: SPACER;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "base";
|
||||
rel1.relative: 1 0;
|
||||
|
@ -505,9 +505,9 @@ group { name: "elm/popup/base/subpopup";
|
|||
part { name: "elm.swallow.closebtn"; type: SWALLOW;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "pad.closebtn";
|
||||
rel1.to: "pad_closebtn";
|
||||
rel1.relative: 1 0;
|
||||
rel2.to: "pad.closebtn";
|
||||
rel2.to: "pad_closebtn";
|
||||
rel2.relative: 1 0;
|
||||
align: 0 1;
|
||||
fixed: 1 1;
|
||||
|
|
|
@ -29,10 +29,10 @@ group { name: "elm/progressbar/horizontal/default";
|
|||
}
|
||||
if (ic) {
|
||||
set_state(PART:"elm.swallow.content", "visible", 0.0);
|
||||
set_state(PART:"sizer.content", "visible", 0.0);
|
||||
set_state(PART:"sizer_content", "visible", 0.0);
|
||||
} else {
|
||||
set_state(PART:"elm.swallow.content", "default", 0.0);
|
||||
set_state(PART:"sizer.content", "default", 0.0);
|
||||
set_state(PART:"sizer_content", "default", 0.0);
|
||||
}
|
||||
if (!d) {
|
||||
set_state(PART:"dis_clip", "default", 0.0);
|
||||
|
@ -91,7 +91,7 @@ group { name: "elm/progressbar/horizontal/default";
|
|||
rel2.offset: 2 -3;
|
||||
}
|
||||
}
|
||||
part { name: "sizer.content"; type: TEXT; mouse_events: 0;
|
||||
part { name: "sizer_content"; type: TEXT; mouse_events: 0;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
fixed: 1 1;
|
||||
|
@ -587,10 +587,10 @@ group { name: "elm/progressbar/vertical/default";
|
|||
}
|
||||
if (ic) {
|
||||
set_state(PART:"elm.swallow.content", "visible", 0.0);
|
||||
set_state(PART:"sizer.content", "visible", 0.0);
|
||||
set_state(PART:"sizer_content", "visible", 0.0);
|
||||
} else {
|
||||
set_state(PART:"elm.swallow.content", "default", 0.0);
|
||||
set_state(PART:"sizer.content", "default", 0.0);
|
||||
set_state(PART:"sizer_content", "default", 0.0);
|
||||
}
|
||||
if (!d) {
|
||||
set_state(PART:"dis_clip", "default", 0.0);
|
||||
|
@ -649,7 +649,7 @@ group { name: "elm/progressbar/vertical/default";
|
|||
rel2.offset: -3 2;
|
||||
}
|
||||
}
|
||||
part { name: "sizer.content"; type: TEXT; mouse_events: 0;
|
||||
part { name: "sizer_content"; type: TEXT; mouse_events: 0;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
fixed: 1 1;
|
||||
|
|
|
@ -14,14 +14,14 @@ group { name: "elm/radio/base/default";
|
|||
if (m1 == (ICON | LABEL)) {
|
||||
if (!d) {
|
||||
set_state(PART:"elm.swallow.content", "visible", 0.0);
|
||||
set_state(PART:"sizer.content", "visible", 0.0);
|
||||
set_state(PART:"sizer_content", "visible", 0.0);
|
||||
set_state(PART:"elm.text", "visible", 0.0);
|
||||
set_state(PART:"inset", "default", 0.0);
|
||||
set_state(PART:"clip", "default", 0.0);
|
||||
set_state(PART:"event", "default", 0.0);
|
||||
} else {
|
||||
set_state(PART:"elm.swallow.content", "visible", 0.0);
|
||||
set_state(PART:"sizer.content", "visible", 0.0);
|
||||
set_state(PART:"sizer_content", "visible", 0.0);
|
||||
set_state(PART:"elm.text", "disabled_visible", 0.0);
|
||||
set_state(PART:"inset", "disabled", 0.0);
|
||||
set_state(PART:"clip", "disabled", 0.0);
|
||||
|
@ -30,14 +30,14 @@ group { name: "elm/radio/base/default";
|
|||
} else if (m1 == (ICON)) {
|
||||
if (!d) {
|
||||
set_state(PART:"elm.swallow.content", "visible", 0.0);
|
||||
set_state(PART:"sizer.content", "icononly", 0.0);
|
||||
set_state(PART:"sizer_content", "icononly", 0.0);
|
||||
set_state(PART:"elm.text", "default", 0.0);
|
||||
set_state(PART:"inset", "default", 0.0);
|
||||
set_state(PART:"clip", "default", 0.0);
|
||||
set_state(PART:"event", "default", 0.0);
|
||||
} else {
|
||||
set_state(PART:"elm.swallow.content", "visible", 0.0);
|
||||
set_state(PART:"sizer.content", "icononly", 0.0);
|
||||
set_state(PART:"sizer_content", "icononly", 0.0);
|
||||
set_state(PART:"elm.text", "disabled", 0.0);
|
||||
set_state(PART:"inset", "disabled", 0.0);
|
||||
set_state(PART:"clip", "disabled", 0.0);
|
||||
|
@ -46,14 +46,14 @@ group { name: "elm/radio/base/default";
|
|||
} else if (m1 == (LABEL)) {
|
||||
if (!d) {
|
||||
set_state(PART:"elm.swallow.content", "default", 0.0);
|
||||
set_state(PART:"sizer.content", "default", 0.0);
|
||||
set_state(PART:"sizer_content", "default", 0.0);
|
||||
set_state(PART:"elm.text", "visible", 0.0);
|
||||
set_state(PART:"inset", "default", 0.0);
|
||||
set_state(PART:"clip", "default", 0.0);
|
||||
set_state(PART:"event", "default", 0.0);
|
||||
} else {
|
||||
set_state(PART:"elm.swallow.content", "default", 0.0);
|
||||
set_state(PART:"sizer.content", "default", 0.0);
|
||||
set_state(PART:"sizer_content", "default", 0.0);
|
||||
set_state(PART:"elm.text", "disabled_visible", 0.0);
|
||||
set_state(PART:"inset", "disabled", 0.0);
|
||||
set_state(PART:"clip", "disabled", 0.0);
|
||||
|
@ -62,14 +62,14 @@ group { name: "elm/radio/base/default";
|
|||
} else {
|
||||
if (!d) {
|
||||
set_state(PART:"elm.swallow.content", "default", 0.0);
|
||||
set_state(PART:"sizer.content", "default", 0.0);
|
||||
set_state(PART:"sizer_content", "default", 0.0);
|
||||
set_state(PART:"elm.text", "default", 0.0);
|
||||
set_state(PART:"inset", "default", 0.0);
|
||||
set_state(PART:"clip", "default", 0.0);
|
||||
set_state(PART:"event", "default", 0.0);
|
||||
} else {
|
||||
set_state(PART:"elm.swallow.content", "default", 0.0);
|
||||
set_state(PART:"sizer.content", "default", 0.0);
|
||||
set_state(PART:"sizer_content", "default", 0.0);
|
||||
set_state(PART:"elm.text", "default", 0.0);
|
||||
set_state(PART:"inset", "disabled", 0.0);
|
||||
set_state(PART:"clip", "disabled", 0.0);
|
||||
|
@ -142,7 +142,7 @@ group { name: "elm/radio/base/default";
|
|||
min: 16 16;
|
||||
}
|
||||
}
|
||||
part { name: "sizer.content"; type: TEXT; mouse_events: 0;
|
||||
part { name: "sizer_content"; type: TEXT; mouse_events: 0;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
fixed: 1 1;
|
||||
|
|
|
@ -112,17 +112,17 @@ group { name: "elm/slider/horizontal/default";
|
|||
}
|
||||
if (ic) {
|
||||
set_state(PART:"elm.swallow.icon", "visible", 0.0);
|
||||
set_state(PART:"sizer.content", "visible", 0.0);
|
||||
set_state(PART:"sizer_content", "visible", 0.0);
|
||||
} else {
|
||||
set_state(PART:"elm.swallow.icon", "default", 0.0);
|
||||
set_state(PART:"sizer.content", "default", 0.0);
|
||||
set_state(PART:"sizer_content", "default", 0.0);
|
||||
}
|
||||
if (e) {
|
||||
set_state(PART:"elm.swallow.end", "visible", 0.0);
|
||||
set_state(PART:"sizer.content.end", "visible", 0.0);
|
||||
set_state(PART:"sizer_content_end", "visible", 0.0);
|
||||
} else {
|
||||
set_state(PART:"elm.swallow.end", "default", 0.0);
|
||||
set_state(PART:"sizer.content.end", "default", 0.0);
|
||||
set_state(PART:"sizer_content_end", "default", 0.0);
|
||||
}
|
||||
if (!d) {
|
||||
set_state(PART:"event", "default", 0.0);
|
||||
|
@ -233,7 +233,7 @@ group { name: "elm/slider/horizontal/default";
|
|||
rel2.offset: 2 -3;
|
||||
}
|
||||
}
|
||||
part { name: "sizer.content"; type: TEXT; mouse_events: 0;
|
||||
part { name: "sizer_content"; type: TEXT; mouse_events: 0;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
fixed: 1 1;
|
||||
|
@ -309,7 +309,7 @@ group { name: "elm/slider/horizontal/default";
|
|||
rel2.offset: -3 -3;
|
||||
}
|
||||
}
|
||||
part { name: "sizer.content.end"; type: TEXT; mouse_events: 0;
|
||||
part { name: "sizer_content_end"; type: TEXT; mouse_events: 0;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
fixed: 1 1;
|
||||
|
@ -399,6 +399,7 @@ group { name: "elm/slider/horizontal/default";
|
|||
}
|
||||
}
|
||||
part { name: "elm.dragable.slider"; type: RECT;
|
||||
nomouse;
|
||||
scale: 1;
|
||||
dragable.x: 1 1 0;
|
||||
dragable.y: 0 0 0;
|
||||
|
@ -415,6 +416,7 @@ group { name: "elm/slider/horizontal/default";
|
|||
}
|
||||
}
|
||||
part { name: "knob";
|
||||
nomouse;
|
||||
description { state: "default" 0.0;
|
||||
image.normal: "knob";
|
||||
fixed: 1 1;
|
||||
|
@ -432,6 +434,7 @@ group { name: "elm/slider/horizontal/default";
|
|||
}
|
||||
part { name: "slideevent"; type: RECT; repeat_events: 1;
|
||||
scale: 1;
|
||||
nomouse;
|
||||
ignore_flags: ON_HOLD;
|
||||
dragable.events: "elm.dragable.slider";
|
||||
description { state: "default" 0.0;
|
||||
|
@ -829,17 +832,17 @@ group { name: "elm/slider/vertical/default";
|
|||
}
|
||||
if (ic) {
|
||||
set_state(PART:"elm.swallow.icon", "visible", 0.0);
|
||||
set_state(PART:"sizer.content", "visible", 0.0);
|
||||
set_state(PART:"sizer_content", "visible", 0.0);
|
||||
} else {
|
||||
set_state(PART:"elm.swallow.icon", "default", 0.0);
|
||||
set_state(PART:"sizer.content", "default", 0.0);
|
||||
set_state(PART:"sizer_content", "default", 0.0);
|
||||
}
|
||||
if (e) {
|
||||
set_state(PART:"elm.swallow.end", "visible", 0.0);
|
||||
set_state(PART:"sizer.content.end", "visible", 0.0);
|
||||
set_state(PART:"sizer_content_end", "visible", 0.0);
|
||||
} else {
|
||||
set_state(PART:"elm.swallow.end", "default", 0.0);
|
||||
set_state(PART:"sizer.content.end", "default", 0.0);
|
||||
set_state(PART:"sizer_content_end", "default", 0.0);
|
||||
}
|
||||
if (!d) {
|
||||
set_state(PART:"event", "default", 0.0);
|
||||
|
@ -950,7 +953,7 @@ group { name: "elm/slider/vertical/default";
|
|||
rel2.offset: -3 2;
|
||||
}
|
||||
}
|
||||
part { name: "sizer.content"; type: TEXT; mouse_events: 0;
|
||||
part { name: "sizer_content"; type: TEXT; mouse_events: 0;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
fixed: 1 1;
|
||||
|
@ -1027,7 +1030,7 @@ group { name: "elm/slider/vertical/default";
|
|||
rel2.offset: -3 -3;
|
||||
}
|
||||
}
|
||||
part { name: "sizer.content.end"; type: TEXT; mouse_events: 0;
|
||||
part { name: "sizer_content_end"; type: TEXT; mouse_events: 0;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
fixed: 1 1;
|
||||
|
@ -1120,6 +1123,7 @@ group { name: "elm/slider/vertical/default";
|
|||
}
|
||||
part { name: "elm.dragable.slider"; type: RECT;
|
||||
scale: 1;
|
||||
nomouse;
|
||||
dragable.x: 0 0 0;
|
||||
dragable.y: 1 1 0;
|
||||
dragable.confine: "elm.swallow.bar";
|
||||
|
@ -1135,6 +1139,7 @@ group { name: "elm/slider/vertical/default";
|
|||
}
|
||||
}
|
||||
part { name: "knob";
|
||||
nomouse;
|
||||
description { state: "default" 0.0;
|
||||
image.normal: "knob";
|
||||
fixed: 1 1;
|
||||
|
@ -1152,6 +1157,7 @@ group { name: "elm/slider/vertical/default";
|
|||
}
|
||||
part { name: "slideevent"; type: RECT; repeat_events: 1;
|
||||
scale: 1;
|
||||
nomouse;
|
||||
ignore_flags: ON_HOLD;
|
||||
dragable.events: "elm.dragable.slider";
|
||||
description { state: "default" 0.0;
|
||||
|
@ -1577,17 +1583,17 @@ group { name: "elm/slider/range/horizontal/default";
|
|||
}
|
||||
if (ic) {
|
||||
set_state(PART:"elm.swallow.icon", "visible", 0.0);
|
||||
set_state(PART:"sizer.content", "visible", 0.0);
|
||||
set_state(PART:"sizer_content", "visible", 0.0);
|
||||
} else {
|
||||
set_state(PART:"elm.swallow.icon", "default", 0.0);
|
||||
set_state(PART:"sizer.content", "default", 0.0);
|
||||
set_state(PART:"sizer_content", "default", 0.0);
|
||||
}
|
||||
if (e) {
|
||||
set_state(PART:"elm.swallow.end", "visible", 0.0);
|
||||
set_state(PART:"sizer.content.end", "visible", 0.0);
|
||||
set_state(PART:"sizer_content_end", "visible", 0.0);
|
||||
} else {
|
||||
set_state(PART:"elm.swallow.end", "default", 0.0);
|
||||
set_state(PART:"sizer.content.end", "default", 0.0);
|
||||
set_state(PART:"sizer_content_end", "default", 0.0);
|
||||
}
|
||||
if (!d) {
|
||||
set_state(PART:"event", "default", 0.0);
|
||||
|
@ -1724,7 +1730,7 @@ group { name: "elm/slider/range/horizontal/default";
|
|||
rel2.offset: 2 -3;
|
||||
}
|
||||
}
|
||||
part { name: "sizer.content"; type: TEXT; mouse_events: 0;
|
||||
part { name: "sizer_content"; type: TEXT; mouse_events: 0;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
fixed: 1 1;
|
||||
|
@ -1800,7 +1806,7 @@ group { name: "elm/slider/range/horizontal/default";
|
|||
rel2.offset: -3 -3;
|
||||
}
|
||||
}
|
||||
part { name: "sizer.content.end"; type: TEXT; mouse_events: 0;
|
||||
part { name: "sizer_content_end"; type: TEXT; mouse_events: 0;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
fixed: 1 1;
|
||||
|
@ -1891,6 +1897,7 @@ group { name: "elm/slider/range/horizontal/default";
|
|||
}
|
||||
part { name: "elm.dragable.slider"; type: RECT;
|
||||
scale: 1;
|
||||
nomouse;
|
||||
dragable.x: 1 1 0;
|
||||
dragable.y: 0 0 0;
|
||||
dragable.confine: "elm.swallow.bar";
|
||||
|
@ -1906,6 +1913,7 @@ group { name: "elm/slider/range/horizontal/default";
|
|||
}
|
||||
}
|
||||
part { name: "knob";
|
||||
nomouse;
|
||||
description { state: "default" 0.0;
|
||||
image.normal: "knob";
|
||||
fixed: 1 1;
|
||||
|
@ -1923,6 +1931,7 @@ group { name: "elm/slider/range/horizontal/default";
|
|||
}
|
||||
part { name: "slideevent"; type: RECT; repeat_events: 1;
|
||||
scale: 1;
|
||||
nomouse;
|
||||
ignore_flags: ON_HOLD;
|
||||
dragable.events: "elm.dragable.slider";
|
||||
description { state: "default" 0.0;
|
||||
|
@ -1958,6 +1967,7 @@ group { name: "elm/slider/range/horizontal/default";
|
|||
}
|
||||
part { name: "elm.dragable2.slider"; type: RECT;
|
||||
scale: 1;
|
||||
nomouse;
|
||||
dragable.x: 1 1 0;
|
||||
dragable.y: 0 0 0;
|
||||
dragable.confine: "elm.swallow.bar";
|
||||
|
@ -1978,6 +1988,7 @@ group { name: "elm/slider/range/horizontal/default";
|
|||
}
|
||||
}
|
||||
part { name: "knob2";
|
||||
nomouse;
|
||||
description { state: "default" 0.0;
|
||||
image.normal: "knob";
|
||||
fixed: 1 1;
|
||||
|
@ -2000,6 +2011,7 @@ group { name: "elm/slider/range/horizontal/default";
|
|||
}
|
||||
part { name: "slideevent2"; type: RECT; repeat_events: 1;
|
||||
scale: 1;
|
||||
nomouse;
|
||||
ignore_flags: ON_HOLD;
|
||||
dragable.events: "elm.dragable2.slider";
|
||||
description { state: "default" 0.0;
|
||||
|
@ -2361,17 +2373,17 @@ group { name: "elm/slider/range/vertical/default";
|
|||
}
|
||||
if (ic) {
|
||||
set_state(PART:"elm.swallow.icon", "visible", 0.0);
|
||||
set_state(PART:"sizer.content", "visible", 0.0);
|
||||
set_state(PART:"sizer_content", "visible", 0.0);
|
||||
} else {
|
||||
set_state(PART:"elm.swallow.icon", "default", 0.0);
|
||||
set_state(PART:"sizer.content", "default", 0.0);
|
||||
set_state(PART:"sizer_content", "default", 0.0);
|
||||
}
|
||||
if (e) {
|
||||
set_state(PART:"elm.swallow.end", "visible", 0.0);
|
||||
set_state(PART:"sizer.content.end", "visible", 0.0);
|
||||
set_state(PART:"sizer_content_end", "visible", 0.0);
|
||||
} else {
|
||||
set_state(PART:"elm.swallow.end", "default", 0.0);
|
||||
set_state(PART:"sizer.content.end", "default", 0.0);
|
||||
set_state(PART:"sizer_content_end", "default", 0.0);
|
||||
}
|
||||
if (!d) {
|
||||
set_state(PART:"event", "default", 0.0);
|
||||
|
@ -2508,7 +2520,7 @@ group { name: "elm/slider/range/vertical/default";
|
|||
rel2.offset: -3 2;
|
||||
}
|
||||
}
|
||||
part { name: "sizer.content"; type: TEXT; mouse_events: 0;
|
||||
part { name: "sizer_content"; type: TEXT; mouse_events: 0;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
fixed: 1 1;
|
||||
|
@ -2585,7 +2597,7 @@ group { name: "elm/slider/range/vertical/default";
|
|||
rel2.offset: -3 -3;
|
||||
}
|
||||
}
|
||||
part { name: "sizer.content.end"; type: TEXT; mouse_events: 0;
|
||||
part { name: "sizer_content_end"; type: TEXT; mouse_events: 0;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
fixed: 1 1;
|
||||
|
@ -2678,6 +2690,7 @@ group { name: "elm/slider/range/vertical/default";
|
|||
}
|
||||
part { name: "elm.dragable.slider"; type: RECT;
|
||||
scale: 1;
|
||||
nomouse;
|
||||
dragable.x: 0 0 0;
|
||||
dragable.y: 1 1 0;
|
||||
dragable.confine: "elm.swallow.bar";
|
||||
|
@ -2693,6 +2706,7 @@ group { name: "elm/slider/range/vertical/default";
|
|||
}
|
||||
}
|
||||
part { name: "knob";
|
||||
nomouse;
|
||||
description { state: "default" 0.0;
|
||||
image.normal: "knob";
|
||||
fixed: 1 1;
|
||||
|
@ -2710,6 +2724,7 @@ group { name: "elm/slider/range/vertical/default";
|
|||
}
|
||||
part { name: "slideevent"; type: RECT; repeat_events: 1;
|
||||
scale: 1;
|
||||
nomouse;
|
||||
ignore_flags: ON_HOLD;
|
||||
dragable.events: "elm.dragable.slider";
|
||||
description { state: "default" 0.0;
|
||||
|
@ -2745,6 +2760,7 @@ group { name: "elm/slider/range/vertical/default";
|
|||
}
|
||||
part { name: "elm.dragable2.slider"; type: RECT;
|
||||
scale: 1;
|
||||
nomouse;
|
||||
dragable.x: 0 0 0;
|
||||
dragable.y: 1 1 0;
|
||||
dragable.confine: "elm.swallow.bar";
|
||||
|
@ -2765,6 +2781,7 @@ group { name: "elm/slider/range/vertical/default";
|
|||
}
|
||||
}
|
||||
part { name: "knob2";
|
||||
nomouse;
|
||||
description { state: "default" 0.0;
|
||||
image.normal: "knob";
|
||||
fixed: 1 1;
|
||||
|
@ -2787,6 +2804,7 @@ group { name: "elm/slider/range/vertical/default";
|
|||
}
|
||||
part { name: "slideevent2"; type: RECT; repeat_events: 1;
|
||||
scale: 1;
|
||||
nomouse;
|
||||
ignore_flags: ON_HOLD;
|
||||
dragable.events: "elm.dragable2.slider";
|
||||
description { state: "default" 0.0;
|
||||
|
|
|
@ -1,207 +0,0 @@
|
|||
#define DATETIME_FIELD(_pos) \
|
||||
part { \
|
||||
name: "field"#_pos; type: SWALLOW; \
|
||||
scale: 1; \
|
||||
clip_to: "clip"; \
|
||||
description { state: "default" 0.0; \
|
||||
visible: 0; \
|
||||
min: 0 0; \
|
||||
align: 0.0 0.5; \
|
||||
fixed: 1 1; \
|
||||
rel1.relative: 1.0 0.0; \
|
||||
rel1.to: "separator"#_pos; \
|
||||
rel2.relative: 1.0 1.0; \
|
||||
rel2.to: "separator"#_pos; \
|
||||
} \
|
||||
description { state: "enable" 0.0; \
|
||||
inherit: "default" 0.0; \
|
||||
visible: 1; \
|
||||
min: 8 10; \
|
||||
} \
|
||||
} \
|
||||
programs{ \
|
||||
program { name: "field_"#_pos"enabled"; \
|
||||
signal: "field"#_pos",enable"; source: "elm"; \
|
||||
action: STATE_SET "enable" 0.0; \
|
||||
target: "field"#_pos; \
|
||||
} \
|
||||
program { name: "field_"#_pos"disabled"; \
|
||||
signal: "field"#_pos",disable"; source: "elm"; \
|
||||
action: STATE_SET "default" 0.0; \
|
||||
target: "field"#_pos; \
|
||||
} \
|
||||
}
|
||||
#define DATETIME_SEPARATOR(_pos, _after) \
|
||||
part { \
|
||||
name: "separator"#_pos; type: TEXT; \
|
||||
scale: 1; \
|
||||
effect: SHADOW BOTTOM; \
|
||||
clip_to: "disclip"; \
|
||||
description { state: "default" 0.0; \
|
||||
visible: 0; \
|
||||
min: 0 0; \
|
||||
align: 0.0 0.5; \
|
||||
fixed: 1 0; \
|
||||
rel1 { \
|
||||
relative: 1.0 0.0; \
|
||||
to: "field"#_after; \
|
||||
} \
|
||||
rel2 { \
|
||||
relative: 1.0 1.0; \
|
||||
to: "field"#_after; \
|
||||
} \
|
||||
color_class: "datetime_separator_text"; \
|
||||
text { \
|
||||
font: "Sans"; size: 10; \
|
||||
min: 1 0; \
|
||||
ellipsis: -1; \
|
||||
align: 0.5 0.5; \
|
||||
text_class: "datetime_separator_text"; \
|
||||
} \
|
||||
} \
|
||||
description { state: "enable" 0.0; \
|
||||
inherit: "default" 0.0; \
|
||||
visible: 1; \
|
||||
min: 8 10; \
|
||||
} \
|
||||
} \
|
||||
part { \
|
||||
name: "separator"#_pos"d"; type: TEXT; \
|
||||
scale: 1; \
|
||||
effect: SHADOW BOTTOM; \
|
||||
clip_to: "disclip2"; \
|
||||
description { state: "default" 0.0; \
|
||||
visible: 0; \
|
||||
rel1.to: "separator"#_pos; \
|
||||
rel2.to: "separator"#_pos; \
|
||||
color_class: "datetime_separator_text_disabled"; \
|
||||
text { \
|
||||
text_source: "separator"#_pos; \
|
||||
font: "Sans"; size: 10; \
|
||||
text_class: "datetime_separator_text_disabled"; \
|
||||
} \
|
||||
} \
|
||||
description { state: "enable" 0.0; \
|
||||
inherit: "default" 0.0; \
|
||||
visible: 1; \
|
||||
} \
|
||||
} \
|
||||
programs { \
|
||||
program { \
|
||||
signal: "field"#_after",enable"; source: "elm"; \
|
||||
action: STATE_SET "enable" 0.0; \
|
||||
target: "separator"#_pos; \
|
||||
target: "separator"#_pos"d"; \
|
||||
} \
|
||||
program { \
|
||||
signal: "field"#_after",disable"; source: "elm"; \
|
||||
action: STATE_SET "default" 0.0; \
|
||||
target: "separator"#_pos; \
|
||||
target: "separator"#_pos"d"; \
|
||||
} \
|
||||
}
|
||||
group { name: "elm/uiclock/base/default";
|
||||
parts {
|
||||
part { name: "bg"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
color_class: "datetime_bg";
|
||||
}
|
||||
}
|
||||
part { name: "clip"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "separator0";
|
||||
rel2.to: "separator7";
|
||||
}
|
||||
}
|
||||
part { name: "disclip"; type: RECT;
|
||||
clip_to: "clip";
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "separator0";
|
||||
rel2.to: "separator7";
|
||||
}
|
||||
description { state: "disabled" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
visible: 0;
|
||||
}
|
||||
}
|
||||
part { name: "disclip2"; type: RECT;
|
||||
clip_to: "clip";
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "separator0";
|
||||
rel2.to: "separator7";
|
||||
visible: 0;
|
||||
}
|
||||
description { state: "disabled" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
visible: 1;
|
||||
}
|
||||
}
|
||||
part { name: "separator0"; type: SPACER;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
min: 8 10;
|
||||
align: 0.0 0.5;
|
||||
fixed: 1 0;
|
||||
rel2.relative: 0.0 1.0;
|
||||
}
|
||||
}
|
||||
DATETIME_FIELD(0)
|
||||
DATETIME_SEPARATOR(1,0)
|
||||
DATETIME_FIELD(1)
|
||||
DATETIME_SEPARATOR(2,1)
|
||||
DATETIME_FIELD(2)
|
||||
DATETIME_SEPARATOR(3,2)
|
||||
DATETIME_FIELD(3)
|
||||
DATETIME_SEPARATOR(4,3)
|
||||
DATETIME_FIELD(4)
|
||||
DATETIME_SEPARATOR(5,4)
|
||||
DATETIME_FIELD(5)
|
||||
DATETIME_SEPARATOR(6,5)
|
||||
DATETIME_FIELD(6)
|
||||
DATETIME_SEPARATOR(7,6)
|
||||
DATETIME_FIELD(7)
|
||||
DATETIME_SEPARATOR(8,7)
|
||||
part { name: "separator9"; type: SPACER;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "separator7";
|
||||
rel1.relative: 1.0 0.0;
|
||||
min: 8 10;
|
||||
}
|
||||
}
|
||||
part { name: "discover"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "separator0";
|
||||
rel2.to: "separator7";
|
||||
visible: 0;
|
||||
color: 0 0 0 0;
|
||||
}
|
||||
description { state: "disabled" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
visible: 1;
|
||||
}
|
||||
}
|
||||
part { name: "elm.access"; type: RECT; repeat_events: 1;
|
||||
description { state: "default" 0.0;
|
||||
color: 0 0 0 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
programs {
|
||||
program {
|
||||
signal: "elm,state,disabled"; source: "elm";
|
||||
action: STATE_SET "disabled" 0.0;
|
||||
target: "disclip";
|
||||
target: "disclip2";
|
||||
target: "discover";
|
||||
}
|
||||
program {
|
||||
signal: "elm,state,enabled"; source: "elm";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "disclip";
|
||||
target: "disclip2";
|
||||
target: "discover";
|
||||
}
|
||||
}
|
||||
}
|
||||
#undef DATETIME_SEPARATOR
|
||||
#undef DATETIME_FIELD
|
|
@ -2058,7 +2058,8 @@ group { name: "e/fileman/default/progress";
|
|||
}
|
||||
}
|
||||
|
||||
group { name: "modules/efm_navigation/main";
|
||||
group { name: "e/modules/efm_navigation/main";
|
||||
alias: "modules/efm_navigation/main";
|
||||
images.image: "shadow_inset_light.png" COMP;
|
||||
images.image: "shadow_angled_in_light.png" COMP;
|
||||
images.image: "sym_left_light_normal.png" COMP;
|
||||
|
@ -2214,7 +2215,8 @@ group { name: "modules/efm_navigation/main";
|
|||
}
|
||||
}
|
||||
|
||||
group { name: "modules/efm_navigation/pathbar_button";
|
||||
group { name: "e/modules/efm_navigation/pathbar_button";
|
||||
alias: "modules/efm_navigation/pathbar_button";
|
||||
images.image: "horizontal_separated_bar_small_glow.png" COMP;
|
||||
parts {
|
||||
part { name: "e.text.label"; type: TEXT; mouse_events: 0;
|
||||
|
@ -2302,7 +2304,8 @@ group { name: "modules/efm_navigation/pathbar_button";
|
|||
}
|
||||
}
|
||||
|
||||
group { name: "modules/efm_navigation/pathbar_scrollframe";
|
||||
group { name: "e/modules/efm_navigation/pathbar_scrollframe";
|
||||
alias: "modules/efm_navigation/pathbar_scrollframe";
|
||||
images.image: "sym_left_light_normal.png" COMP;
|
||||
images.image: "sym_right_light_normal.png" COMP;
|
||||
images.image: "sym_left_glow_normal.png" COMP;
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue