new theme (dark) is now default in elm. matches e now in look

This commit is contained in:
Carsten Haitzler 2013-10-17 16:34:36 +09:00
parent 6dce293a5e
commit 9d90a3c1c3
1274 changed files with 58046 additions and 50524 deletions

View File

@ -47,3 +47,4 @@ tags
/config.cache
*.gmo
/config.cache-env
/compile

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,7 @@
color_classes {
color_class {
name: "comp_focus-out_color";
color: 253 253 253 255;
color3: 0 0 0 0;
}
}

File diff suppressed because it is too large Load Diff

View File

@ -1,67 +1,141 @@
// LICENSE NOTE:
// This file (and only this one) is licenses under public-domain. The reason
// is that this is meant to serve as a template for making your own themes and
// Elementary's LGPL license is not intended to follow. The images used do come
// under LGPL, but this file specifically for the structure of your theme is
// public-domain. This means you can take, use, re-license and otherwise
// have zero restrictions on using this file as a base for your theme.
#include "macros.edc"
externals.external: "elm";
collections {
#include "colorclasses.edc"
#include "fonts.edc"
#include "widgets/access.edc"
#include "widgets/bg.edc"
#include "widgets/border.edc"
#include "widgets/scroller.edc"
#include "widgets/label.edc"
#include "widgets/button.edc"
#include "widgets/clock.edc"
#include "widgets/datetime.edc"
#include "widgets/dayselector.edc"
#include "widgets/menu.edc"
#include "widgets/frame.edc"
#include "widgets/focus_highlight.edc"
#include "widgets/tooltip.edc"
#include "widgets/hover.edc"
#include "widgets/ctxpopup.edc"
#include "widgets/entry.edc"
#include "widgets/bubble.edc"
#include "widgets/photo.edc"
#include "widgets/thumb.edc"
#include "widgets/icon.edc"
#include "widgets/toolbar.edc"
#include "widgets/notify.edc"
#include "widgets/slideshow.edc"
#include "widgets/win.edc"
#include "widgets/list.edc"
#include "widgets/slider.edc"
#include "widgets/actionslider.edc"
#include "widgets/genlist.edc"
#include "widgets/check.edc"
#include "widgets/radio.edc"
#include "widgets/progressbar.edc"
#include "widgets/separator.edc"
#include "widgets/spinner.edc"
#include "widgets/index.edc"
#include "widgets/gengrid.edc"
#include "widgets/photocam.edc"
#include "widgets/map.edc"
#include "widgets/panes.edc"
#include "widgets/panel.edc"
#include "widgets/conformant.edc"
#include "widgets/calendar.edc"
#include "widgets/colorselector.edc"
#include "widgets/flipselector.edc"
#include "widgets/diskselector.edc"
#include "widgets/fileselector.edc"
#include "widgets/layout.edc"
#include "widgets/segment_control.edc"
#include "widgets/player.edc"
#include "widgets/video.edc"
#include "widgets/naviframe.edc"
#include "widgets/multibuttonentry.edc"
#include "widgets/popup.edc"
#include "ews.edc"
#include "widgets/pointer.edc"
// elm
#include "edc/elm/bg.edc"
#include "edc/elm/button.edc"
// XXX: mobile mode needs invbisible scrollers... make signals that do this
#include "edc/elm/scroller.edc"
// XXX: mobile mode needs different entry setup
#include "edc/elm/entry.edc"
#include "edc/elm/frame.edc"
#include "edc/elm/label.edc"
#include "edc/elm/separator.edc"
#include "edc/elm/check.edc"
#include "edc/elm/slider.edc"
#include "edc/elm/radio.edc"
#include "edc/elm/bubble.edc"
#include "edc/elm/panes.edc"
#include "edc/elm/toolbar.edc"
#include "edc/elm/genlist.edc"
#include "edc/elm/list.edc"
#include "edc/elm/conform.edc"
#include "edc/elm/icon.edc"
#include "edc/elm/video.edc"
#include "edc/elm/access.edc"
#include "edc/elm/photo.edc"
#include "edc/elm/focus.edc"
#include "edc/elm/datetime.edc"
#include "edc/elm/player.edc"
#include "edc/elm/thumb.edc"
#include "edc/elm/pointer.edc"
#include "edc/elm/fileselector.edc"
#include "edc/elm/win.edc"
#include "edc/elm/inwin.edc"
#include "edc/elm/slideshow.edc"
#include "edc/elm/diskselector.edc"
#include "edc/elm/ctxpopup.edc"
#include "edc/elm/multibuttonentry.edc"
#include "edc/elm/dayselector.edc"
#include "edc/elm/actionslider.edc"
#include "edc/elm/photocam.edc"
#include "edc/elm/tooltip.edc"
#include "edc/elm/colorsel.edc"
#include "edc/elm/segment_control.edc"
#include "edc/elm/flipselector.edc"
#include "edc/elm/notify.edc"
#include "edc/elm/map.edc"
#include "edc/elm/index.edc"
#include "edc/elm/calendar.edc"
#include "edc/elm/layout.edc"
#include "edc/elm/progress.edc"
#include "edc/elm/naviframe.edc"
#include "edc/elm/panel.edc"
#include "edc/elm/popup.edc"
#include "edc/elm/border.edc"
// XXX: min size calc problems - too wide! ... err ok on my 32bit box... eh?
#include "edc/elm/spinner.edc"
#include "edc/elm/menu.edc"
#include "edc/elm/clock.edc"
#include "edc/elm/gengrid.edc"
#include "edc/elm/hover.edc"
// desktop in general
#include "edc/wallpaper.edc"
#include "edc/comp.edc"
#include "edc/comp_effects.edc"
#include "edc/background.edc"
#include "edc/shelf.edc"
#include "edc/border.edc"
#include "edc/dialog.edc"
#include "edc/conf.edc"
#include "edc/gadman.edc"
#include "edc/syscon.edc"
#include "edc/pointer.edc"
#include "edc/sys.edc"
#include "edc/winlist.edc"
#include "edc/desklock.edc"
#include "edc/wizard.edc"
#include "edc/init.edc"
#include "edc/about-e.edc"
#include "edc/about-theme.edc"
#include "edc/transitions.edc"
// widgets
#include "edc/menu.edc"
#include "edc/button.edc"
#include "edc/check.edc"
#include "edc/radio.edc"
#include "edc/label.edc"
#include "edc/frame.edc"
#include "edc/slider.edc"
#include "edc/scrollframe.edc"
#include "edc/textblock.edc"
#include "edc/ilist.edc"
#include "edc/toolbar.edc"
#include "edc/preview.edc"
#include "edc/deskpreview.edc"
#include "edc/entry.edc"
#include "edc/fileman.edc"
#include "edc/colorwell.edc"
#include "edc/fontpreview.edc"
#include "edc/cslider.edc"
#include "edc/spectrum.edc"
// modules
#include "edc/start.edc"
#include "edc/pager.edc"
#include "edc/xkbswitch.edc"
#include "edc/tasks.edc"
#include "edc/connman.edc"
#include "edc/music_control.edc"
#include "edc/systray.edc"
#include "edc/appmenu.edc"
#include "edc/clock.edc"
#include "edc/ibar-ibox.edc"
#include "edc/colors.edc"
#include "edc/edgebindings.edc"
#include "edc/randr.edc"
#include "edc/notification.edc"
#include "edc/cpufreq.edc"
#include "edc/temperature.edc"
#include "edc/backlight.edc"
#include "edc/mixer.edc"
#include "edc/battery.edc"
#include "edc/evrything.edc"
#include "edc/illume.edc"
#include "edc/bluez4.edc"
// icons
#include "edc/icons.edc"
#include "edc/border-icons.edc"
// port unchanged stuff so this can work as a replacement
#include "edc/O/efm_icons.edc"
#include "edc/O/icons.edc"
}

View File

@ -0,0 +1,160 @@
// EFM icons //
/* #define EFMICON(NAME, FILE, SIZE) \
* group { name: "e/icons/fileman/"NAME; \
* max: SIZE SIZE; \
* parts { \
* part { name: "icon"; \
* mouse_events: 0; \
* description { state: "default" 0.0; \
* aspect: 1.0 1.0; \
* aspect_preference: BOTH; \
* image.image: FILE COMP; \
* image.normal: FILE ; \
* } \
* } \
* } \
* } */
//EFMICON("folder","icon_efm_folder.png", 128)
//EFMICON("chrdev","icon_efm_file.png", 128)
//EFMICON("blkdev","icon_efm_file.png", 128)
//EFMICON("fifo","icon_efm_file.png", 128)
//EFMICON("socket","icon_efm_file.png", 128)
//EFMICON("executable","icon_efm_file.png", 128)
//EFMICON("home","icon_efm_home.png", 128)
//EFMICON("root","icon_efm_root.png", 128)
//EFMICON("tmp","icon_efm_tmp.png", 128)
//EFMICON("desktop","icon_efm_desktop.png", 128)
//EFMICON("hdd","icon_efm_hdd.png", 128)
//EFMICON("hd","icon_efm_hdd.png", 128)
// EFM Mime type icons //
#define MIMEICON(NAME, FILE, SIZE) \
group { \
name: "e/icons/fileman/mime/"NAME; \
max: SIZE SIZE; \
parts { \
part { \
name: "icon"; \
mouse_events: 0; \
description { \
state: "default" 0.0; \
aspect: 1.0 1.0; \
aspect_preference: BOTH; \
image.image: "O/"FILE COMP; \
image.normal: "O/"FILE ; \
} \
} \
} \
}
MIMEICON("application/pdf","icon_mime_pdf.png", 128);
MIMEICON("application/x-deb","icon_mime_deb.png", 128);
MIMEICON("application/x-bzip","icon_mime_package.png", 128);
MIMEICON("application/zip","icon_mime_package.png", 128);
MIMEICON("application/x-gzip","icon_mime_package.png", 128);
MIMEICON("application/x-bzip-compressed-tar","icon_mime_package.png", 128);
MIMEICON("application/x-bzip2-compressed-tar","icon_mime_package.png",128);
MIMEICON("application/x-compressed-tar","icon_mime_package.png",128);
MIMEICON("application/x-tar","icon_mime_package.png", 128);
MIMEICON("application/x-rar","icon_mime_package.png", 128);
MIMEICON("inode/chardevice","icon_efm_file.png", 128);
MIMEICON("inode/blockdevice","icon_efm_file.png", 128);
MIMEICON("inode/fifo","icon_efm_file.png", 128);
MIMEICON("inode/socket","icon_efm_file.png", 128);
MIMEICON("inode/directory","icon_efm_folder.png", 128);
MIMEICON("inode/file","icon_efm_file.png", 128);
MIMEICON("application/octet-stream","icon_efm_file.png", 128);
MIMEICON("application/x-executable","icon_mime_executable_generic.png", 128);
MIMEICON("application/x-ms-dos-executable","icon_mime_executable_generic.png", 128);
MIMEICON("application/x-7z-compressed","icon_mime_package.png", 128);
MIMEICON("application/vnd.ms-cab-compressed","icon_mime_package.png", 128);
// Dynamic MIME Icons //
#define MIMEBASE(MIME, FILE, NAME, SIZE) \
group { \
name: "e/icons/fileman/mime/"MIME; \
max: SIZE SIZE; \
parts { \
part { \
name: "base"; \
mouse_events: 0; \
description { \
state: "default" 0.0; \
aspect: 1.0 1.0; \
aspect_preference: BOTH; \
image.image: "O/"FILE COMP; \
image.normal: "O/"FILE; \
} \
} \
part { \
name: "name"; \
type: TEXT; \
mouse_events: 0; \
description { \
state: "default" 0.0; \
rel1.relative: 0.2444 0.6797; \
rel2.relative: 0.7478 0.8894; \
color: 245 245 245 255; \
text { \
text: NAME; \
font: FNBD; \
size: 4; \
fit: 1 1; \
min: 1 1; \
align: 0.5 0.0; \
} \
} \
} \
} \
}
MIMEBASE("video/mpeg","icon_mime_video_generic.png", ".MPEG", 128);
MIMEBASE("application/ogg","icon_mime_video_generic.png", ".OGG", 128);
MIMEBASE("video/x-theora+ogg","icon_mime_video_generic.png", ".OGG", 128);
MIMEBASE("video/x-msvideo","icon_mime_video_generic.png", ".AVI", 128);
MIMEBASE("video/ogg","icon_mime_video_generic.png", ".OGG", 128);
MIMEBASE("video/mp4","icon_mime_video_generic.png", ".MP4", 128);
MIMEBASE("video/quicktime","icon_mime_video_generic.png", ".MOV", 128);
MIMEBASE("video/x-matroska","icon_mime_video_generic.png", ".MKV", 128);
MIMEBASE("video/x-flv","icon_mime_video_generic.png", ".FLV", 128);
MIMEBASE("application/vnd.rn-realmedia","icon_mime_video_generic.png", ".REAL", 128);
MIMEBASE("video/x-ms-wmv","icon_mime_video_generic.png", ".WMV", 128);
MIMEBASE("image/png","icon_mime_image_generic.png", ".PNG", 128);
MIMEBASE("image/jpeg","icon_mime_image_generic.png", ".JPEG", 128);
MIMEBASE("image/gif","icon_mime_image_generic.png", ".GIF", 128);
MIMEBASE("image/bmp","icon_mime_image_generic.png", ".BMP", 128);
MIMEBASE("application/x-xcf","icon_mime_image_generic.png", ".XCF", 128);
MIMEBASE("application/x-cbz","icon_mime_image_generic.png", ".CBZ", 128);
MIMEBASE("application/x-cbr","icon_mime_image_generic.png", ".CBR", 128);
MIMEBASE("audio/mpeg","icon_mime_audio_generic.png", ".MP3", 128);
MIMEBASE("audio/x-wav","icon_mime_audio_generic.png", ".WAV", 128);
MIMEBASE("audio/x-flac","icon_mime_audio_generic.png", ".FLAC", 128);
MIMEBASE("audio/x-musepack","icon_mime_audio_generic.png", ".MPC", 128);
MIMEBASE("audio/x-vorbis+ogg","icon_mime_audio_generic.png", ".OGG", 128);
MIMEBASE("application/x-audacity-project","icon_mime_audio_generic.png", ".AUP", 128);
MIMEBASE("audio/x-ms-wma","icon_mime_audio_generic.png", ".WMA", 128);
MIMEBASE("text/css","icon_mime_text_generic.png", ".CSS", 128);
MIMEBASE("text/html","icon_mime_text_generic.png", ".HTML", 128);
MIMEBASE("text/x-csrc","icon_mime_text_generic.png", ".C", 128);
MIMEBASE("text/x-chdr","icon_mime_text_generic.png", ".H", 128);
MIMEBASE("text/x-c++src","icon_mime_text_generic.png", ".C++", 128);
MIMEBASE("text/x-csharp","icon_mime_text_generic.png", ".C#", 128);
MIMEBASE("text/x-patch","icon_mime_text_generic.png", ".PATCH", 128);
MIMEBASE("text/plain","icon_mime_text_generic.png", ".TXT", 128);
MIMEBASE("application/x-msword","icon_mime_text_generic.png", ".DOC", 128);
MIMEBASE("application/vnd.ms-powerpoint","icon_mime_text_generic.png", ".PPT", 128);
MIMEBASE("application/vnd.ms-excel","icon_mime_text_generic.png", ".XLS", 128);
MIMEBASE("application/x-abiword","icon_mime_text_generic.png", ".ABW", 128);
MIMEBASE("application/vnd.scribus","icon_mime_text_generic.png", ".SLA", 128);
MIMEBASE("text/x-python","icon_mime_text_generic.png", ".PY", 128);
MIMEBASE("application/x-awk","icon_mime_text_generic.png", ".AWK", 128);
MIMEBASE("application/x-lyx","icon_mime_text_generic.png", ".LYX", 128);
MIMEBASE("application/vnd.oasis.opendocument.spreadsheet","icon_mime_text_generic.png", ".ODS", 128);
MIMEBASE("application/vnd.oasis.opendocument.text","icon_mime_text_generic.png", ".ODT", 128);
MIMEBASE("application/vnd.oasis.opendocument.presentation","icon_mime_text_generic.png", ".ODP", 128);
MIMEBASE("application/x-object","icon_efm_file.png", "", 128);
MIMEBASE("application/x-shellscript","icon_applications.png", "", 128);
MIMEBASE("application/x-font-ttf","icon_mime_font_generic.png", ".TTF", 128);
MIMEBASE("application/x-font-pcf","icon_mime_font_generic.png", ".PCF", 128);
MIMEBASE("application/x-font-bdf","icon_mime_font_generic.png", ".BDF", 128);

View File

@ -0,0 +1,200 @@
/////////////////////////////////////////////////////////////////////////////
/*** ICONS ***/
#define ICON(NAME, FILE, SIZE) \
group { \
name: "e/icons/"NAME ; \
max: SIZE SIZE; \
parts { \
part { \
name: "icon"; \
repeat_events: 1; \
description { \
state: "default" 0.0; \
aspect: 1.0 1.0; \
aspect_preference: BOTH; \
image.image: "O/"FILE COMP; \
image.normal: "O/"FILE ; \
} \
} \
} \
}
#define ICONMIME(NAME, FILE, SIZE) ICON("mimetypes/"NAME, FILE, SIZE)
/* FreeDesktop.Org Icons
* http://standards.freedesktop.org/icon-naming-spec/icon-naming-spec-latest.html
*
* In the comment you can find the old e icon name.
*
* Icons marked with *** are not mentioned in the spec, but we still try to
* follow the naming convention.
*
* TO ADD A NEW ICON:
* 1. Search for a name in the spec OR
* 2. Search for a name in kde (oxygen) and gnome (tango - human) icon set OR
* 3. Try to follow the naming convention
*/
//Standard Action Icons
ICON("list-add","icon_add.png",64) // "widget/add"
ICON("list-remove","icon_del.png",64) // "widget/del"
ICON("go-up","icon_up_arrow.png",64) // "widget/up_arrow" "widget/up_dir"
ICON("go-down","icon_down_arrow.png",64) // "widget/down_arrow"
ICON("go-next","icon_right_arrow.png",64) // "widget/new_dialog"
ICON("go-previous","icon_left_arrow.png",64) // none
ICON("bookmark-new","icon_add_fav.png",64) // "widget/add_fav"
ICON("edit-swap","icon_swap.png",64) // *** // "widget/swap"
ICON("edit-copy","icon_efm_copy.png",16) // EFMBUTTON("copy"
ICON("edit-cut","icon_efm_cut.png",16) // EFMBUTTON("cut"
ICON("edit-paste","icon_efm_paste.png",16) // EFMBUTTON("paste"
ICON("edit-delete","icon_efm_delete.png",16) // EFMBUTTON("delete"
ICON("edit-rename","icon_efm_rename.png",16) // EFMBUTTON("rename"
ICON("edit-select-all","icon_efm_select.png",16) // EFMBUTTON("select"
ICON("document-open","icon_efm_open.png",16) // "widget/open" EFMBUTTON("open") EFMBUTTON("new")
ICON("document-new","icon_new.png",64) // "widget/new"
ICON("document-properties","icon_efm_properties.png",16) // EFMBUTTON("properties"
ICON("folder-new","icon_efm_new_dir.png",16) // EFMBUTTON("new_dir"
ICON("view-sort","icon_efm_sort.png",16) // *** // EFMBUTTON("sort",
ICON("view-order","icon_efm_sort.png",16) // *** // EFMBUTTON("ordering"
ICON("view-hidden-files","icon_efm_view.png",16) // *** // EFMBUTTON("hidden_files"
ICON("configure","icon_config.png",64) // "widget/config"
ICON("system-run","icon_run.png",64) // "enlightenment/run"
ICON("window-close","icon_close.png",64) // "widget/close"
ICON("dialog-ok-apply","icon_check.png",64) // "enlightenment/check"
ICON("transform-scale","icon_resize.png",64) // "widget/resize"
ICON("transform-move","icon_autoscroll.png",64) // "enlightenment/autoscroll"
ICON("view-refresh","icon_reset.png",16) // EFMBUTTON("refresh"
ICON("view-inherit","icon_dummy.png",64) // *** // EFMBUTTON("inherit"
ICON("screenshot","icon_screenshot.png",64) // dunno
//Standard Status Icons
ICON("dialog-warning","icon_warning.png",128) // "enlightenment/warning"
ICON("dialog-error","icon_warning.png",128) // "enlightenment/error"
ICON("dialog-ask","icon_dummy.png",64) // "enlightenment/unknown"
ICON("unknown","icon_dummy.png",64) // *** // "enlightenment/unknown"
//Standard Application Icons
ICON("preferences-desktop","icon_desktops.png",64) // "enlightenment/desktops"
ICON("preferences-desktop-theme","icon_theme.png",64) // "enlightenment/themes"
ICON("preferences-desktop-wallpaper","icon_wallpaper.png",64) // "enlightenment/background"
ICON("preferences-desktop-color","icon_colors.png",64) // "enlightenment/colors"
ICON("preferences-desktop-font","icon_fonts.png",64) // "enlightenment/fonts"
ICON("preferences-desktop-screensaver","icon_screensaver.png",64) // "enlightenment/screensaver"
ICON("preferences-desktop-display","icon_screen_setup.png",64) // "enlightenment/screen_setup"
ICON("preferences-desktop-keyboard","icon_keyboard.png",64) // "enlightenment/keys"
ICON("preferences-desktop-keyboard-shortcuts","icon_keys.png",64) // "enlightenment/keys"
ICON("preferences-desktop-pointer","icon_mouse.png",64) // *** // "enlightenment/mouse"
ICON("preferences-desktop-mouse","icon_mouse_clean.png",64) // "enlightenment/mouse_clean"
ICON("preferences-desktop-mouse-left","icon_mouse_left.png",64) // *** // "enlightenment/mouse_left"
ICON("preferences-desktop-mouse-right","icon_mouse_right.png",64) // *** // "enlightenment/mouse_right"
ICON("preferences-desktop-mouse-middle","icon_mouse_middle.png",64) // *** // "enlightenment/mouse_middle"
ICON("preferences-desktop-mouse-wheel","icon_mouse_wheel.png",64) // *** // "enlightenment/mouse_wheel"
ICON("preferences-desktop-mouse-extra","icon_mouse_extra.png",64) // *** // "enlightenment/mouse_extra"
ICON("preferences-desktop-locale","icon_intl.png",64) // "enlightenment/intl"
ICON("preferences-desktop-mixer","icon_mixer.png",64) // "enlightenment/mixer"
ICON("preferences-desktop-shelf","icon_shelf.png",64) // *** // "enlightenment/shelf"
ICON("preferences-desktop-shelf-bottom-desk","icon_shelf_bottom_desk.png",64)// *** // "enlightenment/shelf_bottom_desk"
ICON("preferences-desktop-shelf-custom","icon_shelf_custom.png",64) // *** // "enlightenment/shelf_custom"
ICON("preferences-desktop-shelf-dock","icon_shelf_dock.png",64) // *** // "enlightenment/shelf_dock"
ICON("preferences-desktop-shelf-menu-bar","icon_shelf_menu_bar.png",64) // *** // "enlightenment/shelf_menu_bar"
ICON("preferences-desktop-shelf-panel","icon_shelf_panel.png",64) // *** // "enlightenment/shelf_panel"
ICON("preferences-desktop-shelf-top-desk","icon_shelf_top_desk.png",64) // *** // "enlightenment/shelf_top_desk"
ICON("preferences-desktop-window-remember","icon_window_remembers.png",64) // *** // "enlightenment/window_remembers"
ICON("preferences-position-bottom","icon_shelf_bottom.png",64) // *** // "enlightenment/shelf_position_bottom"
ICON("preferences-position-bottom-left","icon_shelf_bottom_left.png",64) // *** // "enlightenment/shelf_position_bottom_left"
ICON("preferences-position-bottom-right","icon_shelf_bottom_right.png",64) // *** // "enlightenment/shelf_position_bottom_right"
ICON("preferences-position-top","icon_shelf_top.png",64) // *** // "enlightenment/shelf_position_top"
ICON("preferences-position-top-left","icon_shelf_top_left.png",64) // *** // "enlightenment/shelf_position_top_left"
ICON("preferences-position-top-right","icon_shelf_top_right.png",64) // *** // "enlightenment/shelf_position_top_right"
ICON("preferences-position-left","icon_shelf_left.png",64) // *** // "enlightenment/shelf_position_left"
ICON("preferences-position-left-top","icon_shelf_left_top.png",64) // *** // "enlightenment/shelf_position_left_top"
ICON("preferences-position-left-bottom","icon_shelf_left_bottom.png",64) // *** // "enlightenment/shelf_position_left_bottom"
ICON("preferences-position-right","icon_shelf_right.png",64) // *** // "enlightenment/shelf_position_right"
ICON("preferences-position-right-top","icon_shelf_right_top.png",64) // *** // "enlightenment/shelf_position_right_top"
ICON("preferences-position-right-bottom","icon_shelf_right_bottom.png",64) // *** // "enlightenment/shelf_position_right_bottom"
ICON("preferences-window-process","icon_window_process_management.png",64) // *** // "enlightenment/window_process"
ICON("preferences-window-manipulation","icon_window_manipulation.png",64) // *** // "enlightenment/window_manipulation"
ICON("preferences-window-maximize","icon_window_manipulation.png",64) // *** // "enlightenment/window_maximize"
ICON("preferences-window-stacking","icon_winlist.png",64) // *** // "enlightenment/window_stacking"
ICON("preferences-window-geometry","icon_window_geometry.png",64) // *** // "enlightenment/window_geometry"
ICON("preferences-windows-lost","icon_lost_windows.png",64) // *** // "enlightenment/lost_windows"
ICON("preferences-gradient","icon_gradient.png",64) // *** // "enlightenment/gradient"
ICON("preferences-focus","icon_window_focus.png",64) // *** // "enlightenment/focus"
ICON("preferences-engine","icon_engine.png",64) // *** // "enlightenment/engine"
ICON("preferences-dialogs","icon_dummy.png",64) // *** // "enlightenment/dialogs"
ICON("preferences-imc","icon_imc.png",64) // *** // "enlightenment/imc"
ICON("preferences-system-lock-screen","icon_desklock.png",64) // *** // "enlightenment/desklock"
ICON("preferences-icon-theme","icon_icon_theme.png",64) // *** // "enlightenment/icon_theme"
ICON("preferences-transitions","icon_transitions.png",64) // *** // "enlightenment/transitions"
ICON("preferences-desktop-edge-bindings","icon_shelf_right.png",64) // *** // "enlightenment/edges"
ICON("preferences-toolbar","icon_toolbar.png",64) // *** // "enlightenment/toolbar"
ICON("preferences-profiles","icon_profiles.png",64) // *** // "enlightenment/profiles"
ICON("preferences-startup","icon_startup.png",64) // *** // "enlightenment/startup"
ICON("preferences-winlist","icon_winlist.png",64) // *** // "enlightenment/winlist"
ICON("preferences-menus","icon_menus.png",64) // *** // "enlightenment/menus"
ICON("preferences-menu-settings","icon_menu_settings.png",64) // *** // "enlightenment/menu_settings"
ICON("preferences-advanced","icon_advanced.png",64) // *** // "enlightenment/advanced"
ICON("preferences-behavior","icon_behavior.png",64) // *** // "enlightenment/behavior"
ICON("preferences-look","icon_look.png",64) // *** // "enlightenment/look"
ICON("preferences-utils","icon_gadget.png",64) // *** // "enlightenment/utils"
ICON("preferences-extensions","icon_extensions.png",64) // *** // "enlightenment/extensions"
ICON("preferences-file-icons","icon_file_icons.png",64) // *** // "enlightenment/file_icons"
ICON("preferences-pager","icon_pager.png",64) // *** // "enlightenment/pager"
ICON("preferences-scale","icon_scale.png",64) // *** // "enlightenment/scale"
ICON("preferences-directories","icon_directories.png",64) // *** // "enlightenment/directories"
ICON("preferences-screen-normal","icon_screen_normal.png",64) // *** // "enlightenment/screen_normal"
ICON("preferences-screen-around","icon_screen_around.png",64) // *** // "enlightenment/screen_around"
ICON("preferences-screen-left","icon_screen_left.png",64) // *** // "enlightenment/screen_left"
ICON("preferences-screen-right","icon_screen_right.png",64) // *** // "enlightenment/screen_right"
ICON("preferences-screen-vflip","icon_screen_vflip.png",64) // *** // "enlightenment/screen_vflip"
ICON("preferences-screen-hflip","icon_screen_hflip.png",64) // *** // "enlightenment/screen_hflip"
ICON("preferences-applications","icon_applications.png",64) // *** // "enlightenment/applications"
ICON("preferences-applications-add","icon_applications_new.png",64) // *** // "enlightenment/add_application"
ICON("preferences-applications-ibar","icon_applications_ibar.png",64) // *** // "enlightenment/ibar_applications"
ICON("preferences-applications-restart","icon_applications_restart.png",64) // *** // "enlightenment/restart_applications"
ICON("preferences-applications-startup","icon_applications_startup.png",64) // *** // "enlightenment/startup_applications"
ICON("preferences-desktop-default-applications","icon_advanced.png",64)
ICON("preferences-preferences","icon_config.png",64) // "enlightenment/configuration" "enlightenment/settings"
ICON("preferences-plugin","icon_modules.png",64) // "enlightenment/modules"
ICON("preferences-system","icon_configuration.png",64) // "enlightenment/configuration" "enlightenment/settings"
ICON("preferences-system-windows","icon_windows.png",64) // "enlightenment/windows" "enlightenment/showhide"
ICON("preferences-system-performance","icon_performance.png",64) // "enlightenment/performance"
ICON("preferences-system-power-management","icon_power_management.png",64) // "enlightenment/power_management"
ICON("preferences-system-screen-resolution","icon_screen_resolution.png",64)// *** // "enlightenment/screen_resolution"
ICON("preferences-illume","icon_illume.png",64)
ICON("system-file-manager","icon_efm_folder.png",64) // "enlightenment/fileman"
//Standard Module Category Icons
ICON("modules-utils","icon_gadget.png",64)
ICON("modules-system","icon_gadget.png",64)
ICON("modules-look","icon_look.png",64)
ICON("modules-files","icon_efm_folder.png",64)
ICON("modules-launcher","icon_run.png",64)
ICON("modules-core","logo_white_128.png",64)
ICON("modules-mobile","icon_globe.png",64)
ICON("modules-settings","icon_config.png",64)
//Standard Emblem Icons
ICON("emblem-symbolic-link","icon_dummy.png",64) // EFMBUTTON("symlink")
//Standard Place Icons
ICON("start-here","logo_white_128.png",128) // "enlightenment/e"
ICON("folder","icon_efm_folder.png",64) // "fileman/folder"
ICON("user-home","icon_efm_home.png",64) // "fileman/home"
ICON("user-temp","icon_efm_tmp.png",64) // *** // "fileman/tmp"
ICON("user-desktop","icon_efm_desktop.png",64) // "fileman/desktop"
ICON("user-bookmarks","icon_favorites.png",64) // "enlightenment/favorites"
ICON("folder-image","icon_wallpaper.png",64) // "enlightenment/picture"
ICON("network-website","icon_globe.png",64) // "enlightenment/website"
//Standard Device Icons
ICON("computer","icon_efm_root.png", 64) // "fileman/root"
ICON("drive-harddisk","icon_efm_hdd.png", 128) // "fileman/hd" "fileman/hdd"
ICON("drive-optical","icon_efm_cd.png", 128) // "fileman/??"
ICON("media-flash","icon_efm_flash.png", 128) // "fileman/??"
ICON("drive-removable-media","icon_efm_usbmedia.png", 128);
ICON("media-eject","icon_efm_eject.png", 64)
/* End of FreeDesktop.Org icons */
//E Specific icons
ICON("everything-launch","icon_advanced.png",64)
ICON("everything-clipboard","icon_evry_clipboard.png", 256)
//EFM Mime icons
ICONMIME("inode/chardevice","icon_efm_file.png",128)
ICONMIME("inode/blockdevice","icon_efm_file.png",128)
ICONMIME("inode/directory-locked","icon_efm_file.png",128)
ICONMIME("inode/directory","icon_efm_folder.png",128)
ICONMIME("inode/fifo","icon_efm_file.png",128)
ICONMIME("inode/socket","icon_efm_file.png",128)

View File

@ -0,0 +1,284 @@
group { name: "e/widgets/about/main";
// data.item: "borderless" "1";
// data.item: "shaped" "1";
images.image: "bg_radgrad.png" COMP;
images.image: "dot_pattern.png" COMP;
images.image: "bevel_dark_out.png" COMP;
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;
images.image: "screen_circular_shadow.png" COMP;
images.image: "logo_blue_bottom.png" COMP;
images.image: "button_normal.png" COMP;
images.image: "button_clicked.png" COMP;
styles {
style { name: "about_style";
base: "font="FN" font_size=10 align=center text_class=tb_plain color=#ffff style=shadow,bottom shadow_color=#00000080 wrap=word";
tag: "hilight" "+ font="FNBD" text_class=tb_light style=glow color=#3399ffff glow_color=#3399ff18 align=center glow2_color=#3399ff12";
tag: "title" "+ font_size=16 font="FNBD" text_class=tb_big";
tag: "/title" "- \n \n";
tag: "br" "\n";
}
style { name: "authors_style";
base: "font="FNBD" font_size=16 align=left text_class=tb_plain color=#00000044 wrap=none";
tag: "hilight" "+ font="FNBD" text_class=tb_light color=#3399ff44";
tag: "title" "+ font_size=24 font="FNBD" text_class=tb_big";
tag: "/title" "- \n \n";
tag: "br" "\n";
}
}
min: 220 260;
max: 800 600;
parts {
part { name: "sizer"; type: SPACER;
scale: 1;
description { state: "default" 0.0;
min: 220 260;
}
}
part { name: "bg";
description { state: "default" 0.0;
image.normal: "bg_radgrad.png";
image.scale_hint: STATIC;
fill.smooth: 0;
ASPECT_FILL((1024/653))
}
}
part { name: "pat";
description { state: "default" 0.0;
image.normal: "dot_pattern.png";
TILED_PATTERN(256, 256)
}
}
part { name: "e.textblock.authors"; type: TEXTBLOCK; mouse_events: 0;
scale: 1;
description { state: "default" 0.0;
fixed: 1 1;
max: 20000 20000;
min: 160 0;
rel1.relative: 0.0 1.0;
rel1.offset: 4 4;
rel2.relative: 1.0 1.0;
rel2.offset: -5 4;
align: 0.5 0.0;
text { style: "authors_style";
min: 0 1;
align: 0.5 0.0;
}
}
description { state: "up" 0.0;
inherit: "default" 0.0;
rel1.relative: 0.0 0.0;
rel1.offset: 4 -5;
rel2.relative: 1.0 0.0;
rel2.offset: -5 -5;
align: 0.5 1.0;
}
}
part { name: "e.textblock.about"; type: TEXTBLOCK; mouse_events: 0;
scale: 1;
description { state: "default" 0.0;
fixed: 1 1;
max: 20000 20000;
min: 160 0;
rel1.relative: 0.0 1.0;
rel1.offset: 4 4;
rel2.relative: 1.0 1.0;
rel2.offset: -5 4;
align: 0.5 0.0;
text { style: "about_style";
min: 0 1;
align: 0.5 0.0;
}
}
description { state: "up" 0.0;
inherit: "default" 0.0;
rel1.relative: 0.0 0.0;
rel1.offset: 4 -5;
rel2.relative: 1.0 0.0;
rel2.offset: -5 -5;
align: 0.5 1.0;
}
}
part { name: "shadow"; mouse_events: 0;
description { state: "default" 0.0;
rel1.relative: 0.0 0.0;
rel2.relative: 1.0 1.0;
image.normal: "screen_circular_shadow.png";
fill.smooth: 0;
}
}
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: "top_shadow"; mouse_events: 0;
description { state: "default" 0.0;
rel1.offset: -3 -2;
rel1.to: "top_base";
rel2.offset: 3 4;
rel2.to: "top_base";
image.normal: "shadow_square_tiny.png";
image.border: 6 6 6 6;
fill.smooth: 0;
}
}
part { name: "logo";
description { state: "default" 0.0;
image.normal: "logo_blue_bottom.png";
image.scale_hint: STATIC;
FIXED_SIZE(263,100);
rel1.to: "top_base";
rel2.to: "top_base";
align: 0.5 0.25;
}
}
part { name: "top_base";
description { state: "default" 0.0;
image.normal: "vgrad_med_lighter.png";
rel2.to_y: "e.text.title";
rel2.offset: -1 3;
fill.smooth: 0;
TILED_HORIZ(120)
}
}
part { name: "top_bevel"; mouse_events: 0;
description { state: "default" 0.0;
rel1.to: "top_base";
rel2.to: "top_base";
image.normal: "bevel_out.png";
image.border: 1 1 1 1;
image.middle: 0;
fill.smooth: 0;
}
}
part { name: "e.text.title"; type: TEXT;
scale: 1;
effect: SHADOW BOTTOM;
description { state: "default" 0.0;
align: 0.0 0.0;
rel1.offset: 3 3;
rel2.relative: 0.0 0.0;
rel2.offset: 3 3;
text { font: FN; size: 10;
min: 1 1;
align: 0.0 0.0;
text_class: "about_title";
}
fixed: 1 1;
}
}
part { name: "e.text.version"; type: TEXT;
scale: 1;
effect: SHADOW BOTTOM;
description { state: "default" 0.0;
align: 1.0 0.0;
rel1.relative: 0.0 0.0;
rel1.offset: -4 3;
rel2.relative: 1.0 0.0;
rel2.offset: -4 3;
text { font: FN; size: 10;
min: 1 1;
align: 1.0 0.0;
text_class: "about_version";
}
fixed: 1 1;
}
}
part { name: "base";
description { state: "default" 0.0;
image.normal: "button_normal.png";
image.border: 4 4 3 5;
image.middle: SOLID;
rel1.offset: -6 -6;
rel1.to: "e.text.label";
rel2.offset: 5 5;
rel2.to: "e.text.label";
fill.smooth: 0;
}
description { state: "clicked" 0.0;
inherit: "default" 0.0;
image.normal: "button_clicked.png";
image.border: 5 5 4 6;
}
}
part { name: "e.text.label"; type: TEXT; mouse_events: 0;
effect: SHADOW BOTTOM;
scale: 1;
description { state: "default" 0.0;
rel1.offset: 0 -14;
rel1.relative: 0.5 1.0;
rel2.offset: -1 -14;
rel2.relative: 0.5 1.0;
color: 255 255 255 255;
color3: 0 0 0 128;
color_class: "button_text";
align: 0.5 1.0;
text { font: FN; size: 10;
min: 1 1;
align: 0.5 0.5;
text_class: "button";
}
fixed: 1 1;
}
}
part { name: "shine"; mouse_events: 0;
description { state: "default" 0.0;
image.normal: "shine.png";
rel1.offset: 0 -2;
rel1.to: "top_base";
rel2.relative: 1.0 0.0;
rel2.offset: -1 2;
rel2.to: "top_base";
FIXED_SIZE(69, 5)
}
}
}
programs {
program { name: "show1";
signal: "show"; source: "";
action: STATE_SET "up" 0.0;
transition: LINEAR 45.0;
target: "e.textblock.about";
after: "show2";
}
program { name: "show2";
action: STATE_SET "default" 0.0;
target: "e.textblock.about";
after: "show1";
}
program { name: "show3";
signal: "show"; source: "";
action: STATE_SET "up" 0.0;
transition: LINEAR 120.0;
target: "e.textblock.authors";
after: "show4";
}
program { name: "show4";
action: STATE_SET "default" 0.0;
target: "e.textblock.authors";
after: "show3";
}
program {
signal: "mouse,down,1*"; source: "base";
action: STATE_SET "clicked" 0.0;
target: "base";
target: "e.text.label";
}
program {
signal: "mouse,up,1"; source: "base";
action: STATE_SET "default" 0.0;
target: "base";
target: "e.text.label";
}
program {
signal: "mouse,clicked,1*"; source: "base";
action: SIGNAL_EMIT "e,action,close" "";
}
}
}

View File

@ -0,0 +1,189 @@
group { name: "e/theme/about";
// data.item: "borderless" "1";
// data.item: "shaped" "1";
images.image: "bevel_dark_out.png" COMP;
images.image: "screen_circular_shadow.png" COMP;
images.image: "button_normal.png" COMP;
images.image: "button_clicked.png" COMP;
min: 220 220;
max: 220 220;
parts {
part { name: "sizer"; type: SPACER;
scale: 1;
description { state: "default" 0.0;
min: 220 220;
}
}
part { name: "bg";
description { state: "default" 0.0;
image.normal: "bg_radgrad.png";
image.scale_hint: STATIC;
fill.smooth: 0;
ASPECT_FILL((1024/653))
}
}
part { name: "name"; type: TEXT; mouse_events: 0;
effect: GLOW;
scale: 1;
description { state: "default" 0.0;
fixed: 1 1;
color: 51 153 255 255;
color2: 51 153 255 24;
color3: 51 153 255 18;
rel1.relative: 0.5 0.5;
rel2.relative: 0.5 0.5;
text { font: FNBD; size: 64;
text: "Dark";
min: 1 1;
align: 0.5 0.5;
}
}
}
part { name: "name2"; type: TEXT; mouse_events: 0;
effect: GLOW;
scale: 1;
description { state: "default" 0.0;
fixed: 1 1;
color: 51 153 255 255;
color2: 51 153 255 24;
color3: 51 153 255 18;
rel1.relative: 0.5 0.9;
rel1.to: "name";
rel2.relative: 0.5 0.9;
rel2.to: "name";
align: 0.5 1.0;
text { font: FN; size: 10;
text: "The default theme for Enlightenment";
min: 1 1;
align: 0.5 1.0;
}
}
}
part { name: "shadow"; mouse_events: 0;
description { state: "default" 0.0;
rel1.relative: 0.0 0.0;
rel2.relative: 1.0 1.0;
image.normal: "screen_circular_shadow.png";
fill.smooth: 0;
}
}
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: "base";
description { state: "default" 0.0;
image.normal: "button_normal.png";
image.border: 4 4 3 5;
image.middle: SOLID;
rel1.offset: -6 -6;
rel1.to: "e.text.label";
rel2.offset: 5 5;
rel2.to: "e.text.label";
fill.smooth: 0;
}
description { state: "clicked" 0.0;
inherit: "default" 0.0;
image.normal: "button_clicked.png";
image.border: 5 5 4 6;
}
}
part { name: "e.text.label"; type: TEXT; mouse_events: 0;
effect: SHADOW BOTTOM;
scale: 1;
description { state: "default" 0.0;
rel1.offset: -14 -14;
rel1.relative: 1.0 1.0;
rel2.offset: -14 -14;
rel2.relative: 1.0 1.0;
color: 255 255 255 255;
color3: 0 0 0 128;
color_class: "button_text";
align: 1.0 1.0;
min: 85 0;
text { font: FN; size: 10;
min: 1 1;
align: 0.5 0.5;
text_class: "button";
}
fixed: 1 1;
}
}
part { name: "base2";
description { state: "default" 0.0;
image.normal: "button_normal.png";
image.border: 4 4 3 5;
image.middle: SOLID;
rel1.offset: -6 -6;
rel1.to: "e.text.theme";
rel2.offset: 5 5;
rel2.to: "e.text.theme";
fill.smooth: 0;
}
description { state: "clicked" 0.0;
inherit: "default" 0.0;
image.normal: "button_clicked.png";
image.border: 5 5 4 6;
}
}
part { name: "e.text.theme"; type: TEXT; mouse_events: 0;
effect: SHADOW BOTTOM;
scale: 1;
description { state: "default" 0.0;
rel1.offset: 13 -14;
rel1.relative: 0.0 1.0;
rel2.offset: 13 -14;
rel2.relative: 0.0 1.0;
color: 255 255 255 255;
color3: 0 0 0 128;
color_class: "button_text";
align: 0.0 1.0;
min: 85 0;
text { font: FN; size: 10;
min: 1 1;
align: 0.5 0.5;
text_class: "button";
}
fixed: 1 1;
}
}
}
programs {
program {
signal: "mouse,down,1*"; source: "base";
action: STATE_SET "clicked" 0.0;
target: "base";
target: "e.text.label";
}
program {
signal: "mouse,up,1"; source: "base";
action: STATE_SET "default" 0.0;
target: "base";
target: "e.text.label";
}
program {
signal: "mouse,clicked,1*"; source: "base";
action: SIGNAL_EMIT "e,action,close" "";
}
program {
signal: "mouse,down,1*"; source: "base2";
action: STATE_SET "clicked" 0.0;
target: "base2";
target: "e.text.theme";
}
program {
signal: "mouse,up,1"; source: "base2";
action: STATE_SET "default" 0.0;
target: "base2";
target: "e.text.theme";
}
program {
signal: "mouse,clicked,1*"; source: "base2";
action: SIGNAL_EMIT "e,action,settings,theme" "";
}
}
}

View File

@ -0,0 +1,77 @@
group { name: "e/modules/appmenu/item";
images.image: "vgrad_med_dark.png" COMP;
data.item: "padding_horizontal" "5";
data.item: "padding_vertical" "5";
parts {
part {
name: "event_area";
type: RECT;
mouse_events: 1;
description {
state: "default" 0.0;
color: 0 0 0 0;
}
}
part {
name: "background";
type: IMAGE;
mouse_events: 0;
description {
state: "default" 0.0;
image.normal: "vgrad_med_dark.png";
fill.smooth: 0;
TILED_HORIZ(120)
visible: 0;
}
description {
state: "selected" 0.0;
inherit: "default" 0.0;
visible: 1;
}
}
part {
name: "text";
type: TEXT;
mouse_events: 0;
effect: SHADOW BOTTOM;
scale: 1;
description {
state: "default" 0.0;
rel1.offset: 2 2;
rel2.offset: -3 -3;
color: 255 255 255 255;
color3: 0 0 0 128;
text {
font: FN;
size: 10;
min: 1 1;
align: 0.5 0.5;
text_class: "label";
}
}
description {
state: "selected" 0.0;
inherit: "default" 0.0;
color: 51 153 255 255;
color2: 51 153 255 24;
color3: 51 153 255 18;
}
}
}
programs {
program {
signal: "mouse,in";
source: "event_area";
action: STATE_SET "selected" 0.0;
target: "background";
target: "text";
}
program {
signal: "mouse,out";
source: "event_area";
action: STATE_SET "default" 0.0;
target: "background";
target: "text";
}
}
}

View File

@ -0,0 +1,21 @@
group { name: "e/desktop/background";
images.image: "bg_radgrad.png" COMP;
images.image: "dot_pattern.png" COMP;
parts {
part { name: "bg";
description { state: "default" 0.0;
image.normal: "bg_radgrad.png";
image.scale_hint: STATIC;
fill.smooth: 0;
ASPECT_FILL((1024/653))
}
}
part { name: "pat";
description { state: "default" 0.0;
image.normal: "dot_pattern.png";
TILED_PATTERN(256, 256)
}
}
}
}

View File

@ -0,0 +1,66 @@
group { name: "e/modules/backlight/main";
images.image: "bulb_glow.png" COMP;
images.image: "bulb_off.png" COMP;
images.image: "bulb_on.png" COMP;
images.image: "bulb_over.png" COMP;
min: 16 16;
max: 160 160;
script {
public message(Msg_Type:type, id, ...) {
if ((type == MSG_FLOAT) && (id == 0)) {
new Float:val;
val = getfarg(2);
set_tween_state(PART:"glow", val, "default", 0.0, "full", 0.0);
set_tween_state(PART:"glow2", val, "default", 0.0, "full", 0.0);
}
}
}
parts {
part { name: "glow";
description { state: "default" 0.0;
rel1.to: "base";
rel1.relative: (76/152) (69/152);
rel2.to: "base";
rel2.relative: (76/152) (69/152);
image.normal: "bulb_glow.png";
color: 255 255 255 0;
max: 138 138;
}
description { state: "full" 0.0;
inherit: "default" 0.0;
rel1.relative: (7/152) (0/152);
rel2.relative: (145/152) (138/152);
color: 255 255 255 255;
}
}
part { name: "base";
description { state: "default" 0.0;
rel1.relative: (4/160) (4/160);
rel2.relative: (156/160) (156/160);
aspect: 1.0 1.0; aspect_preference: BOTH;
image.normal: "bulb_off.png";
max: 152 152;
}
}
part { name: "glow2";
description { state: "default" 0.0;
rel1.to: "base";
rel2.to: "base";
image.normal: "bulb_on.png";
color: 255 255 255 0;
}
description { state: "full" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255;
}
}
part { name: "over";
description { state: "default" 0.0;
rel1.to: "base";
rel2.to: "base";
image.normal: "bulb_over.png";
}
}
}
}

View File

@ -0,0 +1,347 @@
group { name: "e/modules/battery/main";
images.image: "bat_shadow.png" COMP;
images.image: "bat_base.png" COMP;
images.image: "bat_shine.png" COMP;
images.image: "bat_bottom0.png" COMP;
images.image: "bat_bottom1.png" COMP;
images.image: "bat_top0.png" COMP;
images.image: "bat_top1.png" COMP;
images.image: "glow_med_white.png" COMP;
min: 16 16;
max: 160 160;
script {
public message(Msg_Type:type, id, ...) {
if ((type == MSG_FLOAT) && (id == 1)) {
new Float:val;
new r = 51, g = 153, b = 255;
new lr = 255, lg = 0, lb = 0;
val = getfarg(2);
if (val < 0.35) {
new Float:val1, Float:val2;
val1 = (val - 0.10) / 0.25;
val2 = 1.0 - val1;
r = round((r * val1) + (lr * val2), ROUND);
g = round((g * val1) + (lg * val2), ROUND);
b = round((b * val1) + (lb * val2), ROUND);
}
custom_state(PART:"fill", "default", 0.0);
set_state_val(PART:"fill", STATE_COLOR, r, g, b, 255);
set_state_val(PART:"fill", STATE_COLOR, r, g, b, 255);
set_state_val(PART:"fill", STATE_COLOR, r, g, b, 255);
set_state_val(PART:"fill", STATE_REL1, 0.0, 1.0 - val);
set_state(PART:"fill", "custom", 0.0);
}
}
}
parts {
part { name: "fade_clip"; type: RECT;
description { state: "default" 0.0;
color: 255 255 255 255;
}
description { state: "faded" 0.0;
color: 128 128 128 255;
}
}
part { name: "info_clip"; type: RECT;
clip_to: "fade_clip";
description { state: "default" 0.0;
color: 255 255 255 0;
}
description { state: "visible" 0.0;
color: 255 255 255 255;
}
}
part { name: "pulse_clip"; type: RECT;
clip_to: "fade_clip";
description { state: "default" 0.0;
color: 255 255 255 255;
}
description { state: "faded" 1.0;
color: 255 255 255 255;
}
description { state: "faded" 0.0;
color: 255 255 255 64;
}
}
part { name: "fill_region"; type: SPACER;
description { state: "default" 0.0;
rel1.to: "bg";
rel2.to: "bg";
}
}
part { name: "pwr"; type: SPACER;
description { state: "default" 0.0;
rel1.to: "bg";
rel1.relative: 0.40 0.40;
rel2.to: "bg";
rel2.relative: 0.60 0.60;
aspect: 1.0 1.0; aspect_preference: BOTH;
min: 5 5;
step: 5 5;
}
}
part { name: "base"; type: SPACER;
description { state: "default" 0.0;
aspect: 1.0 1.0; aspect_preference: BOTH;
}
}
part { name: "shadow";
clip_to: "pulse_clip";
description { state: "default" 0.0;
rel1.to: "top";
rel1.offset: -4 0;
rel2.to: "bottom";
rel2.offset: 3 3;
image.normal: "bat_shadow.png";
}
}
part { name: "bg";
clip_to: "pulse_clip";
description { state: "default" 0.0;
rel1.to: "top";
rel1.relative: 0.0 1.0;
rel2.to: "bottom";
rel2.relative: 1.0 0.0;
image.normal: "bat_base.png";
fill.smooth: 0;
}
}
part { name: "top";
clip_to: "pulse_clip";
description { state: "default" 0.0;
rel1.to: "base";
rel1.offset: 6 4;
rel2.to: "base";
rel2.offset: -7 4;
rel2.relative: 1.0 0.0;
aspect: (112/24) (112/24); aspect_preference: HORIZONTAL;
align: 0.5 0.0;
image.normal: "bat_top0.png";
}
}
part { name: "bottom";
clip_to: "pulse_clip";
description { state: "default" 0.0;
rel1.to: "base";
rel1.offset: 6 -5;
rel2.to: "base";
rel2.offset: -7 -5;
aspect: (112/12) (112/12); aspect_preference: HORIZONTAL;
align: 0.5 1.0;
image.normal: "bat_bottom0.png";
}
}
part { name: "fill"; mouse_events: 0;
clip_to: "pulse_clip";
description { state: "default" 0.0;
rel1.to: "fill_region";
rel1.offset: -5 -5;
rel2.to: "fill_region";
rel2.offset: 4 4;
image.normal: "glow_med_white.png";
image.border: 10 10 10 10;
color: 51 153 255 255;
}
}
part { name: "top-shine";
clip_to: "pulse_clip";
description { state: "default" 0.0;
rel1.to: "top";
rel2.to: "top";
image.normal: "bat_top1.png";
}
}
part { name: "bottom-shine";
clip_to: "pulse_clip";
description { state: "default" 0.0;
rel1.to: "bottom";
rel2.to: "bottom";
image.normal: "bat_bottom1.png";
}
}
part { name: "shine";
clip_to: "pulse_clip";
description { state: "default" 0.0;
rel1.to: "bg";
rel1.offset: 0 -6;
rel2.to: "bg";
rel2.offset: -1 5;
image.normal: "bat_shine.png";
image.border: 0 0 7 7;
}
}
part { name: "pwr1";
clip_to: "pulse_clip";
description { state: "default" 0.0;
rel1.to: "pwr";
rel1.relative: (2/5) 0.0;
rel1.offset: -5 -5;
rel2.to: "pwr";
rel2.relative: (3/5) 1.0;
rel2.offset: 4 4;
image.normal: "glow_med_white.png";
image.border: 5 5 5 5;
fill.smooth: 0;
visible: 0;
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
visible: 1;
}
}
part { name: "pwr2";
clip_to: "pulse_clip";
description { state: "default" 0.0;
rel1.to: "pwr";
rel1.relative: 0.0 (2/5);
rel1.offset: -5 -5;
rel2.to: "pwr";
rel2.relative: 1.0 (3/5);
rel2.offset: 4 4;
image.normal: "glow_med_white.png";
image.border: 5 5 5 5;
fill.smooth: 0;
visible: 0;
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
visible: 1;
}
}
part { name: "e.text.reading"; type: TEXT; mouse_events: 0;
scale: 1;
clip_to: "info_clip";
description { state: "default" 0.0;
align: 0.5 0.0;
rel1.to: "bg";
rel1.offset: 0 -2;
rel2.relative: 1.0 0.0;
rel2.to_x: "bg";
rel2.to_y: "pwr";
color: 255 255 255 255;
color_class: "module_label";
text { font: "Sans"; size: 6;
min: 0 1;
text_class: "module_small";
}
}
}
part { name: "e.text.time"; type: TEXT; mouse_events: 0;
scale: 1;
clip_to: "info_clip";
description { state: "default" 0.0;
align: 0.5 1.0;
rel1.relative: 0.0 1.0;
rel1.to_x: "bg";
rel1.to_y: "pwr";
rel2.offset: -1 1;
rel2.to: "bg";
color: 255 255 255 255;
color_class: "module_label";
text { font: "Sans"; size: 6;
min: 0 1;
text_class: "module_small";
}
}
}
part { name: "over"; type: RECT;
description { state: "default" 0.0;
color: 0 0 0 0;
}
}
}
programs {
program {
signal: "mouse,in"; source: "over";
action: STATE_SET "visible" 0.0;
transition: LINEAR 0.3;
target: "info_clip";
}
program {
signal: "mouse,out"; source: "over";
action: STATE_SET "default" 0.0;
transition: LINEAR 0.3;
target: "info_clip";
}
program {
signal: "e,state,charging"; source: "e";
action: STATE_SET "visible" 0.0;
target: "pwr1";
target: "pwr2";
}
program {
signal: "e,state,discharging"; source: "e";
action: STATE_SET "default" 0.0;
target: "pwr1";
target: "pwr2";
}
program {
signal: "e,state,unknown"; source: "e";
action: STATE_SET "faded" 0.0;
target: "fade_clip";
}
program { name: "pulse";
signal: "e,action,pulse,start"; source: "e";
action: STATE_SET "faded" 0.0;
transition: ACCELERATE 0.3;
after: "pulse2";
target: "pulse_clip";
}
program { name: "pulse2";
action: STATE_SET "faded" 1.0; transition: ACCELERATE 0.1;
target: "pulse_clip";
}
program {
signal: "e,action,pulse,stop"; source: "e";
action: STATE_SET "default" 0.0;
target: "pulse_clip";
}
}
}
group { name: "e/modules/battery/popup";
min: 240 60;
parts {
part { name: "e.swallow.battery"; type: SWALLOW;
description { state: "default" 0.0;
aspect: 1.0 1.0; aspect_preference: VERTICAL;
min: 1 1;
max: 160 160;
align: 0.0 0.5;
}
}
part { name: "e.text.title"; type: TEXT;
effect: SHADOW BOTTOM;
scale: 1;
description { state: "default" 0.0;
rel1.relative: 1.0 0.0;
rel1.to_x: "e.swallow.battery";
rel2.relative: 1.0 0.5;
color: 255 255 255 255;
color3: 0 0 0 128;
text { font: "Sans:style=Bold"; size: 10;
text: "Your battery is low!";
min: 1 1;
text_class: "module_large";
}
}
}
part { name: "e.text.label"; type: TEXT;
effect: SHADOW BOTTOM;
scale: 1;
description { state: "default" 0.0;
rel1.relative: 1.0 0.5;
rel1.to_x: "e.swallow.battery";
color: 255 255 255 255;
color3: 0 0 0 128;
text { font: "Sans"; size: 10;
text: "AC power is recommended.";
min: 1 1;
text_class: "module_normal";
}
}
}
}
}

View File

@ -0,0 +1,26 @@
group { name: "e/modules/bluez4/main";
images.image: "bt_base.png" COMP;
max: 160 160;
parts {
part { name: "base";
description { state: "default" 0.0;
aspect: (160/144) (160/144); aspect_preference: BOTH;
image.normal: "bt_base.png";
}
}
}
}
group { name: "e/modules/bluez4/inactive";
images.image: "bt_base.png" COMP;
max: 160 160;
parts {
part { name: "base";
description { state: "default" 0.0;
aspect: (160/144) (160/144); aspect_preference: BOTH;
image.normal: "bt_base.png";
color: 255 255 255 128;
}
}
}
}

View File

@ -0,0 +1,42 @@
#define ICON(_NAME, _FILE) \
group { \
name: "e/widgets/border/default/"_NAME; \
max: 16 16; \
parts { \
part { name: "icon"; mouse_events: 0; \
description { state: "default" 0.0; \
max: 16 16; \
aspect: 1.0 1.0; aspect_preference: BOTH; \
image.image: _FILE COMP; \
image.normal: _FILE; \
} \
} \
} \
}
ICON("basic", "icon_border_more.png")
ICON("close", "icon_border_close.png")
ICON("kill", "icon_border_kill.png")
ICON("stacking", "icon_border_stack_norm.png")
ICON("stack_on_top", "icon_border_stack_top.png")
ICON("stack_normal", "icon_border_stack_norm.png")
ICON("stack_below", "icon_border_stack_bot.png")
ICON("move_icon", "icon_border_move.png")
ICON("resize_icon", "icon_border_resize.png");
ICON("maximize", "icon_border_maximize.png")
ICON("fullscreen", "icon_border_maximize.png")
ICON("minimize", "icon_border_minimize.png")
ICON("stick", "icon_border_pin.png")
ICON("sendto", "icon_border_sendto.png")
ICON("skip", "icon_border_skip.png")
ICON("skip_pager", "icon_border_pager.png")
ICON("skip_taskbar", "icon_border_skip.png")
ICON("skip_winlist", "icon_border_skip.png")
ICON("borderless", "icon_border_border.png")
ICON("remember", "icon_border_remember.png")
ICON("shade", "icon_border_shaded.png")
ICON("locks", "icon_border_lock.png")
ICON("locks_user", "icon_border_lock.png")
ICON("locks_application", "icon_border_lock.png")
ICON("properties", "icon_border_properties.png")
#undef ICON

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,218 @@
group { name: "e/widgets/button";
images.image: "button_normal.png" COMP;
images.image: "button_clicked.png" COMP;
images.image: "win_glow.png" COMP;
parts {
part { name: "base";
description { state: "default" 0.0;
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;
}
description { state: "clicked" 0.0;
inherit: "default" 0.0;
image.normal: "button_clicked.png";
image.border: 5 5 4 6;
}
}
part { name: "icon_clip"; type: RECT;
description { state: "default" 0.0;
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
color: 255 255 255 64;
}
}
part { name: "e.swallow.icon"; type: SWALLOW; mouse_events: 0;
clip_to: "icon_clip";
description { state: "default" 0.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";
}
description { state: "combo" 0.0;
inherit: "default" 0.0;
aspect: 1.0 1.0; aspect_preference: VERTICAL;
}
description { state: "icon" 0.0;
inherit: "default" 0.0;
min: 17 17;
aspect: 1.0 1.0; aspect_preference: BOTH;
align: 0.5 0.5;
rel2.relative: 1.0 1.0;
rel2.offset: -7 -8;
}
}
part { name: "label_clip"; type: RECT;
description { state: "default" 0.0;
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
visible: 0;
}
}
part { name: "e.text.label"; type: TEXT; mouse_events: 0;
effect: SHADOW BOTTOM;
scale: 1;
clip_to: "label_clip";
description { state: "default" 0.0;
rel1.offset: 6 5;
rel1.to_x: "base";
rel1.to_y: "base";
rel2.offset: -7 -7;
rel2.to: "base";
color: 255 255 255 255;
color3: 0 0 0 128;
color_class: "button_text";
text { font: FN; size: 10;
min: 1 1;
align: 0.5 0.5;
text_class: "button";
}
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
color: 21 21 21 255;
color3: 255 255 255 25;
color_class: "button_text_disabled";
}
description { state: "combo" 0.0;
inherit: "default" 0.0;
rel1.relative: 1.0 0.0;
rel1.offset: 2 5;
rel1.to_x: "e.swallow.icon";
}
description { state: "icon" 0.0;
inherit: "default" 0.0;
visible: 0;
}
}
part { name: "label2"; type: TEXT; mouse_events: 0;
effect: SHADOW BOTTOM;
scale: 1;
description { state: "default" 0.0;
rel1.to: "e.text.label";
rel2.to: "e.text.label";
color: 21 21 21 255;
color3: 255 255 255 25;
color_class: "button_text_disabled";
text { font: FN; size: 10;
text_source: "e.text.label";
align: 0.5 0.5;
text_class: "button";
}
visible: 0;
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
visible: 1;
}
}
part { name: "base2"; type: SPACER;
description { state: "default" 0.0;
rel1.to: "base";
rel2.to: "base";
}
description { state: "clicked" 0.0;
inherit: "default" 0.0;
rel1.offset: 1 1;
rel2.offset: -2 -2;
}
}
part { name: "glow"; mouse_events: 0;
description { state: "default" 0.0;
image.normal: "win_glow.png";
image.border: 9 9 9 9;
image.middle: 0;
rel1.to: "base2";
rel1.offset: -2 -3;
rel2.to: "base2";
rel2.offset: 1 0;
fill.smooth: 0;
color: 255 255 255 0;
visible: 0;
}
description { state: "focused" 0.0;
inherit: "default" 0.0;
color: 255 255 255 150;
visible: 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,down,1"; source: "event";
action: STATE_SET "clicked" 0.0;
target: "base";
target: "base2";
}
program {
signal: "mouse,up,1"; source: "event";
action: STATE_SET "default" 0.0;
target: "base";
target: "base2";
}
program {
signal: "mouse,clicked,1*"; source: "event";
action: SIGNAL_EMIT "e,action,click" "";
}
program {
signal: "e,state,text"; source: "e";
action: STATE_SET "default" 0.0;
target: "e.swallow.icon";
target: "e.text.label";
}
program {
signal: "e,state,icon"; source: "e";
action: STATE_SET "icon" 0.0;
target: "e.swallow.icon";
target: "e.text.label";
}
program {
signal: "e,state,combo"; source: "e";
action: STATE_SET "combo" 0.0;
target: "e.swallow.icon";
target: "e.text.label";
}
program {
signal: "e,state,disabled"; source: "e";
action: STATE_SET "disabled" 0.0;
target: "event";
target: "icon_clip";
target: "label_clip";
target: "label2";
}
program {
signal: "e,state,enabled"; source: "e";
action: STATE_SET "default" 0.0;
target: "event";
target: "icon_clip";
target: "label_clip";
target: "label2";
}
program { signal: "e,state,focused"; source: "e";
action: STATE_SET "focused" 0.0;
target: "glow";
}
program { signal: "e,state,unfocused"; source: "e";
action: STATE_SET "default" 0.0;
target: "glow";
}
}
}

View File

@ -0,0 +1,166 @@
group { name: "e/widgets/check";
images.image: "inset_shadow_tiny.png" COMP;
images.image: "bevel_in.png" COMP;
images.image: "sym_check_alum.png" COMP;
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";
rel1.to: "base";
rel2.to: "base";
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
visible: 0;
}
}
part { name: "inset"; mouse_events: 0;
description { state: "default" 0.0;
rel1.offset: 2 2;
rel2.relative: 0.0 1.0;
rel2.offset: 2 -3;
image.normal: "bevel_in.png";
image.border: 1 1 1 1;
image.middle: 0;
fill.smooth: 0;
align: 0.0 0.5;
min: 13 13;
max: 13 13;
fixed: 1 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: "indicator"; mouse_events: 0;
clip_to: "clip";
description { state: "default" 0.0;
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: "e.text.label"; type: TEXT;
effect: SHADOW BOTTOM;
scale: 1;
description { state: "default" 0.0;
rel1.offset: 2 2;
rel1.to_x: "inset";
rel1.relative: 1.0 0.0;
rel2.offset: -3 -3;
color: 255 255 255 255;
color3: 0 0 0 128;
color_class: "check_text";
text { font: FN; size: 10;
min: 1 1;
align: 0.0 0.5;
text_class: "check_button";
}
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
color: 21 21 21 255;
color3: 255 255 255 25;
}
}
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: "e,state,checked"; source: "e";
action: STATE_SET "selected" 0.0;
target: "indicator";
}
program {
signal: "e,state,unchecked"; source: "e";
action: STATE_SET "default" 0.0;
target: "indicator";
}
program {
signal: "mouse,up,1"; source: "event";
action: SIGNAL_EMIT "e,action,toggle" "";
}
program {
signal: "e,state,disabled"; source: "e";
action: STATE_SET "disabled" 0.0;
target: "base";
target: "shadow";
target: "clip";
target: "e.text.label";
target: "event";
}
program {
signal: "e,state,enabled"; source: "e";
action: STATE_SET "default" 0.0;
target: "base";
target: "shadow";
target: "clip";
target: "e.text.label";
target: "event";
}
}
}
group { name: "e/widgets/check_icon";
inherit: "e/widgets/check";
parts {
part { name: "e.swallow.icon"; type: SWALLOW;
insert_before: "event";
clip_to: "clip";
description { state: "default" 0.0;
rel1.offset: 2 2;
rel1.relative: 1.0 0.0;
rel1.to_x: "inset";
rel2.offset: 2 -3;
rel2.relative: 1.0 1.0;
rel1.to_x: "inset";
align: 0.0 0.5;
aspect: 1.0 1.0; aspect_preference: VERTICAL;
}
}
part { name: "e.text.label";
description { state: "default" 0.0;
rel1.to_x: "e.swallow.icon";
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
color: 21 21 21 255;
color3: 255 255 255 25;
}
}
}
}

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,156 @@
group { name: "e/modules/conf_colors/preview/solid";
images.image: "inset_shadow.png" COMP;
images.image: "bevel_in.png" COMP;
images.image: "dot_pattern.png" COMP;
parts {
part { name: "bg"; type: RECT;
description { state: "default" 0.0;
rel1.offset: 3 3;
rel2.offset: -4 -4;
color: 48 48 48 255;
min: 18 18;
}
}
part { name: "pat";
description { state: "default" 0.0;
rel1.to: "bg";
rel2.to: "bg";
image.normal: "dot_pattern.png";
TILED_PATTERN(256, 256)
}
}
part { name: "e.rect"; type: RECT; mouse_events: 0;
description { state: "default" 0.0;
color: 255 255 255 255;
color_class: "color_preview";
rel1.to: "bg";
rel2.to: "bg";
}
}
part { name: "shadow"; mouse_events: 0;
description { state: "default" 0.0;
image.normal: "inset_shadow.png";
image.border: 5 5 7 3;
image.middle: 0;
rel1.to: "bg";
rel2.to: "bg";
fill.smooth: 0;
color: 255 255 255 128;
}
}
part { name: "inset";
description { state: "default" 0.0;
image.normal: "bevel_in.png";
image.border: 1 1 1 1;
image.middle: 0;
rel1.to: "bg";
rel1.offset: -1 -1;
rel2.to: "bg";
rel2.offset: 0 0;
fill.smooth: 0;
}
}
}
}
group { name: "e/modules/conf_colors/preview/text";
parts {
part { name: "shadow"; type: TEXT; mouse_events: 0;
description { state: "default" 0.0;
color: 255 255 255 32;
text { font: FN; size: 10;
text: "Text";
min: 1 1;
}
}
}
part { name: "e.text"; type: TEXT; mouse_events: 0;
effect: OUTLINE_SHADOW;
description { state: "default" 0.0;
color: 255 255 255 255;
color2: 255 255 255 255;
color3: 255 255 255 255;
color_class: "color_preview";
text { font: FNBD; size: 16;
text: "Ab";
min: 1 1;
}
}
}
}
}
group { name: "e/modules/conf_colors/preview/unknown";
images.image: "inset_shadow.png" COMP;
images.image: "bevel_in.png" COMP;
images.image: "dot_pattern.png" COMP;
parts {
part { name: "bg"; type: RECT;
description { state: "default" 0.0;
rel1.offset: 3 3;
rel2.offset: -4 -4;
color: 48 48 48 255;
min: 18 18;
}
}
part { name: "pat";
description { state: "default" 0.0;
rel1.to: "bg";
rel2.to: "bg";
image.normal: "dot_pattern.png";
TILED_PATTERN(256, 256)
}
}
part { name: "c1"; type: RECT; mouse_events: 0;
description { state: "default" 0.0;
color: 255 0 0 128;
color_class: "color_preview_c1";
rel1.to: "bg";
rel2.to: "bg";
rel2.relative: 0.333 1.0;
}
}
part { name: "c2"; type: RECT; mouse_events: 0;
description { state: "default" 0.0;
color: 0 255 0 128;
color_class: "color_preview_c2";
rel1.to: "c1";
rel1.relative: 1.0 0.0;
rel2.to: "bg";
rel2.relative: 0.667 1.0;
}
}
part { name: "c3"; type: RECT; mouse_events: 0;
description { state: "default" 0.0;
color: 0 0 255 128;
color_class: "color_preview_c3";
rel1.to: "c2";
rel1.relative: 1.0 0.0;
rel2.to: "bg";
}
}
part { name: "shadow"; mouse_events: 0;
description { state: "default" 0.0;
image.normal: "inset_shadow.png";
image.border: 5 5 7 3;
image.middle: 0;
rel1.to: "bg";
rel2.to: "bg";
fill.smooth: 0;
color: 255 255 255 128;
}
}
part { name: "inset";
description { state: "default" 0.0;
image.normal: "bevel_in.png";
image.border: 1 1 1 1;
image.middle: 0;
rel1.to: "bg";
rel1.offset: -1 -1;
rel2.to: "bg";
rel2.offset: 0 0;
fill.smooth: 0;
}
}
}
}

View File

@ -0,0 +1,78 @@
group { name: "e/widgets/color_well";
images.image: "inset_shadow.png" COMP;
images.image: "bevel_in.png" COMP;
images.image: "dot_pattern.png" COMP;
parts {
part { name: "bg"; type: RECT;
description { state: "default" 0.0;
rel1.to: "e.swallow.content";
rel2.to: "e.swallow.content";
color: 48 48 48 255;
}
}
part { name: "pat";
description { state: "default" 0.0;
rel1.to: "bg";
rel2.to: "bg";
image.normal: "dot_pattern.png";
TILED_PATTERN(256, 256)
}
}
part { name: "clipper"; type: RECT;
description { state: "default" 0.0;
rel1.to: "e.swallow.content";
rel2.to: "e.swallow.content";
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
color: 255 255 255 64;
}
}
part { name: "e.swallow.content"; type: SWALLOW;
clip_to: "clipper";
description { state: "default" 0.0;
rel1.offset: 3 3;
rel2.offset: -4 -4;
}
}
part { name: "shadow"; mouse_events: 0;
description { state: "default" 0.0;
image.normal: "inset_shadow.png";
image.border: 5 5 7 3;
image.middle: 0;
rel1.to: "bg";
rel2.to: "bg";
fill.smooth: 0;
color: 255 255 255 128;
}
}
part { name: "inset";
description { state: "default" 0.0;
image.normal: "bevel_in.png";
image.border: 1 1 1 1;
image.middle: 0;
rel1.to: "bg";
rel1.offset: -1 -1;
rel2.to: "bg";
rel2.offset: 0 0;
fill.smooth: 0;
}
}
}
programs {
program {
signal: "mouse,clicked,1"; source: "inset";
action: SIGNAL_EMIT "e,action,click" "";
}
program {
signal: "e,state,disabled"; source: "e";
action: STATE_SET "disabled" 0.0;
target: "clipper";
}
program {
signal: "e,state,enabled"; source: "e";
action: STATE_SET "default" 0.0;
target: "clipper";
}
}
}

View File

@ -0,0 +1,853 @@
group { name: "e/comp/preview";
parts {
part { name: "e.swallow.preview"; type: SWALLOW; mouse_events: 0;
description { state: "default" 0.0;
}
}
part { name: "e.text.label"; type: TEXT; mouse_events: 0;
scale: 1;
effect: SHADOW BOTTOM;
description { state: "default" 0.0;
color: 255 255 255 255;
color3: 0 0 0 128;
text { font: FNBD; size: 10;
text_class: "fileman_icon";
align: 0.5 0.5;
min: 1 1;
}
fixed: 0 1;
}
}
}
}
group { name: "e/comp/screen/base/default";
alias: "e/comp/screen/base/noeffects";
parts {
part { name: "clip"; type: RECT; mouse_events: 0;
description { state: "default" 0.0;
}
}
part { name: "e.swallow.background"; type: SWALLOW; mouse_events: 0;
clip_to: "clip";
description { state: "default" 0.0;
}
}
}
}
group { name: "e/comp/screen/overlay/default";
images.image: "screen_circular_shadow.png" COMP;
parts {
part { name: "clip"; type: RECT; mouse_events: 0;
description { state: "default" 0.0;
}
}
part { name: "shadow"; mouse_events: 0;
clip_to: "clip";
description { state: "default" 0.0;
rel1.relative: -1.0 -1.0;
rel2.relative: 2.0 2.0;
image.normal: "screen_circular_shadow.png";
fill.smooth: 0;
color: 255 255 255 0;
visible: 0;
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
rel1.relative: 0.0 0.0;
rel2.relative: 1.0 1.0;
color: 255 255 255 255;
visible: 1;
}
}
part { name: "blanker"; type: RECT; mouse_events: 0;
description { state: "default" 0.0;
color: 0 0 0 0;
visible: 0;
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
color: 0 0 0 255;
visible: 1;
}
}
part { name: "suspender"; type: RECT; mouse_events: 0;
description { state: "default" 0.0;
color: 0 0 0 0;
visible: 0;
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
color: 0 0 0 255;
visible: 1;
}
}
}
programs {
program {
name: "screensaver_on";
signal: "e,state,screensaver,on"; source: "e";
action: STATE_SET "visible" 0.0;
transition: ACCELERATE 3.0 CURRENT;
target: "blanker";
}
program {
name: "screensaver_on2";
signal: "e,state,screensaver,on"; source: "e";
action: STATE_SET "visible" 0.0;
transition: DECELERATE 1.5 CURRENT;
target: "shadow";
}
program {
name: "screensaver_off";
signal: "e,state,screensaver,off"; source: "e";
action: STATE_SET "default" 0.0;
transition: ACCELERATE 0.5 CURRENT;
target: "blanker";
}
program {
name: "screensaver_off2";
signal: "e,state,screensaver,off"; source: "e";
action: STATE_SET "default" 0.0;
transition: ACCELERATE 0.25 CURRENT;
target: "shadow";
}
program {
name: "suspend";
signal: "e,state,sys,suspend"; source: "e";
action: STATE_SET "visible" 0.0;
transition: ACCELERATE 0.5 CURRENT;
target: "suspender";
after: "suspend_done";
}
program { name: "suspend_done";
action: SIGNAL_EMIT "e,state,sys,suspend,done" "e";
}
program {
name: "hibernate";
signal: "e,state,sys,hibernate"; source: "e";
action: STATE_SET "visible" 0.0;
transition: ACCELERATE 0.5 CURRENT;
target: "suspender";
after: "hibernate_done";
}
program { name: "hibernate_done";
action: SIGNAL_EMIT "e,state,sys,hibernate,done" "e";
}
program {
name: "resume";
signal: "e,state,sys,resume"; source: "e";
action: STATE_SET "default" 0.0;
transition: DECELERATE 1.0 CURRENT;
target: "suspender";
}
program {
name: "reboot";
signal: "e,state,sys,reboot"; source: "e";
action: STATE_SET "visible" 0.0;
transition: ACCELERATE 0.5 CURRENT;
target: "suspender";
after: "reboot_done";
}
program { name: "reboot_done";
action: SIGNAL_EMIT "e,state,sys,reboot,done" "e";
}
program {
name: "halt";
signal: "e,state,sys,halt"; source: "e";
action: STATE_SET "visible" 0.0;
transition: ACCELERATE 0.5 CURRENT;
target: "suspender";
after: "halt_done";
}
program { name: "halt_done";
action: SIGNAL_EMIT "e,state,sys,halt,done" "e";
}
program {
name: "logout";
signal: "e,state,sys,logout"; source: "e";
action: STATE_SET "visible" 0.0;
transition: ACCELERATE 0.5 CURRENT;
target: "suspender";
after: "logout_done";
}
program { name: "logout_done";
action: SIGNAL_EMIT "e,state,sys,logout,done" "e";
}
}
}
group { name: "e/comp/screen/overlay/noeffects";
inherit: "e/comp/screen/overlay/default";
programs {
program {
name: "screensaver_on";
transition: ACCELERATE 0 CURRENT;
}
program {
name: "screensaver_on2";
transition: DECELERATE 0 CURRENT;
}
program {
name: "screensaver_off";
transition: ACCELERATE 0 CURRENT;
}
program {
name: "screensaver_off2";
transition: ACCELERATE 0 CURRENT;
}
program {
name: "suspend";
signal: "e,state,sys,suspend"; source: "e";
action: SIGNAL_EMIT "e,state,sys,suspend,done" "e";
after: "action_done";
}
program {
name: "action_done";
action: STATE_SET "visible" 0.0;
transition: ACCELERATE 0 CURRENT;
target: "suspender";
}
program {
name: "hibernate";
signal: "e,state,sys,hibernate"; source: "e";
action: SIGNAL_EMIT "e,state,sys,hibernate,done" "e";
after: "action_done";
}
program {
name: "resume";
transition: DECELERATE 1 CURRENT;
}
program {
name: "reboot";
signal: "e,state,sys,reboot"; source: "e";
action: SIGNAL_EMIT "e,state,sys,reboot,done" "e";
after: "action_done";
}
program {
name: "halt";
signal: "e,state,sys,halt"; source: "e";
action: SIGNAL_EMIT "e,state,sys,halt,done" "e";
after: "action_done";
}
program {
name: "logout";
signal: "e,state,sys,logout"; source: "e";
action: SIGNAL_EMIT "e,state,sys,logout,done" "e";
after: "action_done";
}
}
}
group { name: "e/comp/border/default";
images.image: "win_shadow.png" COMP;
images.image: "win_glow.png" COMP;
parts {
part { name: "clipper"; type: RECT;
description { state: "default" 0.0;
rel1.relative: -1.0 -1.0;
rel1.offset: -9999 -9999;
rel2.relative: 2.0 2.0;
rel2.offset: 9999 9999;
color: 255 255 255 0;
visible: 0;
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255;
visible: 1;
}
}
part { name: "shadow"; mouse_events: 0;
clip_to: "clipper";
description { state: "default" 0.0;
image.normal: "win_shadow.png";
image.border: 14 14 14 14;
image.middle: 0;
rel1.to: "e.swallow.content";
rel1.offset: -7 -3;
rel2.to: "e.swallow.content";
rel2.offset: 6 11;
fill.smooth: 0;
}
description { state: "hidden" 0.0;
inherit: "default" 0.0;
visible: 0;
}
}
part { name: "glow"; mouse_events: 0;
clip_to: "clipper";
description { state: "default" 0.0;
image.normal: "win_glow.png";
image.border: 9 9 9 9;
image.middle: 0;
rel1.to: "e.swallow.content";
rel1.offset: -5 -5;
rel2.to: "e.swallow.content";
rel2.offset: 4 4;
fill.smooth: 0;
color: 255 255 255 0;
visible: 0;
}
description { state: "focused" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255;
visible: 1;
}
}
part { name: "shower"; type: SPACER;
description { state: "default" 0.0;
rel1.relative: 0.05 0.05;
rel2.relative: 0.95 0.95;
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
rel1.relative: 0.0 0.0;
rel2.relative: 1.0 1.0;
}
}
part { name: "trans-clipper";
type: RECT;
clip_to: "clipper";
mouse_events: 0;
description { state: "default" 0.0;
color_class: "comp_alpha";
rel1.to: "clipper";
rel2.to: "clipper";
}
}
part { name: "focus-clipper";
type: RECT;
clip_to: "trans-clipper";
mouse_events: 0;
description { state: "default" 0.0;
color_class: "comp_focus-out_color";
rel1.to: "clipper";
rel2.to: "clipper";
}
description { state: "focused" 0.0;
inherit: "default" 0.0;
color_class: "";
color: 255 255 255 255;
}
}
part { name: "e.swallow.content"; type: SWALLOW;
clip_to: "focus-clipper";
description { state: "default" 0.0;
rel1.to: "shower";
rel2.to: "shower";
}
}
}
programs {
program {
signal: "e,state,shadow,on"; source: "e";
action: STATE_SET "default" 0.0;
target: "shadow";
}
program {
signal: "e,state,shadow,off"; source: "e";
action: STATE_SET "hidden" 0.0;
target: "shadow";
}
program {
name: "visible_on";
signal: "e,state,visible,on"; source: "e";
action: STATE_SET "visible" 0.0;
transition: DECELERATE 0.15;
target: "clipper";
target: "shower";
after: "show2";
}
program { name: "show2";
action: SIGNAL_EMIT "e,action,show,done" "e";
}
program {
name: "visible_off";
signal: "e,state,visible,off"; source: "e";
action: STATE_SET "default" 0.0;
transition: DECELERATE 0.30;
target: "clipper";
target: "shower";
after: "hide2";
}
program { name: "hide2";
action: SIGNAL_EMIT "e,action,hide,done" "e";
}
program {
name: "focus_on";
signal: "e,state,focus,on"; source: "e";
action: STATE_SET "focused" 0.0;
transition: SINUSOIDAL 0.1;
target: "glow";
target: "focus-clipper";
after: "focus2";
}
program { name: "focus2";
action: STATE_SET "default" 0.0;
transition: SINUSOIDAL 0.4;
target: "glow";
}
program {
name: "focus_off";
signal: "e,state,focus,off"; source: "e";
action: STATE_SET "default" 0.0;
transition: SINUSOIDAL 0.1;
target: "focus-clipper";
after: "focus_off2";
}
program {
name: "focus_off2";
action: STATE_SET "default" 0.0;
transition: SINUSOIDAL 0.4;
target: "glow";
}
program { name: "urgent1";
signal: "e,state,urgent,on"; source: "e";
action: STATE_SET "focused" 0.0;
transition: SINUSOIDAL 0.3;
target: "glow";
after: "urgent2";
}
program { name: "urgent2";
action: STATE_SET "default" 0.0;
transition: SINUSOIDAL 0.3;
target: "glow";
after: "urgent1";
}
program {
signal: "e,state,urgent,off"; source: "e";
action: STATE_SET "default" 0.0;
transition: SINUSOIDAL 0.6 CURRENT;
target: "glow";
}
}
}
group { name: "e/comp/border/rotate";
inherit: "e/comp/border/default";
parts {
part { name: "e.swallow.content";
description { state: "default";
map {
on: 1;
rotation {
z: 0;
}
}
}
description { state: "focus-out";
inherit: "default";
map.rotation.z: 180;
}
}
part {
name: "shower";
description { state: "default";
rel1.relative: 0.0 0.0;
rel2.relative: 1.0 1.0;
}
}
}
programs {
program { name: "focus3";
signal: "e,state,focus,on"; source: "e";
action: STATE_SET "default" 0.0;
target: "e.swallow.content";
transition: LINEAR 0.3;
}
program { name: "focus_off3";
signal: "e,state,focus,off"; source: "e";
action: STATE_SET "focus-out" 0.0;
target: "e.swallow.content";
transition: LINEAR 0.3;
}
}
}
group { name: "e/comp/border/rotate/fast";
inherit: "e/comp/border/rotate";
programs {
program { name: "focus3";
transition: LINEAR 0;
}
program { name: "focus_off3";
transition: LINEAR 0;
}
}
}
group { name: "e/comp/border/flip";
inherit: "e/comp/border/rotate";
parts {
part { name: "e.swallow.content";
description { state: "default";
map {
on: 1;
rotation {
z: 0;
y: 0;
}
backface_cull: 1;
}
}
description { state: "focus-out";
inherit: "default";
map.rotation {
z: 0;
y: 180;
}
}
}
}
}
group { name: "e/comp/border/flip/fast";
inherit: "e/comp/border/flip";
programs {
program { name: "focus3";
transition: LINEAR 0;
}
program { name: "focus_off3";
transition: LINEAR 0;
}
}
}
group { name: "e/comp/border/popup";
inherit: "e/comp/border/default";
parts {
part { name: "focus-clipper";
description { state: "default";
color_class: "";
}
}
}
}
group { name: "e/comp/border/default/fast";
inherit: "e/comp/border/default";
programs {
program {
name: "visible_on";
transition: DECELERATE 0;
}
program {
name: "visible_off";
transition: DECELERATE 0;
}
program {
name: "focus_on";
signal: "e,state,focus,on"; source: "e";
action: STATE_SET "focused" 0.0;
transition: SINUSOIDAL 0.1;
target: "glow";
target: "focus-clipper";
after: "focus2";
}
program { name: "focus2";
action: STATE_SET "default" 0.0;
transition: SINUSOIDAL 0.1;
target: "glow";
}
program {
name: "focus_off";
transition: SINUSOIDAL 0;
}
}
}
group { name: "e/comp/border/popup/fast";
inherit: "e/comp/border/default/fast";
parts {
part { name: "focus-clipper";
description { state: "default";
color_class: "";
}
}
}
}
group { name: "e/comp/border/none";
parts {
part { name: "e.swallow.content"; type: SWALLOW;
description { state: "default" 0.0;
}
}
}
programs {
program {
signal: "e,state,visible,on"; source: "e";
action: SIGNAL_EMIT "e,action,show,done" "e";
}
program {
signal: "e,state,visible,off"; source: "e";
action: SIGNAL_EMIT "e,action,hide,done" "e";
}
}
}
group { name: "e/comp/border/still";
inherit: "e/comp/border/default";
parts {
part { name: "shower";
description { state: "default" 0.0;
rel1.relative: 0.0 0.0;
rel2.relative: 1.0 1.0;
}
}
}
}
group { name: "e/comp/border/still/fast";
inherit: "e/comp/border/default/fast";
parts {
part { name: "shower";
description { state: "default" 0.0;
rel1.relative: 0.0 0.0;
rel2.relative: 1.0 1.0;
}
}
}
}
group { name: "e/comp/border/menu";
inherit: "e/comp/border/popup";
parts {
part { name: "shower";
description { state: "default" 0.0;
rel1.relative: 0.05 0.0;
rel2.relative: 0.95 0.9;
}
}
}
}
group { name: "e/comp/border/menu/fast";
inherit: "e/comp/border/popup/fast";
parts {
part { name: "shower";
description { state: "default" 0.0;
rel1.relative: 0.05 0.0;
rel2.relative: 0.95 0.9;
}
}
}
}
group { name: "e/comp/border/everything";
inherit: "e/comp/border/popup";
parts {
part { name: "shower";
description { state: "default" 0.0;
rel1.relative: -0.3 -0.3;
rel2.relative: 1.3 1.3;
}
}
}
}
group { name: "e/comp/border/everything/fast";
inherit: "e/comp/border/popup/fast";
parts {
part { name: "shower";
description { state: "default" 0.0;
rel1.relative: -0.3 -0.3;
rel2.relative: 1.3 1.3;
}
}
}
}
group { name: "e/comp/border/fullscreen";
images.image: "screen_circular_shadow.png" COMP;
data.item: "screen.bg" "fullscreen.bg";
parts {
part { name: "clipper"; type: RECT;
description { state: "default" 0.0;
rel1.relative: -1.0 -1.0;
rel1.offset: -9999 -9999;
rel2.relative: 2.0 2.0;
rel2.offset: 9999 9999;
color: 255 255 255 0;
visible: 0;
}
description { state: "visible1" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255;
visible: 1;
}
description { state: "visible2" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255;
visible: 1;
}
}
part { name: "clipper_all"; type: RECT;
description { state: "default" 0.0;
}
}
part { name: "scr_shadow"; mouse_events: 0;
clip_to: "clipper_all";
description { state: "default" 0.0;
rel1.relative: -1.0 -1.0;
rel2.relative: 2.0 2.0;
image.normal: "screen_circular_shadow.png";
fill.smooth: 0;
color: 255 255 255 0;
visible: 0;
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
rel1.relative: 0.0 0.0;
rel2.relative: 1.0 1.0;
color: 255 255 255 255;
visible: 1;
}
}
part { name: "scr_shade"; type: RECT;
description { state: "default" 0.0;
color: 0 0 0 0;
visible: 0;
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
color: 0 0 0 255;
visible: 1;
}
}
part { name: "shower"; type: SPACER;
description { state: "default" 0.0;
rel1.relative: 0.5 0.5;
rel2.relative: 0.5 0.5;
}
description { state: "visible1" 0.0;
inherit: "default" 0.0;
rel1.relative: 0.1 0.49;
rel1.offset: 0 0;
rel2.relative: 0.9 0.51;
rel2.offset: -1 -1;
}
description { state: "visible2" 0.0;
inherit: "default" 0.0;
rel1.relative: 0.0 0.0;
rel2.relative: 1.0 1.0;
}
}
part { name: "e.swallow.content"; type: SWALLOW;
clip_to: "clipper";
description { state: "default" 0.0;
rel1.to: "shower";
rel2.to: "shower";
}
}
part { name: "fader"; type: RECT;
description { state: "default" 0.0;
rel1.to: "e.swallow.content";
rel2.to: "e.swallow.content";
color: 255 255 255 0;
visible: 0;
}
description { state: "visible1" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255;
visible: 1;
}
description { state: "visible2" 0.0;
inherit: "default" 0.0;
color: 255 255 255 0;
visible: 0;
}
}
}
programs {
program {
name: "visible_on";
signal: "e,state,visible,on"; source: "e";
action: STATE_SET "visible" 0.0;
transition: DECELERATE 0.25;
target: "scr_shadow";
target: "scr_shade";
}
program {
name: "visible_on2";
signal: "e,state,visible,on"; source: "e";
action: STATE_SET "visible1" 0.0;
transition: DECELERATE 0.05;
target: "clipper";
target: "shower";
target: "fader";
after: "show2";
}
program { name: "show2";
action: STATE_SET "visible2" 0.0;
transition: DECELERATE 0.20;
target: "clipper";
target: "shower";
target: "fader";
after: "show3";
}
program { name: "show3";
action: SIGNAL_EMIT "e,action,show,done" "e";
}
program {
name: "visible_off";
signal: "e,state,visible,off"; source: "e";
action: STATE_SET "default" 0.0;
transition: DECELERATE 0.25;
target: "scr_shadow";
target: "scr_shade";
}
program {
name: "visible_off2";
signal: "e,state,visible,off"; source: "e";
action: STATE_SET "visible1" 0.0;
transition: DECELERATE 0.2;
target: "clipper";
target: "shower";
target: "fader";
after: "hide2";
}
program { name: "hide2";
action: STATE_SET "default" 0.0;
transition: DECELERATE 0.05;
target: "clipper";
target: "shower";
target: "fader";
after: "hide3";
}
program { name: "hide3";
action: SIGNAL_EMIT "e,action,hide,done" "e";
}
}
}
group { name: "e/comp/border/fullscreen/fast";
inherit: "e/comp/border/fullscreen";
programs {
program {
name: "visible_on";
transition: DECELERATE 0;
}
program {
name: "visible_on2";
transition: DECELERATE 0;
}
program { name: "show2";
transition: DECELERATE 0;
}
program {
name: "visible_off";
transition: DECELERATE 0;
}
program {
name: "visible_off2";
transition: DECELERATE 0;
}
program { name: "hide2";
transition: DECELERATE 0;
}
}
}

View File

@ -0,0 +1,497 @@
#define COMP_EFFECT_DURATION 0.4
group { name: "e/comp/effects/none";
parts {
part { name: "e.swallow.content"; type: SWALLOW;
description { state: "default" 0.0;
}
}
}
}
/* non-auto effects are assumed to be run frame by frame by an animator */
group { name: "e/comp/effects/move";
script {
public message(Msg_Type:type, id, ...) {
if ((type == MSG_INT_SET) && (id == 0)) {
/* set state */
new st;
st = getarg(2);
if (st == 1)
set_state(PART:"mover", "custom", 0.0);
else
set_state(PART:"mover", "default", 0.0);
} else if ((type == MSG_INT_SET) && (id == 1)) {
/* x,y coords to move to */
new x, y;
x = getarg(2);
y = getarg(3);
custom_state(PART:"mover", "default", 0.0);
set_state_val(PART:"mover", STATE_REL1_OFFSET, x, y);
set_state_val(PART:"mover", STATE_REL2_OFFSET, x, y);
}
}
}
parts {
part { name: "mover"; type: SPACER;
description { state: "default" 0.0;
}
}
part { name: "e.swallow.content"; type: SWALLOW;
description { state: "default" 0.0;
rel1.to: "mover";
rel2.to: "mover";
}
}
}
programs {
program {
name: "show";
signal: "e,action,go";
source: "e";
filter: "mover" "default";
action: STATE_SET "custom" 0.0;
transition: DECELERATE COMP_EFFECT_DURATION CURRENT;
target: "mover";
after: "done";
}
program {
name: "hide";
signal: "e,action,go";
source: "e";
filter: "mover" "custom";
action: STATE_SET "default" 0.0;
transition: DECELERATE COMP_EFFECT_DURATION CURRENT;
target: "mover";
after: "done";
}
program {
name: "stop";
signal: "e,action,stop";
source: "e";
action: ACTION_STOP;
target: "show";
target: "hide";
}
program {
name: "done";
action: SIGNAL_EMIT "e,action,done" "e";
}
}
}
/* auto effects are "start and forget" */
group { name: "e/comp/effects/auto/pane";
//data.item: "noclip" "1"; //setting this prevents object from being clipped to its zone during effect
script {
public message(Msg_Type:type, id, ...) {
if ((type == MSG_INT_SET) && (id == 0)) {
/* set state */
new st;
st = getarg(2);
if (st == 1)
set_state(PART:"mover", "custom", 0.0);
else
set_state(PART:"mover", "default", 0.0);
} else if ((type == MSG_INT_SET) && (id == 1)) {
/* border geom[4] / screen size[2] / desk change direction[2] */
new x, y, sw, sh, dx, dy;
sw = getarg(6);
sh = getarg(7);
dx = getarg(8);
dy = getarg(9);
x = round(sw*dx*1.5);
y = round(sh*dy*1.5);
custom_state(PART:"mover", "default", 0.0);
set_state_val(PART:"mover", STATE_REL1_OFFSET, x, y);
set_state_val(PART:"mover", STATE_REL2_OFFSET, x, y);
}
}
}
parts {
part { name: "mover"; type: SPACER;
description { state: "default" 0.0;
}
}
part { name: "e.swallow.content"; type: SWALLOW;
description { state: "default" 0.0;
rel1.to: "mover";
rel2.to: "mover";
}
}
}
programs {
program {
name: "show";
signal: "e,action,go";
source: "e";
filter: "mover" "default";
action: STATE_SET "custom" 0.0;
transition: DECELERATE COMP_EFFECT_DURATION CURRENT;
target: "mover";
after: "done";
}
program {
name: "hide";
signal: "e,action,go";
source: "e";
filter: "mover" "custom";
action: STATE_SET "default" 0.0;
transition: DECELERATE COMP_EFFECT_DURATION CURRENT;
target: "mover";
after: "done";
}
program {
name: "stop";
signal: "e,action,stop";
source: "e";
action: ACTION_STOP;
target: "show";
target: "hide";
}
program {
name: "done";
action: SIGNAL_EMIT "e,action,done" "e";
}
}
}
group { name: "e/comp/effects/auto/diagonal";
inherit: "e/comp/effects/auto/pane";
script {
public message(Msg_Type:type, id, ...) {
if ((type == MSG_INT_SET) && (id == 0)) {
/* set state */
new st;
st = getarg(2);
if (st == 1)
set_state(PART:"mover", "custom", 0.0);
else
set_state(PART:"mover", "default", 0.0);
} else if ((type == MSG_INT_SET) && (id == 1)) {
/* border geom / screen size / desk change direction */
new x, y, w, h, sw, sh, mx, my, bx, by;
new Float:fx, Float:fy, Float:ang, Float:len, Float:lmax, Float:rad;
x = getarg(2);
y = getarg(3);
w = getarg(4);
h = getarg(5);
sw = getarg(6);
sh = getarg(7);
custom_state(PART:"mover", "default", 0.0);
mx = sw/2;
my = sh/2;
bx = x+(w/2)-mx;
by = y+(h/2)-my;
if (bx == 0) bx = 1;
if (by == 0) by = 1;
fx = bx/(w/2);
fy = by/(h/2);
ang = atan(fy/fx);
if (fx < 0.0)
ang = PI+ang;
len = sqrt((bx*bx)+(by*by));
lmax = sqrt(((sw/2)*(sw/2))+((sh/2)*(sh/2)));
rad = sqrt((w*w)+(h*h))/2.0;
x = round(cos(ang)*(lmax-len+rad));
y = round(sin(ang)*(lmax-len+rad));
set_state_val(PART:"mover", STATE_REL1_OFFSET, x, y);
set_state_val(PART:"mover", STATE_REL2_OFFSET, x, y);
}
}
}
}
group { name: "e/comp/effects/auto/zoom";
inherit: "e/comp/effects/auto/diagonal";
script {
public message(Msg_Type:type, id, ...) {
if ((type == MSG_INT_SET) && (id == 0)) {
/* set state */
new st;
st = getarg(2);
if (st == 1) {
/* starting from offscreen */
set_state_val(PART:"mover", STATE_REL1, 0.3, 0.3);
set_state_val(PART:"mover", STATE_REL2, 0.7, 0.7);
set_state(PART:"mover", "custom", 0.0);
set_state(PART:"clip", "hidden", 0.0);
} else {
/* starting from normal position */
set_state_val(PART:"mover", STATE_REL1, -1.7, -1.7);
set_state_val(PART:"mover", STATE_REL2, 1.7, 1.7);
set_state(PART:"mover", "default", 0.0);
set_state(PART:"clip", "default", 0.0);
}
} else if ((type == MSG_INT_SET) && (id == 1)) {
/* border geom / screen size / desk change direction */
new x, y, w, h, sw, sh, mx, my, bx, by;
new Float:fx, Float:fy, Float:ang, Float:len, Float:lmax, Float:rad;
x = getarg(2);
y = getarg(3);
w = getarg(4);
h = getarg(5);
sw = getarg(6);
sh = getarg(7);
custom_state(PART:"mover", "default", 0.0);
mx = sw/2;
my = sh/2;
bx = x+(w/2)-mx;
by = y+(h/2)-my;
if (bx == 0) bx = 1;
if (by == 0) by = 1;
fx = bx/(w/2);
fy = by/(h/2);
ang = atan(fy/fx);
if (fx < 0.0)
ang = PI+ang;
len = sqrt((bx*bx)+(by*by));
lmax = sqrt(((sw/2)*(sw/2))+((sh/2)*(sh/2)));
rad = sqrt((w*w)+(h*h))/2.0;
x = round(cos(ang)*(lmax-len+rad));
y = round(sin(ang)*(lmax-len+rad));
set_state_val(PART:"mover", STATE_REL1_OFFSET, x, y);
set_state_val(PART:"mover", STATE_REL2_OFFSET, x, y);
}
}
}
parts {
part { name: "clip"; type: RECT; mouse_events: 0;
insert_after: "mover";
description { state: "default";
rel1.to: "mover";
rel1.offset: -20 -20;
rel2.to: "mover";
rel2.offset: 20 20;
color: 255 255 255 255;
}
description { state: "hidden";
rel1.to: "mover";
rel2.to: "mover";
color: 255 255 255 0;
}
}
part { name: "e.swallow.content"; clip_to: "clip";
}
}
programs {
program {
name: "show2";
signal: "e,action,go";
source: "e";
filter: "mover" "default";
action: STATE_SET "hidden" 0.0;
transition: ACCELERATE COMP_EFFECT_DURATION CURRENT;
target: "clip";
}
program {
name: "hide2";
signal: "e,action,go";
source: "e";
filter: "mover" "custom";
action: STATE_SET "default" 0.0;
transition: ACCELERATE COMP_EFFECT_DURATION CURRENT;
target: "clip";
}
}
}
group { name: "e/comp/effects/auto/blend";
//data.item: "noclip" "1"; //setting this prevents object from being clipped to its zone during effect
script {
public message(Msg_Type:type, id, ...) {
if ((type == MSG_INT_SET) && (id == 0)) {
/* set state */
new st;
st = getarg(2);
if (st == 1) {
/* starting from hidden */
set_state(PART:"clip", "hidden", 0.0);
} else {
set_state(PART:"clip", "default", 0.0);
}
}
}
}
parts {
part { name: "clip"; type: RECT; mouse_events: 0;
description { state: "default";
rel1.to: "e.swallow.content";
rel1.offset: -20 -20;
rel2.to: "e.swallow.content";
rel2.offset: 20 20;
color: 255 255 255 255;
}
description { state: "hidden";
inherit: "default" 0.0;
color: 255 255 255 0;
}
}
part { name: "e.swallow.content"; type: SWALLOW;
clip_to: "clip";
description { state: "default" 0.0;
}
}
}
programs {
program {
name: "show";
signal: "e,action,go";
source: "e";
filter: "clip" "default";
action: STATE_SET "hidden" 0.0;
transition: LINEAR COMP_EFFECT_DURATION CURRENT;
target: "clip";
after: "done";
}
program {
name: "hide";
signal: "e,action,go";
source: "e";
filter: "clip" "hidden";
action: STATE_SET "default" 0.0;
transition: LINEAR COMP_EFFECT_DURATION CURRENT;
target: "clip";
after: "done";
}
program {
name: "stop";
signal: "e,action,stop";
source: "e";
action: ACTION_STOP;
target: "show";
target: "hide";
}
program {
name: "done";
action: SIGNAL_EMIT "e,action,done" "e";
}
}
}
group { name: "e/comp/effects/auto/grow";
inherit: "e/comp/effects/auto/pane";
//data.item: "noclip" "1"; //setting this prevents object from being clipped to its zone during effect
script {
public message(Msg_Type:type, id, ...) {
if ((type == MSG_INT_SET) && (id == 0)) {
/* set state */
new st;
st = getarg(2);
if (st == 1)
set_state(PART:"mover", "custom", 0.0);
else
set_state(PART:"mover", "default", 0.0);
} else if ((type == MSG_INT_SET) && (id == 1)) {
/* border geom[4] / screen size[2] / desk change direction[2] */
new dx, dy;
new Float:r1x = 0.0, Float:r1y = 0.0, Float:r2x = 1.0, Float:r2y = 1.0;
dx = getarg(8);
dy = getarg(9);
custom_state(PART:"mover", "default", 0.0);
if (dx == 1) r1x = 1.0;
else if (dx == -1) r2x = 0.0;
if (dy == 1) r1y = 1.0;
else if (dy == -1) r2y = 0.0;
set_state_val(PART:"mover", STATE_REL1, r1x, r1y);
set_state_val(PART:"mover", STATE_REL2, r2x, r2y);
}
}
}
}
#if 0 //this is weirdly broken with proxy visibility somehow...
group { name: "e/comp/effects/auto/rotate";
inherit: "e/comp/effects/auto/pane";
script {
public message(Msg_Type:type, id, ...) {
if ((type == MSG_INT_SET) && (id == 0)) {
/* set state */
new st;
st = getarg(2);
if (st == 1) {
set_state(PART:"mover", "custom", 0.0);
set_state(PART:"proxy", "hidden", 0.0);
} else {
set_state(PART:"mover", "default", 0.0);
set_state(PART:"proxy", "default", 0.0);
}
}
#if 0
else if ((type == MSG_INT_SET) && (id == 1)) {
/* desk change direction */
new Float:mx, Float:my;
mx = get_float(getarg(8) * 180);
my = get_float(getarg(9) * 180);
custom_state(PART:"proxy", "hidden", 0.0);
set_state_val(PART:"proxy", STATE_MAP_ROT_Y, mx);
set_state_val(PART:"proxy", STATE_MAP_ROT_X, my);
}
#endif
}
}
parts {
part { name: "proxy"; type: PROXY; mouse_events: 0;
insert_after: "e.swallow.content";
description { state: "default";
source: "e.swallow.content";
map {
on: 1;
perspective_on: 1;
perspective: "e.swallow.content";
smooth: 1;
rotation.y: 0;
rotation.x: 0;
}
}
description { state: "hidden" 0.0;
inherit: "default";
map.rotation.y: -180;
map.rotation.x: -180;
proxy.source_visible: 0;
map.backface_cull: 1;
}
}
}
programs {
program {
name: "show2";
signal: "e,action,go";
source: "e";
action: STATE_SET "hidden" 0.0;
transition: DECELERATE COMP_EFFECT_DURATION CURRENT;
target: "proxy";
}
program {
name: "hide2";
signal: "e,action,go";
source: "e";
action: STATE_SET "default" 0.0;
transition: DECELERATE COMP_EFFECT_DURATION CURRENT;
target: "proxy";
}
}
}
#endif

View File

@ -0,0 +1,142 @@
group { name: "e/widgets/configure/main";
images.image: "bevel_dark_out.png" COMP;
images.image: "separator_horiz.png" COMP;
parts {
part { name: "base"; type: RECT;
description { state: "default" 0.0;
color_class: "dialog_base";
color: 64 64 64 255;
}
}
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: "separator"; mouse_events: 0;
description { state: "default" 0.0;
min: 16 2;
max: 99999 2;
rel1.relative: 0.0 1.0;
rel1.offset: 0 0;
rel1.to_y: "e.swallow.content";
rel2.relative: 1.0 0.0;
rel2.offset: -1 -1;
rel2.to_y: "e.swallow.button";
image.normal: "separator_horiz.png";
fill.smooth: 0;
fixed: 0 1;
}
}
part { name: "e.swallow.content"; type: SWALLOW;
description { state: "default" 0.0;
rel1.offset: 4 4;
rel1.to_x: "base";
rel2.relative: 1.0 0.0;
rel2.offset: -5 -8;
rel2.to_y: "e.swallow.button";
}
}
part { name: "e.swallow.button"; type: SWALLOW;
description { state: "default" 0.0;
align: 0.5 1.0;
rel1.relative: 0.5 1.0;
rel1.offset: 0 -5;
rel2.relative: 0.5 1.0;
rel2.offset: -1 -5;
fixed: 1 1;
}
}
}
}
group { name: "e/modules/conf/main";
images.image: "button_normal.png" COMP;
images.image: "button_clicked.png" COMP;
images.image: "spanner_inset.png" COMP;
images.image: "spanner_hilight.png" COMP;
images.image: "spanner_glow.png" COMP;
min: 16 16;
max: 80 80;
parts {
part { name: "base";
description { state: "default" 0.0;
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;
}
description { state: "clicked" 0.0;
inherit: "default" 0.0;
image.normal: "button_clicked.png";
image.border: 5 5 4 6;
}
}
part { name: "spanner_hilight"; mouse_events: 0;
description { state: "default" 0.0;
aspect: 1.0 1.0; aspect_preference: BOTH;
max: 80 80;
rel1.offset: 0 1;
rel1.to: "spanner";
rel2.offset: -1 0;
rel2.to: "spanner";
image.normal: "spanner_hilight.png";
}
}
part { name: "spanner"; mouse_events: 0;
description { state: "default" 0.0;
aspect: 1.0 1.0; aspect_preference: BOTH;
max: 80 80;
rel1.offset: 4 4;
rel2.offset: -5 -5;
image.normal: "spanner_inset.png";
}
}
part { name: "spanner_glow"; mouse_events: 0;
description { state: "default" 0.0;
aspect: 1.0 1.0; aspect_preference: BOTH;
max: 80 80;
rel1.to: "spanner";
rel2.to: "spanner";
image.normal: "spanner_glow.png";
visible: 0;
}
description { state: "clicked" 0.0;
inherit: "default" 0.0;
visible: 1;
}
}
}
programs {
program {
signal: "mouse,down,1"; source: "base";
action: STATE_SET "clicked" 0.0;
target: "base";
}
program {
signal: "mouse,up,1"; source: "base";
action: STATE_SET "default" 0.0;
target: "base";
target: "spanner_glow";
}
program {
signal: "mouse,clicked,1*"; source: "base";
action: SIGNAL_EMIT "e,action,conf" "";
}
program {
signal: "mouse,in"; source: "base";
action: STATE_SET "clicked" 0.0;
target: "spanner_glow";
}
program {
signal: "mouse,out"; source: "base";
action: STATE_SET "default" 0.0;
target: "spanner_glow";
}
}
}

View File

@ -0,0 +1,703 @@
group { name: "e/modules/connman/main";
images.image: "slot_horiz_top.png" COMP;
images.image: "slot_horiz_bottom.png" COMP;
images.image: "wifi_base.png" COMP;
images.image: "wifi_sig_1.png" COMP;
images.image: "wifi_sig_2.png" COMP;
images.image: "wifi_sig_3.png" COMP;
images.image: "eth.png" COMP;
images.image: "exlclam.png" COMP;
images.image: "hole_tiny.png" COMP;
images.image: "led_tiny_orange.png" COMP;
images.image: "led_tiny_green.png" COMP;
images.image: "bt_base.png" COMP;
images.image: "bt_sig_1.png" COMP;
images.image: "bt_sig_2.png" COMP;
images.image: "cell_base.png" COMP;
images.image: "cell_sig_1.png" COMP;
images.image: "cell_sig_2.png" COMP;
images.image: "cell_sig_3.png" COMP;
images.image: "cell_sig_4.png" COMP;
parts {
part { name: "slot_bottom"; mouse_events: 0;
description { state: "default" 0.0;
rel1.to: "slot";
rel2.relative: 1.0 0.5;
rel2.to: "slot";
min: 0 3;
image.normal: "slot_horiz_bottom.png";
fixed: 0 1;
}
}
///////////////////////
part { name: "exclam_base"; mouse_events: 0;
clip_to: "clip_exclam";
description { state: "default" 0.0;
aspect: (71/144) (71/144); aspect_preference: BOTH;
align: 0.5 1.0;
rel2.relative: 1.0 0.5;
rel2.to_y: "slot";
image.normal: "exlclam.png";
}
}
///////////////////////
part { name: "eth_base"; mouse_events: 0;
clip_to: "clip_eth";
description { state: "default" 0.0;
aspect: (60/144) (60/144); aspect_preference: BOTH;
align: 0.5 1.0;
rel2.relative: 1.0 0.5;
rel2.to_y: "slot";
image.normal: "eth.png";
}
}
///////////////////////
part { name: "wifi_base"; mouse_events: 0;
clip_to: "clip_wifi";
description { state: "default" 0.0;
aspect: (160/144) (160/144); aspect_preference: BOTH;
align: 0.5 1.0;
rel2.relative: 1.0 0.5;
rel2.to_y: "slot";
image.normal: "wifi_base.png";
}
}
part { name: "wifi_1"; mouse_events: 0;
clip_to: "clip_wifi";
description { state: "default" 0.0;
rel1.to: "wifi_base";
rel2.to: "wifi_base";
image.normal: "wifi_sig_1.png";
visible: 0;
}
description { state: "partly" 0.0;
inherit: "default" 0.0;
color: 255 255 255 128;
visible: 1;
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
visible: 1;
}
}
part { name: "wifi_2"; mouse_events: 0;
clip_to: "clip_wifi";
description { state: "default" 0.0;
rel1.to: "wifi_base";
rel2.to: "wifi_base";
image.normal: "wifi_sig_2.png";
visible: 0;
}
description { state: "partly" 0.0;
inherit: "default" 0.0;
color: 255 255 255 128;
visible: 1;
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
visible: 1;
}
}
part { name: "wifi_3"; mouse_events: 0;
clip_to: "clip_wifi";
description { state: "default" 0.0;
rel1.to: "wifi_base";
rel2.to: "wifi_base";
image.normal: "wifi_sig_3.png";
visible: 0;
}
description { state: "partly" 0.0;
inherit: "default" 0.0;
color: 255 255 255 128;
visible: 1;
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
visible: 1;
}
}
///////////////////////
part { name: "bt_base"; mouse_events: 0;
clip_to: "clip_bt";
description { state: "default" 0.0;
aspect: (160/144) (160/144); aspect_preference: BOTH;
align: 0.5 1.0;
rel2.relative: 1.0 0.5;
rel2.to_y: "slot";
image.normal: "bt_base.png";
}
}
part { name: "bt_1"; mouse_events: 0;
clip_to: "clip_bt";
description { state: "default" 0.0;
rel1.to: "bt_base";
rel2.to: "bt_base";
image.normal: "bt_sig_1.png";
visible: 0;
}
description { state: "partly" 0.0;
inherit: "default" 0.0;
color: 255 255 255 128;
visible: 1;
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
visible: 1;
}
}
part { name: "bt_2"; mouse_events: 0;
clip_to: "clip_bt";
description { state: "default" 0.0;
rel1.to: "bt_base";
rel2.to: "bt_base";
image.normal: "bt_sig_2.png";
visible: 0;
}
description { state: "partly" 0.0;
inherit: "default" 0.0;
color: 255 255 255 128;
visible: 1;
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
visible: 1;
}
}
///////////////////////
part { name: "cell_base"; mouse_events: 0;
clip_to: "clip_cell";
description { state: "default" 0.0;
aspect: (160/144) (160/144); aspect_preference: BOTH;
align: 0.5 1.0;
rel2.relative: 1.0 0.5;
rel2.to_y: "slot";
image.normal: "cell_base.png";
}
}
part { name: "cell_1"; mouse_events: 0;
clip_to: "clip_cell";
description { state: "default" 0.0;
rel1.to: "cell_base";
rel2.to: "cell_base";
image.normal: "cell_sig_1.png";
visible: 0;
}
description { state: "partly" 0.0;
inherit: "default" 0.0;
color: 255 255 255 128;
visible: 1;
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
visible: 1;
}
}
part { name: "cell_2"; mouse_events: 0;
clip_to: "clip_cell";
description { state: "default" 0.0;
rel1.to: "cell_base";
rel2.to: "cell_base";
image.normal: "cell_sig_2.png";
visible: 0;
}
description { state: "partly" 0.0;
inherit: "default" 0.0;
color: 255 255 255 128;
visible: 1;
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
visible: 1;
}
}
part { name: "cell_3"; mouse_events: 0;
clip_to: "clip_cell";
description { state: "default" 0.0;
rel1.to: "cell_base";
rel2.to: "cell_base";
image.normal: "cell_sig_3.png";
visible: 0;
}
description { state: "partly" 0.0;
inherit: "default" 0.0;
color: 255 255 255 128;
visible: 1;
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
visible: 1;
}
}
part { name: "cell_4"; mouse_events: 0;
clip_to: "clip_cell";
description { state: "default" 0.0;
rel1.to: "cell_base";
rel2.to: "cell_base";
image.normal: "cell_sig_4.png";
visible: 0;
}
description { state: "partly" 0.0;
inherit: "default" 0.0;
color: 255 255 255 128;
visible: 1;
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
visible: 1;
}
}
///////////////////////
part { name: "slot"; mouse_events: 0;
description { state: "default" 0.0;
rel1.offset: 0 -1;
rel1.relative: (21/160) 1.0;
rel2.offset: -1 -1;
rel2.relative: (140/160) 1.0;
align: 0.5 1.0;
min: 0 6;
image.normal: "slot_horiz_top.png";
fixed: 0 1;
}
}
part { name: "hole"; mouse_events: 0;
description { state: "default" 0.0;
rel1.offset: -4 -4;
rel1.relative: 1.0 1.0;
rel2.offset: -4 -4;
align: 1.0 1.0;
min: 4 4;
max: 4 4;
image.normal: "hole_tiny.png";
fixed: 1 1;
}
}
part { name: "clip_exclam"; type: RECT;
description { state: "default" 0.0;
visible: 1;
}
description { state: "wifi" 0.0;
visible: 0;
}
description { state: "eth" 0.0;
visible: 0;
}
description { state: "bt" 0.0;
visible: 0;
}
description { state: "cell" 0.0;
visible: 0;
}
}
part { name: "clip_wifi"; type: RECT;
description { state: "default" 0.0;
visible: 0;
}
description { state: "wifi" 0.0;
visible: 1;
}
description { state: "eth" 0.0;
visible: 0;
}
description { state: "bt" 0.0;
visible: 0;
}
description { state: "cell" 0.0;
visible: 0;
}
}
part { name: "clip_eth"; type: RECT;
description { state: "default" 0.0;
visible: 0;
}
description { state: "wifi" 0.0;
visible: 0;
}
description { state: "eth" 0.0;
visible: 1;
}
description { state: "bt" 0.0;
visible: 0;
}
description { state: "cell" 0.0;
visible: 0;
}
}
part { name: "clip_bt"; type: RECT;
description { state: "default" 0.0;
visible: 0;
}
description { state: "wifi" 0.0;
visible: 0;
}
description { state: "eth" 0.0;
visible: 0;
}
description { state: "bt" 0.0;
visible: 1;
}
description { state: "cell" 0.0;
visible: 0;
}
}
part { name: "clip_cell"; type: RECT;
description { state: "default" 0.0;
visible: 0;
}
description { state: "wifi" 0.0;
visible: 0;
}
description { state: "eth" 0.0;
visible: 0;
}
description { state: "bt" 0.0;
visible: 0;
}
description { state: "cell" 0.0;
visible: 1;
}
}
part { name: "led"; mouse_events: 0;
description { state: "default" 0.0;
rel1.to: "hole";
rel2.to: "hole";
min: 10 10;
max: 10 10;
image.normal: "led_tiny_orange.png";
fixed: 1 1;
visible: 0;
}
description { state: "connected" 0.0;
inherit: "default" 0.0;
image.normal: "led_tiny_orange.png";
visible: 1;
}
description { state: "online" 0.0;
inherit: "default" 0.0;
image.normal: "led_tiny_green.png";
visible: 1;
}
}
part { name: "event"; type: RECT;
description { state: "default" 0.0;
color: 0 0 0 0;
}
}
}
#define SCRIPT_MESSAGE() \
script { \
public message(Msg_Type:type, id, ...) { \
if ((type == MSG_INT_SET) && (id == 1)) { \
new state = getarg(2), signl = getarg(3); \
if (signl <= 14) { \
set_state(PART:"wifi_1", "default", 0.0); \
set_state(PART:"wifi_2", "default", 0.0); \
set_state(PART:"wifi_3", "default", 0.0); \
} \
else if (signl <= 28) { \
set_state(PART:"wifi_1", "partly", 0.0); \
set_state(PART:"wifi_2", "default", 0.0); \
set_state(PART:"wifi_3", "default", 0.0); \
} \
else if (signl <= 42) { \
set_state(PART:"wifi_1", "visible", 0.0); \
set_state(PART:"wifi_2", "default", 0.0); \
set_state(PART:"wifi_3", "default", 0.0); \
} \
else if (signl <= 57) { \
set_state(PART:"wifi_1", "visible", 0.0); \
set_state(PART:"wifi_2", "partly", 0.0); \
set_state(PART:"wifi_3", "default", 0.0); \
} \
else if (signl <= 71) { \
set_state(PART:"wifi_1", "visible", 0.0); \
set_state(PART:"wifi_2", "visible", 0.0); \
set_state(PART:"wifi_3", "default", 0.0); \
} \
else if (signl <= 85) { \
set_state(PART:"wifi_1", "visible", 0.0); \
set_state(PART:"wifi_2", "visible", 0.0); \
set_state(PART:"wifi_3", "partly", 0.0); \
} \
else { \
set_state(PART:"wifi_1", "visible", 0.0); \
set_state(PART:"wifi_2", "visible", 0.0); \
set_state(PART:"wifi_3", "visible", 0.0); \
} \
if (signl <= 20) { \
set_state(PART:"bt_1", "default", 0.0); \
set_state(PART:"bt_2", "default", 0.0); \
} \
else if (signl <= 40) { \
set_state(PART:"bt_1", "partly", 0.0); \
set_state(PART:"bt_2", "default", 0.0); \
} \
else if (signl <= 60) { \
set_state(PART:"bt_1", "visible", 0.0); \
set_state(PART:"bt_2", "default", 0.0); \
} \
else if (signl <= 80) { \
set_state(PART:"bt_1", "visible", 0.0); \
set_state(PART:"bt_2", "partly", 0.0); \
} \
else { \
set_state(PART:"bt_1", "visible", 0.0); \
set_state(PART:"bt_2", "visible", 0.0); \
} \
if (signl <= 11) { \
set_state(PART:"cell_1", "default", 0.0); \
set_state(PART:"cell_2", "default", 0.0); \
set_state(PART:"cell_3", "default", 0.0); \
set_state(PART:"cell_4", "default", 0.0); \
} \
else if (signl <= 22) { \
set_state(PART:"cell_1", "partly", 0.0); \
set_state(PART:"cell_2", "default", 0.0); \
set_state(PART:"cell_3", "default", 0.0); \
set_state(PART:"cell_4", "default", 0.0); \
} \
else if (signl <= 33) { \
set_state(PART:"cell_1", "visible", 0.0); \
set_state(PART:"cell_2", "default", 0.0); \
set_state(PART:"cell_3", "default", 0.0); \
set_state(PART:"cell_4", "default", 0.0); \
} \
else if (signl <= 44) { \
set_state(PART:"cell_1", "visible", 0.0); \
set_state(PART:"cell_2", "partly", 0.0); \
set_state(PART:"cell_3", "default", 0.0); \
set_state(PART:"cell_4", "default", 0.0); \
} \
else if (signl <= 55) { \
set_state(PART:"cell_1", "visible", 0.0); \
set_state(PART:"cell_2", "visible", 0.0); \
set_state(PART:"cell_3", "default", 0.0); \
set_state(PART:"cell_4", "default", 0.0); \
} \
else if (signl <= 66) { \
set_state(PART:"cell_1", "visible", 0.0); \
set_state(PART:"cell_2", "visible", 0.0); \
set_state(PART:"cell_3", "partly", 0.0); \
set_state(PART:"cell_4", "default", 0.0); \
} \
else if (signl <= 77) { \
set_state(PART:"cell_1", "visible", 0.0); \
set_state(PART:"cell_2", "visible", 0.0); \
set_state(PART:"cell_3", "visible", 0.0); \
set_state(PART:"cell_4", "default", 0.0); \
} \
else if (signl <= 88) { \
set_state(PART:"cell_1", "visible", 0.0); \
set_state(PART:"cell_2", "visible", 0.0); \
set_state(PART:"cell_3", "visible", 0.0); \
set_state(PART:"cell_4", "partly", 0.0); \
} \
else { \
set_state(PART:"cell_1", "visible", 0.0); \
set_state(PART:"cell_2", "visible", 0.0); \
set_state(PART:"cell_3", "visible", 0.0); \
set_state(PART:"cell_4", "visible", 0.0); \
} \
if ((state == 2)) { \
set_state(PART:"led", "default", 0.0); \
run_program(PROGRAM:"connecting"); \
return; } \
else if ((state == 3)) { return; } \
else if ((state == 4)) { set_state(PART:"led", "connected", 0.0); } \
else if ((state == 5)) { set_state(PART:"led", "online", 0.0); } \
else { set_state(PART:"led", "default", 0.0); \
} } } }
SCRIPT_MESSAGE()
programs {
program { name: "connecting";
action: STATE_SET "connected" 0.0;
target: "led";
in: 0.3 0.0;
after: "connecting2";
}
program { name: "connecting2";
action: STATE_SET "default" 0.0;
target: "led";
in: 0.3 0.0;
after: "connecting";
}
// program {
// signal: "e,available"; source: "e";
// }
// program {
// signal: "e,unavailable"; source: "e";
// }
program {
signal: "e,changed,connected,no"; source: "e";
action: STATE_SET "default" 0.0;
target: "clip_exclam";
target: "clip_wifi";
target: "clip_eth";
target: "clip_bt";
target: "clip_cell";
}
program {
signal: "e,changed,technology,wifi"; source: "e";
action: STATE_SET "wifi" 0.0;
target: "clip_exclam";
target: "clip_wifi";
target: "clip_eth";
target: "clip_bt";
target: "clip_cell";
}
program {
signal: "e,changed,technology,ethernet"; source: "e";
action: STATE_SET "eth" 0.0;
target: "clip_exclam";
target: "clip_wifi";
target: "clip_eth";
target: "clip_bt";
target: "clip_cell";
}
program {
signal: "e,changed,technology,bluetooth"; source: "e";
action: STATE_SET "bt" 0.0;
target: "clip_exclam";
target: "clip_wifi";
target: "clip_eth";
target: "clip_bt";
target: "clip_cell";
}
program {
signal: "e,changed,technology,cellular"; source: "e";
action: STATE_SET "cell" 0.0;
target: "clip_exclam";
target: "clip_wifi";
target: "clip_eth";
target: "clip_bt";
target: "clip_cell";
}
program {
signal: "e,changed,technology,other"; source: "e";
action: STATE_SET "default" 0.0;
target: "clip_exclam";
target: "clip_wifi";
target: "clip_eth";
target: "clip_bt";
target: "clip_cell";
}
}
}
group { name: "e/modules/connman/icon/wifi";
inherit: "e/modules/connman/main";
SCRIPT_MESSAGE()
programs {
program {
signal: "load"; source: "";
action: STATE_SET "wifi" 0.0;
target: "clip_exclam";
target: "clip_wifi";
target: "clip_eth";
target: "clip_bt";
target: "clip_cell";
}
}
}
group { name: "e/modules/connman/icon/ethernet";
inherit: "e/modules/connman/main";
SCRIPT_MESSAGE()
programs {
program {
signal: "load"; source: "";
action: STATE_SET "eth" 0.0;
target: "clip_exclam";
target: "clip_wifi";
target: "clip_eth";
target: "clip_bt";
target: "clip_cell";
}
}
}
group { name: "e/modules/connman/icon/bluetooth";
inherit: "e/modules/connman/main";
SCRIPT_MESSAGE()
programs {
program {
signal: "load"; source: "";
action: STATE_SET "bt" 0.0;
target: "clip_exclam";
target: "clip_wifi";
target: "clip_eth";
target: "clip_bt";
target: "clip_cell";
}
}
}
group { name: "e/modules/connman/icon/cellular";
inherit: "e/modules/connman/main";
SCRIPT_MESSAGE()
programs {
program {
signal: "load"; source: "";
action: STATE_SET "cell" 0.0;
target: "clip_exclam";
target: "clip_wifi";
target: "clip_eth";
target: "clip_bt";
target: "clip_cell";
}
}
}
group { name: "e/modules/connman/end";
images.image: "glow_lock_locked.png" COMP;
images.image: "glow_lock_unlocked.png" COMP;
images.image: "glow_lock_double.png" COMP;
parts {
part { name: "base"; mouse_events: 0;
description { state: "default" 0.0;
image.normal: "glow_lock_locked.png";
max: 16 16;
aspect: 1.0 1.0; aspect_preference: BOTH;
visible: 0;
}
description { state: "none" 0.0;
inherit: "default" 0.0;
image.normal: "glow_lock_unlocked.png";
visible: 1;
}
description { state: "wep" 0.0;
inherit: "default" 0.0;
image.normal: "glow_lock_locked.png";
visible: 1;
}
description { state: "psk" 0.0;
inherit: "default" 0.0;
image.normal: "glow_lock_double.png";
visible: 1;
}
}
}
programs {
program {
signal: "e,security,off"; source: "e";
action: STATE_SET "default" 0.0;
target: "base";
}
program {
signal: "e,security,none"; source: "e";
action: STATE_SET "none" 0.0;
target: "base";
}
program {
signal: "e,security,wep"; source: "e";
action: STATE_SET "wep" 0.0;
target: "base";
}
program {
signal: "e,security,psk"; source: "e";
action: STATE_SET "psk" 0.0;
target: "base";
}
}
}

View File

@ -0,0 +1,353 @@
group { name: "e/modules/cpufreq/main";
images.image: "tacho_base.png" COMP;
images.image: "inset_round_hilight.png" COMP;
images.image: "inset_round_shadow.png" COMP;
images.image: "inset_round_shading.png" COMP;
set { name: "tacho_hand_big";
image { image: "tacho_hand_big.png" COMP; size: 73 73 99999 99999; }
image { image: "tacho_hand_big2.png" COMP; size: 37 37 72 72; }
image { image: "tacho_hand_big3.png" COMP; size: 19 19 36 36; }
image { image: "tacho_hand_big4.png" COMP; size: 0 0 18 18; }
}
images.image: "tacho_hand_big_shadow.png" COMP;
set { name: "tacho_hand_small_min";
image { image: "tacho_hand_small_min.png" COMP; size: 73 73 99999 99999; }
image { image: "tacho_hand_small_min2.png" COMP; size: 37 37 72 72; }
image { image: "tacho_hand_small_min3.png" COMP; size: 19 19 36 36; }
image { image: "tacho_hand_small_min4.png" COMP; size: 0 0 18 18; }
}
images.image: "tacho_hand_small_shadow.png" COMP;
set { name: "knob";
image { image: "knob_sz_24.png" COMP; size: 31 31 32 32; }
image { image: "knob_sz_22.png" COMP; size: 29 29 30 30; }
image { image: "knob_sz_20.png" COMP; size: 27 27 28 28; }
image { image: "knob_sz_18.png" COMP; size: 25 25 26 26; }
image { image: "knob_sz_16.png" COMP; size: 23 23 24 24; }
image { image: "knob_sz_14.png" COMP; size: 21 21 22 22; }
image { image: "knob_sz_12.png" COMP; size: 19 19 20 20; }
image { image: "knob_sz_10.png" COMP; size: 17 17 18 18; }
image { image: "knob_sz_08.png" COMP; size: 15 15 16 16; }
image { image: "knob_sz_06.png" COMP; size: 13 13 14 14; }
image { image: "knob_sz_04.png" COMP; size: 0 0 12 12; }
}
min: 16 16;
max: 160 160;
script {
public available_frequencies;
public available_governors;
public cur_freq_old;
public cur_freq_new;
public cur_freq_now;
public cur_freq_anim;
public min_freq_old;
public min_freq_new;
public min_freq_now;
public max_freq_old;
public max_freq_new;
public max_freq_now;
public slide_cur_freq(val, Float:v) {
new Float:freq, Float:min_freq, Float:max_freq, Float:tf;
new f, f0, f1;
v = (1.0 - cos(v * 3.141592654)) / 2.0;
min_freq = fetch_int(available_frequencies, 0);
max_freq = fetch_int(available_frequencies,
count(available_frequencies) - 1);
f0 = get_int(cur_freq_old);
f1 = get_int(cur_freq_new);
f = f1 - f0;
freq = float(f) * v;
f = round(freq);
f = f + f0;
set_int(cur_freq_now, f);
freq = (float(f) - min_freq) / (max_freq - min_freq);
tf = (freq * 225.0) - 135.0;
custom_state(PART:"meter", "default", 0.0);
set_state_val(PART:"meter", STATE_MAP_ROT_Z, tf);
set_state(PART:"meter", "custom", 0.0);
custom_state(PART:"meter_sh", "default", 0.0);
set_state_val(PART:"meter_sh", STATE_MAP_ROT_Z, tf);
set_state(PART:"meter_sh", "custom", 0.0);
f0 = get_int(min_freq_old);
f1 = get_int(min_freq_new);
f = f1 - f0;
freq = float(f) * v;
f = round(freq);
f = f + f0;
set_int(min_freq_now, f);
freq = (float(f) - min_freq) / (max_freq - min_freq);
tf = (freq * 225.0) - 135.0;
custom_state(PART:"meter_min", "default", 0.0);
set_state_val(PART:"meter_min", STATE_MAP_ROT_Z, tf);
set_state(PART:"meter_min", "custom", 0.0);
custom_state(PART:"meter_min_sh", "default", 0.0);
set_state_val(PART:"meter_min_sh", STATE_MAP_ROT_Z, tf);
set_state(PART:"meter_min_sh", "custom", 0.0);
f0 = get_int(max_freq_old);
f1 = get_int(max_freq_new);
f = f1 - f0;
freq = float(f) * v;
f = round(freq);
f = f + f0;
set_int(max_freq_now, f);
freq = (float(f) - min_freq) / (max_freq - min_freq);
tf = (freq * 225.0) - 135.0;
custom_state(PART:"meter_max", "default", 0.0);
set_state_val(PART:"meter_max", STATE_MAP_ROT_Z, tf);
set_state(PART:"meter_max", "custom", 0.0);
custom_state(PART:"meter_max_sh", "default", 0.0);
set_state_val(PART:"meter_max_sh", STATE_MAP_ROT_Z, tf);
set_state(PART:"meter_max_sh", "custom", 0.0);
if (v >= 1.0) {
set_int(cur_freq_anim, 0);
return 0;
}
return 1;
}
public message(Msg_Type:type, id, ...) {
if ((type == MSG_INT_SET) && (id == 1)) { // add an available freq
while (count(available_frequencies) > 0) {
remove(available_frequencies, 0);
}
for (new i = 2; i < numargs(); i++) {
append_int(available_frequencies, getarg(i));
}
}
else if ((type == MSG_STRING_SET) && (id == 2)) { // add a governor
new text[100];
while (count(available_governors) > 0) {
remove(available_governors, 0);
}
for (new i = 2; i < numargs(); i++) {
snprintf(text, 100, "%s", getarg(i));
append_str(available_governors, text);
}
} else if ((type == MSG_INT_SET) && (id == 3)) { // avg freq
new f;
new ani, curf, minf, maxf;
new text[100];
f = getarg(2);
if (f < 1000000) {
f += 500;
snprintf(text, 100, "%i", f / 1000);
} else {
f += 50000;
snprintf(text, 100, "%i.%i", f / 1000000,
(f % 1000000) / 100000);
}
set_text(PART:"readout", text);
ani = get_int(cur_freq_anim);
if (ani > 0) cancel_anim(ani);
ani = anim(0.25, "slide_cur_freq", 0);
set_int(cur_freq_anim, ani);
f = getarg(2);
curf = get_int(cur_freq_now);
set_int(cur_freq_old, curf);
set_int(cur_freq_new, f);
f = getarg(4);
minf = get_int(min_freq_now);
set_int(min_freq_old, minf);
set_int(min_freq_new, f);
f = getarg(5);
maxf = get_int(max_freq_now);
set_int(max_freq_old, maxf);
set_int(max_freq_new, f);
} else if ((type == MSG_STRING) && (id == 4)) {
new text[100];
snprintf(text, 100, "%s", getarg(2));
}
}
}
parts {
part { name: "fade_clip"; type: RECT;
description { state: "default" 0.0;
color: 255 255 255 255;
}
description { state: "faded" 0.0;
color: 255 255 255 128;
}
}
part { name: "base-sh";
description { state: "default" 0.0;
rel1.to: "base";
rel1.offset: 0 -1;
rel2.to: "base";
rel2.offset: -1 -2;
image.normal: "inset_round_shadow.png";
}
}
part { name: "base-hi";
description { state: "default" 0.0;
rel1.to: "base";
rel1.offset: 0 1;
rel2.to: "base";
rel2.offset: -1 0;
image.normal: "inset_round_hilight.png";
}
}
part { name: "base";
description { state: "default" 0.0;
rel1.relative: (25/380) (25/380);
rel2.relative: (365/380) (365/380);
aspect: 1.0 1.0; aspect_preference: BOTH;
image.normal: "tacho_base.png";
}
}
part { name: "readout"; type: TEXT; mouse_events: 0;
scale: 1;
effect: SHADOW BOTTOM;
clip_to: "fade_clip";
description { state: "default" 0.0;
rel1.to: "knob2";
rel1.relative: 1.0 1.0;
rel1.offset: -2 -2;
rel2.relative: 0.75 0.75;
color: 255 255 255 255;
color3: 0 0 0 128;
color_class: "module_label";
text { font: FN; size: 6;
min: 1 1;
text_class: "module_small";
}
}
}
part { name: "meter_min_sh"; mouse_events: 0;
clip_to: "fade_clip";
description { state: "default" 0.0;
image.normal: "tacho_hand_small_shadow.png";
rel1.to: "meter_sh";
rel2.to: "meter_sh";
map {
on: 1;
rotation.center: "meter_min_sh";
}
}
}
part { name: "meter_min"; mouse_events: 0;
clip_to: "fade_clip";
description { state: "default" 0.0;
image.normal: "tacho_hand_small_min";
color: 51 153 255 255;
rel1.to: "base";
rel2.to: "base";
map {
on: 1;
rotation.center: "base";
}
}
}
part { name: "meter_max_sh"; mouse_events: 0;
clip_to: "fade_clip";
description { state: "default" 0.0;
image.normal: "tacho_hand_small_shadow.png";
rel1.to: "meter_sh";
rel2.to: "meter_sh";
map {
on: 1;
rotation.center: "meter_max_sh";
}
}
}
part { name: "meter_max"; mouse_events: 0;
clip_to: "fade_clip";
description { state: "default" 0.0;
image.normal: "tacho_hand_small_min";
color: 255 153 51 255;
rel1.to: "base";
rel2.to: "base";
map {
on: 1;
rotation.center: "base";
}
}
}
part { name: "meter_sh"; mouse_events: 0;
clip_to: "fade_clip";
description { state: "default" 0.0;
image.normal: "tacho_hand_big_shadow.png";
rel1.to: "meter";
rel1.relative: 0.0 (15/380);
rel1.offset: 0 1;
rel2.to: "meter";
rel2.relative: 1.0 (395/380);
rel2.offset: -1 0;
map {
on: 1;
rotation.center: "meter_sh";
}
}
}
part { name: "meter"; mouse_events: 0;
clip_to: "fade_clip";
description { state: "default" 0.0000;
color: 255 0 0 255;
image.normal: "tacho_hand_big";
rel1.to: "base";
rel2.to: "base";
map {
on: 1;
rotation.center: "base";
}
}
}
part { name: "over"; mouse_events: 0;
description { state: "default" 0.0;
rel1.to: "base";
rel2.to: "base";
image.normal: "inset_round_shading.png";
}
}
part { name: "knob"; type: SPACER;
description { state: "default" 0.0;
rel1.relative: (140/340) (140/340);
rel1.to: "base";
rel2.relative: (205/340) (205/340);
rel2.to: "base";
min: 4 4;
step: 2 2;
max: 24 24;
}
}
part { name: "knob2";
description { state: "default" 0.0;
rel1.offset: -4 -4;
rel1.to: "knob";
rel2.offset: 3 3;
rel2.to: "knob";
min: 12 12;
max: 32 32;
image.normal: "knob";
}
}
}
programs {
program {
signal: "e,state,enabled"; source: "e";
action: STATE_SET "default" 0.0;
target: "fade_clip";
}
program {
signal: "e,state,disabled"; source: "e";
action: STATE_SET "faded" 0.0;
target: "fade_clip";
}
}
}

View File

@ -0,0 +1,146 @@
group { name: "e/widgets/cslider";
images.image: "inset_shadow.png" COMP;
images.image: "bevel_in.png" COMP;
images.image: "col_sel_end_bottom.png" COMP;
images.image: "col_sel_end_top.png" COMP;
images.image: "col_sel_end_left.png" COMP;
images.image: "col_sel_end_right.png" COMP;
parts {
part { name: "bg"; type: RECT;
description { state: "default" 0.0;
rel1.to: "e.swallow.content";
rel2.to: "e.swallow.content";
color: 48 48 48 255;
}
}
part { name: "clipper"; type: RECT;
description { state: "default" 0.0;
rel1.to: "e.swallow.content";
rel2.to: "e.swallow.content";
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
color: 255 255 255 64;
}
}
part { name: "e.swallow.content"; type: SWALLOW;
clip_to: "clipper";
description { state: "default" 0.0;
rel1.offset: 3 3;
rel2.offset: -4 -4;
}
}
part { name: "e.dragable.cursor"; type: RECT;
clip_to: "clipper";
dragable.confine: "e.swallow.content";
dragable.x: 1 1 0;
dragable.y: -1 1 0;
description { state: "default" 0.0;
min: 1 1;
max: 1 1;
fixed: 1 1;
visible: 0;
rel1.to: "e.swallow.content";
rel1.relative: 0.5 0.0;
rel2.to: "e.swallow.content";
rel2.relative: 0.5 0.5;
color: 255 255 255 150;
}
}
part { name: "shadow"; mouse_events: 0;
description { state: "default" 0.0;
image.normal: "inset_shadow.png";
image.border: 5 5 7 3;
image.middle: 0;
rel1.to: "bg";
rel2.to: "bg";
fill.smooth: 0;
color: 255 255 255 128;
}
}
part { name: "end1"; mouse_events: 0;
clip_to: "clipper";
description { state: "default" 0.0;
image.normal: "col_sel_end_top.png";
FIXED_SIZE(11, 8)
align: 0.5 0.0;
rel1.to: "cursor";
rel2.to: "cursor";
}
description { state: "vertical" 0.0;
inherit: "default" 0.0;
image.normal: "col_sel_end_left.png";
FIXED_SIZE(8, 11)
align: 0.0 0.5;
}
}
part { name: "end2"; mouse_events: 0;
clip_to: "clipper";
description { state: "default" 0.0;
image.normal: "col_sel_end_bottom.png";
FIXED_SIZE(11, 8)
align: 0.5 1.0;
rel1.to: "cursor";
rel2.to: "cursor";
}
description { state: "vertical" 0.0;
inherit: "default" 0.0;
image.normal: "col_sel_end_right.png";
FIXED_SIZE(8, 11)
align: 1.0 0.5;
}
}
part { name: "cursor"; type: RECT; mouse_events: 0;
description { state: "default" 0.0;
rel1.to_x: "e.dragable.cursor";
rel1.to_y: "e.swallow.content";
rel2.to_x: "e.dragable.cursor";
rel2.to_y: "e.swallow.content";
color: 255 255 255 150;
}
description { state: "vertical" 0.0;
inherit: "default" 0.0;
rel1.to_x: "e.swallow.content";
rel1.to_y: "e.dragable.cursor";
rel2.to_x: "e.swallow.content";
rel2.to_y: "e.dragable.cursor";
}
}
part { name: "inset"; mouse_events: 0;
description { state: "default" 0.0;
image.normal: "bevel_in.png";
image.border: 1 1 1 1;
image.middle: 0;
rel1.to: "bg";
rel1.offset: -1 -1;
rel2.to: "bg";
rel2.offset: 0 0;
fill.smooth: 0;
}
}
}
programs {
program {
signal: "e,state,direction,v"; source: "e";
action: STATE_SET "vertical" 0.0;
target: "cursor";
target: "end1";
target: "end2";
}
program {
signal: "mouse,clicked,1"; source: "inset";
action: SIGNAL_EMIT "e,action,click" "";
}
program {
signal: "e,state,disabled"; source: "e";
action: STATE_SET "disabled" 0.0;
target: "clipper";
}
program {
signal: "e,state,enabled"; source: "e";
action: STATE_SET "default" 0.0;
target: "clipper";
}
}
}

View File

@ -0,0 +1,301 @@
group { name: "e/desklock/background";
images.image: "bg_radgrad.png" COMP;
images.image: "dot_pattern.png" COMP;
parts {
part { name: "bg";
description { state: "default" 0.0;
image.normal: "bg_radgrad.png";
image.scale_hint: STATIC;
fill.smooth: 0;
ASPECT_FILL((1024/653))
}
}
part { name: "pat";
description { state: "default" 0.0;
image.normal: "dot_pattern.png";
TILED_PATTERN(256, 256)
}
}
part { name: "e.swallow.login_box"; type: SWALLOW;
description { state: "default" 0.0;
}
}
}
}
group { name: "e/desklock/login_box";
images.image: "inset_shadow.png" COMP;
images.image: "bevel_in.png" COMP;
images.image: "white_bar_vert_glow.png" COMP;
images.image: "logo_blue_small.png" COMP;
images.image: "logo_blue_small_glow.png" COMP;
images.image: "knob_round_busy.png" COMP;
images.image: "glow_round_corners.png" COMP;
parts {
part { name: "logo";
description { state: "default" 0.0;
image.normal: "logo_blue_small.png";
rel1.relative: 0.5 0.5;
rel2.relative: 0.5 0.5;
FIXED_SIZE(100, 127)
}
}
part { name: "logo_glow";
description { state: "default" 0.0;
image.normal: "logo_blue_small_glow.png";
rel1.to: "logo";
rel2.to: "logo";
color: 255 255 255 128;
}
description { state: "active" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255;
}
}
part { name: "bg"; type: RECT;
description { state: "default" 0.0;
rel1.to: "inset";
rel1.offset: 1 1;
rel2.to: "inset";
rel2.offset: -2 -2;
color: 48 48 48 255;
}
}
part { name: "clipper"; type: RECT;
description { state: "default" 0.0;
rel1.to: "bg";
rel2.to: "bg";
}
}
part { name: "e.text.title"; type: TEXT;
effect: SHADOW BOTTOM;
scale: 1;
description { state: "default" 0.0;
rel1.relative: 0.0 1.0;
rel1.offset: 3 3;
rel1.to_y: "logo";
rel2.relative: 1.0 1.0;
rel2.offset: -4 3;
rel2.to_y: "logo";
color: 255 255 255 255;
color3: 0 0 0 128;
align: 0.5 0.0;
text { font: FNBD; size: 10;
min: 0 1;
align: 0.5 0.5;
text_class: "desklock_title";
}
fixed: 0 1;
}
}
part { name: "selection"; type: RECT; mouse_events: 0;
description { state: "default" 0.0;
rel1.to: "e.text.password";
rel2.to: "e.text.password";
color: 51 153 255 255;
visible: 0;
}
description { state: "active" 0.0;
inherit: "default" 0.0;
visible: 1;
}
}
part { name: "e.text.password"; type: TEXT;
effect: SHADOW BOTTOM;
scale: 1;
clip_to: "clipper";
description { state: "default" 0.0;
rel1.relative: 0.0 1.0;
rel1.offset: 3 10;
rel1.to_x: "inset";
rel1.to_y: "e.text.title";
rel2.relative: 0.0 1.0;
rel2.offset: 3 10;
rel2.to_x: "inset";
rel2.to_y: "e.text.title";
color: 255 255 255 255;
color3: 0 0 0 128;
color_class: "desklock_passwd";
align: 0.0 0.0;
text { font: FN; size: 10;
min: 1 1;
align: 0.0 0.5;
text_class: "desklock_passwd";
}
fixed: 1 1;
}
}
part { name: "cursor"; mouse_events: 0;
clip_to: "clipper";
description { state: "default" 0.0;
rel1.to: "e.text.password";
rel1.relative: 1.0 0.0;
rel1.offset: -4 -4;
rel2.to: "e.text.password";
rel2.offset: 3 3;
image.normal: "white_bar_vert_glow.png";
image.border: 4 4 4 4;
fill.smooth: 0;
color: 255 255 255 0;
min: 9 10;
fixed: 1 1;
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255;
}
}
part { name: "shadow"; mouse_events: 0; repeat_events: 1;
description { state: "default" 0.0;
image.normal: "inset_shadow.png";
image.border: 5 5 7 3;
image.middle: 0;
rel1.to: "bg";
rel2.to: "bg";
fill.smooth: 0;
color: 255 255 255 128;
}
}
part { name: "inset"; mouse_events: 0; repeat_events: 1;
description { state: "default" 0.0;
rel1.relative: 0.5 0.0;
rel1.offset: -100 -4;
rel1.to_x: "logo";
rel1.to_y: "e.text.password";
rel2.relative: 0.5 1.0;
rel2.offset: 99 3;
rel2.to_x: "logo";
rel2.to_y: "e.text.password";
align: 0.5 0.5;
image.normal: "bevel_in.png";
image.border: 1 1 1 1;
image.middle: 0;
fill.smooth: 0;
}
}
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";
description { state: "default" 0.0;
fixed: 1 1;
image.normal: "knob_round_busy.png";
min: 40 40;
max: 40 40;
rel1.relative: 0.5 1.0;
rel1.offset: 0 3;
rel1.to_y: "inset";
rel2.relative: 0.5 1.0;
rel2.offset: -1 3;
rel2.to_y: "inset";
align: 0.5 0.0;
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: "logo_pulse";
signal: "show"; source: "";
in: 3.0 5.0;
action: STATE_SET "active" 0.0;
target: "logo_glow";
transition: BOUNCE 0.8 0.5 6;
after: "logo_pulse2";
}
program { name: "logo_pulse2";
action: STATE_SET "default" 0.0;
target: "logo_glow";
transition: SINUSOIDAL 2.4;
after: "logo_pulse";
}
program { name: "cursor_show";
signal: "show"; source: "";
action: STATE_SET "visible" 0.0;
target: "cursor";
after: "cursor_show_timer";
}
program { name: "cursor_hide";
action: STATE_SET "default" 0.0;
target: "cursor";
transition: SINUSOIDAL 0.2;
after: "cursor_hide_timer";
}
program { name: "cursor_show_timer";
in: 0.5 0.0;
after: "cursor_hide";
}
program { name: "cursor_hide_timer";
in: 0.2 0.0;
after: "cursor_show";
}
program { name: "spin";
signal: "e,state,checking"; source: "e";
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: "spin";
}
program {
signal: "e,state,checking"; source: "e";
action: STATE_SET "active" 0.0;
transition: SINUSOIDAL 0.25;
target: "busy_clip";
}
program {
signal: "e,state,invalid"; source: "e";
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";
}
program {
signal: "e,state,selected"; source: "e";
action: STATE_SET "active" 0.0;
target: "selection";
}
program {
signal: "e,state,unselected"; source: "e";
action: STATE_SET "default" 0.0;
target: "selection";
}
}
}

View File

@ -0,0 +1,17 @@
group { name: "e/widgets/deskpreview/desk";
inherit: "e/widgets/preview";
parts {
part { name: "e.swallow.content";
description { state: "default" 0.0;
rel1.offset: 3 3;
rel2.offset: -4 -4;
}
}
part { name: "e.event.menu"; type: RECT;
insert_after: "inset";
description { state: "default" 0.0;
color: 0 0 0 0;
}
}
}
}

View File

@ -0,0 +1,110 @@
group { name: "e/widgets/dialog/main";
images.image: "bevel_dark_out.png" COMP;
images.image: "separator_horiz.png" COMP;
parts {
part { name: "base"; type: RECT;
description { state: "default" 0.0;
color_class: "dialog_base";
color: 64 64 64 255;
}
}
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: "separator"; mouse_events: 0;
description { state: "default" 0.0;
min: 16 2;
max: 99999 2;
rel1.relative: 0.0 1.0;
rel1.offset: 0 0;
rel1.to_y: "e.swallow.content";
rel2.relative: 1.0 0.0;
rel2.offset: -1 -1;
rel2.to_y: "e.swallow.buttons";
image.normal: "separator_horiz.png";
fill.smooth: 0;
fixed: 0 1;
}
}
part { name: "e.swallow.icon"; type: SWALLOW;
description { state: "default" 0.0;
align: 0.0 0.5;
rel1.relative: 0.0 0.0;
rel1.offset: 4 4;
rel2.relative: 0.0 0.0;
rel2.offset: 4 -8;
rel2.to_y: "e.swallow.buttons";
fixed: 1 0;
visible: 0;
}
description { state: "icon" 0.0;
inherit: "default" 0.0;
visible: 1;
}
}
part { name: "e.swallow.content"; type: SWALLOW;
description { state: "default" 0.0;
rel1.offset: 4 4;
rel1.to_x: "base";
rel2.relative: 1.0 0.0;
rel2.offset: -5 -8;
rel2.to_y: "e.swallow.buttons";
}
description { state: "icon" 0.0;
inherit: "default" 0.0;
rel1.relative: 1.0 0.0;
rel1.to_x: "e.swallow.icon";
}
}
part { name: "e.swallow.buttons"; type: SWALLOW;
description { state: "default" 0.0;
align: 0.5 1.0;
rel1.relative: 0.0 1.0;
rel1.offset: 4 -5;
rel2.relative: 1.0 1.0;
rel2.offset: -5 -5;
fixed: 0 1;
}
}
}
programs {
program {
signal: "e,icon,enabled"; source: "e";
action: STATE_SET "icon" 0.0;
target: "e.swallow.icon";
target: "e.swallow.content";
}
program {
signal: "e,icon,disabled"; source: "e";
action: STATE_SET "default" 0.0;
target: "e.swallow.icon";
target: "e.swallow.content";
}
}
}
group { name: "e/widgets/dialog/text";
styles {
style { name: "dialog_style";
base: "font="FN" font_size=10 text_class=tb_plain align=center color=#ffff style=shadow,bottom shadow_color=#00000080 wrap=word";
tag: "br" "\n";
tag: "hilight" "+ font="FNBD" text_class=tb_light";
}
}
parts {
part { name: "e.textblock.message"; type: TEXTBLOCK; mouse_events: 0;
scale: 1;
description { state: "default" 0.0;
text {
style: "dialog_style";
min: 1 1;
}
}
}
}
}

View File

@ -0,0 +1,233 @@
group { name: "e/modules/conf_edgebindings/selection";
images.image: "inset_shadow.png" COMP;
images.image: "bevel_in.png" COMP;
images.image: "dot_pattern.png" COMP;
images.image: "darken_rounded_square.png" COMP;
images.image: "downlight_glow.png" COMP;
images.image: "downlight_glow_left.png" COMP;
images.image: "downlight_glow_right.png" COMP;
images.image: "downlight_glow_up.png" COMP;
images.image: "mini_blue_glow_arrow_0.png" COMP;
images.image: "mini_blue_glow_arrow_1.png" COMP;
images.image: "mini_blue_glow_arrow_2.png" COMP;
images.image: "mini_blue_glow_arrow_3.png" COMP;
styles {
style { name: "edge_binding_style";
base: "font="FN" font_size=10 text_class=tb_plain align=center color=#ffff style=shadow,bottom shadow_color=#00000080 wrap=word";
tag: "br" "\n";
tag: "hilight" "+ font="FNBD" text_class=tb_light";
}
}
parts {
part { name: "bg"; type: RECT;
description { state: "default" 0.0;
rel1.to: "e.swallow.background";
rel2.to: "e.swallow.background";
color: 48 48 48 255;
}
}
part { name: "pat";
description { state: "default" 0.0;
rel1.to: "bg";
rel2.to: "bg";
image.normal: "dot_pattern.png";
TILED_PATTERN(256, 256)
}
}
part { name: "e.swallow.background";
type: SWALLOW;
description { state: "default" 0.0;
min: 160 120;
rel1.offset: 4 4;
rel2.relative: 0.5 1.0;
rel2.offset: -2 -5;
}
}
part { name: "bevel"; mouse_events: 0;
description { state: "default" 0.0;
rel1.offset: -10 -6;
rel1.to: "e.text.selection";
rel2.offset: 9 5;
rel2.to: "e.text.selection";
image.normal: "darken_rounded_square.png";
image.border: 15 15 15 15;
fill.smooth: 0;
fixed: 1 1;
}
}
part { name: "e.text.selection"; type: TEXT; mouse_events: 0;
effect: SHADOW BOTTOM;
description { state: "default" 0.0;
rel1.relative: 0.5 0.5;
rel1.to: "e.swallow.background";
rel2.relative: 0.5 0.5;
rel2.to: "e.swallow.background";
color: 255 255 255 255;
color3: 0 0 0 128;
color_class: "label_text";
fixed: 1 1;
text { font: FN; size: 10;
text_class: "label";
min: 1 1;
}
}
}
part { name: "shadow"; mouse_events: 0;
description { state: "default" 0.0;
image.normal: "inset_shadow.png";
image.border: 5 5 7 3;
image.middle: 0;
rel1.to: "bg";
rel2.to: "bg";
fill.smooth: 0;
color: 255 255 255 128;
}
}
part { name: "e.edge.left";
description { state: "default" 0.0;
rel1.to: "e.swallow.background";
rel1.offset: 0 10;
rel2.to: "e.swallow.background";
rel2.offset: -1 -11;
image.normal: "downlight_glow_right.png";
image.border: 3 0 0 0;
max: 24 99999;
align: 0.0 0.5;
}
}
part { name: "e.edge.right";
description { state: "default" 0.0;
rel1.to: "e.swallow.background";
rel1.offset: 0 10;
rel2.to: "e.swallow.background";
rel2.offset: -1 -11;
image.normal: "downlight_glow_left.png";
image.border: 0 3 0 0;
max: 24 99999;
align: 1.0 0.5;
}
}
part { name: "e.edge.top";
description { state: "default" 0.0;
rel1.to: "e.swallow.background";
rel1.offset: 10 0;
rel2.to: "e.swallow.background";
rel2.offset: -11 -1;
image.normal: "downlight_glow.png";
image.border: 0 0 3 0;
max: 99999 24;
align: 0.5 0.0;
}
}
part { name: "e.edge.bottom";
description { state: "default" 0.0;
rel1.to: "e.swallow.background";
rel1.offset: 10 0;
rel2.to: "e.swallow.background";
rel2.offset: -11 -1;
image.normal: "downlight_glow_up.png";
image.border: 0 0 0 3;
max: 99999 24;
align: 0.5 1.0;
}
}
part { name: "e.edge.top_left";
description { state: "default" 0.0;
rel1.to: "e.swallow.background";
rel2.to: "e.swallow.background";
max: 10 10;
image.normal: "mini_blue_glow_arrow_2.png";
align: 0.0 0.0;
}
}
part { name: "e.edge.top_right";
description { state: "default" 0.0;
rel1.to: "e.swallow.background";
rel2.to: "e.swallow.background";
max: 10 10;
image.normal: "mini_blue_glow_arrow_3.png";
align: 1.0 0.0;
}
}
part { name: "e.edge.bottom_right";
description { state: "default" 0.0;
rel1.to: "e.swallow.background";
rel2.to: "e.swallow.background";
max: 10 10;
image.normal: "mini_blue_glow_arrow_0.png";
align: 1.0 1.0;
}
}
part { name: "e.edge.bottom_left";
description { state: "default" 0.0;
rel1.to: "e.swallow.background";
rel2.to: "e.swallow.background";
max: 10 10;
image.normal: "mini_blue_glow_arrow_1.png";
align: 0.0 1.0;
}
}
part { name: "inset";
description { state: "default" 0.0;
image.normal: "bevel_in.png";
image.border: 1 1 1 1;
image.middle: 0;
rel1.to: "bg";
rel1.offset: -1 -1;
rel2.to: "bg";
rel2.offset: 0 0;
fill.smooth: 0;
}
}
part { name: "e.box"; type: BOX;
description { state: "default" 0.0;
rel1 {
relative: 1 1;
offset: 50 4;
to_x: "e.edge.bottom_right";
to_y: "e.text.description";
}
rel2 {
offset: -50 24;
to_y: "e.text.description";
}
box { layout: "horizontal";
padding: 0 0;
align: 0.5 0.5;
min: 1 1;
}
}
}
part { name: "e.swallow.slider"; type: SWALLOW;
description { state: "default" 0.0;
rel1 {
relative: 1 1;
offset: 5 1;
to_x: "e.edge.bottom_right";
to_y: "e.box";
}
rel2 {
offset: -5 -1;
}
}
}
part { name: "e.text.description"; type: TEXTBLOCK; mouse_events: 0;
scale: 1;
description { state: "default" 0.0;
rel1 {
relative: 1 0;
offset: 80 4;
to_x: "e.edge.right";
}
rel2 {
offset: -80 -45;
}
text {
style: "edge_binding_style";
min: 1 1;
}
}
}
}
}

View File

@ -0,0 +1,60 @@
group { name: "elm/access/base/default";
images.image: "access_glow.png" LOSSY 85;
parts {
part { name: "block1"; type: RECT; mouse_events: 0;
description { state: "default" 0.0;
color: 0 0 0 200;
rel1.to: "base";
rel1.offset: -100000 -100000;
rel2.to: "base";
rel2.relative: 1.0 0.0;
rel2.offset: 100000 96;
}
}
part { name: "block2"; type: RECT; mouse_events: 0;
description { state: "default" 0.0;
color: 0 0 0 200;
rel1.to: "base";
rel1.relative: 0.0 1.0;
rel1.offset: -100000 -97;
rel2.to: "base";
rel2.offset: 100000 100000;
}
}
part { name: "block3"; type: RECT; mouse_events: 0;
description { state: "default" 0.0;
color: 0 0 0 200;
rel1.to: "block1";
rel1.relative: 0.0 1.0;
rel1.offset: 0 0;
rel2.to_x: "base";
rel2.to_y: "block2";
rel2.relative: 0.0 0.0;
rel2.offset: 96 -1;
}
}
part { name: "block4"; type: RECT; mouse_events: 0;
description { state: "default" 0.0;
color: 0 0 0 200;
rel1.to_x: "base";
rel1.to_y: "block1";
rel1.relative: 1.0 1.0;
rel1.offset: -97 0;
rel2.to: "block2";
rel2.relative: 1.0 0.0;
rel2.offset: -1 -1;
}
}
part { name: "base"; mouse_events: 0;
description { state: "default" 0.0;
image.normal: "access_glow.png";
image.border: 112 112 112 112;
rel1.offset: -102 -102;
rel2.offset: 101 101;
fill.smooth: 0;
}
}
}
}

View File

@ -0,0 +1,277 @@
group { name: "elm/actionslider/base/default";
images.image: "bevel_in.png" COMP;
images.image: "button_normal.png" COMP;
images.image: "button_clicked.png" COMP;
images.image: "glow_small.png" COMP;
images.image: "inset_shadow.png" COMP;
parts {
part { name: "bg"; type: RECT; mouse_events: 0;
description { state: "default" 0.0;
rel1.offset: 1 1;
rel2.offset: -2 -2;
min: 48 10;
color: DARK_GREY_BG_COLOR;
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
color: DARK_GREY_BG_DISABLED_COLOR;
}
}
part { name: "shadow"; mouse_events: 0;
description { state: "default" 0.0;
image.normal: "inset_shadow.png";
image.border: 5 5 7 3;
image.middle: 0;
rel1.to: "bg";
rel2.to: "bg";
fill.smooth: 0;
color: 255 255 255 128;
}
}
part { name: "inset"; mouse_events: 0;
description { state: "default" 0.0;
image.normal: "bevel_in.png";
image.border: 1 1 1 1;
image.middle: 0;
fill.smooth: 0;
}
}
part { name: "icon.dragable.area"; type: SPACER;
description { state: "default" 0.0;
rel1.to: "bg";
rel2.to: "bg";
}
}
part { name: "elm.text.left"; type: TEXT; mouse_events: 0;
effect: SHADOW BOTTOM;
scale: 1;
description { state: "default" 0.0;
color: FN_COL_DEFAULT;
color_class: "button_text";
text { font: FN; size: 10;
align: 0.05 0.5;
min: 1 1;
text_class: "button";
}
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
color: FN_COL_DISABLE;
color_class: "button_text_disabled";
}
}
part { name: "elm.text.center"; type: TEXT; mouse_events: 0;
effect: SHADOW BOTTOM;
scale: 1;
description { state: "default" 0.0;
color: FN_COL_DEFAULT;
color_class: "check_off_text";
text { font: FN; size: 10;
align: 0.5 0.5;
min: 1 1;
text_class: "check_off_text";
}
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
color: FN_COL_DISABLE;
color_class: "button_text_disabled";
}
}
part { name: "elm.text.right"; type: TEXT; mouse_events: 0;
effect: SHADOW BOTTOM;
scale: 1;
description { state: "default" 0.0;
color: FN_COL_DEFAULT;
color_class: "check_off_text";
text { font: FN; size: 10;
align: 0.95 0.5;
min: 1 1;
text_class: "check_off_text";
}
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
color: FN_COL_DISABLE;
color_class: "button_text_disabled";
}
}
part { name: "elm.drag_button_base"; type: SWALLOW; mouse_events: 0;
scale: 1;
description { state: "default" 0.0;
fixed: 1 1;
min: 40 10;
align: 0.5 0.5;
rel1.to: "icon.dragable.area";
rel2 {
relative: 0.0 1.0;
to: "icon.dragable.area";
}
}
dragable {
confine: "icon.dragable.area";
x: 1 1 0;
y: 0 0 0;
}
}
part { name: "elm.drag_button"; type: RECT;
scale: 1;
description { state: "default" 0.0;
min: 40 10;
color: 0 0 0 0;
rel1.to_x: "elm.drag_button_base";
rel1.to_y: "icon.dragable.area";
rel2.to_x: "elm.drag_button_base";
rel2.to_y: "icon.dragable.area";
}
dragable {
events: "elm.drag_button_base";
}
}
part { name: "glow_button"; mouse_events: 0;
description { state: "default" 0.0;
rel1.offset: 0 -1;
rel1.to: "drag_button";
rel2.offset: -1 -2;
rel2.to: "drag_button";
image {
normal: "glow_small.png";
border: 7 7 7 7;
middle: NONE;
}
fill.smooth: 0;
visible: 0;
}
description { state: "clicked" 0.0;
inherit: "default" 0.0;
visible: 1;
}
}
part { name: "drag_button"; mouse_events: 0;
description { state: "default" 0.0;
rel1.to: "elm.drag_button";
rel1.offset: -1 0;
rel2.to: "elm.drag_button";
rel2.offset: 0 0;
image {
normal: "button_normal.png";
border: 4 4 3 5;
middle: SOLID;
}
}
description { state: "clicked" 0.0;
inherit: "default" 0.0;
image.normal: "button_clicked.png";
image.border: 5 5 4 6;
}
}
part { name: "elm.text.indicator"; type: TEXT; mouse_events: 0;
effect: SHADOW BOTTOM;
scale: 1;
description { state: "default" 0.0;
rel1 {
to: "elm.drag_button";
offset: 5 2;
}
rel2 {
to: "elm.drag_button";
offset: -5 -3;
}
color: FN_COL_DEFAULT;
color_class: "check_off_text";
text {
font: FN; size: 10;
align: 0.5 0.5;
min: 0 1;
text_class: "check_off_text";
}
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
color: FN_COL_DISABLE;
color_class: "button_text_disabled";
}
}
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 {
signal: "mouse,up,1"; source: "elm.drag_button";
action: SIGNAL_EMIT "elm.drag_button,mouse,up" "elm";
after: "button_unclick_anim";
}
program { name: "button_unclick_anim";
action: STATE_SET "default" 0.0;
target: "drag_button";
target: "glow_button";
}
program {
signal: "mouse,down,1*"; source: "elm.drag_button";
action: SIGNAL_EMIT "elm.drag_button,mouse,down" "elm";
after: "button_click_anim";
}
program { name: "button_click_anim";
action: STATE_SET "clicked" 0.0;
target: "drag_button";
target: "glow_button";
}
program {
signal: "mouse,move"; source: "elm.drag_button_base";
action: SIGNAL_EMIT "elm.drag_button,mouse,move" "elm";
}
program {
signal: "elm,state,disabled"; source: "elm";
action: STATE_SET "disabled" 0.0;
target: "bg";
target: "disabler";
target: "elm.text.left";
target: "elm.text.center";
target: "elm.text.right";
target: "elm.text.indicator";
}
program {
signal: "elm,state,enabled"; source: "elm";
action: STATE_SET "default" 0.0;
target: "bg";
target: "disabler";
target: "elm.text.left";
target: "elm.text.center";
target: "elm.text.right";
target: "elm.text.indicator";
}
}
}
group { name: "elm/actionslider/base/bar";
inherit: "elm/actionslider/base/default";
images.image: "horiz_glow_run_big.png" COMP;
parts {
part { name: "bar"; mouse_events: 0;
insert_before: "elm.drag_button_base";
description { state: "default" 0.0;
rel1.to: "bg";
rel1.offset: 1 4;
rel2 {
relative: 0.0 1.0;
offset: 3 -5;
to_x: "elm.drag_button_base";
to_y: "bg";
}
image {
normal: "horiz_glow_run_big.png";
border: 0 4 0 0;
}
}
}
}
}

View File

@ -0,0 +1,31 @@
group { name: "elm/bg/base/default";
images.image: "bevel_dark_out.png" COMP;
parts {
part { name: "base"; type: RECT;
description { state: "default" 0.0;
color_class: "dialog_base";
color: 64 64 64 255;
}
}
part { name: "elm.swallow.rectangle"; type: SWALLOW;
description { state: "default" 0.0;
}
}
part { name: "elm.swallow.background"; type: SWALLOW;
description { state: "default" 0.0;
}
}
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: "elm.swallow.content"; type: SWALLOW;
description { state: "default" 0.0;
}
}
}
}

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,738 @@
group { name: "elm/bubble/top_left/default";
alias: "elm/bubble/base/default";
images.image: "bub_base_tl.png" COMP;
images.image: "bub_base_tr.png" COMP;
images.image: "bub_over_top.png" COMP;
images.image: "shine.png" COMP;
parts {
part { name: "event"; type: RECT;
description { state: "default" 0.0;
color: 0 0 0 0;
}
}
part { name: "elm.swallow.icon"; type: SWALLOW;
description { state: "default" 0.0;
fixed: 1 1;
visible: 0;
align: 0.0 0.0;
aspect: 1.0 1.0; aspect_preference: VERTICAL;
rel1.offset: 2 2;
rel2 {
to_y: "elm.text";
relative: 0.0 1.0;
offset: 2 -1;
}
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
visible: 1;
}
}
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: "bubble";
}
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
rel1.to: "elm.swallow.icon";
rel2.to: "elm.swallow.icon";
text {
min: 1 1;
text: "M";
}
}
}
part { name: "elm.text"; type: TEXT; mouse_events: 0;
effect: SHADOW BOTTOM;
scale: 1;
description { state: "default" 0.0;
fixed: 0 1;
align: 0.0 0.0;
rel1 {
to_x: "elm.swallow.icon";
relative: 1.0 0.0;
offset: 2 2;
}
rel2 {
to_x: "elm.info";
relative: 0.0 0.0;
offset: -3 2;
}
color: 255 255 255 255;
color3: 0 0 0 128;
color_class: "bubble_text";
text { font: FNBD; size: 10;
min: 0 1;
max: 0 1;
align: 0.0 0.0;
text_class: "bubble";
}
}
}
part { name: "elm.info"; type: TEXT; mouse_events: 0;
effect: SHADOW BOTTOM;
scale: 1;
description { state: "default" 0.0;
align: 1.0 0.0;
fixed: 1 1;
rel1.relative: 1.0 0.0;
rel1.offset: -3 2;
rel2.relative: 1.0 0.0;
rel2.offset: -3 2;
color: 21 21 21 255;
color3: 255 255 255 25;
color_class: "bubble_info";
text { font: FNBD; size: 10;
min: 1 1;
max: 1 1;
align: 1.0 0.0;
text_class: "bubble_info";
}
}
}
part { name: "base"; mouse_events: 0;
description { state: "default" 0.0;
rel1 {
to_y: "elm.swallow.icon";
relative: 0.0 1.0;
offset: 0 0;
}
image.normal: "bub_base_tl.png";
image.border: 24 8 12 9;
image.middle: SOLID;
fill.smooth: 0;
}
description { state: "rtl" 0.0;
inherit: "default" 0.0;
image.normal: "bub_base_tr.png";
image.border: 8 24 12 9;
}
}
part { name: "elm.swallow.content";
type: SWALLOW;
description { state: "default" 0.0;
rel1.to: "base";
rel1.offset: 5 9;
rel2.to: "base";
rel2.offset: -6 -7;
}
}
part { name: "over"; mouse_events: 0;
description { state: "default" 0.0;
rel1.to: "base";
rel1.offset: 20 6;
rel2.to: "base";
rel2.offset: -6 6;
rel2.relative: 1.0 0.4;
image.normal: "bub_over_top.png";
fill.smooth: 0;
}
description { state: "rtl" 0.0;
inherit: "default" 0.0;
rel1.offset: 5 6;
rel2.offset: -21 6;
}
}
part { name: "shine_clip"; type: RECT;
description { state: "default" 0.0;
rel1.to: "over";
rel1.offset: 0 -10;
rel2.to: "over";
}
}
part { name: "shine"; mouse_events: 0;
clip_to: "shine_clip";
description { state: "default" 0.0;
image.normal: "shine.png";
rel1.offset: 0 -2;
rel1.to: "over";
rel2.relative: 1.0 0.0;
rel2.offset: -1 2;
rel2.to: "over";
FIXED_SIZE(69, 5)
}
}
}
programs {
program {
signal: "elm,state,icon,visible"; source: "elm";
action: STATE_SET "visible" 0.0;
target: "elm.swallow.icon";
target: "sizer.content";
}
program {
signal: "elm,state,icon,hidden"; source: "elm";
action: STATE_SET "default" 0.0;
target: "elm.swallow.icon";
target: "sizer.content";
}
program {
signal: "edje,state,rtl"; source: "edje";
action: STATE_SET "rtl" 0.0;
target: "base";
target: "over";
}
program {
signal: "edje,state,ltr"; source: "edje";
action: STATE_SET "default" 0.0;
target: "base";
target: "over";
}
}
}
group { name: "elm/bubble/top_right/default";
images.image: "bub_base_tr.png" COMP;
images.image: "bub_base_tl.png" COMP;
images.image: "bub_over_top.png" COMP;
images.image: "shine.png" COMP;
parts {
part { name: "event"; type: RECT;
description { state: "default" 0.0;
color: 0 0 0 0;
}
}
part { name: "elm.swallow.icon"; type: SWALLOW;
description { state: "default" 0.0;
fixed: 1 1;
visible: 0;
align: 1.0 0.0;
aspect: 1.0 1.0; aspect_preference: VERTICAL;
rel1.offset: -3 2;
rel1.relative: 1.0 0.0;
rel2 {
to_y: "elm.text";
relative: 1.0 1.0;
offset: -3 -1;
}
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
visible: 1;
}
}
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: "bubble";
}
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
rel1.to: "elm.swallow.icon";
rel2.to: "elm.swallow.icon";
text {
min: 1 1;
text: "M";
}
}
}
part { name: "elm.text"; type: TEXT; mouse_events: 0;
effect: SHADOW BOTTOM;
scale: 1;
description { state: "default" 0.0;
fixed: 0 1;
align: 0.0 0.0;
rel1.offset: 2 2;
rel2 {
to_x: "elm.info";
relative: 0.0 0.0;
offset: -3 2;
}
color: 255 255 255 255;
color3: 0 0 0 128;
color_class: "bubble_text";
text { font: FNBD; size: 10;
min: 0 1;
max: 0 1;
align: 0.0 0.0;
text_class: "bubble";
}
}
}
part { name: "elm.info"; type: TEXT; mouse_events: 0;
effect: SHADOW BOTTOM;
scale: 1;
description { state: "default" 0.0;
align: 1.0 0.0;
fixed: 1 1;
rel1.relative: 1.0 0.0;
rel1.offset: -3 2;
rel2.to_x: "elm.swallow.icon";
rel2.relative: 0.0 0.0;
rel2.offset: -3 2;
color: 21 21 21 255;
color3: 255 255 255 25;
color_class: "bubble_info";
text { font: FNBD; size: 10;
min: 1 1;
max: 1 1;
align: 1.0 0.0;
text_class: "bubble_info";
}
}
}
part { name: "base"; mouse_events: 0;
description { state: "default" 0.0;
rel1 {
to_y: "elm.swallow.icon";
relative: 0.0 1.0;
offset: 0 0;
}
image.normal: "bub_base_tr.png";
image.border: 8 24 12 9;
image.middle: SOLID;
fill.smooth: 0;
}
description { state: "rtl" 0.0;
inherit: "default" 0.0;
image.normal: "bub_base_tl.png";
image.border: 24 8 12 9;
}
}
part { name: "elm.swallow.content";
type: SWALLOW;
description { state: "default" 0.0;
rel1.to: "base";
rel1.offset: 5 9;
rel2.to: "base";
rel2.offset: -6 -7;
}
}
part { name: "over"; mouse_events: 0;
description { state: "default" 0.0;
rel1.to: "base";
rel1.offset: 5 6;
rel2.to: "base";
rel2.offset: -21 6;
rel2.relative: 1.0 0.4;
image.normal: "bub_over_top.png";
fill.smooth: 0;
}
description { state: "rtl" 0.0;
inherit: "default" 0.0;
rel1.offset: 20 6;
rel2.offset: -6 6;
}
}
part { name: "shine_clip"; type: RECT;
description { state: "default" 0.0;
rel1.to: "over";
rel1.offset: 0 -10;
rel2.to: "over";
}
}
part { name: "shine"; mouse_events: 0;
clip_to: "shine_clip";
description { state: "default" 0.0;
image.normal: "shine.png";
rel1.offset: 0 -2;
rel1.to: "over";
rel2.relative: 1.0 0.0;
rel2.offset: -1 2;
rel2.to: "over";
FIXED_SIZE(69, 5)
}
}
}
programs {
program {
signal: "elm,state,icon,visible"; source: "elm";
action: STATE_SET "visible" 0.0;
target: "elm.swallow.icon";
target: "sizer.content";
}
program {
signal: "elm,state,icon,hidden"; source: "elm";
action: STATE_SET "default" 0.0;
target: "elm.swallow.icon";
target: "sizer.content";
}
program {
signal: "edje,state,rtl"; source: "edje";
action: STATE_SET "rtl" 0.0;
target: "base";
target: "over";
}
program {
signal: "edje,state,ltr"; source: "edje";
action: STATE_SET "default" 0.0;
target: "base";
target: "over";
}
}
}
group { name: "elm/bubble/bottom_left/default";
images.image: "bub_base_bl.png" COMP;
images.image: "bub_base_br.png" COMP;
images.image: "bub_over_bot.png" COMP;
images.image: "shine.png" COMP;
parts {
part { name: "event"; type: RECT;
description { state: "default" 0.0;
color: 0 0 0 0;
}
}
part { name: "elm.swallow.icon"; type: SWALLOW;
description { state: "default" 0.0;
fixed: 1 1;
visible: 0;
align: 0.0 1.0;
aspect: 1.0 1.0; aspect_preference: VERTICAL;
rel1 {
to_y: "elm.text";
offset: 2 0;
}
rel2 {
relative: 0.0 1.0;
offset: 2 -3;
}
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
visible: 1;
}
}
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: "bubble";
}
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
rel1.to: "elm.swallow.icon";
rel2.to: "elm.swallow.icon";
text {
min: 1 1;
text: "M";
}
}
}
part { name: "elm.text"; type: TEXT; mouse_events: 0;
effect: SHADOW BOTTOM;
scale: 1;
description { state: "default" 0.0;
fixed: 0 1;
align: 0.0 1.0;
rel1 {
to_x: "elm.swallow.icon";
relative: 1.0 1.0;
offset: 2 -3;
}
rel2 {
to_x: "elm.info";
relative: 0.0 1.0;
offset: -3 -3;
}
color: 255 255 255 255;
color3: 0 0 0 128;
color_class: "bubble_text";
text { font: FNBD; size: 10;
min: 0 1;
max: 0 1;
align: 0.0 1.0;
text_class: "bubble";
}
}
}
part { name: "elm.info"; type: TEXT; mouse_events: 0;
effect: SHADOW BOTTOM;
scale: 1;
description { state: "default" 0.0;
align: 1.0 1.0;
fixed: 1 1;
rel1.relative: 1.0 1.0;
rel1.offset: -3 -3;
rel2.relative: 1.0 1.0;
rel2.offset: -3 -3;
color: 21 21 21 255;
color3: 255 255 255 25;
color_class: "bubble_info";
text { font: FNBD; size: 10;
min: 1 1;
max: 1 1;
align: 1.0 1.0;
text_class: "bubble_info";
}
}
}
part { name: "base"; mouse_events: 0;
description { state: "default" 0.0;
rel2 {
to_y: "elm.swallow.icon";
relative: 1.0 0.0;
}
image.normal: "bub_base_bl.png";
image.border: 24 8 8 13;
image.middle: SOLID;
fill.smooth: 0;
}
description { state: "rtl" 0.0;
inherit: "default" 0.0;
image.normal: "bub_base_br.png";
image.border: 8 24 8 13;
}
}
part { name: "elm.swallow.content";
type: SWALLOW;
description { state: "default" 0.0;
rel1.to: "base";
rel1.offset: 5 4;
rel2.to: "base";
rel2.offset: -6 -12;
}
}
part { name: "over"; mouse_events: 0;
description { state: "default" 0.0;
rel1.to: "base";
rel1.offset: 2 1;
rel2.to: "base";
rel2.offset: -3 1;
rel2.relative: 1.0 0.4;
image.normal: "bub_over_bot.png";
fill.smooth: 0;
}
}
part { name: "shine_clip"; type: RECT;
description { state: "default" 0.0;
rel1.to: "over";
rel1.offset: 0 -10;
rel2.to: "over";
}
}
part { name: "shine"; mouse_events: 0;
clip_to: "shine_clip";
description { state: "default" 0.0;
image.normal: "shine.png";
rel1.offset: 0 -2;
rel1.to: "over";
rel2.relative: 1.0 0.0;
rel2.offset: -1 2;
rel2.to: "over";
FIXED_SIZE(69, 5)
}
}
}
programs {
program {
signal: "elm,state,icon,visible"; source: "elm";
action: STATE_SET "visible" 0.0;
target: "elm.swallow.icon";
target: "sizer.content";
}
program {
signal: "elm,state,icon,hidden"; source: "elm";
action: STATE_SET "default" 0.0;
target: "elm.swallow.icon";
target: "sizer.content";
}
program {
signal: "edje,state,rtl"; source: "edje";
action: STATE_SET "rtl" 0.0;
target: "base";
}
program {
signal: "edje,state,ltr"; source: "edje";
action: STATE_SET "default" 0.0;
target: "base";
}
}
}
group { name: "elm/bubble/bottom_right/default";
images.image: "bub_base_br.png" COMP;
images.image: "bub_base_bl.png" COMP;
images.image: "bub_over_bot.png" COMP;
images.image: "shine.png" COMP;
parts {
part { name: "event"; type: RECT;
description { state: "default" 0.0;
color: 0 0 0 0;
}
}
part { name: "elm.swallow.icon"; type: SWALLOW;
description { state: "default" 0.0;
fixed: 1 1;
visible: 0;
align: 1.0 1.0;
aspect: 1.0 1.0; aspect_preference: VERTICAL;
rel1 {
to_y: "elm.text";
offset: -3 0;
}
rel2 {
relative: 1.0 1.0;
offset: -3 -3;
}
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
visible: 1;
}
}
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: "bubble";
}
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
rel1.to: "elm.swallow.icon";
rel2.to: "elm.swallow.icon";
text {
min: 1 1;
text: "M";
}
}
}
part { name: "elm.text"; type: TEXT; mouse_events: 0;
effect: SHADOW BOTTOM;
scale: 1;
description { state: "default" 0.0;
fixed: 0 1;
align: 0.0 1.0;
rel1 {
relative: 0.0 1.0;
offset: 2 -3;
}
rel2 {
to_x: "elm.info";
relative: 0.0 1.0;
offset: -3 -3;
}
color: 255 255 255 255;
color3: 0 0 0 128;
color_class: "bubble_text";
text { font: FNBD; size: 10;
min: 0 1;
max: 0 1;
align: 0.0 1.0;
text_class: "bubble";
}
}
}
part { name: "elm.info"; type: TEXT; mouse_events: 0;
effect: SHADOW BOTTOM;
scale: 1;
description { state: "default" 0.0;
align: 1.0 1.0;
fixed: 1 1;
rel1.relative: 1.0 1.0;
rel1.offset: -3 -3;
rel2.to_x: "elm.swallow.icon";
rel2.relative: 0.0 1.0;
rel2.offset: -3 -3;
color: 21 21 21 255;
color3: 255 255 255 25;
color_class: "bubble_info";
text { font: FNBD; size: 10;
min: 1 1;
max: 1 1;
align: 1.0 1.0;
text_class: "bubble_info";
}
}
}
part { name: "base"; mouse_events: 0;
description { state: "default" 0.0;
rel2 {
to_y: "elm.swallow.icon";
relative: 1.0 0.0;
}
image.normal: "bub_base_br.png";
image.border: 8 24 8 13;
image.middle: SOLID;
fill.smooth: 0;
}
description { state: "rtl" 0.0;
inherit: "default" 0.0;
image.normal: "bub_base_bl.png";
image.border: 24 8 8 13;
}
}
part { name: "elm.swallow.content";
type: SWALLOW;
description { state: "default" 0.0;
rel1.to: "base";
rel1.offset: 5 4;
rel2.to: "base";
rel2.offset: -6 -12;
}
}
part { name: "over"; mouse_events: 0;
description { state: "default" 0.0;
rel1.to: "base";
rel1.offset: 2 1;
rel2.to: "base";
rel2.offset: -3 1;
rel2.relative: 1.0 0.4;
image.normal: "bub_over_bot.png";
fill.smooth: 0;
}
}
part { name: "shine_clip"; type: RECT;
description { state: "default" 0.0;
rel1.to: "over";
rel1.offset: 0 -10;
rel2.to: "over";
}
}
part { name: "shine"; mouse_events: 0;
clip_to: "shine_clip";
description { state: "default" 0.0;
image.normal: "shine.png";
rel1.offset: 0 -2;
rel1.to: "over";
rel2.relative: 1.0 0.0;
rel2.offset: -1 2;
rel2.to: "over";
FIXED_SIZE(69, 5)
}
}
}
programs {
program {
signal: "elm,state,icon,visible"; source: "elm";
action: STATE_SET "visible" 0.0;
target: "elm.swallow.icon";
target: "sizer.content";
}
program {
signal: "elm,state,icon,hidden"; source: "elm";
action: STATE_SET "default" 0.0;
target: "elm.swallow.icon";
target: "sizer.content";
}
program {
signal: "edje,state,rtl"; source: "edje";
action: STATE_SET "rtl" 0.0;
target: "base";
}
program {
signal: "edje,state,ltr"; source: "edje";
action: STATE_SET "default" 0.0;
target: "base";
}
}
}

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,534 @@
#define CIT_STYLES\
style { name: "calendar_date_style";\
base: "font="FN" font_size=10 color=#ffffff style=shadow,bottom shadow_color=#00000080 align=center";\
}\
style { name: "calendar_date_holiday_style";\
base: "font="FN" font_size=10 color=#808080 style=shadow,bottom shadow_color=#00000080 align=center";\
}\
style { name: "calendar_date_today_style";\
base: "font="FN" font_size=10 color=#3399ff style=glow glow_color=#3399ff18 align=center";\
}\
#define CAL_SPIN(_sufix, _signal_sufix, _text, _relative)\
part { name: "left_bt"#_sufix; type: RECT;\
scale: 1;\
description { state: "default" 0.0;\
fixed: 1 1;\
rel1 { to: #_relative;\
offset: 0 0;\
}\
rel2 { to: #_relative;\
offset: 0 -1;\
}\
align: 0.0 0.5;\
min: 15 15;\
max: 15 15;\
color: 0 0 0 0;\
}\
}\
part { name: "left_bt"#_sufix"_over"; repeat_events: 1;\
scale: 1;\
description { state: "default" 0.0;\
min: 15 15;\
max: 15 15;\
align: 0.5 0.5;\
rel1.to: "left_bt"#_sufix;\
rel2.to: "left_bt"#_sufix;\
image.normal: "sym_left_light_normal.png";\
}\
description { state: "rtl" 0.0;\
inherit: "default" 0.0;\
image.normal: "sym_right_light_normal.png";\
}\
description { state: "clicked" 0.0;\
inherit: "default" 0.0;\
image.normal: "sym_left_glow_normal.png";\
}\
description { state: "clicked_rtl" 0.0;\
inherit: "default" 0.0;\
image.normal: "sym_right_glow_normal.png";\
}\
}\
part { name: "right_bt"#_sufix; type: RECT;\
scale: 1;\
description { state: "default" 0.0;\
fixed: 1 1;\
rel1 { to: #_relative;\
offset: -1 0;\
}\
rel2 { to: #_relative;\
offset: -1 -1;\
}\
align: 1.0 0.5;\
min: 15 15;\
max: 15 15;\
color: 0 0 0 0;\
}\
}\
part { name: "right_bt"#_sufix"_over"; repeat_events: 1;\
scale: 1;\
description { state: "default" 0.0;\
min: 15 15;\
max: 15 15;\
rel1.to: "right_bt"#_sufix;\
rel2.to: "right_bt"#_sufix;\
image.normal: "sym_right_light_normal.png";\
}\
description { state: "rtl" 0.0;\
inherit: "default" 0.0;\
image.normal: "sym_left_light_normal.png";\
}\
description { state: "clicked" 0.0;\
inherit: "default" 0.0;\
image.normal: "sym_right_glow_normal.png";\
}\
description { state: "clicked_rtl" 0.0;\
inherit: "default" 0.0;\
image.normal: "sym_left_glow_normal.png";\
}\
}\
part { name: #_text; type: TEXT; mouse_events: 0;\
effect: SHADOW BOTTOM; \
scale: 1;\
description { state: "default" 0.0;\
fixed: 1 1;\
rel1 { relative: 1.0 0.0;\
to: "left_bt"#_sufix;\
}\
rel2 { relative: 0.0 1.0;\
to: "right_bt"#_sufix;\
}\
color: FN_COL_DEFAULT;\
text { font: FNBD; size: 10;\
min: 0 1;\
}\
}\
}\
programs {\
program {\
signal: "mouse,down,1"; source: "left_bt"#_sufix;\
action: SIGNAL_EMIT "elm,action,decrement,start"#_signal_sufix "elm";\
}\
program {\
signal: "mouse,up,1"; source: "left_bt"#_sufix;\
action: SIGNAL_EMIT "elm,action,stop"#_signal_sufix "elm"; \
}\
program { name: "left_bt"#_sufix"_click";\
signal: "mouse,down,1"; source: "left_bt"#_sufix;\
script {\
if (get_int(rtl) == 1)\
set_state(PART:"left_bt"#_sufix"_over", "clicked_rtl", 0.0);\
else\
set_state(PART:"left_bt"#_sufix"_over", "clicked", 0.0);\
}\
}\
program { name: "left_bt"#_sufix"_unclick";\
signal: "mouse,up,1"; source: "left_bt"#_sufix;\
script {\
if (get_int(rtl) == 1)\
set_state(PART:"left_bt"#_sufix"_over", "rtl", 0.0);\
else\
set_state(PART:"left_bt"#_sufix"_over", "default", 0.0);\
}\
}\
program {\
signal: "mouse,down,1"; source: "right_bt"#_sufix;\
action: SIGNAL_EMIT "elm,action,increment,start"#_signal_sufix "elm";\
}\
program {\
signal: "mouse,up,1"; source: "right_bt"#_sufix;\
action: SIGNAL_EMIT "elm,action,stop"#_signal_sufix "elm"; \
}\
program { name: "right_bt"#_sufix"_click";\
signal: "mouse,down,1"; source: "right_bt"#_sufix;\
script {\
if (get_int(rtl) == 1)\
set_state(PART:"right_bt"#_sufix"_over", "clicked_rtl", 0.0);\
else\
set_state(PART:"right_bt"#_sufix"_over", "clicked", 0.0);\
}\
}\
program { name: "right_bt"#_sufix"_unclick";\
signal: "mouse,up,1"; source: "right_bt"#_sufix;\
script {\
if (get_int(rtl) == 1)\
set_state(PART:"right_bt"#_sufix"_over", "rtl", 0.0);\
else\
set_state(PART:"right_bt"#_sufix"_over", "default", 0.0);\
}\
}\
program { name: "rtl"#_sufix;\
signal: "edje,state,rtl"; source: "edje";\
script {\
set_int(rtl, 1);\
set_state(PART:"left_bt"#_sufix"_over", "rtl", 0.0);\
set_state(PART:"right_bt"#_sufix"_over", "rtl", 0.0);\
}\
}\
program { name: "ltr"#_sufix;\
signal: "edje,state,ltr"; source: "edje";\
script {\
set_int(rtl, 0);\
set_state(PART:"left_bt"#_sufix"_over", "default", 0.0);\
set_state(PART:"right_bt"#_sufix"_over", "default", 0.0);\
}\
}\
}
#define CH(_pos) \
part { name: "ch_"#_pos".base"; type: SPACER; \
description { state: "default" 0.0; \
rel1 { \
relative: (_pos % 7 / 7) 0.0; \
to: "header"; \
} \
rel2 { \
relative: (_pos % 7 / 7 + 1 / 7) 1.0; \
to: "header"; \
} \
} \
} \
part { name: "ch_"#_pos".text"; type: TEXT; mouse_events: 0; \
effect: SHADOW BOTTOM; \
scale: 1; \
clip_to: "ch_"#_pos".clipper"; \
description { state: "default" 0.0; \
rel1.to: "ch_"#_pos".base"; \
rel2.to: "ch_"#_pos".base"; \
color: 21 21 21 255;\
color3: 255 255 255 25;\
text { font: FN; size: 8; \
min: 1 1; \
} \
} \
} \
part { name: "ch_"#_pos".clipper"; type: RECT; \
description { state: "default" 0.0; \
rel1.to: "ch_"#_pos".base"; \
rel2.to: "ch_"#_pos".base"; \
} \
}
#define CIT(_pos) \
part { name: "cit_"#_pos".rect"; type: SPACER; \
description { state: "default" 0.0; \
rel1 { \
relative: (_pos % 7 / 7) \
(_pos / 7 / 6 - _pos % 7 / 7 / 6); \
to: "base"; \
} \
rel2 { \
relative: (_pos % 7 / 7 + 1 / 7) \
(_pos / 7 / 6 + 1 / 6 - _pos % 7 / 7 / 6); \
to: "base"; \
} \
} \
} \
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"; \
color: 0 0 0 0; \
} \
} \
part { name: "cit_"#_pos".pat"; mouse_events: 0; \
description { state: "default" 0.0; \
rel1.to: "cit_"#_pos".selected"; \
rel1.offset: 1 1; \
rel2.to: "cit_"#_pos".selected"; \
rel2.offset: -2 -2; \
image.normal: "diagonal_stripes.png"; \
color: 255 255 255 25; \
TILED_PATTERN(240, 240) \
visible: 0; \
} \
description { state: "selected" 0.0; \
inherit: "default" 0.0; \
visible: 1; \
} \
} \
part { name: "cit_"#_pos".selected"; mouse_events: 0; \
description { state: "default" 0.0; \
rel1.to: "cit_"#_pos".rect"; \
rel2.to: "cit_"#_pos".rect"; \
image.normal: "outline_glow.png"; \
image.border: 4 4 4 4; \
visible: 0; \
} \
description { state: "selected" 0.0; \
inherit: "default" 0.0; \
visible: 1; \
} \
} \
part { name: "cit_"#_pos".selected2"; mouse_events: 0; \
description { state: "default" 0.0; \
rel1.to: "cit_"#_pos".rect"; \
rel2.to: "cit_"#_pos".rect"; \
image.normal: "outline_glow.png"; \
image.border: 4 4 4 4; \
visible: 0; \
} \
description { state: "hilighted" 0.0; \
inherit: "default" 0.0; \
color: 255 255 255 128; \
visible: 1; \
} \
} \
part { name: "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"; \
text.style: "calendar_date_style"; \
text.min: 1 1; \
} \
description { state: "holiday" 0.0; \
inherit: "default" 0.0; \
text.style: "calendar_date_holiday_style"; \
} \
description { state: "today" 0.0; \
inherit: "default" 0.0; \
text.style: "calendar_date_today_style"; \
} \
} \
part { name: "cit_"#_pos".check"; mouse_events: 0; \
scale: 1; \
description { state: "default" 0.0; \
fixed: 1 1; \
rel1 { \
to: "cit_"#_pos".rect"; \
relative: 0.6 0.5; \
} \
rel2 { \
to: "cit_"#_pos".rect"; \
relative: 0.6 0.5; \
} \
min: 16 16; \
max: 16 16; \
aspect: 1 1; \
align: 0.0 1.0;\
image.normal: "icon_border_remember.png"; \
visible: 0; \
} \
description { state: "visible" 0.0; \
inherit: "default" 0.0; \
visible: 1; \
} \
} \
part { name: "cit_"#_pos".access"; type: RECT; repeat_events: 1; \
description { state: "default" 0.0; \
rel1.to: "cit_"#_pos".event"; \
rel2.to: "cit_"#_pos".event"; \
color: 0 0 0 0; \
} \
} \
programs { \
program { \
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"; \
} \
program { \
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"; \
} \
program { \
name: "cit_"#_pos".is_today"; \
signal: "cit_"#_pos",today"; \
source: "elm"; \
action: STATE_SET "today" 0.0; \
target: "cit_"#_pos".text"; \
} \
program { \
name: "cit_"#_pos".not_today"; \
signal: "cit_"#_pos",not_today"; \
source: "elm"; \
action: STATE_SET "default" 0.0; \
target: "cit_"#_pos".text"; \
} \
program { \
source: "cit_"#_pos".clicked"; \
signal: "mouse,down,1"; \
source: "cit_"#_pos".event"; \
action: STATE_SET "hilighted" 0.0; \
target: "cit_"#_pos".selected2"; \
} \
program { \
source: "cit_"#_pos".clicked"; \
signal: "mouse,up,1"; \
source: "cit_"#_pos".event"; \
action: STATE_SET "default" 0.0; \
target: "cit_"#_pos".selected2"; \
} \
program { \
source: "cit_"#_pos".clicked"; \
signal: "mouse,clicked,1"; \
source: "cit_"#_pos".event"; \
action: SIGNAL_EMIT "elm,action,selected" #_pos; \
} \
program { \
name: "cit_"#_pos".clear"; \
signal: "cit_"#_pos",clear"; \
source: "elm"; \
action: STATE_SET "default" 0.0; \
target: "cit_"#_pos".check"; \
after: "cit_"#_pos".holiday_clear"; \
} \
program { \
name: "cit_"#_pos".holiday_clear"; \
script { \
new st[31]; \
new Float:vl; \
get_state(PART:"cit_"#_pos".text", st, 30, vl); \
if (!strcmp(st, "holiday")) \
set_state(PART:"cit_"#_pos".text", "default", 0.0); \
} \
} \
program { \
name: "cit_"#_pos".checked"; \
signal: "cit_"#_pos",checked"; \
source: "elm"; \
action: STATE_SET "visible" 0.0; \
target: "cit_"#_pos".check"; \
} \
program { \
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); \
if (strcmp(st, "today")) \
set_state(PART:"cit_"#_pos".text", "holiday", 0.0); \
} \
} \
}
group { name: "elm/calendar/base/default";
images.image: "sym_left_light_normal.png" COMP;
images.image: "sym_right_light_normal.png" COMP;
images.image: "sym_left_glow_normal.png" COMP;
images.image: "sym_right_glow_normal.png" COMP;
images.image: "icon_border_remember.png" COMP;
images.image: "outline_glow.png" COMP;
images.image: "diagonal_stripes.png" COMP;
script {
public rtl;
}
styles {
CIT_STYLES
}
parts {
part { name: "bg"; type: SPACER;
description { state: "default" 0.0;
rel1.offset: 1 1;
rel2.offset: -2 -2;
}
}
part { name: "spinner-base1"; type: SPACER;
description { state: "default" 0.0;
min: 24 16;
max: 999999 16;
rel1.to: "bg";
rel2.to: "bg";
rel2.relative: 1.0 (1/8);
align: 0.5 0.0;
}
}
part { name: "table-base"; type: SPACER;
description { state: "default" 0.0;
min: 70 60;
rel1.to_x: "bg";
rel1.to_y: "spinner-base1";
rel1.offset: 3 0;
rel1.relative: 0.0 1.0;
rel2.to: "bg";
rel2.offset: -4 -4;
}
}
part { name: "header"; type: SPACER;
description { state: "default" 0.0;
rel1.to: "table-base";
rel2.to: "table-base";
rel2.relative: 1.0 (1/7);
align: 0.5 0.0;
min: 0 16;
}
}
part { name: "header_separator"; mouse_events: 0;
description { state: "default" 0.0;
fixed: 1 1;
rel1.to: "header";
rel1.relative: 0.0 1.0;
rel1.offset: 0 -2;
rel2.to: "header";
image.normal: "separator_horiz.png";
fill.smooth: 0;
}
}
part { name: "base"; type: SPACER;
description { state: "default" 0.0;
rel1.to_x: "table-base";
rel1.to_y: "header";
rel1.relative: 0.0 1.0;
rel1.offset: 3 0;
rel2.to: "table-base";
rel2.offset: -3 0;
}
}
CAL_SPIN(,,month_text, spinner-base1)
CH(0) CH(1) CH(2) CH(3) CH(4) CH(5) CH(6)
CIT(0) CIT(1) CIT(2) CIT(3) CIT(4) CIT(5) CIT(6)
CIT(7) CIT(8) CIT(9) CIT(10) CIT(11) CIT(12) CIT(13)
CIT(14) CIT(15) CIT(16) CIT(17) CIT(18) CIT(19) CIT(20)
CIT(21) CIT(22) CIT(23) CIT(24) CIT(25) CIT(26) CIT(27)
CIT(28) CIT(29) CIT(30) CIT(31) CIT(32) CIT(33) CIT(34)
CIT(35) CIT(36) CIT(37) CIT(38) CIT(39) CIT(40) CIT(41)
}
}
group { name: "elm/calendar/base/double_spinners";
inherit: "elm/calendar/base/default";
parts {
part { name: "spinner-base1"; type: SPACER;
description { state: "default" 0.0;
min: 24 24;
max: 999999 24;
rel1.to: "bg";
rel1.offset: 6 6;
rel2.to: "bg";
rel2.relative: 0.5 1.0;
rel2.offset: -7 -7;
align: 0.0 0.0;
}
}
part { name: "spinner-base2"; type: SPACER;
description { state: "default" 0.0;
min: 24 24;
max: 999999 24;
rel1.to_x: "spinner-base1";
rel1.to_y: "bg";
rel1.relative: 1.0 0;
rel1.offset: 6 6;
rel2.to: "bg";
rel2.offset: -7 -7;
align: 0.0 0.0;
}
}
CAL_SPIN(,,month_text, spinner-base1)
CAL_SPIN(_year, year, year_text, spinner-base2)
}
}
#undef CAL_SPIN
#undef CIT
#undef CH

View File

@ -0,0 +1,891 @@
group { name: "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:"elm.swallow.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);
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:"elm.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:"elm.swallow.content", "visible", 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);
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:"elm.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:"elm.swallow.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);
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:"elm.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);
}
}
}
}
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: "elm.swallow.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.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;
fixed: 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: "elm.swallow.content";
rel2.to: "elm.swallow.content";
text {
min: 1 1;
text: "M";
}
}
description { state: "icononly" 0.0;
inherit: "default" 0.0;
rel1.to: "elm.swallow.content";
rel2.to: "elm.swallow.content";
text {
min: 1 1;
text: "M";
}
}
}
part { name: "elm.text"; type: TEXT; mouse_events: 0;
effect: SHADOW BOTTOM;
scale: 1;
description { state: "default" 0.0;
rel1.offset: 2 2;
rel1.to_x: "elm.swallow.content";
rel1.relative: 1.0 0.0;
rel2.offset: -3 -3;
color: 255 255 255 255;
color3: 0 0 0 128;
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: 21 21 21 255;
color3: 255 255 255 25;
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
visible: 1;
text.min: 1 1;
}
description { state: "disabled_visible" 0.0;
inherit: "default" 0.0;
color: 21 21 21 255;
color3: 255 255 255 25;
visible: 1;
text.min: 1 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 "elm,action,check,toggle" "elm";
}
program {
signal: "elm,state,check,on"; source: "elm";
action: STATE_SET "selected" 0.0;
target: "indicator";
}
program {
signal: "elm,state,check,off"; source: "elm";
action: STATE_SET "default" 0.0;
target: "indicator";
}
program {
signal: "elm,state,text,visible"; source: "elm";
script {
new m = get_int(btmode);
m |= LABEL; set_int(btmode, m);
eval_mode(m);
}
}
program {
signal: "elm,state,text,hidden"; source: "elm";
script {
new m = get_int(btmode);
m &= ~LABEL; set_int(btmode, m);
eval_mode(m);
}
}
program {
signal: "elm,state,icon,visible"; source: "elm";
script {
new m = get_int(btmode);
m |= ICON; set_int(btmode, m);
eval_mode(m);
}
}
program {
signal: "elm,state,icon,hidden"; source: "elm";
script {
new m = get_int(btmode);
m &= ~ICON; set_int(btmode, m);
eval_mode(m);
}
}
program {
signal: "elm,state,disabled"; source: "elm";
script {
new m = get_int(btmode);
m |= DISABLE; set_int(btmode, m);
eval_mode(m);
}
}
program {
signal: "elm,state,enabled"; source: "elm";
script {
new m = get_int(btmode);
m &= ~DISABLE; set_int(btmode, m);
eval_mode(m);
}
}
}
#undef ICON
#undef LABEL
#undef MASK
#undef DISABLE
}
group { name: "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:"elm.swallow.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);
set_state(PART:"event", "default", 0.0);
set_state(PART:"event2", "default", 0.0);
set_state(PART:"elm.ontext", "default", 0.0);
set_state(PART:"elm.offtext", "default", 0.0);
set_state(PART:"onrect", "default", 0.0);
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:"elm.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:"elm.ontext", "disabled", 0.0);
set_state(PART:"elm.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:"elm.swallow.content", "visible", 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);
set_state(PART:"event", "default", 0.0);
set_state(PART:"event2", "default", 0.0);
set_state(PART:"elm.ontext", "default", 0.0);
set_state(PART:"elm.offtext", "default", 0.0);
set_state(PART:"onrect", "default", 0.0);
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:"elm.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:"elm.ontext", "disabled", 0.0);
set_state(PART:"elm.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:"elm.swallow.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);
set_state(PART:"event", "default", 0.0);
set_state(PART:"event2", "default", 0.0);
set_state(PART:"elm.ontext", "default", 0.0);
set_state(PART:"elm.offtext", "default", 0.0);
set_state(PART:"onrect", "default", 0.0);
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:"elm.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:"elm.ontext", "disabled", 0.0);
set_state(PART:"elm.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: "elm.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: 255 255 255 255;
color3: 0 0 0 128;
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: 21 21 21 255;
color3: 255 255 255 25;
}
}
part { name: "elm.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: 51 153 255 255;
color2: 51 153 255 24;
color3: 51 153 255 18;
color_class: "check_on_text";
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: 51 153 255 64;
color2: 51 153 255 16;
color3: 51 153 255 8;
}
}
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: 255 128 0 128;
}
}
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: "elm.swallow.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;
aspect: 1.0 1.0; aspect_preference: VERTICAL;
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: "elm.swallow.content";
rel2.to: "elm.swallow.content";
text {
min: 1 1;
text: "M";
}
}
description { state: "icononly" 0.0;
inherit: "default" 0.0;
rel1.to: "elm.swallow.content";
rel2.to: "elm.swallow.content";
text {
min: 1 1;
text: "M";
}
}
}
part { name: "elm.text"; type: TEXT; mouse_events: 0;
effect: SHADOW BOTTOM;
scale: 1;
description { state: "default" 0.0;
rel1.to_x: "elm.swallow.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: 255 255 255 255;
color3: 0 0 0 128;
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: 21 21 21 255;
color3: 255 255 255 25;
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
visible: 1;
text.min: 1 1;
}
description { state: "disabled_visible" 0.0;
inherit: "default" 0.0;
color: 21 21 21 255;
color3: 255 255 255 25;
visible: 1;
text.min: 1 1;
}
}
part { name: "event"; type: RECT;
ignore_flags: ON_HOLD;
description { state: "default" 0.0;
color: 0 0 0 0;
rel1.to_x: "elm.swallow.content";
rel2.to_x: "elm.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 "elm,action,check,toggle" "elm";
}
program {
signal: "elm,state,check,on"; source: "elm";
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: "elm,state,check,off"; source: "elm";
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("elm,action,check,off", "");
} else {
emit("elm,action,check,on", "");
}
}
}
}
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("elm,action,check,on", "");
} else {
emit("elm,action,check,off", "");
}
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: "elm,state,text,visible"; source: "elm";
script {
new m = get_int(btmode);
m |= LABEL; set_int(btmode, m);
eval_mode(m);
}
}
program {
signal: "elm,state,text,hidden"; source: "elm";
script {
new m = get_int(btmode);
m &= ~LABEL; set_int(btmode, m);
eval_mode(m);
}
}
program {
signal: "elm,state,icon,visible"; source: "elm";
script {
new m = get_int(btmode);
m |= ICON; set_int(btmode, m);
eval_mode(m);
}
}
program {
signal: "elm,state,icon,hidden"; source: "elm";
script {
new m = get_int(btmode);
m &= ~ICON; set_int(btmode, m);
eval_mode(m);
}
}
program {
signal: "elm,state,disabled"; source: "elm";
script {
new m = get_int(btmode);
m |= DISABLE; set_int(btmode, m);
eval_mode(m);
}
}
program {
signal: "elm,state,enabled"; source: "elm";
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
}

View File

@ -0,0 +1,397 @@
group { name: "elm/clock/flipdigit/default";
images.image: "digit_na.png" COMP;
images.image: "digit_0.png" COMP;
images.image: "digit_1.png" COMP;
images.image: "digit_2.png" COMP;
images.image: "digit_3.png" COMP;
images.image: "digit_4.png" COMP;
images.image: "digit_5.png" COMP;
images.image: "digit_6.png" COMP;
images.image: "digit_7.png" COMP;
images.image: "digit_8.png" COMP;
images.image: "digit_9.png" COMP;
images.image: "icon_arrow_up.png" COMP;
images.image: "icon_arrow_down.png" COMP;
script {
public v0_cur, v0_lock, v0_next;
public animator1(val, Float:pos) {
new v;
set_int(v0_lock, 0);
v = get_int(v0_next);
if (v >= 0) {
set_int(v0_next, -1);
message(MSG_INT, 1, v);
}
}
public message(Msg_Type:type, id, ...) {
if ((type == MSG_INT) && (id == 1)) {
new value, buf[11];
value = getarg(2);
if (get_int(v0_lock) == 1) {
set_int(v0_next, value);
return;
}
set_int(v0_cur, value);
set_int(v0_lock, 1);
snprintf(buf, 10, "%i", get_int(v0_cur));
set_state(PART:"digit", buf, 0.0);
anim(1.0, "animator1", 1);
}
}
}
parts {
part { name: "digit_bg";
scale: 1;
description { state: "default" 0.0;
rel1.to: "digit";
rel2.to: "digit";
image.normal: "digit_na.png";
color: 255 255 255 128;
}
}
part { name: "b";
type: RECT;
scale: 1;
mouse_events: 1;
description { state: "default" 0.0;
visible: 0;
rel1.relative: 0.0 0.5;
color: 0 0 0 0;
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
visible: 1;
}
}
part { name: "t";
type: RECT;
scale: 1;
mouse_events: 1;
description { state: "default" 0.0;
visible: 0;
rel2.relative: 1.0 0.5;
color: 0 0 0 0;
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
visible: 1;
}
}
part { name: "digit";
mouse_events: 0;
scale: 1;
description { state: "default" 0.0;
rel1.to_y: "atop";
rel1.relative: 0.0 1.0;
rel2.to_y: "abot";
rel2.relative: 1.0 0.0;
aspect: (52/72) (52/72); aspect_preference: BOTH;
image.normal: "digit_0.png";
}
#define DIGIT_DESC(_DIGIT) \
description { state: _DIGIT 0.0; \
inherit: "default" 0.0; \
image.normal: "digit_"_DIGIT".png"; \
}
DIGIT_DESC("0")
DIGIT_DESC("1")
DIGIT_DESC("2")
DIGIT_DESC("3")
DIGIT_DESC("4")
DIGIT_DESC("5")
DIGIT_DESC("6")
DIGIT_DESC("7")
DIGIT_DESC("8")
DIGIT_DESC("9")
}
#undef DIGIT_DESC
part { name: "atop";
mouse_events: 0;
scale: 1;
description { state: "default" 0.0;
visible: 0;
rel1.relative: 0.0 0.0;
rel2.relative: 1.0 0.2;
align: 0.5 0.0;
aspect: 1 1; aspect_preference: BOTH;
image.normal: "icon_arrow_up.png";
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
visible: 1;
}
}
part { name: "abot";
mouse_events: 0;
scale: 1;
description { state: "default" 0.0;
visible: 0;
rel1.relative: 0.0 0.8;
rel2.relative: 1.0 1.0;
align: 0.5 0.0;
aspect: 1 1; aspect_preference: BOTH;
image.normal: "icon_arrow_down.png";
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
visible: 1;
}
}
part { name: "access.t";
type: RECT;
description { state: "default" 0.0;
rel1.to: "t";
rel2.to: "t";
color: 0 0 0 0;
visible: 0;
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
visible: 1;
}
}
part { name: "access.b";
type: RECT;
description { state: "default" 0.0;
rel1.to: "b";
rel2.to: "b";
color: 0 0 0 0;
visible: 0;
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
visible: 1;
}
}
}
programs {
program { name: "load";
signal: "load";
source: "";
script {
set_int(v0_cur, 0);
set_int(v0_lock, 0);
set_int(v0_next, -1);
}
}
program { name: "edit_on";
signal: "elm,state,edit,on";
source: "elm";
action: STATE_SET "visible" 0.0;
target: "atop";
target: "abot";
target: "t";
target: "b";
}
program { name: "edit_off";
signal: "elm,state,edit,off";
source: "elm";
action: STATE_SET "default" 0.0;
target: "atop";
target: "abot";
target: "t";
target: "b";
}
program { name: "up";
signal: "mouse,down,1";
source: "t";
action: SIGNAL_EMIT "elm,action,up,start" "elm";
}
program { name: "up,stop";
signal: "mouse,up,1";
source: "t";
action: SIGNAL_EMIT "elm,action,up,stop" "elm";
}
program { name: "down";
signal: "mouse,down,1";
source: "b";
action: SIGNAL_EMIT "elm,action,down,start" "elm";
}
program { name: "down,stop";
signal: "mouse,up,1";
source: "b";
action: SIGNAL_EMIT "elm,action,down,stop" "elm";
}
program { name: "access_edit_on";
signal: "elm,state,access,edit,on";
source: "elm";
action: STATE_SET "visible" 0.0;
target: "access.t";
target: "access.b";
}
program { name: "access_edit_off";
signal: "elm,state,access,edit,off";
source: "elm";
action: STATE_SET "default" 0.0;
target: "access.t";
target: "access.b";
}
program { name: "access,up";
signal: "mouse,down,1";
source: "access.t";
action: SIGNAL_EMIT "elm,action,up,start" "elm";
}
program { name: "access,up,stop";
signal: "mouse,up,1";
source: "access.t";
action: SIGNAL_EMIT "elm,action,up,stop" "elm";
}
program { name: "access,down";
signal: "mouse,down,1";
source: "access.b";
action: SIGNAL_EMIT "elm,action,down,start" "elm";
}
program { name: "access,down,stop";
signal: "mouse,up,1";
source: "access.b";
action: SIGNAL_EMIT "elm,action,down,stop" "elm";
}
}
}
group { name: "elm/clock/flipampm/default";
inherit: "elm/clock/flipdigit/default";
images.image: "digit_nm.png" COMP;
images.image: "digit_am.png" COMP;
images.image: "digit_pm.png" COMP;
parts {
part { name: "digit_bg";
scale: 1;
description { state: "default" 0.0;
rel1.to: "digit";
rel2.to: "digit";
image.normal: "digit_nm.png";
color: 255 255 255 128;
}
}
part { name: "digit";
mouse_events: 0;
scale: 1;
description { state: "default" 0.0;
aspect: (48/31) (48/31); aspect_preference: BOTH;
image.normal: "digit_am.png";
}
#define DIGIT_DESC(_DIGIT, _AMPM) \
description { state: _DIGIT 0.0; \
inherit: "default" 0.0; \
image.normal: "digit_"_AMPM".png"; \
}
DIGIT_DESC("0", "am")
DIGIT_DESC("1", "pm")
}
#undef DIGIT_DESC
}
}
#define SWALLOW_PART(_NAME, _R1X, _R1Y, _R2X, _R2Y) \
part { name: _NAME; \
type: SWALLOW; \
description { state: "default" 0.0; \
rel1.relative: _R1X _R1Y; \
rel2.relative: _R2X _R2Y; \
} \
}
#define HOLE_PART(_NAME, _R1X, _R1Y, _R2X, _R2Y, _AX, _AY, _OX, _OY, _W, _H) \
part { name: _NAME; \
mouse_events: 0; \
description { state: "default" 0.0; \
rel1.relative: _R1X _R1Y; \
rel1.offset: _OX _OY; \
rel2.relative: _R2X _R2Y; \
rel2.offset: _OX _OY; \
align: _AX _AY; \
min: _W _H; \
max: _W _H; \
fixed: 1 1; \
image.normal: "hole_tiny.png"; \
} \
}
group { name: "elm/clock/base-all/default";
images.image: "hole_tiny.png" COMP;
parts {
SWALLOW_PART("d0", 0.0, 0.0, 0.125, 1.0)
SWALLOW_PART("d1", 0.125, 0.0, 0.25, 1.0)
HOLE_PART("c0t", 0.25, 0.5, 0.3125, 0.5, 0.5, 1.0, 0, -2, 4, 4)
HOLE_PART("c0b", 0.25, 0.5, 0.3125, 0.5, 0.5, 0.0, 0, 1, 4, 4)
SWALLOW_PART("d2", 0.3125, 0.0, 0.4375, 1.0)
SWALLOW_PART("d3", 0.4375, 0.0, 0.5625, 1.0)
HOLE_PART("c1t", 0.5625, 0.5, 0.625, 0.5, 0.5, 1.0, 0, -2, 4, 4)
HOLE_PART("c1b", 0.5625, 0.5, 0.625, 0.5, 0.5, 0.0, 0, 1, 4, 4)
SWALLOW_PART("d4", 0.625, 0.0, 0.75, 1.0)
SWALLOW_PART("d5", 0.75, 0.0, 0.875, 1.0)
SWALLOW_PART("ampm", 0.875, 0.0, 1.0, 1.0)
}
}
group { name: "elm/clock/base-seconds/default";
parts {
SWALLOW_PART("d0", 0.0, 0.0, 0.142857143, 1.0)
SWALLOW_PART("d1", 0.142857143, 0.0, 0.285714286, 1.0)
HOLE_PART("c0t", 0.285714286, 0.5, 0.357142857, 0.5, 0.5, 1.0, 0, -2, 4, 4)
HOLE_PART("c0b", 0.285714286, 0.5, 0.357142857, 0.5, 0.5, 0.0, 0, 1, 4, 4)
SWALLOW_PART("d2", 0.357142857, 0.0, 0.5, 1.0)
SWALLOW_PART("d3", 0.5, 0.0, 0.642857143, 1.0)
HOLE_PART("c1t", 0.642857143, 0.5, 0.714285714, 0.5, 0.5, 1.0, 0, -2, 4, 4)
HOLE_PART("c1b", 0.642857143, 0.5, 0.714285714, 0.5, 0.5, 0.0, 0, 1, 4, 4)
SWALLOW_PART("d4", 0.714285714, 0.0, 0.857142857, 1.0)
SWALLOW_PART("d5", 0.857142857, 0.0, 1.0, 1.0)
}
}
///////////////////////////////////////////////////////////////////////////////
group { name: "elm/clock/base-am_pm/default";
parts {
SWALLOW_PART("d0", 0.0, 0.0, 0.181818182, 1.0)
SWALLOW_PART("d1", 0.181818182, 0.0, 0.363636364, 1.0)
HOLE_PART("c0t", 0.363636364, 0.5, 0.454545455, 0.5, 0.5, 1.0, 0, -2, 4, 4)
HOLE_PART("c0b", 0.363636364, 0.5, 0.454545455, 0.5, 0.5, 0.0, 0, 1, 4, 4)
SWALLOW_PART("d2", 0.454545455, 0.0, 0.636363636, 1.0)
SWALLOW_PART("d3", 0.636363636, 0.0, 0.818181818, 1.0)
SWALLOW_PART("ampm", 0.818181818, 0.0, 1.0, 1.0)
}
}
///////////////////////////////////////////////////////////////////////////////
group { name: "elm/clock/base/default";
parts {
part { name: "base";
type: RECT;
scale : 1;
description { state: "default" 0.0;
color: 0 0 0 0;
visible: 0;
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
visible: 1;
}
}
SWALLOW_PART("d0", 0.0, 0.0, 0.222222222, 1.0)
SWALLOW_PART("d1", 0.222222222, 0.0, 0.444444444, 1.0)
HOLE_PART("c0t", 0.444444444, 0.5, 0.555555556, 0.5, 0.5, 1.0, 0, -2, 4, 4)
HOLE_PART("c0b", 0.444444444, 0.5, 0.555555556, 0.5, 0.5, 0.0, 0, 1, 4, 4)
SWALLOW_PART("d2", 0.555555556, 0.0, 0.777777778, 1.0)
SWALLOW_PART("d3", 0.777777778, 0.0, 1.0, 1.0)
}
programs {
program { name: "access_on";
signal: "elm,state,access,on";
source: "elm";
action: STATE_SET "visible" 0.0;
target: "base";
}
program { name: "access_off";
signal: "elm,state,access,off";
source: "elm";
action: STATE_SET "default" 0.0;
target: "base";
}
}
}
#undef SWALLOW_PART
#undef HOLE_PART

View File

@ -0,0 +1,629 @@
group { name: "elm/colorselector/palette/default";
data.item: "horizontal_pad" 0;
data.item: "vertical_pad" 0;
images.image: "bevel_dark_in.png" COMP;
parts {
part { name: "elm.picker"; type: SWALLOW;
description { state: "default" 0.0;
fixed: 0 1;
align: 0.5 0.0;
rel2.relative: 1.0 0.0;
}
}
part { name: "sep1";
description { state: "default" 0.0;
fixed: 1 1;
rel1.to_y: "elm.picker";
rel1.offset: 4 4;
rel1.relative: 0.0 1.0;
rel2.to_y: "elm.picker";
rel2.offset: -5 5;
min: 2 2;
max: 99999 2;
image.normal: "bevel_dark_in.png";
image.border: 2 2 2 2;
fill.smooth: 0;
}
description { state: "off" 0.0;
inherit: "default" 0.0;
rel1.offset: 4 -2;
rel2.offset: -5 -1;
visible: 0;
}
}
part { name: "elm.palette"; type: SWALLOW;
description { state: "default" 0.0;
align: 0.5 0.0;
rel1.to_y: "sep1";
rel1.relative: 0.0 1.0;
rel1.offset: 0 4;
rel2.to_y: "sep2";
rel2.relative: 1.0 0.0;
rel2.offset: -1 -5;
}
description { state: "off" 0.0;
inherit: "default" 0.0;
rel1.offset: 0 0;
rel2.offset: -1 -1;
}
}
part { name: "sep2";
description { state: "default" 0.0;
fixed: 1 1;
rel1.to_y: "elm.selector";
rel1.offset: 4 -6;
rel2.to_y: "elm.selector";
rel2.offset: -5 -5;
rel2.relative: 1.0 0.0;
min: 2 2;
max: 99999 2;
image.normal: "bevel_dark_in.png";
image.border: 2 2 2 2;
fill.smooth: 0;
}
description { state: "off" 0.0;
inherit: "default" 0.0;
rel1.offset: 4 0;
rel2.offset: -5 1;
visible: 0;
}
}
part { name: "elm.selector"; type: SWALLOW;
description { state: "default" 0.0;
fixed: 0 1;
align: 0.0 1.0;
rel1.relative: 0.0 1.0;
}
}
}
programs {
program {
source: "elm"; signal: "elm,state,palette";
action: STATE_SET "off" 0.0;
target: "sep1";
target: "sep2";
}
program {
source: "elm"; signal: "elm,state,palette";
action: STATE_SET "default" 0.0;
target: "elm.palette";
}
program {
source: "elm"; signal: "elm,state,components";
action: STATE_SET "off" 0.0;
target: "sep1";
target: "sep2";
target: "elm.palette";
}
program {
source: "elm"; signal: "elm,state,both";
action: STATE_SET "off" 0.0;
target: "sep1";
}
program {
source: "elm"; signal: "elm,state,both";
action: STATE_SET "default" 0.0;
target: "elm.palette";
target: "sep2";
}
program {
source: "elm"; signal: "elm,state,picker";
action: STATE_SET "off" 0.0;
target: "sep1";
target: "sep2";
target: "elm.palette";
}
program {
source: "elm"; signal: "elm,state,all";
action: STATE_SET "default" 0.0;
target: "sep1";
target: "sep2";
target: "elm.palette";
}
}
}
group { name: "elm/colorselector/picker/default";
images.image: "inset_shadow.png" COMP;
images.image: "bevel_in.png" COMP;
images.image: "dot_pattern.png" COMP;
parts {
part { name: "bg"; type: RECT;
scale: 1;
description { state: "default" 0.0;
min: 20 20;
rel1.to: "elm.picker";
rel2.to: "elm.picker";
color: 48 48 48 255;
}
}
part { name: "pat";
description { state: "default" 0.0;
rel1.to: "bg";
rel2.to: "bg";
image.normal: "dot_pattern.png";
TILED_PATTERN(256, 256)
}
}
part { name: "clipper"; type: RECT;
description { state: "default" 0.0;
rel1.to: "elm.picker";
rel2.to: "elm.picker";
}
}
part { name: "elm.picker"; type: SWALLOW;
clip_to: "clipper";
description { state: "default" 0.0;
rel1.offset: 3 3;
rel2.offset: -4 -4;
}
}
part { name: "shadow"; mouse_events: 0;
description { state: "default" 0.0;
image.normal: "inset_shadow.png";
image.border: 5 5 7 3;
image.middle: 0;
rel1.to: "bg";
rel2.to: "bg";
fill.smooth: 0;
color: 255 255 255 128;
}
}
part { name: "inset"; mouse_events: 0;
description { state: "default" 0.0;
image.normal: "bevel_in.png";
image.border: 1 1 1 1;
image.middle: 0;
rel1.to: "bg";
rel1.offset: -1 -1;
rel2.to: "bg";
rel2.offset: 0 0;
fill.smooth: 0;
}
}
}
}
group { name: "elm/colorselector/bg/default";
parts {
part { name: "elm.colorbar_0"; type: SWALLOW;
description { state: "default" 0.0;
rel2.relative: 1.0 0.0;
align: 0.5 0.0;
fixed: 0 1;
}
}
part { name: "elm.colorbar_1"; type: SWALLOW;
description { state: "default" 0.0;
rel1.to_y: "elm.colorbar_0";
rel1.relative: 0.0 1.0;
rel2.to_y: "elm.colorbar_0";
rel2.relative: 1.0 1.0;
align: 0.5 0.0;
fixed: 0 1;
}
}
part { name: "elm.colorbar_2"; type: SWALLOW;
description { state: "default" 0.0;
rel1.to_y: "elm.colorbar_1";
rel1.relative: 0.0 1.0;
rel2.to_y: "elm.colorbar_1";
rel2.relative: 1.0 1.0;
align: 0.5 0.0;
fixed: 0 1;
}
}
part { name: "elm.colorbar_3"; type: SWALLOW;
description { state: "default" 0.0;
rel1.to_y: "elm.colorbar_2";
rel1.relative: 0.0 1.0;
align: 0.5 0.0;
}
}
}
}
group { name: "elm/colorselector/base/default";
images.image: "inset_shadow.png" COMP;
images.image: "bevel_in.png" COMP;
images.image: "ring_shadow.png" COMP;
images.image: "ring_white_blue_glow.png" COMP;
images.image: "col_sel_end_bottom.png" COMP;
images.image: "col_sel_end_top.png" COMP;
parts {
part { name: "elm.bar_bg"; type: SWALLOW; mouse_events: 0;
description { state: "default" 0.0;
min: 32 15;
rel1.offset: 0 10;
rel1.to_x: "elm.arrow_bg";
rel2.offset: -1 -11;
rel2.to_x: "elm.arrow_bg";
}
}
part { name: "elm.bar"; type: SWALLOW; mouse_events: 0;
description { state: "default" 0.0;
rel1.to: "elm.bar_bg";
rel2.to: "elm.bar_bg";
}
}
part { name: "clipper"; type: RECT;
description { state: "default" 0.0;
rel1.to: "shadow";
rel2.to: "shadow";
}
}
part { name: "shadow"; mouse_events: 0;
description { state: "default" 0.0;
image.normal: "inset_shadow.png";
image.border: 5 5 7 3;
image.middle: 0;
rel1.to: "elm.bar_bg";
rel2.to: "elm.bar_bg";
fill.smooth: 0;
color: 255 255 255 128;
}
}
part { name: "inset"; mouse_events: 0;
description { state: "default" 0.0;
image.normal: "bevel_in.png";
image.border: 1 1 1 1;
image.middle: 0;
rel1.to: "shadow";
rel1.offset: -1 -1;
rel2.to: "shadow";
rel2.offset: 0 0;
fill.smooth: 0;
}
}
part { name: "elm.arrow_bg"; type: SWALLOW;
description { state: "default" 0.0;
rel1 {
relative: 1.0 0.0;
offset: 3 0;
to_x: "elm.l_button";
}
rel2 {
relative: 0.0 1.0;
offset: -4 0;
to_x: "elm.r_button";
}
}
}
part { name: "elm.arrow"; type: RECT;
description { state: "default" 0.0;
fixed: 1 1;
min: 1 1;
rel1.to_x: "elm.arrow_bg";
rel2.to_x: "elm.arrow_bg";
visible: 0;
}
dragable {
confine: "elm.arrow_bg";
x: 1 1 0;
y: 0 0 0;
}
}
part { name: "event"; type: RECT;
description { state: "default" 0.0;
rel1.to: "elm.arrow_icon";
rel2.to_x: "elm.arrow_icon";
rel2.to_y: "elm.arrow_bg";
color: 0 0 0 0;
}
dragable.events: "elm.arrow";
}
part { name: "arrow_under"; mouse_events: 0;
description { state: "default" 0.0;
image.normal: "ring_shadow.png";
rel1.to: "elm.arrow_icon";
rel2.to: "elm.arrow_icon";
}
}
part { name: "elm.arrow_icon"; type: SWALLOW; mouse_events: 0;
scale: 1;
description { state: "default" 0.0;
fixed: 1 1;
min: 16 16;
max: 16 16;
align: 0.5 (28/32);
rel1.to_x: "elm.arrow";
rel1.to_y: "shadow";
rel2.relative: 1.0 0.0;
rel2.to_x: "elm.arrow";
rel2.to_y: "shadow";
}
}
part { name: "end1"; mouse_events: 0;
clip_to: "clipper";
description { state: "default" 0.0;
image.normal: "col_sel_end_top.png";
FIXED_SIZE(11, 8)
align: 0.5 0.0;
rel1.to_x: "cursor";
rel2.to_x: "cursor";
rel1.to_y: "shadow";
rel2.to_y: "shadow";
}
}
part { name: "end2"; mouse_events: 0;
clip_to: "clipper";
description { state: "default" 0.0;
image.normal: "col_sel_end_bottom.png";
FIXED_SIZE(11, 8)
align: 0.5 1.0;
rel1.to_x: "cursor";
rel2.to_x: "cursor";
rel1.to_y: "shadow";
rel2.to_y: "shadow";
}
}
part { name: "arrow_over"; mouse_events: 0;
description { state: "default" 0.0;
image.normal: "ring_white_blue_glow.png";
rel1.to: "elm.arrow_icon";
rel2.to: "elm.arrow_icon";
}
}
part { name: "cursor"; type: RECT;
description { state: "default" 0.0;
fixed: 1 1;
min: 1 1;
rel1.to_x: "elm.arrow_icon";
rel1.to_y: "shadow";
rel1.relative: 0.5 0.0;
rel2.to_x: "elm.arrow_icon";
rel2.to_y: "shadow";
rel2.relative: 0.5 1.0;
rel2.offset: 0 -1;
color: 255 255 255 255;
}
dragable.events: "elm.arrow";
}
part { name: "elm.arrow_bg_access"; type: RECT;
repeat_events: 1;
description { state: "default" 0.0;
rel1.to: "elm.arrow_bg";
rel2.to: "elm.arrow_bg";
color: 0 0 0 0;
}
}
part { name: "elm.l_button"; type: SWALLOW;
scale: 1;
description { state: "default" 0.0;
fixed: 1 1;
min: 17 17;
rel1.relative: 0.0 0.0;
rel1.to_y: "elm.bar_bg";
rel2.relative: 0.0 1.0;
rel2.to_y: "elm.bar_bg";
align: 0.0 0.5;
}
}
part { name: "elm.r_button"; type: SWALLOW;
scale: 1;
description { state: "default" 0.0;
fixed: 1 1;
min: 17 17;
rel1.relative: 1.0 0.0;
rel1.to_y: "elm.bar_bg";
rel2.relative: 1.0 1.0;
rel2.to_y: "elm.bar_bg";
align: 1.0 0.5;
}
}
}
}
group { name: "elm/colorselector/arrow/default";
images.image: "ring_white_middle.png" COMP;
parts {
part { name: "base";
description { state: "default" 0.0;
aspect: 1.0 1.0; aspect_preference: BOTH;
image.normal: "ring_white_middle.png";
}
}
}
}
group{ name: "elm/colorselector/image/colorbar_0/default";
images {
image: "color_picker_color.png" COMP;
}
parts {
part { name: "colorbar_0_image";
type: IMAGE;
description { state: "default" 0.0;
rel2.offset: -1 -1;
image.normal: "color_picker_color.png";
}
}
}
}
group { name: "elm/colorselector/image/colorbar_1/default";
images.image: "color_picker_opacity.png" COMP;
parts {
part { name: "colorbar_1_image";
description { state: "default" 0.0;
image.normal: "color_picker_opacity.png";
}
}
}
}
group { name: "elm/colorselector/image/colorbar_2/default";
images.image: "color_picker_brightness.png" COMP;
parts {
part { name: "colorbar_2_image";
description { state: "default" 0.0;
image.normal: "color_picker_brightness.png";
}
}
}
}
group { name: "elm/colorselector/image/colorbar_3/default";
images.image: "color_picker_alpha.png" COMP;
parts {
part { name: "colorbar_3_image";
description { state: "default" 0.0;
image.normal: "color_picker_alpha.png";
}
}
}
}
group { name: "elm/colorselector/bg_image/colorbar_3/default";
images.image: "dot_pattern.png" COMP;
parts {
part { name: "bg"; type: RECT;
description { state: "default" 0.0;
color: 48 48 48 255;
}
}
part { name: "pat";
description { state: "default" 0.0;
rel1.to: "bg";
rel2.to: "bg";
image.normal: "dot_pattern.png";
TILED_PATTERN(256, 256)
}
}
}
}
group { name: "elm/colorselector/item/default";
images.image: "inset_shadow.png" COMP;
images.image: "bevel_in.png" COMP;
images.image: "dot_pattern.png" COMP;
images.image: "bg_glow_in.png" COMP;
parts {
part { name: "bg"; type: RECT;
scale: 1;
description { state: "default" 0.0;
min: 20 20;
rel1.to: "color_obj";
rel2.to: "color_obj";
color: 48 48 48 255;
}
}
part { name: "pat";
description { state: "default" 0.0;
rel1.to: "bg";
rel2.to: "bg";
image.normal: "dot_pattern.png";
TILED_PATTERN(256, 256)
}
}
part { name: "clipper"; type: RECT;
description { state: "default" 0.0;
rel1.to: "color_obj";
rel2.to: "color_obj";
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
color: 255 255 255 64;
}
}
part { name: "color_obj"; type: SWALLOW;
clip_to: "clipper";
description { state: "default" 0.0;
rel1.offset: 3 3;
rel2.offset: -4 -4;
}
}
part { name: "shadow"; mouse_events: 0;
description { state: "default" 0.0;
image.normal: "inset_shadow.png";
image.border: 5 5 7 3;
image.middle: 0;
rel1.to: "bg";
rel2.to: "bg";
fill.smooth: 0;
color: 255 255 255 128;
}
}
part { name: "dim"; type: RECT; mouse_events: 0;
description { state: "default" 0.0;
rel1.to: "bg";
rel2.to: "bg";
color: 0 0 0 0;
}
description { state: "focused" 0.0;
inherit: "default" 0.0;
color: 0 0 0 128;
}
}
part { name: "glow"; mouse_events: 0;
description { state: "default" 0.0;
rel1.to: "bg";
rel2.to: "bg";
image.normal: "bg_glow_in.png";
image.border: 7 7 7 7;
image.middle: 0;
fill.smooth: 0;
color: 255 255 255 0;
}
description { state: "focused" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255;
}
}
part { name: "inset"; mouse_events: 0;
description { state: "default" 0.0;
image.normal: "bevel_in.png";
image.border: 1 1 1 1;
image.middle: 0;
rel1.to: "bg";
rel1.offset: -1 -1;
rel2.to: "bg";
rel2.offset: 0 0;
fill.smooth: 0;
}
}
}
programs {
program {
source: "elm"; signal: "elm,state,selected";
action: STATE_SET "focused" 0.0;
transition: DECELERATE 0.1;
target: "glow";
target: "dim";
}
program {
source: "elm"; signal: "elm,state,unselected";
action: STATE_SET "default" 0.0;
transition: DECELERATE 0.5;
target: "glow";
target: "dim";
}
program {
signal: "elm,anim,activate"; source: "elm";
action: STATE_SET "focused" 0.0;
transition: DECELERATE 0.1;
target: "glow";
target: "dim";
after: "active2";
}
program { name: "active2";
action: STATE_SET "default" 0.0;
transition: DECELERATE 0.8;
target: "glow";
target: "dim";
}
}
}
group { name: "elm/colorselector/item/color/default";
parts {
part { name: "color_rect"; type: RECT;
description{ state: "default" 0.0;
}
}
}
}

View File

@ -0,0 +1,263 @@
///////////////////////////////////////////////////////////////////////////////
group { name: "elm/ctxpopup/bg/noblock";
parts {
part { name: "base"; type: RECT; mouse_events: 0;
description { state: "default" 0.0;
color: 0 0 0 0;
}
}
}
}
group { name: "elm/ctxpopup/bg/default";
parts {
part { name: "base"; type: RECT;
description { state: "default" 0.0;
color: 0 0 0 0;
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
color: 0 0 0 192;
}
}
}
programs {
program {
signal: "mouse,clicked,1"; source: "base";
action: SIGNAL_EMIT "elm,action,click" "elm";
}
program {
signal: "elm,state,show"; source: "elm";
action: STATE_SET "visible" 0.0;
transition: LINEAR 0.2;
target: "base";
}
program {
signal: "elm,state,hide"; source: "elm";
action: STATE_SET "default" 0.0;
transition: LINEAR 0.3;
target: "base";
}
}
}
group { name: "elm/ctxpopup/base/default";
images.image: "tooltip-base.png" COMP;
parts {
part { name: "base";
clip_to: "clip";
description { state: "default" 0.0;
image.normal: "tooltip-base.png";
image.border: 7 7 6 8;
image.middle: SOLID;
}
}
part { name: "elm.swallow.content"; type: SWALLOW;
clip_to: "clip";
description { state: "default" 0.0;
rel1 { to:"base"; offset: 8 6; }
rel2 { to:"base"; offset: -7 -8; }
}
}
part { name: "event"; type: RECT;
description { state: "default" 0.0;
color: 0 0 0 0;
visible: 1;
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
visible: 0;
}
}
part { name: "clip"; type: RECT;
description { state: "default" 0.0;
color: 255 255 255 0;
visible: 0;
rel1.offset: -20 -20;
rel2.offset: 19 19;
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255;
visible: 1;
}
}
// 9x13
part { name: "arrow_area_left"; type: SPACER;
description { state: "default" 0.0;
min: 9 13;
fixed: 1 0;
align: 1.0 0.5;
rel1.to: "base";
rel1.offset: 2 5;
rel2.to: "base";
rel2.offset: 2 -6;
rel2.relative: 0.0 1.0;
}
}
part { name: "elm.swallow.arrow_left"; type: SWALLOW; mouse_events: 0;
clip_to: "clip";
dragable.x: 1 1 0;
dragable.y: 1 1 0;
dragable.confine: "arrow_area_left";
description { state: "default" 0.0;
min: 9 13;
fixed: 1 1;
}
}
part { name: "arrow_area_right"; type: SPACER;
description { state: "default" 0.0;
min: 9 13;
fixed: 1 0;
align: 0.0 0.5;
rel1.to: "base";
rel1.offset: -3 5;
rel1.relative: 1.0 0.0;
rel2.to: "base";
rel2.offset: -3 -6;
}
}
part { name: "elm.swallow.arrow_right"; type: SWALLOW; mouse_events: 0;
clip_to: "clip";
dragable.x: 1 1 0;
dragable.y: 1 1 0;
dragable.confine: "arrow_area_right";
description { state: "default" 0.0;
min: 9 13;
fixed: 1 1;
}
}
// 11x9
part { name: "arrow_area_up"; type: SPACER;
description { state: "default" 0.0;
min: 11 9;
fixed: 1 1;
align: 0.5 1;
rel1.to: "base";
rel1.offset: 5 3;
rel2.to: "base";
rel2.offset: -6 3;
rel2.relative: 1.0 0.0;
}
}
part { name: "elm.swallow.arrow_up"; type: SWALLOW; mouse_events: 0;
clip_to: "clip";
dragable.x: 1 1 0;
dragable.y: 1 1 0;
dragable.confine: "arrow_area_up";
description { state: "default" 0.0;
min: 11 9;
fixed: 1 1;
}
}
part { name: "arrow_area_down"; type: SPACER;
description { state: "default" 0.0;
min: 11 9;
fixed: 1 1;
align: 0.5 0.0;
rel1.to: "base";
rel1.offset: 5 -4;
rel1.relative: 0.0 1.0;
rel2.to: "base";
rel2.offset: -6 -4;
}
}
part { name: "elm.swallow.arrow_down"; type: SWALLOW; mouse_events: 0;
clip_to: "clip";
dragable.x: 1 1 0;
dragable.y: 1 1 0;
dragable.confine: "arrow_area_down";
description { state: "default" 0.0;
min: 11 9;
fixed: 1 1;
}
}
}
programs {
program {
signal: "elm,state,show"; source: "elm";
action: STATE_SET "visible" 0.0;
transition: LINEAR 0.2;
target: "clip";
target: "event";
}
program {
signal: "elm,state,hide"; source: "elm";
action: STATE_SET "default" 0.0;
transition: LINEAR 0.3;
target: "clip";
target: "event";
after: "hide2";
}
program { name: "hide2";
action: SIGNAL_EMIT "elm,action,hide,finished" "elm";
}
}
}
group { name: "elm/ctxpopup/arrow/default";
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;
parts {
part { name: "base";
description { state: "default" 0.0;
min: 9 9;
fixed: 1 1;
image.normal: "tooltip-edge-left-tip.png";
}
description { state: "left" 0.0;
inherit: "default" 0.0;
min: 9 13;
align: 0.0 0.5;
image.normal: "tooltip-edge-left-tip.png";
}
description { state: "right" 0.0;
inherit: "default" 0.0;
min: 9 13;
align: 1.0 0.5;
image.normal: "tooltip-edge-right-tip.png";
}
description { state: "top" 0.0;
inherit: "default" 0.0;
min: 11 9;
align: 0.5 0.0;
image.normal: "tooltip-edge-top-tip.png";
}
description { state: "bottom" 0.0;
inherit: "default" 0.0;
min: 11 9;
align: 0.5 1.0;
image.normal: "tooltip-edge-bottom-tip.png";
}
}
}
programs {
program {
signal: "elm,state,left"; source: "elm";
action: STATE_SET "left" 0.0;
target: "base";
}
program {
signal: "elm,state,right"; source: "elm";
action: STATE_SET "right" 0.0;
target: "base";
}
program {
signal: "elm,state,top"; source: "elm";
action: STATE_SET "top" 0.0;
target: "base";
}
program {
signal: "elm,state,bottom"; source: "elm";
action: STATE_SET "bottom" 0.0;
target: "base";
}
}
}

View File

@ -0,0 +1,192 @@
#define DATETIME_FIELD(_pos) \
part { \
name: "field"#_pos; type: SWALLOW; \
scale: 1; \
description { state: "default" 0.0; \
visible: 0; \
min: 0 0; \
align: 0.0 0.5; \
fixed: 1 0; \
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: 255 255 255 255; \
color3: 0 0 0 128; \
color_class: "datetime_text"; \
text { \
font: "Sans"; size: 10; \
min: 1 0; \
align: 0.5 0.5; \
text_class: "datetime_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: 21 21 21 255; \
color3: 255 255 255 25; \
color_class: "datetime_text"; \
text { \
text_source: "separator"#_pos; \
font: "Sans"; size: 10; \
text_class: "datetime_text"; \
} \
} \
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/datetime/base/default";
parts {
part { name: "disclip"; type: RECT;
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;
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)
part { name: "separator7"; type: SPACER;
description { state: "default" 0.0;
rel1.to: "separator6";
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

View File

@ -0,0 +1,487 @@
#define DAYSELECOR_DAY_POS_LEFT 1
#define DAYSELECOR_DAY_POS_RIGHT 2
#define DAYSELECOR_DAY_POS_MIDDLE 3
#define DAYSELECOR_DAY_TYPE_WEEKDAY 1
#define DAYSELECOR_DAY_TYPE_WEEKEND_DEFAULT 2
#define DAYSELECOR_DAY_TYPE_WEEKEND_STYLE1 3
#define DAYSELECOR_DAY_STATE_DEFAULT 1
#define DAYSELECOR_DAY_STATE_PRESSED 2
#define DAYSELECOR_DAY_STATE_SELECTED 3
#define DAYSELECTOR_DAY(_pos, _after)\
part {\
name: "day"#_pos;\
type: SWALLOW;\
scale: 1;\
clip_to: "clipper";\
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: "day"#_after;\
offset: 0 0;\
}\
rel2 {\
relative: 1.0 1.0;\
to: "day"#_after;\
}\
}\
description { state: "visible" 0.0;\
inherit: "default" 0.0;\
visible: 1;\
min: 48 32;\
}\
}\
programs{\
program {\
name: "day"#_pos"visible";\
signal: "day"#_pos",visible";\
source: "elm";\
action: STATE_SET "visible" 0.0;\
target: "day"#_pos;\
}\
program {\
name: "day"#_pos"notvisible";\
signal: "day"#_pos",default";\
source: "elm";\
action: STATE_SET "default" 0.0;\
target: "day"#_pos;\
}\
}
group { name: "elm/dayselector/base/default";
parts {
part {
name: "day0";
type: SWALLOW;
scale: 1;
clip_to: "clipper";
description { state: "default" 0.0;
visible: 0;
align: 0.0 0.5;
fixed: 1 0;
rel2.relative: 0.0 1.0;
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
visible: 1;
min: 48 32;
}
}
DAYSELECTOR_DAY(1, 0)
DAYSELECTOR_DAY(2, 1)
DAYSELECTOR_DAY(3, 2)
DAYSELECTOR_DAY(4, 3)
DAYSELECTOR_DAY(5, 4)
DAYSELECTOR_DAY(6, 5)
part {
name: "clipper";
type: RECT;
description {
state: "default" 0.0;
rel1.to: "day0";
rel2.to: "day6";
}
description {
state: "visible" 0.0;
inherit: "default" 0.0;
color: 185 185 185 185;
}
}
part {
name: "disabler";
type: RECT;
description {
state: "default" 0.0;
color: 0 0 0 0;
visible: 0;
}
description {
state: "visible" 0.0;
inherit: "default" 0.0;
visible: 1;
}
}
}
programs {
program {
name: "disble_dayselector";
signal: "elm,state,disabled";
source: "elm";
action: STATE_SET "visible" 0.0;
target: "disabler";
target: "clipper";
}
program {
name: "enable_dayselector";
signal: "elm,state,enabled";
source: "elm";
action: STATE_SET "default" 0.0;
target: "disabler";
target: "clipper";
}
program {
name: "day0_visible";
signal: "day0,visible";
source: "elm";
action: STATE_SET "visible" 0.0;
target: "day0";
}
program {
name: "day0_default";
signal: "day0,default";
source: "elm";
action: STATE_SET "default" 0.0;
target: "day0";
}
}
}
group { name: "elm/check/base/dayselector/default";
images {
image: "day_middle_normal.png" COMP;
image: "day_left_normal.png" COMP;
image: "day_right_normal.png" COMP;
image: "day_middle_press.png" COMP;
image: "day_middle_selected.png" COMP;
image: "day_left_press.png" COMP;
image: "day_left_selected.png" COMP;
image: "day_right_press.png" COMP;
image: "day_right_selected.png" COMP;
}
script {
public check_pos; // Left, Right, Middle.
public check_type; // Weekday, Weekend.
public check_state = DAYSELECOR_DAY_STATE_DEFAULT; // Default, Pressed, Selected.
public check_bg_show() {
if(get_int(check_pos) == DAYSELECOR_DAY_POS_LEFT) {
if(get_int(check_state) == DAYSELECOR_DAY_STATE_DEFAULT)
set_state(PART:"bg", "default_left", 0.0);
else if(get_int(check_state) == DAYSELECOR_DAY_STATE_PRESSED)
set_state(PART:"bg", "pressed_left", 0.0);
else if(get_int(check_state) == DAYSELECOR_DAY_STATE_SELECTED)
set_state(PART:"bg", "selected_left", 0.0);
}
else if(get_int(check_pos) == DAYSELECOR_DAY_POS_RIGHT) {
if(get_int(check_state) == DAYSELECOR_DAY_STATE_DEFAULT)
set_state(PART:"bg", "default_right", 0.0);
else if(get_int(check_state) == DAYSELECOR_DAY_STATE_PRESSED)
set_state(PART:"bg", "pressed_right", 0.0);
else if(get_int(check_state) == DAYSELECOR_DAY_STATE_SELECTED)
set_state(PART:"bg", "selected_right", 0.0);
}
else if(get_int(check_pos) == DAYSELECOR_DAY_POS_MIDDLE) {
if(get_int(check_state) == DAYSELECOR_DAY_STATE_DEFAULT)
set_state(PART:"bg", "default_middle", 0.0);
else if(get_int(check_state) == DAYSELECOR_DAY_STATE_PRESSED)
set_state(PART:"bg", "pressed_middle", 0.0);
else if(get_int(check_state) == DAYSELECOR_DAY_STATE_SELECTED)
set_state(PART:"bg", "selected_middle", 0.0);
}
}
public check_text_show() {
if(get_int(check_state) == DAYSELECOR_DAY_STATE_SELECTED) {
set_state(PART:"elm.text", "selected", 0.0);
set_state(PART:"text2", "selected", 0.0);
} else {
if(get_int(check_type) == DAYSELECOR_DAY_TYPE_WEEKDAY) {
set_state(PART:"elm.text", "default", 0.0);
set_state(PART:"text2", "default", 0.0);
} else if (get_int(check_type) ==
DAYSELECOR_DAY_TYPE_WEEKEND_DEFAULT) {
set_state(PART:"elm.text", "weekend_default", 0.0);
set_state(PART:"text2", "weekend_default", 0.0);
}
else if (get_int(check_type) == DAYSELECOR_DAY_TYPE_WEEKEND_STYLE1) {
set_state(PART:"elm.text", "weekend_style1", 0.0);
set_state(PART:"text2", "weekend_style1", 0.0);
}
}
}
public check_text_pressed() {
set_state(PART:"elm.text", "pressed", 0.0);
set_state(PART:"text2", "default", 0.0);
}
}
parts {
part {
name: "bg";
mouse_events: 0;
scale: 1;
description {
state: "default" 0.0;
image {
normal: "day_middle_normal.png";
border: 1 1 3 4;
}
}
/* default */
description { state: "default_left" 0.0;
inherit: "default" 0.0;
image {
normal: "day_left_normal.png";
border: 4 1 3 4;
}
}
description { state: "default_right" 0.0;
inherit: "default" 0.0;
image {
normal: "day_right_normal.png";
border: 1 4 3 5;
}
}
description { state: "default_middle" 0.0;
inherit: "default" 0.0;
image {
normal: "day_middle_normal.png";
border: 1 1 3 4;
}
}
/* pressed */
description { state: "pressed_left" 0.0;
inherit: "default" 0.0;
image {
normal: "day_left_press.png";
border: 5 1 4 5;
}
}
description { state: "pressed_right" 0.0;
inherit: "default" 0.0;
image {
normal: "day_right_press.png";
border: 1 5 4 5;
}
}
description { state: "pressed_middle" 0.0;
inherit: "default" 0.0;
image {
normal: "day_middle_press.png";
border: 2 1 4 7;
}
}
/* selected */
description { state: "selected_left" 0.0;
inherit: "default" 0.0;
image {
normal: "day_left_selected.png";
border: 5 1 4 5;
}
}
description { state: "selected_right" 0.0;
inherit: "default" 0.0;
image {
normal: "day_right_selected.png";
border: 1 5 4 5;
}
}
description { state: "selected_middle" 0.0;
inherit: "default" 0.0;
image {
normal: "day_middle_selected.png";
border: 2 1 4 7;
}
}
}
part {
name: "left_padding";
type: SPACER;
scale: 1;
description { state: "default" 0.0;
min: 5 0;
fixed: 1 0;
align: 0.0 0.5;
rel2.relative: 0.0 1.0;
}
}
part {
name: "right_padding";
type: SPACER;
scale: 1;
description { state: "default" 0.0;
min: 5 0;
fixed: 1 0;
align: 1.0 0.5;
rel1.relative: 1.0 0.0;
}
}
part {
name: "elm.text";
type: TEXT;
mouse_events: 0;
scale: 1;
effect: SHADOW BOTTOM;
description { state: "default" 0.0;
rel1 {
to: "left_padding";
relative: 1.0 0.0;
}
rel2 {
to: "right_padding";
relative: 0.0 1.0;
}
text {
font: FN;
size: 10;
min: 1 1;
text_class: "button";
}
color: FN_COL_DEFAULT;
}
description { state: "weekend_default" 0.0;
inherit: "default" 0.0;
color: 175 175 175 255;
color3: 0 0 0 128;
visible: 1;
}
description { state: "weekend_style1" 0.0;
inherit: "default" 0.0;
visible: 0;
}
description { state: "selected" 0.0;
inherit: "default" 0.0;
visible: 0;
}
description { state: "pressed" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255;
color3: 255 255 255 0;
visible: 1;
}
}
part {
name: "text2";
type: TEXT;
mouse_events: 0;
scale: 1;
effect: GLOW;
description { state: "default" 0.0;
rel1.to: "elm.text";
rel1.offset: 0 -1;
rel2.to: "elm.text";
rel2.offset: -1 -2;
text {
font: FN;
size: 10;
min: 1 1;
text_source: "elm.text";
text_class: "button";
}
color: FN_COL_HIGHLIGHT;
visible: 0;
}
description { state: "weekend_default" 0.0;
inherit: "default" 0.0;
visible: 0;
}
description { state: "weekend_style1" 0.0;
inherit: "default" 0.0;
visible: 1;
}
description { state: "selected" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255;
color2: 255 255 255 24;
color3: 255 255 255 18;
visible: 1;
}
}
part {
name: "events";
type: RECT;
ignore_flags: ON_HOLD;
description {
state: "default" 0.0;
rel1.to: "bg";
rel2.to: "bg";
color: 0 0 0 0;
}
}
}
programs {
program { name: "check,pressed";
signal: "mouse,down,1"; source: "events";
script {
set_int(check_state, DAYSELECOR_DAY_STATE_PRESSED);
check_bg_show();
check_text_pressed();
}
}
program { name: "check,toggle";
signal: "mouse,up,1"; source: "events";
action: SIGNAL_EMIT "elm,action,check,toggle" "elm";
}
program { name: "check,on";
signal: "elm,state,check,on"; source: "elm";
script {
set_int(check_state, DAYSELECOR_DAY_STATE_SELECTED);
check_bg_show();
check_text_show();
}
}
program { name: "check,off";
signal: "elm,state,check,off"; source: "elm";
script {
set_int(check_state, DAYSELECOR_DAY_STATE_DEFAULT);
check_bg_show();
check_text_show();
}
}
program { name: "check,left";
signal: "elm,pos,check,left"; source: "elm";
script {
set_int(check_pos, DAYSELECOR_DAY_POS_LEFT);
check_bg_show();
}
}
program { name: "check,right";
signal: "elm,pos,check,right"; source: "elm";
script {
set_int(check_pos, DAYSELECOR_DAY_POS_RIGHT);
check_bg_show();
}
}
program { name: "check,middle";
signal: "elm,pos,check,middle"; source: "elm";
script {
set_int(check_pos, DAYSELECOR_DAY_POS_MIDDLE);
check_bg_show();
}
}
program { name: "check,weekday";
signal: "elm,type,weekday,default"; source: "elm";
script {
set_int(check_type, DAYSELECOR_DAY_TYPE_WEEKDAY);
check_text_show();
}
}
program { name: "check,weekend,default";
signal: "elm,type,weekend,default"; source: "elm";
script {
set_int(check_type, DAYSELECOR_DAY_TYPE_WEEKEND_DEFAULT);
check_text_show();
}
}
program { name: "check,weekend,style1";
signal: "elm,type,weekend,style1"; source: "elm";
script {
set_int(check_type, DAYSELECOR_DAY_TYPE_WEEKEND_STYLE1);
check_text_show();
}
}
}
}
#undef DAYSELECOR_DAY_POS_LEFT
#undef DAYSELECOR_DAY_POS_RIGHT
#undef DAYSELECOR_DAY_POS_MIDDLE
#undef DAYSELECOR_DAY_TYPE_WEEKDAY
#undef DAYSELECOR_DAY_TYPE_WEEKEND_DEFAULT
#undef DAYSELECOR_DAY_TYPE_WEEKEND_STYLE1
#undef DAYSELECOR_DAY_STATE_DEFAULT
#undef DAYSELECOR_DAY_STATE_PRESSED
#undef DAYSELECOR_DAY_STATE_SELECTED
#undef DAYSELECTOR_DAY

View File

@ -0,0 +1,388 @@
group { name: "elm/diskselector/base/default";
images {
image: "bar_shine.png" COMP;
}
parts {
part { name: "bg";
type: RECT;
mouse_events: 0;
description { state: "default" 0.0;
color: 25 25 25 255;
}
}
part { name: "shine_center";
mouse_events: 0;
description { state: "default" 0.0;
rel1.to: "bg";
rel2.to: "bg";
image.normal: "bar_shine.png";
color: 255 255 255 127;
}
}
part { name: "clipper";
type: RECT;
description { state: "default" 0.0;
rel1.to: "bg";
rel2.to: "bg";
rel1.offset: 2 2;
rel2.offset: -3 -3;
}
}
part { name: "elm.swallow.content";
clip_to: "clipper";
type: SWALLOW;
description { state: "default" 0.0;
rel1.to: "bg";
rel2.to: "bg";
}
}
}
}
group { name: "elm/diskselector/item/default";
data {
item: "len_threshold" "14";
item: "display_item_num" "3";
item: "min_height" "-1";
item: "min_width" "-1";
}
parts {
part { name: "elm.swallow.icon";
type: SWALLOW;
scale: 1;
description { state: "default" 0.0;
fixed: 1 0;
align: 0.0 0.5;
rel1 {
relative: 0 0;
offset: 1 1;
}
rel2 {
relative: 0 1;
offset: 1 -2;
}
}
description { state: "show" 0.0;
inherit: "default" 0.0;
min: 10 10;
aspect: 1.0 1.0;
}
description { state: "default_small" 0.0;
inherit: "default" 0.0;
rel1.relative: 0 0.2;
rel2.relative: 0 0.8;
min: 10 10;
aspect: 1.0 1.0;
}
description { state: "left_side" 0.0;
inherit: "default" 0.0;
rel1.relative: 0 0.2;
rel2.relative: 0 0.8;
color: 255 255 255 160;
min: 10 10;
aspect: 1.0 1.0;
}
description { state: "right_side" 0.0;
inherit: "left_side" 0.0;
rel1.relative: 0.4 0.2;
rel2.relative: 0.4 0.8;
color: 255 255 255 160;
min: 10 10;
aspect: 1.0 1.0;
}
description { state: "icon_only" 0.0;
inherit: "default" 0.0;
align: 0.5 0.5;
rel1.relative: 0 0;
rel2.relative: 1 1;
min: 10 10;
aspect: 1.0 1.0;
}
}
part { name: "elm.text";
type: TEXT;
scale: 1;
description { state: "default" 0.0;
rel1.relative: 1 0.0;
rel1.to_x: "elm.swallow.icon";
rel2.relative: 1.0 1.0;
visible: 0;
text {
font: "Sans,Edje-Vera";
size: 10;
align: 0.5 0.5;
min: 0 1;
}
}
description { state: "show" 0.0;
inherit: "default" 0.0;
visible: 1;
}
description { state: "default_small" 0.0;
inherit: "default" 0.0;
visible: 1;
text.size: 10;
}
description { state: "left_side" 0.0;
inherit: "default" 0.0;
color: 127 127 127 255;
text.size: 8;
visible: 1;
text.align: 0.2 0.5;
}
description { state: "right_side" 0.0;
inherit: "default" 0.0;
color: 127 127 127 255;
visible: 1;
text.size: 8;
text.align: 0.8 0.5;
}
description { state: "text_only" 0.0;
inherit: "default" 0.0;
visible: 1;
rel1.relative: 0 0;
rel2.relative: 1 1;
}
description { state: "text_only_left_side" 0.0;
inherit: "left_side" 0.0;
rel1.relative: 0 0;
rel2.relative: 1 1;
}
description { state: "text_only_right_side" 0.0;
inherit: "right_side" 0.0;
visible: 1;
rel1.relative: 0 0;
rel2.relative: 1 1;
}
}
part { name: "over1";
type: RECT;
mouse_events: 1;
repeat_events: 1;
ignore_flags: ON_HOLD;
description {
state: "default" 0.0;
color: 0 0 0 0;
}
}
}
programs {
script {
public item_style; // 0:icon and text, 1:text only, 2:con only
}
program { name: "center_text";
signal: "elm,state,center"; source: "elm";
script {
if (get_int(item_style) == 1)
set_state(PART:"elm.text", "text_only", 0.0);
else if (get_int(item_style) == 2)
set_state(PART:"elm.swallow.icon", "icon_only", 0.0);
else
{
set_state(PART:"elm.text", "show", 0.0);
set_state(PART:"elm.swallow.icon", "show", 0.0);
}
}
}
program { name: "center_small_text";
signal: "elm,state,center_small"; source: "elm";
action: STATE_SET "default_small" 0.0;
target: "elm.text";
target: "elm.swallow.icon";
}
program { name: "l_side_text";
signal: "elm,state,left_side"; source: "elm";
script {
if (get_int(item_style) == 1)
set_state(PART:"elm.text", "text_only_left_side", 0.0);
else if (get_int(item_style) == 2)
set_state(PART:"elm.swallow.icon", "left_side", 0.0);
else
{
set_state(PART:"elm.text", "left_side", 0.0);
set_state(PART:"elm.swallow.icon", "left_side", 0.0);
}
}
}
program { name: "r_side_text";
signal: "elm,state,right_side"; source: "elm";
script {
if (get_int(item_style) == 1)
set_state(PART:"elm.text", "text_only_right_side", 0.0);
else if (get_int(item_style) == 2)
set_state(PART:"elm.swallow.icon", "right_side", 0.0);
else
{
set_state(PART:"elm.text", "right_side", 0.0);
set_state(PART:"elm.swallow.icon", "right_side", 0.0);
}
}
}
program { name: "icon_only";
signal: "elm,state,icon,only"; source: "elm";
script {
set_state(PART:"elm.swallow.icon", "icon_only", 0.0);
set_int(item_style, 2);
}
}
program { name: "text_only";
signal: "elm,state,text,only"; source: "elm";
script {
set_state(PART:"elm.text", "text_only", 0.0);
set_int(item_style, 1);
}
}
program { name: "text_icon";
signal: "elm,state,text,icon"; source: "elm";
script {
set_int(item_style, 0);
}
}
program { name: "field_click";
signal: "mouse,clicked,1"; source: "over1";
action: SIGNAL_EMIT "elm,action,click" "elm";
}
}
}
///////////////////////////////////////////////////////////////////////////////
// diskselector item : datetime style
///////////////////////////////////////////////////////////////////////////////
group { name: "elm/diskselector/item/datetime/default";
data {
item: "len_threshold" "10";
item: "min_height" "-1";
item: "min_width" "-1";
}
parts {
part { name: "elm.text"; type: TEXT;
mouse_events: 0;
scale: 1;
description { state: "default" 0.0;
min: 10 10;
align: 0.0 0.0;
color: 172 172 172 255;
visible: 1;
text {
font: "Sans,Edje-Vera";
size: 10;
min: 1 1;
}
}
description { state: "center_sel" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255;
}
description { state: "left_side" 0.0;
inherit: "default" 0.0;
color: 152 152 152 255;
text.align: 0.2 0.5;
}
description { state: "left_side_sel" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255;
text.align: 0.2 0.5;
}
description { state: "right_side" 0.0;
inherit: "default" 0.0;
color: 152 152 152 255;
text.align: 0.8 0.5;
}
description { state: "right_side_sel" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255;
text.align: 0.8 0.5;
}
}
part { name: "over1";
type: RECT;
mouse_events: 1;
repeat_events: 1;
ignore_flags: ON_HOLD;
description {
state: "default" 0.0;
color: 0 0 0 0;
}
}
}
programs {
script {
public field_pos; // center = 0,left = 1, right =2.
public field_selected; //field is selected(1) or not(0).
public update_state() {
new pos, is_sel;
pos = get_int(field_pos)
is_sel = get_int(field_selected);
if (is_sel == 1)
{
if (pos == 0)
set_state(PART:"elm.text", "center_sel", 0.0);
else if (pos == 1)
set_state(PART:"elm.text", "left_side_sel", 0.0);
else if (pos == 2)
set_state(PART:"elm.text", "right_side_sel", 0.0);
}
else if (is_sel == 0)
{
if (pos == 0)
set_state(PART:"elm.text", "default", 0.0);
else if (pos == 1)
set_state(PART:"elm.text", "left_side", 0.0);
else if (pos == 2)
set_state(PART:"elm.text", "right_side", 0.0);
}
}
}
program { name: "selected_text";
signal: "elm,state,selected"; source: "elm";
script {
set_int(field_selected, 1);
update_state();
}
}
program { name: "default_text";
signal: "elm,state,default"; source: "elm";
script {
set_int(field_selected, 0);
update_state();
}
}
program { name: "center_text";
signal: "elm,state,center"; source: "elm";
script {
set_int(field_pos, 0);
update_state();
}
}
program { name: "center_small_text";
signal: "elm,state,center_small"; source: "elm";
script {
set_int(field_pos, 0);
update_state();
}
}
program { name: "l_side_text";
signal: "elm,state,left_side"; source: "elm";
script {
set_int(field_pos, 1);
update_state();
}
}
program { name: "r_side_text";
signal: "elm,state,right_side"; source: "elm";
script {
set_int(field_pos, 2);
update_state();
}
}
program { name: "field_click";
signal: "mouse,clicked,1"; source: "over1";
action: SIGNAL_EMIT "elm,action,click" "elm";
}
}
}

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,204 @@
group { name: "elm/entry/path/separator/default";
images.image: "sym_right_glow_normal.png" COMP;
parts {
part { name: "icon"; mouse_events: 0;
description { state: "default" 0.0;
image.normal: "sym_right_glow_normal.png";
FIXED_SIZE(15, 15)
aspect: 1.0 1.0;
}
}
}
}
group { name: "elm/fileselector/base/default";
data.item: "path_separator" "<item relsize=15x15 vsize=full href=path/separator></item>";
parts {
part { name: "elm.swallow.up"; type: SWALLOW;
description { state: "default" 0.0;
fixed: 1 1;
align: 0.0 0.0;
min: 5 5;
rel1.offset: 3 3;
rel2.relative: 0.0 0.0;
rel2.offset: 3 3;
}
}
part { name: "elm.swallow.home"; type: SWALLOW;
description { state: "default" 0.0;
fixed: 1 1;
align: 0.0 0.0;
min: 5 5;
rel1 {
to: "elm.swallow.up";
relative: 1.0 0.0;
offset: 3 0;
}
rel2 {
to: "elm.swallow.up";
relative: 1.0 1.0;
offset: 3 -1;
}
}
}
part { name: "elm.spinner.clip"; type: RECT;
description { state: "default" 0.0;
rel1.to: "elm.swallow.spinner";
rel2.to: "elm.swallow.spinner";
color: 255 255 255 0;
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255;
}
}
part { name: "elm.swallow.spinner"; type: SWALLOW;
clip_to: "elm.spinner.clip";
description { state: "default" 0.0;
fixed: 1 1;
align: 1.0 0.0;
min: 5 5;
rel1.relative: 1.0 0.0;
rel1.offset: -4 3;
rel2.relative: 1.0 0.0;
rel2.offset: -4 3;
}
}
part { name: "elm.swallow.files"; type: SWALLOW;
description { state: "default" 0.0;
align: 1.0 0.0;
min: 10 10;
rel1 {
to_y: "elm.swallow.home";
relative: 0.0 1.0;
offset: 3 3;
}
rel2 {
to_y: "elm.swallow.path";
relative: 1.0 0.0;
offset: -4 -4;
}
}
}
part { name: "elm.swallow.path"; type: SWALLOW;
description { state: "default" 0.0;
fixed: 1 1;
align: 0.5 1.0;
rel1 {
to_y: "elm.swallow.filename";
relative: 0.0 0.0;
offset: 3 -4;
}
rel2 {
to_y: "elm.swallow.filename";
relative: 1.0 0.0;
offset: -4 -4;
}
}
}
part { name: "elm.swallow.filename"; type: SWALLOW;
description { state: "default" 0.0;
fixed: 1 1;
align: 0.5 1.0;
rel1 {
to_y: "elm.swallow.filters";
relative: 0.0 0.0;
offset: 3 -4;
}
rel2 {
to_y: "elm.swallow.filters";
relative: 1.0 0.0;
offset: -4 -4;
}
}
}
part { name: "elm.swallow.filters"; type: SWALLOW;
description { state: "default" 0.0;
fixed: 1 1;
align: 1.0 1.0;
rel1 {
to_y: "elm.swallow.ok";
relative: 1.0 0.0;
offset: -4 -4;
}
rel2 {
to_y: "elm.swallow.ok";
relative: 1.0 0.0;
offset: -4 -4;
}
}
}
part { name: "elm.swallow.cancel"; type: SWALLOW;
description { state: "default" 0.0;
fixed: 1 1;
align: 1.0 1.0;
rel1 {
to: "elm.swallow.ok";
relative: 0.0 0.0;
offset: -4 0;
}
rel2 {
to: "elm.swallow.ok";
relative: 0.0 1.0;
offset: -4 -1;
}
}
}
part { name: "elm.swallow.ok"; type: SWALLOW;
description { state: "default" 0.0;
fixed: 1 1;
align: 1.0 1.0;
rel1.relative: 1.0 1.0;
rel1.offset: -4 -4;
rel2.relative: 1.0 1.0;
rel2.offset: -4 -4;
}
}
}
programs {
program {
signal: "elm,action,spinner,show"; source: "elm";
action: STATE_SET "visible" 0.0;
transition: LINEAR 0.2;
target: "elm.spinner.clip";
}
program {
signal: "elm,action,spinner,hide"; source: "elm";
action: STATE_SET "default" 0.0;
transition: LINEAR 0.5 CURRENT;
target: "elm.spinner.clip";
}
// program {
// signal: "elm,state,save,on"; source: "elm";
// }
// program {
// signal: "elm,state,save,off"; source: "elm";
// }
}
}
group { name: "elm/fileselector_entry/base/default";
parts {
part { name: "elm.swallow.entry"; type: SWALLOW;
description { state: "default" 0.0;
align: 0.0 0.0;
min: 50 10;
rel2 { to_x: "elm.swallow.button";
relative: 0.0 1.0;
offset: -1 -1;
}
}
}
part { name: "elm.swallow.button"; type: SWALLOW;
description { state: "default" 0.0;
align: 1.0 0.0;
min: 10 10;
fixed: 1 1;
rel1 {
relative: 1.0 0.0;
offset: -21 0;
}
}
}
}
}

View File

@ -0,0 +1,558 @@
#define FLIP_PICKER_MAX_LEN (50)
#define FLIP_PICKER_MAX_LEN_STR "50"
group { name: "elm/flipselector/base/default";
images.image: "flip_shad.png" COMP;
images.image: "sym_up_light_normal.png" COMP;
images.image: "sym_down_light_normal.png" COMP;
images.image: "sym_up_dark_normal.png" COMP;
images.image: "sym_down_dark_normal.png" COMP;
images.image: "shine.png" COMP;
images.image: "win_shadow.png" COMP;
images.image: "bevel_out.png" COMP;
data.item: "max_len" FLIP_PICKER_MAX_LEN_STR;
//FIXME: quick successive clicks on, say, up, lead to nastiness
script {
public cur, prev, next, lock;
  flip_up(str[]) {
new tmp[FLIP_PICKER_MAX_LEN];
if (get_int(lock) == 1) {
replace_str(next, 0, str);
return;
}
fetch_str(cur, 0, tmp, FLIP_PICKER_MAX_LEN);
set_text(PART:"bottom_text_prev", tmp);
set_state(PART:"elm.top", "shrink", 0.0);
set_text(PART:"elm.top", tmp);
set_state(PART:"elm.top", "default", 0.0);
set_text(PART:"elm.top", tmp);
replace_str(prev, 0, tmp);
set_state(PART:"elm.bottom", "default", 0.0);
set_text(PART:"elm.bottom", str);
set_state(PART:"elm.bottom", "shrink", 0.0);
set_text(PART:"elm.bottom", str);
set_text(PART:"top_text_prev", str);
replace_str(cur, 0, str);
set_state(PART:"bottom_cur", "shrink", 0.0);
set_state(PART:"top_cur", "default", 0.0);
set_int(lock, 1);
set_state(PART:"bottom_shadow", "default", 0.0);
anim(0.2, "animator_top_down", 1);
}
  flip_dn(str[]) {
new tmp[FLIP_PICKER_MAX_LEN];
if (get_int(lock) == 1) {
replace_str(next, 0, str);
return;
}
fetch_str(cur, 0, tmp, FLIP_PICKER_MAX_LEN);
set_text(PART:"top_text_prev", tmp);
set_state(PART:"elm.bottom", "shrink", 0.0);
set_text(PART:"elm.bottom", tmp);
set_state(PART:"elm.bottom", "default", 0.0);
set_text(PART:"elm.bottom", tmp);
replace_str(prev, 0, tmp);
set_state(PART:"elm.top", "default", 0.0);
set_text(PART:"elm.top", str);
set_state(PART:"elm.top", "shrink", 0.0);
set_text(PART:"elm.top", str);
set_text(PART:"bottom_text_prev", str);
replace_str(cur, 0, str);
set_state(PART:"bottom_cur", "default", 0.0);
set_state(PART:"top_cur", "shrink", 0.0);
set_int(lock, 1);
set_state(PART:"bottom_shadow", "full", 0.0);
anim(0.2, "animator_bottom_up", 1);
}
public animator_bottom_down(val, Float:pos) {
new tmp[FLIP_PICKER_MAX_LEN];
set_tween_state(PART:"elm.bottom", pos, "shrink", 0.0, "default", 0.0);
set_tween_state(PART:"bottom_cur", pos, "shrink", 0.0, "default", 0.0);
set_tween_state(PART:"bottom_shadow", pos, "half", 0.0, "full", 0.0);
set_state(PART:"bottom_shine_cur", "visible", 0.0);
if (pos >= 1.0) {
set_state(PART:"bottom_shadow", "default", 0.0);
set_state(PART:"bottom_shine_cur", "default", 0.0);
set_int(lock, 0);
fetch_str(next, 0, tmp, FLIP_PICKER_MAX_LEN);
if (strncmp(tmp, "", FLIP_PICKER_MAX_LEN) != 0) {
replace_str(next, 0, "");
flip_up(tmp);
}
}
}
public animator_top_down(val, Float:pos) {
set_tween_state(PART:"elm.top", pos, "default", 0.0, "shrink", 0.0);
set_tween_state(PART:"top_cur", pos, "default", 0.0, "shrink", 0.0);
set_tween_state(PART:"bottom_shadow", pos, "default", 0.0, "half",
0.0);
if (pos >= 1.0)
{
set_state(PART:"top_shine_cur", "default", 0.0);
anim(0.2, "animator_bottom_down", val);
}
}
public animator_bottom_up(val, Float:pos) {
set_tween_state(PART:"elm.bottom", pos, "default", 0.0, "shrink", 0.0);
set_tween_state(PART:"bottom_cur", pos, "default", 0.0, "shrink", 0.0);
set_tween_state(PART:"bottom_shadow", pos, "full", 0.0, "half", 0.0);
if (pos >= 1.0) anim(0.2, "animator_top_up", val);
}
public animator_top_up(val, Float:pos) {
new tmp[FLIP_PICKER_MAX_LEN];
set_tween_state(PART:"elm.top", pos, "shrink", 0.0, "default", 0.0);
set_tween_state(PART:"top_cur", pos, "shrink", 0.0, "default", 0.0);
set_tween_state(PART:"bottom_shadow", pos, "half", 0.0, "default",
0.0);
set_state(PART:"top_shine_cur", "visible", 0.0);
if (pos >= 1.0) {
set_state(PART:"bottom_shadow", "default", 0.0);
set_int(lock, 0);
fetch_str(next, 0, tmp, FLIP_PICKER_MAX_LEN);
if (strncmp(tmp, "", FLIP_PICKER_MAX_LEN) != 0) {
replace_str(next, 0, "");
flip_dn(tmp);
}
}
}
public message(Msg_Type:type, id, ...) {
/* flip down */
if ((type == MSG_STRING) && (id == 1)) {
new value[FLIP_PICKER_MAX_LEN];
snprintf(value, FLIP_PICKER_MAX_LEN, "%s", getarg(2));
flip_up(value);
/* flip up */
} else if ((type == MSG_STRING) && (id == 2)) {
new value[FLIP_PICKER_MAX_LEN];
snprintf(value, FLIP_PICKER_MAX_LEN, "%s", getarg(2));
flip_dn(value);
}
}
}
parts {
part { name: "base_shadow"; mouse_events: 0;
description { state: "default" 0.0;
image.normal: "win_shadow.png";
image.border: 14 14 14 14;
image.middle: 0;
rel1.to: "base";
rel1.offset: -7 -3;
rel2.to: "base";
rel2.offset: 6 11;
fill.smooth: 0;
}
}
part { name: "base"; type: RECT;
scale: 1;
description { state: "default" 0.0;
rel1.offset: 6 6;
rel2.offset: -7 -7;
}
}
part { name: "bottom"; type: RECT;
description { state: "default" 0.0;
rel1 { to: "base"; relative: 0.0 0.5; }
rel2.to: "base";
}
description { state: "hidden" 0.0;
inherit: "default" 0.0;
visible: 0;
}
}
part { name: "top"; type: RECT;
description { state: "default" 0.0;
rel1.to: "base";
rel2 { to: "base"; relative: 1.0 0.5; }
color: 0 0 0 0;
}
description { state: "hidden" 0.0;
inherit: "default" 0.0;
visible: 0;
}
}
part { name: "bottom_prev";
type: RECT;
mouse_events: 0;
description { state: "default" 0.0;
rel1.to: "bottom";
rel2.to: "bottom";
color: 72 72 72 255;
}
}
part { name: "bottom_text_prev"; type: TEXT; mouse_events: 0;
effect: SHADOW BOTTOM;
clip_to: "bottom_clipper";
scale: 1;
description { state: "default" 0.0;
rel1.to_x: "base";
rel1.to_y: "arrow_top";
rel1.relative: 0.0 0.7;
rel1.offset: 2 0;
rel2.to: "base";
rel2.to_y: "arrow_bottom";
rel2.relative: 1.0 0.3;
rel2.offset: -3 -1;
text { font: FN; size: 10;
min: 1 1;
align: 0.5 0.5;
}
color: FN_COL_DEFAULT;
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
color: FN_COL_DISABLE;
}
}
part { name: "bottom_shadow"; mouse_events: 0;
clip_to: "bottom_clipper";
description { state: "default" 0.0;
rel1.to: "bottom";
rel2 { to: "bottom"; relative: 1.0 0.0; }
image.normal: "flip_shad.png";
fill.smooth: 0;
}
description { state: "half" 0.0;
inherit: "default" 0.0;
rel2.relative: 1.0 1.0;
}
description { state: "full" 0.0;
inherit: "default" 0.0;
rel2.relative: 1.0 2.0;
}
}
part { name: "bottom_cur"; type: RECT; mouse_events: 0;
description { state: "default" 0.0;
rel1.to: "bottom";
rel2.to: "bottom";
color: 72 72 72 255;
}
description { state: "shrink" 0.0;
inherit: "default" 0.0;
rel2.relative: 1.0 0.0;
}
}
part { name: "bottom_shine_cur"; mouse_events: 0;
description { state: "default" 0.0;
rel1 { to: "bottom_cur"; relative: 0 1; }
rel2.to: "bottom_cur";
image.normal: "shine.png";
min: 0 1;
fixed: 0 1;
align: 0.5 1;
visible: 0;
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
visible: 1;
}
}
part { name: "elm.bottom"; type: TEXT; mouse_events: 0;
effect: SHADOW BOTTOM;
clip_to: "bottom_clipper";
scale: 1;
description { state: "default" 0.0;
rel1.to_x: "base";
rel1.to_y: "arrow_top";
rel1.relative: 0.0 0.7;
rel1.offset: 2 0;
rel2.to: "base";
rel2.to_y: "arrow_bottom";
rel2.relative: 1.0 0.3;
rel2.offset: -3 -1;
text { font: FN; size: 10;
min: 1 1;
align: 0.5 0.5;
}
color: FN_COL_DEFAULT;
}
description { state: "shrink" 0.0;
inherit: "default" 0.0;
color: 128 128 128 255;
visible: 0;
rel2.relative: 1.0 0.5; /* FIXME: same visual effect? --> MAP! */
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
color: FN_COL_DISABLE;
}
}
part { name: "top_prev"; type: RECT; mouse_events: 0;
description { state: "default" 0.0;
rel1.to: "top";
rel2.to: "top";
color: 56 56 56 255;
}
}
part { name: "top_text_prev"; type: TEXT; mouse_events: 0;
effect: SHADOW BOTTOM;
clip_to: "top_clipper";
scale: 1;
description { state: "default" 0.0;
rel1.to_x: "base";
rel1.to_y: "arrow_top";
rel1.relative: 0.0 0.7;
rel1.offset: 2 0;
rel2.to: "base";
rel2.to_y: "arrow_bottom";
rel2.relative: 1.0 0.3;
rel2.offset: -3 -1;
text { font: FN; size: 10;
min: 1 1;
align: 0.5 0.5;
source: "elm.top";
}
color: 192 192 192 255;
color3: 0 0 0 128;
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
color: 16 16 16 255;
color3: 255 255 255 25;
}
}
part { name: "top_shine_prev"; mouse_events: 0;
description { state: "default" 0.0;
rel1.to: "top_prev";
rel2 { to: "top_prev"; relative: 1 0; }
image.normal: "shine.png";
min: 0 1;
fixed: 0 1;
align: 0.5 0;
}
}
part { name: "top_cur"; type: RECT; mouse_events: 0;
description { state: "default" 0.0;
rel1.to: "top";
rel2.to: "top";
color: 56 56 56 255;
}
description { state: "shrink" 0.0;
inherit: "default" 0.0;
rel1.relative: 0.0 1.0;
color: 40 40 40 255;
}
}
part { name: "elm.top"; type: TEXT; mouse_events: 0;
effect: SHADOW BOTTOM;
clip_to: "top_clipper";
scale: 1;
description { state: "default" 0.0;
rel1.to: "base";
rel1.offset: 2 2;
rel2.to: "base";
rel2.offset: -3 -3;
text { font: FN; size: 10;
min: 1 1;
align: 0.5 0.5;
}
color: 192 192 192 255;
color3: 0 0 0 128;
}
description { state: "shrink" 0.0;
inherit: "default" 0.0;
visible: 0;
rel1.relative: 0.0 0.5;
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
color: 16 16 16 255;
color3: 255 255 255 25;
}
}
part { name: "top_shine_cur"; mouse_events: 0;
description { state: "default" 0.0;
rel1.to: "top_cur";
rel2 { to: "top_cur"; relative: 1 0; }
image.normal: "shine.png";
min: 0 1;
fixed: 0 1;
align: 0.5 0;
visible: 0;
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
visible: 1;
}
}
part { name: "bevel"; mouse_events: 0;
description { state: "default" 0.0;
image.normal: "bevel_out.png";
image.border: 1 1 1 1;
image.middle: 0;
rel1.to: "base";
rel2.to: "base";
fill.smooth: 0;
}
}
part { name: "arrow_top"; mouse_events: 0;
scale: 1;
description { state: "default" 0.0;
min: 15 15;
max: 15 15;
align: 0.5 0.0;
rel1.to: "top";
rel2.to: "top";
image.normal: "sym_up_light_normal.png";
color: 192 192 192 255;
}
description { state: "hidden" 0.0;
inherit: "default" 0.0;
visible: 0;
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
image.normal: "sym_up_dark_normal.png";
}
}
part { name: "arrow_bottom"; mouse_events: 0;
scale: 1;
description { state: "default" 0.0;
min: 15 15;
max: 15 15;
align: 0.5 1.0;
rel1.to: "bottom";
rel2.to: "bottom";
image.normal: "sym_down_light_normal.png";
}
description { state: "hidden" 0.0;
inherit: "default" 0.0;
visible: 0;
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
image.normal: "sym_down_dark_normal.png";
}
}
part { name: "top_clipper"; type: RECT;
description { state: "default" 0.0;
rel1.to: "top";
rel2.to: "top";
}
}
part { name: "bottom_clipper"; type: RECT;
description { state: "default" 0.0;
rel1.to: "bottom";
rel2.to: "bottom";
}
}
part { name: "event_blocker"; 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 {
signal: "load"; source: "";
script {
append_str(cur, "");
append_str(prev, "");
append_str(next, "");
set_int(lock, 0);
}
}
program {
signal: "elm,state,button,hidden"; source: "elm";
action: STATE_SET "hidden" 0.0;
target: "arrow_top";
target: "arrow_bottom";
target: "top";
target: "bottom";
}
program {
signal: "elm,state,button,visible"; source: "elm";
action: STATE_SET "default" 0.0;
target: "arrow_top";
target: "arrow_bottom";
target: "top";
target: "bottom";
}
program { name: "up";
signal: "mouse,down,1"; source: "top";
action: SIGNAL_EMIT "elm,action,up,start" "elm";
}
program { name: "up,stop";
signal: "mouse,up,1"; source: "top";
action: SIGNAL_EMIT "elm,action,up,stop" "elm";
}
program { name: "down";
signal: "mouse,down,1"; source: "bottom";
action: SIGNAL_EMIT "elm,action,down,start" "elm";
}
program { name: "down,stop";
signal: "mouse,up,1"; source: "bottom";
action: SIGNAL_EMIT "elm,action,down,stop" "elm";
}
program { name: "disable";
signal: "elm,state,disabled"; source: "elm";
script {
new st[31];
new Float:vl;
set_state(PART:"event_blocker", "disabled", 0.0);
set_state(PART:"elm.bottom", "disabled", 0.0);
set_state(PART:"elm.top", "disabled", 0.0);
set_state(PART:"bottom_text_prev", "disabled", 0.0);
set_state(PART:"top_text_prev", "disabled", 0.0);
get_state(PART:"arrow_bottom", st, 30, vl);
if (strcmp(st, "hidden"))
set_state(PART:"arrow_bottom", "disabled", 0.0);
get_state(PART:"arrow_top", st, 30, vl);
if (strcmp(st, "hidden"))
set_state(PART:"arrow_top", "disabled", 0.0);
get_state(PART:"top_cur", st, 30, vl);
if (strcmp(st, "shrink"))
set_state(PART:"top_shine_cur", "visible", 0.0);
}
}
program { name: "enable";
signal: "elm,state,enabled"; source: "elm";
script {
new st[31];
new Float:vl;
set_state(PART:"event_blocker", "default", 0.0);
set_state(PART:"elm.bottom", "default", 0.0);
set_state(PART:"elm.top", "default", 0.0);
set_state(PART:"bottom_text_prev", "default", 0.0);
set_state(PART:"top_text_prev", "default", 0.0);
get_state(PART:"arrow_bottom", st, 30, vl);
if (strcmp(st, "hidden"))
set_state(PART:"arrow_bottom", "default", 0.0);
get_state(PART:"arrow_top", st, 30, vl);
if (strcmp(st, "hidden"))
set_state(PART:"arrow_top", "default", 0.0);
}
}
}
}

View File

@ -0,0 +1,152 @@
group { name: "elm/focus_highlight/top/default";
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 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);
}
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;
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(0.2, "animator1", 1);
}
}
}
parts {
part { name: "base"; type: SPACER;
description { state: "default" 0.0;
}
}
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;
}
}
program {
signal: "elm,action,focus,show"; source: "elm";
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 "elm,action,focus,show,end" "elm";
}
program {
signal: "elm,action,focus,hide"; source: "elm";
action: STATE_SET "default" 0.0;
transition: DECELERATE 0.4;
target: "clip";
after: "stop2";
}
program { name: "stop2";
action: SIGNAL_EMIT "elm,action,focus,hide,end" "elm";
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";
}
}
}

View File

@ -0,0 +1,286 @@
group { name: "elm/frame/base/default";
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: "elm.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: "elm.text";
rel2.offset: 4 -1;
rel2.relative: 0.0 1.0;
rel2.to_y: "elm.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: "elm.text";
rel1.relative: 1.0 0.0;
rel2.offset: -5 -1;
rel2.relative: 1.0 1.0;
rel2.to_y: "elm.text";
align: 1.0 0.5;
FIXED_SIZE(3, 11)
}
}
part { name: "elm.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: -2 2;
rel2.to_x: "edge2";
align: 0.0 0.0;
color: 21 21 21 255;
color3: 255 255 255 25;
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: "elm.text";
rel2.offset: -6 -6;
}
}
part { name: "elm.swallow.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: "elm.text";
rel2.offset: -6 -6;
}
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: "elm.text";
rel2.to_y: "elm.text";
}
}
}
programs {
program { name: "collapse";
action: STATE_SET "collapsed" 0.0;
target: "elm.swallow.content";
transition: ACCELERATE 0.3;
after: "signal";
}
program { name: "expand";
action: STATE_SET "default" 0.0;
target: "elm.swallow.content";
transition: DECELERATE 0.3;
after: "signal";
}
program {
signal: "mouse,up,1"; source: "event";
action: SIGNAL_EMIT "elm,action,click" "elm";
}
program {
signal: "elm,action,toggle"; source: "elm";
script {
new st[31];
new Float:vl;
get_state(PART:"elm.swallow.content", st, 30, vl);
if (!strcmp(st, "default"))
run_program(PROGRAM:"collapse");
else
run_program(PROGRAM:"expand");
}
}
program {
signal: "elm,action,switch"; source: "elm";
script {
new st[31];
new Float:vl;
get_state(PART:"elm.swallow.content", st, 30, vl);
if (!strcmp(st, "default"))
set_state(PART:"elm.swallow.content", "collapsed", 0.0);
else
set_state(PART:"elm.swallow.content", "default", 0.0);
}
}
program { name: "signal";
action: SIGNAL_EMIT "elm,anim,done" "elm";
}
}
}
group { name: "elm/frame/base/pad_small";
parts {
part { name: "b0"; type: SPACER;
scale: 1;
description { state: "default" 0.0;
min: 3 3; max: 3 3;
align: 0.0 0.0;
}
}
part { name: "b1"; type: SPACER;
scale: 1;
description { state: "default" 0.0;
min: 3 3; max: 3 3;
align: 1.0 1.0;
}
}
part { name: "elm.swallow.content"; type: SWALLOW;
description { state: "default" 0.0;
rel1.to: "b0";
rel1.relative: 1.0 1.0;
rel2.to: "b1";
rel2.relative: 0.0 0.0;
}
}
}
}
group { name: "elm/frame/base/pad_medium";
inherit: "elm/frame/base/pad_small";
parts {
part { name: "b0";
description { state: "default" 0.0;
min: 6 6; max: 6 6;
}
}
part { name: "b1";
description { state: "default" 0.0;
min: 6 6; max: 6 6;
}
}
}
}
group { name: "elm/frame/base/pad_large";
inherit: "elm/frame/base/pad_small";
parts {
part { name: "b0";
description { state: "default" 0.0;
min: 12 12; max: 12 12;
}
}
part { name: "b1";
description { state: "default" 0.0;
min: 12 12; max: 12 12;
}
}
}
}
group { name: "elm/frame/base/pad_huge";
inherit: "elm/frame/base/pad_small";
parts {
part { name: "b0";
description { state: "default" 0.0;
min: 24 24; max: 24 24;
}
}
part { name: "b1";
description { state: "default" 0.0;
min: 24 24; max: 24 24;
}
}
}
}
group { name: "elm/frame/base/outdent_top";
images.image: "separator_horiz.png" COMP;
parts {
part { name: "elm.swallow.content"; type: SWALLOW;
description { state: "default" 0.0;
rel1.offset: 3 3;
rel2.offset: -4 -4;
}
}
part { name: "base";
description { state: "default" 0.0;
image.normal: "separator_horiz.png";
rel1.offset: 0 2;
rel2.offset: -1 3;
rel2.relative: 1.0 0.0;
min: 0 2;
fill.smooth: 0;
}
}
}
}
group { name: "elm/frame/base/outdent_bottom";
images.image: "separator_horiz.png" COMP;
parts {
part { name: "elm.swallow.content"; type: SWALLOW;
description { state: "default" 0.0;
rel1.offset: 3 3;
rel2.offset: -4 -4;
}
}
part { name: "base";
description { state: "default" 0.0;
image.normal: "separator_horiz.png";
rel1.offset: 0 -4;
rel1.relative: 0.0 1.0;
rel2.offset: -1 -3;
min: 0 2;
fill.smooth: 0;
}
}
}
}

View File

@ -0,0 +1,984 @@
group { name: "elm/gengrid/item/group_index/default";
inherit: "elm/genlist/item/group_index/default";
}
group { name: "elm/gengrid/item/default/default";
data.item: "selectraise" "on";
data.item: "texts" "elm.text";
data.item: "contents" "elm.swallow.icon elm.swallow.end";
#define IMGP() \
images.image: "bevel_dark_out.png" COMP; \
images.image: "shadow_rounded_horiz.png" COMP; \
images.image: "vgrad_med_dark.png" COMP; \
images.image: "bevel_out.png" COMP; \
images.image: "shine.png" COMP;
IMGP()
parts {
//---------------------------------------------------------------------------
#define BASEP() \
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; \
} \
} \
part { name: "base"; type: RECT; mouse_events: 0; \
description { state: "default" 0.0; \
color: 64 64 64 255; \
color_class: "list_item_base"; \
} \
description { state: "odd" 0.0; \
color: 56 56 56 255; \
color_class: "list_item_base_odd"; \
} \
} \
program { \
signal: "elm,state,odd"; source: "elm"; \
action: STATE_SET "odd" 1.0; \
target: "base"; \
} \
program { \
signal: "elm,state,even"; source: "elm"; \
action: STATE_SET "default" 0.0; \
target: "base"; \
} \
part { name: "bevel"; mouse_events: 0; \
description { state: "default" 0.0; \
image.normal: "bevel_dark_out.png"; \
image.border: 2 2 2 2; \
image.middle: 0; \
fill.smooth: 0; \
} \
} \
part { name: "sel_shadow"; mouse_events: 0; \
description { state: "default" 0.0; \
image.normal: "shadow_rounded_horiz.png"; \
image.border: 0 0 9 9; \
rel1.offset: 0 -4; \
rel2.offset: -1 5; \
fill.smooth: 0; \
visible: 0; \
} \
description { state: "selected" 0.0; \
inherit: "default" 0.0; \
visible: 1; \
} \
} \
part { name: "sel_base"; mouse_events: 0; \
description { state: "default" 0.0; \
image.normal: "vgrad_med_dark.png"; \
fill.smooth: 0; \
visible: 0; \
TILED_HORIZ(120) \
} \
description { state: "selected" 0.0; \
inherit: "default" 0.0; \
visible: 1; \
} \
} \
part { name: "sel_bevel"; mouse_events: 0; \
description { state: "default" 0.0; \
image.normal: "bevel_out.png"; \
image.border: 2 2 2 2; \
image.middle: 0; \
fill.smooth: 0; \
visible: 0; \
} \
description { state: "selected" 0.0; \
inherit: "default" 0.0; \
visible: 1; \
} \
} \
program { \
signal: "elm,state,selected"; source: "elm"; \
action: STATE_SET "selected" 0.0; \
target: "sel_shadow"; \
target: "sel_base"; \
target: "sel_bevel"; \
} \
program { \
signal: "elm,state,unselected"; source: "elm"; \
action: STATE_SET "default" 0.0; \
target: "sel_shadow"; \
target: "sel_base"; \
target: "sel_bevel"; \
} \
program { \
signal: "elm,state,disabled"; source: "elm"; \
action: STATE_SET "disabled" 0.0; \
target: "event"; \
} \
program { \
signal: "elm,state,enabled"; source: "elm"; \
action: STATE_SET "default" 0.0; \
target: "event"; \
}
#define TOPP() \
part { name: "sel_shine"; mouse_events: 0; \
description { state: "default" 0.0; \
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"; \
visible: 0; \
FIXED_SIZE(69, 5) \
} \
description { state: "selected" 0.0; \
inherit: "default" 0.0; \
visible: 1; \
} \
} \
part { name: "event_block"; 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; \
} \
} \
program { \
signal: "elm,state,selected"; source: "elm"; \
action: STATE_SET "selected" 0.0; \
target: "sel_shine"; \
} \
program { \
signal: "elm,state,unselected"; source: "elm"; \
action: STATE_SET "default" 0.0; \
target: "sel_shine"; \
} \
program { \
signal: "elm,state,disabled"; source: "elm"; \
action: STATE_SET "disabled" 0.0; \
target: "event_block"; \
} \
program { \
signal: "elm,state,enabled"; source: "elm"; \
action: STATE_SET "default" 0.0; \
target: "event_block"; \
}
//---------------------------------------------------------------------------
BASEP()
//##//
part { name: "elm.text"; type: TEXT; mouse_events: 0;
effect: SHADOW BOTTOM;
scale: 1;
description { state: "default" 0.0;
rel1.relative: 0.0 1.0;
rel1.offset: 5 -5;
rel2.relative: 1.0 1.0;
rel2.offset: -5 -5;
color: 255 255 255 255;
color3: 0 0 0 128;
color_class: "grid_item";
align: 0.5 1.0;
text { font: FN; size: 10;
min: 0 1;
align: 0.5 1.0;
text_class: "grid_item";
}
}
description { state: "selected" 0.0;
inherit: "default" 0.0;
visible: 0;
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
visible: 0;
}
}
part { name: "label2"; type: TEXT; mouse_events: 0;
effect: SHADOW BOTTOM;
scale: 1;
description { state: "default" 0.0;
rel1.to: "elm.text";
rel2.to: "elm.text";
color: 21 21 21 255;
color3: 255 255 255 25;
color_class: "grid_item_disabled";
text { font: FN; size: 10;
text_source: "elm.text";
align: 0.5 1.0;
text_class: "grid_item";
}
visible: 0;
}
description { state: "selected" 0.0;
inherit: "default" 0.0;
visible: 0;
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
visible: 1;
}
}
part { name: "label3"; type: TEXT; mouse_events: 0;
effect: GLOW;
scale: 1;
description { state: "default" 0.0;
rel1.offset: -2 -2;
rel1.to: "elm.text";
rel2.offset: 1 0;
rel2.to: "elm.text";
color: 51 153 255 255;
color2: 51 153 255 24;
color3: 51 153 255 18;
color_class: "grid_item_selected";
text { font: FN; size: 10;
text_source: "elm.text";
align: 0.5 1.0;
text_class: "grid_item";
}
visible: 0;
}
description { state: "selected" 0.0;
inherit: "default" 0.0;
visible: 1;
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
visible: 0;
}
}
program {
signal: "elm,state,selected"; source: "elm";
action: STATE_SET "selected" 0.0;
target: "elm.text";
target: "label2";
target: "label3";
}
program {
signal: "elm,state,unselected"; source: "elm";
action: STATE_SET "default" 0.0;
target: "elm.text";
target: "label2";
target: "label3";
}
program {
signal: "elm,state,disabled"; source: "elm";
action: STATE_SET "disabled" 0.0;
target: "elm.text";
target: "label2";
target: "label3";
target: "icon_area";
}
program {
signal: "elm,state,enabled"; source: "elm";
action: STATE_SET "default" 0.0;
target: "elm.text";
target: "label2";
target: "label3";
target: "icon_area";
}
//##//
part { name: "icon_area"; type: RECT;
description { state: "default" 0.0;
fixed: 1 0;
rel1.offset: 2 2;
rel2.to_y: "elm.swallow.pad";
rel2.relative: 1.0 0.0;
rel2.offset: -3 -3;
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
color: 255 255 255 64;
}
}
part { name: "elm.swallow.pad"; type: SWALLOW;
description { state: "default" 0.0;
fixed: 0 1;
align: 0.0 1.0;
rel1.to_y: "elm.text";
rel2.to_y: "elm.text";
rel2.relative: 1.0 0.0;
}
}
part { name: "elm.swallow.icon"; type: SWALLOW;
clip_to: "icon_area";
description { state: "default" 0.0;
rel1.to: "icon_area";
rel2.to: "icon_area";
}
}
part { name: "elm.swallow.end"; type: SWALLOW;
clip_to: "icon_area";
description { state: "default" 0.0;
fixed: 1 0;
align: 1.0 0.0;
rel1.relative: 1.0 0.0;
rel1.offset: -3 2;
rel2.relative: 1.0 0.0;
rel2.offset: -3 2;
}
}
//##//
TOPP()
}
}
group { name: "elm/gengrid/item/default_style/default";
data.item: "selectraise" "on";
data.item: "texts" "elm.text";
data.item: "contents" "elm.swallow.icon elm.swallow.end";
styles.style { name: "gengrid_style";
base: "font="FN" font_size=10 align=left color=#fff style=shadow,bottom shadow_color=#00000080 text_class=list_item ellipsis=1.0";
tag: "br" "\n";
tag: "ps" "ps";
tag: "hilight" "+ font_weight=Bold";
tag: "b" "+ font_weight=Bold";
tag: "tab" "\t";
}
styles.style { name: "gengrid_style_selected";
base: "font="FN" font_size=10 align=left color=#3399ffff style=glow glow_color=#3399ff18 glow2_color=#3399ff12 text_class=list_item_selected ellipsis=1.0";
tag: "br" "\n";
tag: "ps" "ps";
tag: "hilight" "+ font_weight=Bold";
tag: "b" "+ font_weight=Bold";
tag: "tab" "\t";
}
styles.style { name: "gengrid_style_disabled";
base: "font="FN" font_size=10 align=left color=#151515 style=shadow,bottom shadow_color=#ffffff19 text_class=list_item ellipsis=1.0";
tag: "br" "\n";
tag: "ps" "ps";
tag: "hilight" "+ font_weight=Bold";
tag: "b" "+ font_weight=Bold";
tag: "tab" "\t";
}
IMGP()
parts {
BASEP()
//##//
part { name: "elm.text"; type: TEXTBLOCK; mouse_events: 0;
scale: 1;
description { state: "default" 0.0;
rel1.relative: 0.0 1.0;
rel1.offset: 5 -5;
rel2.relative: 1.0 1.0;
rel2.offset: -5 -5;
color_class: "grid_item";
align: 0.5 1.0;
text {
min: 0 1;
align: 0.5 1.0;
text_class: "grid_item";
style: "gengrid_style";
}
}
description { state: "selected" 0.0;
inherit: "default" 0.0;
visible: 0;
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
visible: 0;
}
}
part { name: "label2"; type: TEXTBLOCK; mouse_events: 0;
scale: 1;
description { state: "default" 0.0;
rel1.to: "elm.text";
rel2.to: "elm.text";
color_class: "grid_item_disabled";
text {
text_source: "elm.text";
align: 0.5 1.0;
text_class: "grid_item";
style: "gengrid_style_disabled";
}
visible: 0;
}
description { state: "selected" 0.0;
inherit: "default" 0.0;
visible: 0;
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
visible: 1;
}
}
part { name: "label3"; type: TEXTBLOCK; mouse_events: 0;
scale: 1;
description { state: "default" 0.0;
rel1.to: "elm.text";
rel2.to: "elm.text";
color_class: "grid_item_selected";
text {
text_source: "elm.text";
align: 0.5 1.0;
text_class: "grid_item";
style: "gengrid_style_selected";
}
visible: 0;
}
description { state: "selected" 0.0;
inherit: "default" 0.0;
visible: 1;
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
visible: 0;
}
}
program {
signal: "elm,state,selected"; source: "elm";
action: STATE_SET "selected" 0.0;
target: "elm.text";
target: "label2";
target: "label3";
}
program {
signal: "elm,state,unselected"; source: "elm";
action: STATE_SET "default" 0.0;
target: "elm.text";
target: "label2";
target: "label3";
}
program {
signal: "elm,state,disabled"; source: "elm";
action: STATE_SET "disabled" 0.0;
target: "elm.text";
target: "label2";
target: "label3";
target: "icon_area";
}
program {
signal: "elm,state,enabled"; source: "elm";
action: STATE_SET "default" 0.0;
target: "elm.text";
target: "label2";
target: "label3";
target: "icon_area";
}
//##//
part { name: "icon_area"; type: RECT;
description { state: "default" 0.0;
fixed: 1 0;
rel1.offset: 2 2;
rel2.to_y: "elm.swallow.pad";
rel2.relative: 1.0 0.0;
rel2.offset: -3 -3;
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
color: 255 255 255 64;
}
}
part { name: "elm.swallow.pad"; type: SWALLOW;
description { state: "default" 0.0;
fixed: 0 1;
align: 0.0 1.0;
rel1.to_y: "elm.text";
rel2.to_y: "elm.text";
rel2.relative: 1.0 0.0;
}
}
part { name: "elm.swallow.icon"; type: SWALLOW;
clip_to: "icon_area";
description { state: "default" 0.0;
rel1.to: "icon_area";
rel2.to: "icon_area";
}
}
part { name: "elm.swallow.end"; type: SWALLOW;
clip_to: "icon_area";
description { state: "default" 0.0;
fixed: 1 0;
align: 1.0 0.0;
rel1.relative: 1.0 0.0;
rel1.offset: -3 2;
rel2.relative: 1.0 0.0;
rel2.offset: -3 2;
}
}
//##//
TOPP()
}
}
group { name: "elm/gengrid/item/up/default";
inherit: "elm/gengrid/item/default/default";
images.image: "icon_arrow_up.png" COMP;
parts {
part { name: "icon_area"; type: RECT;
description { state: "default" 0.0;
visible: 0;
}
}
part { name: "up";
insert_after: "elm.swallow.pad";
description { state: "default" 0.0;
aspect: 1.0 1.0; aspect_preference: BOTH;
rel1.to: "icon_area";
rel2.to: "icon_area";
image.normal: "icon_arrow_up.png";
}
}
}
}
group { name: "elm/gengrid/item/album-preview/default";
data.item: "selectraise" "on";
data.item: "texts" "elm.text";
data.item: "contents" "elm.swallow.icon.1 elm.swallow.icon.2 elm.swallow.icon.3 elm.swallow.icon.4";
data.item: "states" "have_files";
IMGP()
images.image: "icon_folder.png" COMP;
parts {
BASEP()
//##//
part { name: "elm.text"; type: TEXT; mouse_events: 0;
effect: SHADOW BOTTOM;
scale: 1;
description { state: "default" 0.0;
rel1.relative: 0.0 1.0;
rel1.offset: 5 -5;
rel2.relative: 1.0 1.0;
rel2.offset: -5 -5;
color: 255 255 255 255;
color3: 0 0 0 128;
color_class: "grid_item";
align: 0.5 1.0;
text { font: FN; size: 10;
min: 0 1;
align: 0.5 1.0;
text_class: "grid_item";
}
}
description { state: "selected" 0.0;
inherit: "default" 0.0;
visible: 0;
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
visible: 0;
}
}
part { name: "label2"; type: TEXT; mouse_events: 0;
effect: SHADOW BOTTOM;
scale: 1;
description { state: "default" 0.0;
rel1.to: "elm.text";
rel2.to: "elm.text";
color: 21 21 21 255;
color3: 255 255 255 25;
color_class: "grid_item_disabled";
text { font: FN; size: 10;
text_source: "elm.text";
align: 0.5 1.0;
text_class: "grid_item";
}
visible: 0;
}
description { state: "selected" 0.0;
inherit: "default" 0.0;
visible: 0;
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
visible: 1;
}
}
part { name: "label3"; type: TEXT; mouse_events: 0;
effect: GLOW;
scale: 1;
description { state: "default" 0.0;
rel1.offset: -2 -2;
rel1.to: "elm.text";
rel2.offset: 1 0;
rel2.to: "elm.text";
color: 51 153 255 255;
color2: 51 153 255 24;
color3: 51 153 255 18;
color_class: "grid_item_selected";
text { font: FN; size: 10;
text_source: "elm.text";
align: 0.5 1.0;
text_class: "grid_item";
}
visible: 0;
}
description { state: "selected" 0.0;
inherit: "default" 0.0;
visible: 1;
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
visible: 0;
}
}
program {
signal: "elm,state,selected"; source: "elm";
action: STATE_SET "selected" 0.0;
target: "elm.text";
target: "label2";
target: "label3";
}
program {
signal: "elm,state,unselected"; source: "elm";
action: STATE_SET "default" 0.0;
target: "elm.text";
target: "label2";
target: "label3";
}
program {
signal: "elm,state,disabled"; source: "elm";
action: STATE_SET "disabled" 0.0;
target: "elm.text";
target: "label2";
target: "label3";
target: "icon_area";
}
program {
signal: "elm,state,enabled"; source: "elm";
action: STATE_SET "default" 0.0;
target: "elm.text";
target: "label2";
target: "label3";
target: "icon_area";
}
//##//
part { name: "icon_area"; type: RECT;
description { state: "default" 0.0;
fixed: 1 0;
rel1.offset: 2 2;
rel2.to_y: "elm.swallow.pad";
rel2.relative: 1.0 0.0;
rel2.offset: -3 -3;
visible: 0;
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
visible: 1;
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
color: 255 255 255 64;
}
}
program {
signal: "elm,state,have_files,active"; source: "elm";
action: STATE_SET "visible" 0.0;
target: "icon_area";
}
part { name: "icon_area2"; type: SPACER;
description { state: "default" 0.0;
rel1.to: "icon_area";
rel1.relative: 0.3 0.3;
rel2.to: "icon_area";
rel2.relative: 0.7 0.7;
}
}
part { name: "folder";
insert_after: "elm.swallow.pad";
description { state: "default" 0.0;
aspect: 1.0 1.0; aspect_preference: BOTH;
rel1.to: "icon_area";
rel2.to: "icon_area";
image.normal: "icon_folder.png";
}
}
part { name: "elm.swallow.pad"; type: SWALLOW;
description { state: "default" 0.0;
fixed: 0 1;
align: 0.0 1.0;
rel1.to_y: "elm.text";
rel2.to_y: "elm.text";
rel2.relative: 1.0 0.0;
}
}
part { name: "elm.swallow.icon.1"; type: SWALLOW; mouse_events: 0;
clip_to: "icon_area";
description { state: "default" 0.0;
rel1.to: "icon_area2";
rel1.relative: 0.0 0.0;
rel2.to: "icon_area2";
rel2.relative: 0.5 0.5;
}
}
part { name: "elm.swallow.icon.2"; type: SWALLOW; mouse_events: 0;
clip_to: "icon_area";
description { state: "default" 0.0;
rel1.to: "icon_area2";
rel1.relative: 0.5 0.0;
rel2.to: "icon_area2";
rel2.relative: 1.0 0.5;
}
}
part { name: "elm.swallow.icon.3"; type: SWALLOW; mouse_events: 0;
clip_to: "icon_area";
description { state: "default" 0.0;
rel1.to: "icon_area2";
rel1.relative: 0.0 0.5;
rel2.to: "icon_area2";
rel2.relative: 0.5 1.0;
}
}
part { name: "elm.swallow.icon.4"; type: SWALLOW; mouse_events: 0;
clip_to: "icon_area";
description { state: "default" 0.0;
rel1.to: "icon_area2";
rel1.relative: 0.5 0.5;
rel2.to: "icon_area2";
rel2.relative: 1.0 1.0;
}
}
//##//
TOPP()
}
}
group { name: "elm/gengrid/item/thumb/default";
data.item: "selectraise" "on";
data.item: "texts" "elm.text";
data.item: "contents" "elm.swallow.icon elm.swallow.end";
images.image: "win_shadow.png" COMP;
images.image: "win_glow.png" COMP;
parts {
part { name: "shadow"; mouse_events: 0;
description { state: "default" 0.0;
image.normal: "win_shadow.png";
image.border: 14 14 14 14;
image.middle: 0;
rel1.to: "base";
rel1.offset: -7 -3;
rel2.to: "base";
rel2.offset: 6 11;
fill.smooth: 0;
}
}
part { name: "glow"; mouse_events: 0;
description { state: "default" 0.0;
image.normal: "win_glow.png";
image.border: 9 9 9 9;
image.middle: 0;
rel1.offset: -5 -5;
rel1.to: "base";
rel2.offset: 4 4;
rel2.to: "base";
fill.smooth: 0;
color: 255 255 255 0;
visible: 0;
}
description { state: "selected" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255;
visible: 1;
}
}
part { name: "base"; type: RECT;
description { state: "default" 0.0;
rel1.offset: -4 -4;
rel1.to: "icon_area";
rel2.offset: 3 3;
rel2.to: "icon_area";
color: 255 255 255 255;
}
description { state: "selected" 0.0;
inherit: "default" 0.0;
color: 48 48 48 255;
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
color: 64 64 64 255;
}
}
program {
signal: "elm,state,selected"; source: "elm";
action: STATE_SET "selected" 0.0;
target: "base";
target: "icon_area";
target: "glow";
}
program {
signal: "elm,state,unselected"; source: "elm";
action: STATE_SET "default" 0.0;
target: "base";
target: "icon_area";
target: "glow";
}
program {
signal: "elm,state,disabled"; source: "elm";
action: STATE_SET "disabled" 0.0;
target: "base";
target: "icon_area";
}
program {
signal: "elm,state,enabled"; source: "elm";
action: STATE_SET "default" 0.0;
target: "base";
target: "icon_area";
}
//##//
part { name: "elm.text"; type: TEXT; mouse_events: 0;
effect: SHADOW BOTTOM;
scale: 1;
description { state: "default" 0.0;
rel1.relative: 0.0 1.0;
rel1.offset: 5 -5;
rel2.relative: 1.0 1.0;
rel2.offset: -5 -5;
color: 255 255 255 255;
color3: 0 0 0 128;
color_class: "grid_item";
align: 0.5 1.0;
text { font: FN; size: 10;
min: 0 1;
align: 0.5 1.0;
text_class: "grid_item";
}
}
description { state: "selected" 0.0;
inherit: "default" 0.0;
visible: 0;
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
visible: 0;
}
}
part { name: "label2"; type: TEXT; mouse_events: 0;
effect: SHADOW BOTTOM;
scale: 1;
description { state: "default" 0.0;
rel1.to: "elm.text";
rel2.to: "elm.text";
color: 21 21 21 255;
color3: 255 255 255 25;
color_class: "grid_item_disabled";
text { font: FN; size: 10;
text_source: "elm.text";
align: 0.5 1.0;
text_class: "grid_item";
}
visible: 0;
}
description { state: "selected" 0.0;
inherit: "default" 0.0;
visible: 0;
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
visible: 1;
}
}
part { name: "label3"; type: TEXT; mouse_events: 0;
effect: GLOW;
scale: 1;
description { state: "default" 0.0;
rel1.offset: -2 -2;
rel1.to: "elm.text";
rel2.offset: 1 0;
rel2.to: "elm.text";
color: 51 153 255 255;
color2: 51 153 255 24;
color3: 51 153 255 18;
color_class: "grid_item_selected";
text { font: FN; size: 10;
text_source: "elm.text";
align: 0.5 1.0;
text_class: "grid_item";
}
visible: 0;
}
description { state: "selected" 0.0;
inherit: "default" 0.0;
visible: 1;
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
visible: 0;
}
}
program {
signal: "elm,state,selected"; source: "elm";
action: STATE_SET "selected" 0.0;
target: "elm.text";
target: "label2";
target: "label3";
}
program {
signal: "elm,state,unselected"; source: "elm";
action: STATE_SET "default" 0.0;
target: "elm.text";
target: "label2";
target: "label3";
}
program {
signal: "elm,state,disabled"; source: "elm";
action: STATE_SET "disabled" 0.0;
target: "elm.text";
target: "label2";
target: "label3";
}
program {
signal: "elm,state,enabled"; source: "elm";
action: STATE_SET "default" 0.0;
target: "elm.text";
target: "label2";
target: "label3";
}
//##//
part { name: "icon_area"; type: RECT;
description { state: "default" 0.0;
fixed: 1 0;
aspect: 1.0 1.0; aspect_preference: BOTH;
rel1.offset: 12 12;
rel2.to_y: "elm.swallow.pad";
rel2.relative: 1.0 0.0;
rel2.offset: -13 -13;
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
color: 255 255 255 64;
}
}
part { name: "elm.swallow.pad"; type: SWALLOW;
description { state: "default" 0.0;
fixed: 0 1;
align: 0.0 1.0;
rel1.to_y: "elm.text";
rel2.to_y: "elm.text";
rel2.relative: 1.0 0.0;
}
}
part { name: "elm.swallow.icon"; type: SWALLOW;
clip_to: "icon_area";
description { state: "default" 0.0;
rel1.to: "icon_area";
rel2.to: "icon_area";
}
}
part { name: "elm.swallow.end"; type: SWALLOW;
clip_to: "icon_area";
description { state: "default" 0.0;
fixed: 1 0;
align: 1.0 0.0;
rel1.relative: 1.0 0.0;
rel1.offset: -3 2;
rel2.relative: 1.0 0.0;
rel2.offset: -3 2;
}
}
}
}
#undef IMGP
#undef BASEP
#undef TOPP

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,89 @@
#define IC(Name, Alias, File, Min, Max) \
group { name: "elm/icon/"##Name##"/default"; min: Min Min; max: Max Max; \
alias: "elm/icon/"##Alias##"/default"; \
images.image: File COMP; parts { part { name: "base"; \
description { aspect: 1.0 1.0; aspect_preference: BOTH; \
image.normal: File; } } } }
IC("home", "toolbar/home", "icon_home.png", 16, 0);
IC("close", "toolbar/close", "icon_close.png", 16, 0);
IC("apps", "toolbar/apps", "icon_apps.png", 16, 0);
IC("arrow_up", "toolbar/arrow_up", "icon_arrow_up.png", 16, 0);
IC("arrow_down", "toolbar/arrow_down", "icon_arrow_down.png", 16, 0);
IC("arrow_left", "toolbar/arrow_left", "icon_arrow_left.png", 16, 0);
IC("arrow_right", "toolbar/arrow_right", "icon_arrow_right.png", 16, 0);
IC("chat", "toolbar/chat", "icon_chat.png", 16, 0);
IC("clock", "toolbar/clock", "icon_clock.png", 16, 0);
IC("delete", "toolbar/delete", "icon_delete.png", 16, 0);
IC("edit", "toolbar/edit", "icon_edit.png", 16, 0);
IC("refresh", "toolbar/refresh", "icon_refresh.png", 16, 0);
IC("folder", "toolbar/folder", "icon_folder.png", 16, 0);
IC("file", "toolbar/file", "icon_file.png", 16, 0);
IC("no_photo", "photo/no_photo", "icon_head.png", 16, 0);
#undef IC
#define IC(Name, File, Min, Max) \
group { name: "elm/icon/"##Name##"/default"; min: Min Min; max: Max Max; \
images.image: File COMP; parts { part { name: "base"; \
description { aspect: 1.0 1.0; aspect_preference: BOTH; \
image.normal: File; } } } }
IC("toolbar/more_menu", "icon_arrow_down.png", 16, 0);
IC("arrow_up_left", "icon_arrow_up_left.png", 16, 0);
IC("arrow_up_right", "icon_arrow_up_right.png", 16, 0);
IC("arrow_down_left", "icon_arrow_down_left.png", 16, 0);
IC("arrow_down_right", "icon_arrow_down_right.png", 16, 0);
IC("menu/home", "icon_home.png", 16, 0);
IC("menu/close", "icon_close.png", 16, 0);
IC("menu/apps", "icon_apps.png", 16, 0);
IC("menu/arrow_up", "icon_arrow_up.png", 16, 0);
IC("menu/arrow_down", "icon_arrow_down.png", 16, 0);
IC("menu/arrow_left", "icon_arrow_left.png", 16, 0);
IC("menu/arrow_right", "icon_arrow_right.png", 16, 0);
IC("menu/chat", "icon_chat.png", 16, 0);
IC("menu/clock", "icon_clock.png", 16, 0);
IC("menu/delete", "icon_delete.png", 16, 0);
IC("menu/edit", "icon_edit.png", 16, 0);
IC("menu/refresh", "icon_refresh.png", 16, 0);
IC("menu/folder", "icon_folder.png", 16, 0);
IC("menu/file", "icon_file.png", 16, 0);
IC("media_player/forward", "icon_forward.png", 16, 0);
IC("media_player/info", "icon_info.png", 16, 0);
IC("media_player/next", "icon_next.png", 16, 0);
IC("media_player/pause", "icon_pause.png", 16, 0);
IC("media_player/play", "icon_play.png", 16, 0);
IC("media_player/prev", "icon_prev.png", 16, 0);
IC("media_player/rewind", "icon_rewind.png", 16, 0);
IC("media_player/stop", "icon_stop.png", 16, 0);
IC("media_player/eject", "icon_eject.png", 16, 0);
IC("media_player/volume", "icon_volume.png", 16, 0);
IC("media_player/mute", "icon_mute.png", 16, 0);
#undef IC
#define IC(Name, File, Min, Max) \
group { name: "elm/icon/"##Name##"/default/default"; min: Min Min; max: Max Max; \
alias: "elm/icon/"##Name##"/default/flush"; \
images.image: File COMP; parts { \
part { name: "hi"; \
description { \
rel1.to: "base"; rel1.offset: 0 1; rel2.to: "base"; rel2.offset: -1 0; \
image.normal: File; color: 255 255 255 25;} } \
part { name: "base"; \
description { aspect: 1.0 1.0; aspect_preference: BOTH; \
image.normal: File; color: 21 21 21 255;} } \
} }
IC("media_player/forward", "icon_forward_mono.png", 16, 0);
IC("media_player/info", "icon_info_mono.png", 16, 0);
IC("media_player/next", "icon_next_mono.png", 16, 0);
IC("media_player/pause", "icon_pause_mono.png", 16, 0);
IC("media_player/play", "icon_play_mono.png", 16, 0);
IC("media_player/prev", "icon_prev_mono.png", 16, 0);
IC("media_player/rewind", "icon_rewind_mono.png", 16, 0);
IC("media_player/stop", "icon_stop_mono.png", 16, 0);
IC("media_player/eject", "icon_eject_mono.png", 16, 0);
IC("media_player/volume", "icon_volume_mono.png", 16, 0);
IC("media_player/mute", "icon_mute_mono.png", 16, 0);
#undef IC

View File

@ -0,0 +1,680 @@
group { name: "elm/index/base/vertical/default";
parts {
part { name: "clip"; type: RECT; mouse_events: 0;
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: "clip2"; type: RECT; mouse_events: 0;
clip_to: "clip";
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: "elm.swallow.index.0"; type: SWALLOW;
clip_to: "clip";
description { state: "default" 0.0;
align: 1.0 0.5;
fixed: 1 1;
rel1 {
relative: 1.0 0.5;
offset: -1 5;
}
rel2 {
relative: 1.0 0.5;
offset: -1 -6;
}
}
}
part { name: "elm.text"; type: TEXT; mouse_events: 0;
scale: 1;
clip_to: "clip2";
effect: GLOW;
description { state: "default" 0.0;
align: 1.0 0.5;
fixed: 1 1;
rel1 {
to_x: "elm.swallow.event.0";
to_y: "elm.dragable.pointer";
relative: 0.0 0.5;
offset: -16 0;
}
rel2 {
to_x: "elm.swallow.event.0";
to_y: "elm.dragable.pointer";
relative: 0.0 0.5;
offset: -16 -1;
}
color: FN_COL_HIGHLIGHT;
text {
font: FN;
size: 20;
min: 1 1;
align: 1.0 0.5;
}
}
}
part { name: "elm.dragable.pointer"; type: RECT; mouse_events: 0;
clip_to: "clip";
dragable {
x: 1 1 0;
y: 1 1 0;
}
description { state: "default" 0.0;
fixed: 1 1;
min: 8 8;
max: 8 8;
visible: 0;
rel1 {
relative: 0.0 0.0;
offset: 0 0;
}
rel2 {
relative: 0.0 0.0;
offset: 0 0;
}
}
}
part { name: "elm.swallow.event.0"; type: SWALLOW;
description { state: "default" 0.0;
align: 1.0 0.5;
fixed: 1 1;
rel1 {
relative: 1.0 0.0;
offset: -1 0;
}
rel2 {
relative: 1.0 1.0;
offset: -1 -1;
}
}
}
part { name: "access"; type: RECT;
repeat_events: 1;
description { state: "default" 0.0;
rel1.to:"elm.swallow.event.0";
rel2.to:"elm.swallow.event.0";
color: 0 0 0 0;
}
}
}
programs {
program { name: "active";
signal: "elm,state,active"; source: "elm";
action: STATE_SET "active" 0.0;
transition: DECELERATE 0.5;
target: "clip";
}
program { name: "inactive";
signal: "elm,state,inactive"; source: "elm";
action: STATE_SET "default" 0.0;
transition: DECELERATE 0.5;
target: "clip";
}
program { name: "active2";
signal: "elm,indicator,state,active"; source: "elm";
action: STATE_SET "active" 0.0;
transition: DECELERATE 0.5;
target: "clip2";
}
program { name: "inactive2";
signal: "elm,indicator,state,inactive"; source: "elm";
action: STATE_SET "default" 0.0;
transition: DECELERATE 0.5;
target: "clip2";
}
}
}
group { name: "elm/index/item/vertical/default";
data.item: "stacking" "below";
images {
image: "darken_rounded_square_half.png" COMP;
}
parts {
part { name: "base"; mouse_events: 0;
description { state: "default" 0.0;
image {
normal: "darken_rounded_square_half.png";
border: 7 0 6 8;
}
fill.smooth: 0;
}
description { state: "active" 0.0;
inherit: "default" 0.0;
rel1.offset: -16 0;
}
}
part { name: "elm.text"; type: TEXT; mouse_events: 0;
scale: 1;
effect: SHADOW BOTTOM;
description {
state: "default" 0.0;
rel1 {
to: "base";
relative: 0.0 0.0;
offset: 4 4;
}
rel2 {
to: "base";
relative: 0.5 1.0;
offset: -1 -1;
}
color: FN_COL_DEFAULT;
text {
font: FN;
size: 10;
min: 1 1;
align: 0.5 0.5;
}
}
description { state: "active" 0.0;
inherit: "default" 0.0;
visible: 0;
}
}
part { name: "elm.text2"; type: TEXT; mouse_events: 0;
scale: 1;
effect: GLOW;
description {
state: "default" 0.0;
visible: 0;
rel1 {
to: "base";
relative: 0.0 0.0;
offset: 4 4;
}
rel2 {
to: "base";
relative: 0.5 1.0;
offset: -1 -1;
}
color: FN_COL_HIGHLIGHT;
text {
font: FN;
size: 10;
min: 0 0;
align: 0.5 0.5;
text_source: "elm.text";
}
}
description { state: "active" 0.0;
inherit: "default" 0.0;
visible: 1;
}
}
}
programs {
program { name: "active";
signal: "elm,state,active"; source: "elm";
action: STATE_SET "active" 0.0;
target: "elm.text";
target: "elm.text2";
after: "active_base";
}
program { name: "active_base";
action: STATE_SET "active" 0.0;
target: "base";
transition: DECELERATE 0.5;
}
program { name: "inactive";
signal: "elm,state,inactive"; source: "elm";
action: STATE_SET "default" 0.0;
target: "elm.text";
target: "elm.text2";
after: "inactive_base";
}
program { name: "inactive_base";
action: STATE_SET "default" 0.0;
target: "base";
transition: DECELERATE 0.5;
}
}
}
group { name: "elm/index/item_odd/vertical/default";
data.item: "stacking" "above";
data.item: "selectraise" "on";
parts {
part { name: "base"; mouse_events: 0;
description { state: "default" 0.0;
image {
normal: "darken_rounded_square_half.png";
border: 7 0 6 8;
}
fill.smooth: 0;
}
description { state: "active" 0.0;
inherit: "default" 0.0;
rel1.offset: -16 0;
}
}
part { name: "elm.text"; type: TEXT; mouse_events: 0;
scale: 1;
effect: SHADOW BOTTOM;
description {
state: "default" 0.0;
rel1 {
to: "base";
relative: 0.0 0.0;
offset: 4 4;
}
rel2 {
to: "base";
relative: 0.5 1.0;
offset: -1 -1;
}
color: FN_COL_DEFAULT;
text {
font: FN;
size: 10;
min: 1 1;
align: 0.5 0.5;
}
}
description { state: "active" 0.0;
inherit: "default" 0.0;
visible: 0;
}
}
part { name: "elm.text2"; type: TEXT; mouse_events: 0;
scale: 1;
effect: GLOW;
description {
state: "default" 0.0;
visible: 0;
rel1 {
to: "base";
relative: 0.0 0.0;
offset: 4 4;
}
rel2 {
to: "base";
relative: 0.5 1.0;
offset: -1 -1;
}
color: FN_COL_HIGHLIGHT;
text {
font: FN;
size: 10;
min: 0 0;
align: 0.5 0.5;
text_source: "elm.text";
}
}
description { state: "active" 0.0;
inherit: "default" 0.0;
visible: 1;
}
}
}
programs {
program { name: "active";
signal: "elm,state,active"; source: "elm";
action: STATE_SET "active" 0.0;
target: "elm.text";
target: "elm.text2";
after: "active_base";
}
program { name: "active_base";
action: STATE_SET "active" 0.0;
target: "base";
transition: DECELERATE 0.5;
}
program { name: "inactive";
signal: "elm,state,inactive"; source: "elm";
action: STATE_SET "default" 0.0;
target: "elm.text";
target: "elm.text2";
after: "inactive_base";
}
program { name: "inactive_base";
action: STATE_SET "default" 0.0;
target: "base";
transition: DECELERATE 0.5;
}
}
}
group { name: "elm/index/base/horizontal/default";
parts {
part { name: "clip"; type: RECT; mouse_events: 0;
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: "clip2"; type: RECT; mouse_events: 0;
clip_to: "clip";
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: "elm.swallow.index.0"; type: SWALLOW;
clip_to: "clip";
description { state: "default" 0.0;
align: 0.5 1.0;
fixed: 1 1;
rel1 {
relative: 0.5 1;
offset: 0 0;
}
rel2 {
relative: 0.5 1;
offset: -1 -1;
}
}
}
part { name: "elm.text"; type: TEXT; mouse_events: 0;
scale: 1;
clip_to: "clip2";
effect: GLOW;
description { state: "default" 0.0;
align: 0.5 1;
fixed: 1 1;
rel1 {
to_x: "elm.dragable.pointer";
to_y: "elm.swallow.event.0";
relative: 0.5 0;
offset: 0 -16;
}
rel2 {
to_x: "elm.dragable.pointer";
to_y: "elm.swallow.event.0";
relative: 0.5 0;
offset: -1 -16;
}
color: FN_COL_HIGHLIGHT;
text {
font: FN;
size: 20;
min: 1 1;
align: 0.5 1;
}
}
}
part { name: "elm.dragable.pointer"; type: RECT; mouse_events: 0;
clip_to: "clip";
dragable {
x: 1 1 0;
y: 1 1 0;
}
description { state: "default" 0.0;
fixed: 1 1;
min: 8 8;
max: 8 8;
visible: 0;
rel1 {
relative: 0.0 0.0;
offset: 0 0;
}
rel2 {
relative: 0.0 0.0;
offset: 0 0;
}
}
}
part { name: "elm.swallow.event.0"; type: SWALLOW;
description { state: "default" 0.0;
align: 0.5 1;
fixed: 1 1;
rel1 {
relative: 0.0 1.0;
offset: -1 0;
}
rel2 {
relative: 1.0 1.0;
offset: -1 -1;
}
}
}
}
programs {
program { name: "active";
signal: "elm,state,active"; source: "elm";
action: STATE_SET "active" 0.0;
transition: DECELERATE 0.5;
target: "clip";
}
program { name: "inactive";
signal: "elm,state,inactive"; source: "elm";
action: STATE_SET "default" 0.0;
transition: DECELERATE 0.5;
target: "clip";
}
program { name: "active2";
signal: "elm,indicator,state,active"; source: "elm";
action: STATE_SET "active" 0.0;
transition: DECELERATE 0.5;
target: "clip2";
}
program { name: "inactive2";
signal: "elm,indicator,state,inactive"; source: "elm";
action: STATE_SET "default" 0.0;
transition: DECELERATE 0.5;
target: "clip2";
}
}
}
group { name: "elm/index/item/horizontal/default";
data.item: "stacking" "below";
images {
image: "darken_rounded_square_half_h.png" COMP;
}
parts {
part { name: "base"; mouse_events: 0;
description {
state: "default" 0.0;
image {
normal: "darken_rounded_square_half_h.png";
border: 6 8 7 0;
}
fill.smooth: 0;
}
description { state: "active" 0.0;
inherit: "default" 0.0;
rel1.offset: 0 -16;
}
}
part { name: "elm.text"; type: TEXT; mouse_events: 0;
scale: 1;
effect: SHADOW BOTTOM;
description { state: "default" 0.0;
rel1 {
to: "base";
relative: 0.25 0.0;
}
rel2 {
to: "base";
relative: 0.75 1.0;
}
color: FN_COL_DEFAULT;
text {
font: FN;
size: 10;
min: 1 1;
align: 0.5 0.5;
}
}
description { state: "active" 0.0;
inherit: "default" 0.0;
visible: 0;
}
}
part { name: "elm.text2"; type: TEXT; mouse_events: 0;
scale: 1;
effect: GLOW;
description {
state: "default" 0.0;
visible: 0;
rel1 {
to: "base";
relative: 0.25 0.0;
}
rel2 {
to: "base";
relative: 0.75 1.0;
}
color: FN_COL_HIGHLIGHT;
text {
font: FN;
size: 10;
min: 0 0;
align: 0.5 0.5;
text_source: "elm.text";
}
}
description { state: "active" 0.0;
inherit: "default" 0.0;
visible: 1;
}
}
}
programs {
program { name: "active";
signal: "elm,state,active"; source: "elm";
action: STATE_SET "active" 0.0;
target: "elm.text";
target: "elm.text2";
after: "active_base";
}
program { name: "active_base";
action: STATE_SET "active" 0.0;
target: "base";
transition: DECELERATE 0.5;
}
program { name: "inactive";
signal: "elm,state,inactive"; source: "elm";
action: STATE_SET "default" 0.0;
target: "elm.text";
target: "elm.text2";
after: "inactive_base";
}
program { name: "inactive_base";
action: STATE_SET "default" 0.0;
target: "base";
transition: DECELERATE 0.5;
}
}
}
group { name: "elm/index/item_odd/horizontal/default";
data.item: "stacking" "above";
data.item: "selectraise" "on";
parts {
part { name: "base"; mouse_events: 0;
description { state: "default" 0.0;
image {
normal: "darken_rounded_square_half_h.png";
border: 6 8 7 0;
}
fill.smooth: 0;
}
description { state: "active" 0.0;
inherit: "default" 0.0;
rel1.offset: 0 -16;
}
}
part { name: "elm.text"; type: TEXT; mouse_events: 0;
scale: 1;
effect: SHADOW BOTTOM;
description { state: "default" 0.0;
rel1 {
to: "base";
relative: 0.25 0.0;
}
rel2 {
to: "base";
relative: 0.75 1.0;
}
color: FN_COL_DEFAULT;
text {
font: FN;
size: 10;
min: 1 1;
align: 0.5 0.5;
}
}
description { state: "active" 0.0;
inherit: "default" 0.0;
visible: 0;
}
}
part { name: "elm.text2"; type: TEXT; mouse_events: 0;
scale: 1;
effect: GLOW;
description {
state: "default" 0.0;
visible: 0;
rel1 {
to: "base";
relative: 0.25 0.0;
}
rel2 {
to: "base";
relative: 0.75 1.0;
}
color: FN_COL_HIGHLIGHT;
text {
font: FN;
size: 10;
min: 0 0;
align: 0.5 0.5;
text_source: "elm.text";
}
}
description { state: "active" 0.0;
inherit: "default" 0.0;
visible: 1;
}
}
}
programs {
program { name: "active";
signal: "elm,state,active"; source: "elm";
action: STATE_SET "active" 0.0;
target: "elm.text";
target: "elm.text2";
after: "active_base";
}
program { name: "active_base";
action: STATE_SET "active" 0.0;
target: "base";
transition: DECELERATE 0.5;
}
program { name: "inactive";
signal: "elm,state,inactive"; source: "elm";
action: STATE_SET "default" 0.0;
target: "elm.text";
target: "elm.text2";
after: "inactive_base";
}
program { name: "inactive_base";
action: STATE_SET "default" 0.0;
target: "base";
transition: DECELERATE 0.5;
}
}
}

View File

@ -0,0 +1,79 @@
group { name: "elm/win/inwin/default";
images {
image: "button_normal.png" COMP;
}
parts {
part { name: "base"; type: RECT; mouse_events: 1;
description { state: "default" 0.0;
color: 0 0 0 0;
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
color: 150 150 150 64;
}
}
part { name: "pop"; mouse_events: 1;
description { state: "default" 0.0;
rel1.to: "elm.swallow.content";
rel1.offset: -5 -5;
rel2.to: "elm.swallow.content";
rel2.offset: 4 4;
image {
normal: "button_normal.png";
border: 4 4 3 5;
middle: SOLID;
}
}
}
part { name: "elm.swallow.content"; type: SWALLOW;
description { state: "default" 0.0;
rel1.relative: 0.1 0.1;
rel2.relative: 0.9 0.9;
}
}
}
programs {
program { name: "show";
signal: "elm,action,show";
source: "elm";
action: STATE_SET "visible" 0.0;
transition: DECELERATE 0.5;
target: "base";
}
program { name: "hide";
signal: "elm,action,hide";
source: "elm";
action: STATE_SET "default" 0.0;
transition: DECELERATE 0.5;
target: "base";
}
}
}
group { name: "elm/win/inwin/minimal";
inherit: "elm/win/inwin/default";
parts {
part { name: "elm.swallow.content";
type: SWALLOW;
description { state: "default" 0.0;
fixed: 1 1;
rel1.relative: 0.5 0.5;
rel2.relative: 0.5 0.5;
}
}
}
}
group { name: "elm/win/inwin/minimal_vertical";
inherit: "elm/win/inwin/default";
parts {
part { name: "elm.swallow.content";
type: SWALLOW;
description { state: "default" 0.0;
fixed: 1 1;
rel1.relative: 0.1 0.5;
rel2.relative: 0.9 0.5;
}
}
}
}

View File

@ -0,0 +1,389 @@
group { name: "elm/label/base/default";
styles {
style { name: "label_style";
base: "font="FN" font_size=10 text_class=tb_plain align=center color=#ffffffff style=shadow,bottom shadow_color=#00000080";
tag: "br" "\n";
tag: "hilight" "+ font="FNBD" text_class=tb_light";
tag: "b" "+ font="FNBD" text_class=tb_light";
}
}
parts {
part { name: "label.text.clip"; type: RECT;
description { state: "default" 0.0;
}
}
part { name: "elm.text"; type: TEXTBLOCK;
clip_to: "label.text.clip";
scale: 1;
description { state: "default" 0.0;
rel1.relative: 0.0 0.0;
rel2.relative: 1.0 1.0;
text {
style: "label_style";
min: 0 1;
}
}
}
}
}
group { name: "elm/label/base/marker";
styles {
style { name: "label_style2";
base: "font="FNBD" font_size=10 text_class=tb_plain align=center color=#ffffffff style=shadow,bottom shadow_color=#00000080";
tag: "br" "\n";
tag: "hilight" "+ font="FNBD" color=#3399ff text_class=tb_light";
tag: "b" "+ font="FNBD" color=#3399ff text_class=tb_light";
}
}
parts {
part { name: "elm.text"; type: TEXTBLOCK;
scale: 1;
description { state: "default" 0.0;
text { style: "label_style2";
min: 1 1;
}
}
}
}
}
group { name: "elm/label/base/slide_long";
script {
public g_duration, g_stopslide, g_timer_id, g_anim_id;
public message(Msg_Type:type, id, ...) {
if ((type == MSG_FLOAT_SET) && (id == 0)) {
new Float:duration;
duration = getfarg(2);
set_float(g_duration, duration);
}
}
public slide_to_end_anim(val, Float:pos) {
new stopflag;
new id;
stopflag = get_int(g_stopslide);
if (stopflag == 1) return;
set_tween_state(PART:"elm.text", pos, "slide_begin", 0.0, "slide_end", 0.0);
if (pos >= 1.0) {
id = timer(0.5, "slide_to_begin", 1);
set_int(g_timer_id, id);
}
}
public slide_to_end() {
new stopflag;
new id;
new Float:duration;
stopflag = get_int(g_stopslide);
if (stopflag == 1) return;
duration = get_float(g_duration);
id = anim(duration, "slide_to_end_anim", 1);
set_int(g_anim_id, id);
}
public slide_to_begin() {
new stopflag;
new id;
stopflag = get_int(g_stopslide);
if (stopflag == 1) return;
set_state(PART:"elm.text", "slide_begin", 0.0);
id = timer(0.5, "slide_to_end", 1);
set_int(g_timer_id, id);
}
public start_slide() {
set_int(g_stopslide, 0);
set_state(PART:"elm.text", "slide_begin", 0.0);
slide_to_end();
}
public stop_slide() {
new id;
set_int(g_stopslide, 1);
id = get_int(g_anim_id);
cancel_anim(id);
id = get_int(g_timer_id);
cancel_timer(id);
set_state(PART:"elm.text", "default", 0.0);
}
}
parts {
part { name: "label.text.clip"; type: RECT;
description { state: "default" 0.0;
}
}
part { name: "elm.text"; type: TEXTBLOCK;
scale: 1;
clip_to: "label.text.clip";
description { state: "default" 0.0;
rel1.relative: 0.0 0.0;
rel2.relative: 1.0 1.0;
align: 0.0 0.0;
text {
style: "label_style";
min: 0 1;
}
}
description { state: "slide_end" 0.0;
inherit: "default" 0.0;
rel1.relative: 0.0 0.0;
rel2.relative: 0.0 1.0;
align: 1.0 0.0;
text {
style: "label_style";
min: 1 1;
}
}
description { state: "slide_begin" 0.0;
inherit: "default" 0.0;
rel1.relative: 1.0 0.0;
rel2.relative: 1.0 1.0;
align: 0.0 0.0;
text {
style: "label_style";
min: 1 1;
}
}
}
}
programs {
program { name: "start_slide";
signal: "elm,state,slide,start"; source: "elm";
script {
start_slide();
}
}
program { name: "stop_slide";
signal: "elm,state,slide,stop"; source: "elm";
script {
stop_slide();
}
}
}
}
group { name: "elm/label/base/slide_short";
script {
public g_duration, g_stopslide, g_timer_id, g_anim_id;
public message(Msg_Type:type, id, ...) {
if ((type == MSG_FLOAT_SET) && (id == 0)) {
new Float:duration;
duration = getfarg(2);
set_float(g_duration, duration);
}
}
public slide_to_end_anim(val, Float:pos) {
new stopflag;
new id;
stopflag = get_int(g_stopslide);
if (stopflag == 1) return;
set_tween_state(PART:"elm.text", pos, "slide_begin", 0.0, "slide_end", 0.0);
if (pos >= 1.0) {
id = timer(0.5, "slide_to_begin", 1);
set_int(g_timer_id, id);
}
}
public slide_to_end() {
new stopflag;
new id;
new Float:duration;
stopflag = get_int(g_stopslide);
if (stopflag == 1) return;
duration = get_float(g_duration);
id = anim(duration, "slide_to_end_anim", 1);
set_int(g_anim_id, id);
}
public slide_to_begin() {
new stopflag;
new id;
stopflag = get_int(g_stopslide);
if (stopflag == 1) return;
set_state(PART:"elm.text", "slide_begin", 0.0);
id = timer(0.5, "slide_to_end", 1);
set_int(g_timer_id, id);
}
public start_slide() {
set_int(g_stopslide, 0);
set_state(PART:"elm.text", "slide_begin", 0.0);
slide_to_end();
}
public stop_slide() {
new id;
set_int(g_stopslide, 1);
id = get_int(g_anim_id);
cancel_anim(id);
id = get_int(g_timer_id);
cancel_timer(id);
set_state(PART:"elm.text", "default", 0.0);
}
}
parts {
part { name: "label.text.clip"; type: RECT;
description { state: "default" 0.0;
}
}
part { name: "elm.text"; type: TEXTBLOCK;
scale: 1;
clip_to: "label.text.clip";
description { state: "default" 0.0;
rel1.relative: 0.0 0.0;
rel2.relative: 1.0 1.0;
align: 0.0 0.0;
text { style: "label_style";
min: 0 1;
}
}
description { state: "slide_end" 0.0;
inherit: "default" 0.0;
rel1.relative: 1.0 0.0;
rel2.relative: 1.0 1.0;
align: 1.0 0.0;
text { style: "label_style";
min: 1 1;
}
}
description { state: "slide_begin" 0.0;
inherit: "default" 0.0;
rel1.relative: 0.0 0.0;
rel2.relative: 0.0 1.0;
align: 0.0 0.0;
text { style: "label_style";
min: 1 1;
}
}
}
}
programs {
program { name: "start_slide";
signal: "elm,state,slide,start"; source: "elm";
script {
start_slide();
}
}
program { name: "stop_slide";
signal: "elm,state,slide,stop"; source: "elm";
script {
stop_slide();
}
}
}
}
group { name: "elm/label/base/slide_bounce";
script {
public g_duration, g_stopslide, g_timer_id, g_anim_id;
public message(Msg_Type:type, id, ...) {
if ((type == MSG_FLOAT_SET) && (id == 0)) {
new Float:duration;
duration = getfarg(2);
set_float(g_duration, duration);
}
}
public slide_to_end_anim(val, Float:pos) {
new stopflag;
new id;
stopflag = get_int(g_stopslide);
if (stopflag == 1) return;
set_tween_state(PART:"elm.text", pos, "slide_begin", 0.0, "slide_end", 0.0);
if (pos >= 1.0) {
id = timer(0.5, "slide_to_begin", 1);
set_int(g_timer_id, id);
}
}
public slide_to_end() {
new stopflag;
new id;
new Float:duration;
stopflag = get_int(g_stopslide);
if (stopflag == 1) return;
duration = get_float(g_duration);
id = anim(duration, "slide_to_end_anim", 1);
set_int(g_anim_id, id);
}
public slide_to_begin_anim(val, Float:pos) {
new stopflag;
new id;
stopflag = get_int(g_stopslide);
if (stopflag == 1) return;
set_tween_state(PART:"elm.text", pos, "slide_end", 0.0, "slide_begin", 0.0);
if (pos >= 1.0) {
id = timer(0.5, "slide_to_end", 1);
set_int(g_timer_id, id);
}
}
public slide_to_begin() {
new stopflag;
new id;
new Float:duration;
stopflag = get_int(g_stopslide);
if (stopflag == 1) return;
duration = get_float(g_duration);
id = anim(duration, "slide_to_begin_anim", 1);
set_int(g_anim_id, id);
}
public start_slide() {
set_int(g_stopslide, 0);
set_state(PART:"elm.text", "slide_begin", 0.0);
slide_to_end();
}
public stop_slide() {
new id;
set_int(g_stopslide, 1);
id = get_int(g_anim_id);
cancel_anim(id);
id = get_int(g_timer_id);
cancel_timer(id);
set_state(PART:"elm.text", "default", 0.0);
}
}
parts {
part { name: "label.text.clip"; type: RECT;
description { state: "default" 0.0;
}
}
part { name: "elm.text"; type: TEXTBLOCK;
scale: 1;
clip_to: "label.text.clip";
description { state: "default" 0.0;
rel1.relative: 0.0 0.0;
rel2.relative: 1.0 1.0;
align: 0.0 0.0;
text { style: "label_style";
min: 0 1;
}
}
description { state: "slide_end" 0.0;
inherit: "default" 0.0;
rel1.relative: 1.0 0.0;
rel2.relative: 1.0 1.0;
align: 1.0 0.0;
text { style: "label_style";
min: 1 1;
}
}
description { state: "slide_begin" 0.0;
inherit: "default" 0.0;
rel1.relative: 0.0 0.0;
rel2.relative: 0.0 1.0;
align: 0.0 0.0;
text { style: "label_style";
min: 1 1;
}
}
}
}
programs {
program { name: "start_slide";
signal: "elm,state,slide,start"; source: "elm";
script {
start_slide();
}
}
program { name: "stop_slide";
signal: "elm,state,slide,stop"; source: "elm";
script {
stop_slide();
}
}
}
}

View File

@ -0,0 +1,535 @@
/* application with a main content area with a back button and title area */
group { name: "elm/layout/application/content-back";
parts {
part { name: "elm.swallow.content"; type: SWALLOW;
description { state: "default" 0.0;
rel1 {
to_y: "title_clipper";
relative: 0.0 1.0;
offset: -1 1;
}
}
}
part { name: "title_clipper"; type: RECT;
description { state: "default" 0.0;
visible: 1;
rel1.to_y: "back";
rel2.to_y: "back";
}
description { state: "hidden" 0.0;
inherit: "default" 0.0;
visible: 0;
rel2.relative: 1.0 0.0;
}
}
part { name: "back_clipper"; type: RECT;
clip_to: "title_clipper";
description { state: "default" 0.0;
visible: 1;
}
description { state: "hidden" 0.0;
visible: 0;
}
}
part { name: "back"; type: EXTERNAL;
source: "elm/button";
clip_to: "back_clipper";
description { state: "default" 0.0;
align: 0.0 0.0;
fixed: 1 1;
rel1 {
relative: 0.0 0.0;
offset: 0 1;
}
rel2 {
relative: 0.0 0.0;
offset: 50 32;
}
params.string: "label" "Back";
}
}
programs {
program {
signal: "clicked"; source: "back";
action: SIGNAL_EMIT "elm,action,back" "elm";
}
program {
signal: "elm,back,hide"; source: "elm";
action: STATE_SET "hidden" 0.0;
target: "back_clipper";
}
program {
signal: "elm,back,show"; source: "elm";
action: STATE_SET "default" 0.0;
target: "back_clipper";
}
program {
signal: "elm,title,hide"; source: "elm";
action: STATE_SET "hidden" 0.0;
transition: LINEAR 0.1;
target: "title_clipper";
}
program {
signal: "elm,title,show"; source: "elm";
action: STATE_SET "default" 0.0;
target: "title_clipper";
}
}
part { name: "elm.swallow.end"; type: SWALLOW;
description { state: "default" 0.0;
align: 1.0 0.0;
fixed: 1 1;
rel1 {
relative: 1.0 0.0;
offset: -2 1;
}
rel2 {
relative: 1.0 0.0;
offset: -1 32;
}
}
}
part { name: "elm.text.title"; type: TEXT;
effect: SHADOW BOTTOM;
scale: 1;
clip_to: "title_clipper";
description { state: "default" 0.0;
rel1 {
to_x: "back";
relative: 1.0 0.0;
offset: 2 1;
}
rel2 {
to_y: "back";
to_x: "elm.swallow.end";
relative: 0.0 1.0;
offset: -3 -1;
}
color: 255 255 255 255;
color3: 0 0 0 128;
text { font: FNBD; size: 10;
}
}
}
}
}
/* application with a main content area with a back and next buttons and title area */
group { name: "elm/layout/application/content-back-next";
parts {
part { name: "elm.swallow.content"; type: SWALLOW;
description { state: "default" 0.0;
rel1 {
to_y: "title_clipper";
relative: 0.0 1.0;
offset: -1 1;
}
}
}
part { name: "title_clipper"; type: RECT;
description { state: "default" 0.0;
visible: 1;
rel1.to_y: "back";
rel2.to_y: "back";
}
description { state: "hidden" 0.0;
inherit: "default" 0.0;
visible: 0;
rel2.relative: 1.0 0.0;
}
}
part { name: "back"; type: EXTERNAL;
source: "elm/button";
clip_to: "back_clipper";
description { state: "default" 0.0;
align: 0.0 0.0;
fixed: 1 1;
rel1 {
relative: 0.0 0.0;
offset: 0 1;
}
rel2 {
relative: 0.0 0.0;
offset: 50 32;
}
params.string: "label" "Back";
}
}
part { name: "back_clipper"; type: RECT;
clip_to: "title_clipper";
description { state: "default" 0.0;
visible: 1;
}
description { state: "hidden" 0.0;
visible: 0;
}
}
part { name: "next"; type: EXTERNAL;
source: "elm/button";
clip_to: "next_clipper";
description { state: "default" 0.0;
align: 1.0 0.0;
fixed: 1 1;
rel1 {
relative: 1.0 0.0;
offset: -2 1;
}
rel2 {
relative: 1.0 0.0;
offset: -1 32;
}
params.string: "label" "Next";
}
}
part { name: "next_clipper"; type: RECT;
clip_to: "title_clipper";
description { state: "default" 0.0;
visible: 1;
}
description { state: "hidden" 0.0;
visible: 0;
}
}
programs {
program {
signal: "clicked"; source: "back";
action: SIGNAL_EMIT "elm,action,back" "elm";
}
program {
signal: "elm,title,hide"; source: "elm";
action: STATE_SET "hidden" 0.0;
transition: LINEAR 0.1;
target: "title_clipper";
}
program {
signal: "elm,title,show"; source: "elm";
action: STATE_SET "default" 0.0;
target: "title_clipper";
}
program {
signal: "elm,back,hide"; source: "elm";
action: STATE_SET "hidden" 0.0;
target: "back_clipper";
}
program {
signal: "elm,back,show"; source: "elm";
action: STATE_SET "default" 0.0;
target: "back_clipper";
}
program {
signal: "clicked"; source: "next";
action: SIGNAL_EMIT "elm,action,next" "elm";
}
program {
signal: "elm,next,hide"; source: "elm";
action: STATE_SET "hidden" 0.0;
target: "next_clipper";
}
program {
signal: "elm,next,show"; source: "elm";
action: STATE_SET "default" 0.0;
target: "next_clipper";
}
}
part { name: "elm.text.title"; type: TEXT;
effect: SHADOW BOTTOM;
scale: 1;
clip_to: "title_clipper";
description { state: "default" 0.0;
rel1 {
to_x: "back";
relative: 1.0 0.0;
offset: 2 1;
}
rel2 {
to_y: "back";
to_x: "next";
relative: 0.0 1.0;
offset: -3 -1;
}
color: 255 255 255 255;
color3: 0 0 0 128;
text { font: FNBD; size: 10;
}
}
}
}
}
/* application with toolbar and main content area */
group { name: "elm/layout/application/toolbar-content";
parts {
part { name: "elm.swallow.content"; type: SWALLOW;
description { state: "default" 0.0;
rel1 {
to_y: "elm.external.toolbar";
relative: 0.0 1.0;
offset: -1 1;
}
}
}
part { name: "elm.external.toolbar"; type: EXTERNAL;
source: "elm/toolbar";
description { state: "default" 0.0;
align: 0.5 0.0;
fixed: 0 1;
rel2 {
relative: 1.0 0.0;
offset: -1 0;
}
}
}
}
}
/* application with toolbar and main content area with a back button and title area */
group { name: "elm/layout/application/toolbar-content-back";
inherit: "elm/layout/application/content-back";
parts {
part { name: "elm.external.toolbar"; type: EXTERNAL;
insert_after: "elm.swallow.content";
source: "elm/toolbar";
description { state: "default" 0.0;
fixed: 0 1;
align: 0.5 0.0;
rel2 {
relative: 1.0 0.0;
offset: -1 0;
}
}
}
part { name: "back";
description { state: "default" 0.0;
rel1 {
to_y: "elm.external.toolbar";
relative: 0.0 1.0;
}
rel2 {
to_y: "elm.external.toolbar";
relative: 0.0 1.0;
}
}
}
part { name: "elm.swallow.end";
description { state: "default" 0.0;
rel1 {
to_y: "elm.external.toolbar";
relative: 1.0 1.0;
}
rel2 {
to_y: "elm.external.toolbar";
relative: 1.0 1.0;
}
}
}
part { name: "elm.text.title";
description { state: "default" 0.0;
rel1 {
to_y: "elm.external.toolbar";
relative: 1.0 1.0;
}
}
}
}
}
/* application with toolbar and main content area with a back and next buttons and title area */
group { name: "elm/layout/application/toolbar-content-back-next";
inherit: "elm/layout/application/content-back-next";
parts {
part { name: "elm.external.toolbar"; type: EXTERNAL;
source: "elm/toolbar";
description { state: "default" 0.0;
fixed: 0 1;
align: 0.5 0.0;
rel2 {
relative: 1.0 0.0;
offset: -1 0;
}
}
}
part { name: "back";
description { state: "default" 0.0;
rel1 {
to_y: "elm.external.toolbar";
relative: 0.0 1.0;
}
rel2 {
to_y: "elm.external.toolbar";
relative: 0.0 1.0;
}
}
}
part { name: "next";
description { state: "default" 0.0;
rel1 {
to_y: "elm.external.toolbar";
relative: 1.0 1.0;
}
rel2 {
to_y: "elm.external.toolbar";
relative: 1.0 1.0;
}
}
}
part { name: "elm.text.title";
description { state: "default" 0.0;
rel1 {
to_y: "elm.external.toolbar";
relative: 1.0 1.0;
}
}
}
}
}
/* application with toolbar and main content area as a vertical box */
group { name: "elm/layout/application/toolbar-vbox";
parts {
part { name: "elm.box.content"; type: BOX;
description { state: "default" 0.0;
rel1 {
to_y: "elm.external.toolbar";
relative: 0.0 1.0;
offset: -1 0;
}
box.layout: "vertical";
}
}
part { name: "elm.external.toolbar"; type: EXTERNAL;
source: "elm/toolbar";
description { state: "default" 0.0;
align: 0.5 0.0;
fixed: 0 1;
rel2 {
relative: 1.0 0.0;
offset: -1 0;
}
}
}
}
}
/* application with toolbar and main content area as a table */
group { name: "elm/layout/application/toolbar-table";
parts {
part { name: "elm.table.content"; type: TABLE;
description { state: "default" 0.0;
rel1 {
to_y: "elm.external.toolbar";
relative: 0.0 1.0;
offset: -1 0;
}
}
}
part { name: "elm.external.toolbar"; type: EXTERNAL;
source: "elm/toolbar";
description { state: "default" 0.0;
align: 0.5 0.0;
fixed: 0 1;
rel2 {
relative: 1.0 0.0;
offset: -1 0;
}
}
}
}
}
/* a simple title layout, with a label and two icons */
group { name: "elm/layout/application/titlebar";
parts {
part { name: "elm.swallow.content"; type: SWALLOW;
description { state: "default" 0.0;
rel1 {
to_y: "elm.swallow.icon";
relative: 0.0 1.0;
offset: -1 0;
}
}
}
part { name: "elm.swallow.icon"; type: SWALLOW;
scale: 1;
description { state: "default" 0.0;
visible: 0;
fixed: 1 1;
align: 0.0 0.0;
min: 24 24;
rel1 {
relative: 0.0 0.0;
offset: 2 2;
}
rel2 {
relative: 0.0 0.0;
offset: 2 2;
}
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
visible: 1;
}
}
part { name: "elm.swallow.end"; type: SWALLOW;
scale: 1;
description { state: "default" 0.0;
visible: 0;
fixed: 1 1;
align: 1.0 0.0;
min: 24 24;
rel1 {
relative: 1.0 0.0;
offset: -3 2;
}
rel2 {
relative: 1.0 0.0;
offset: -3 2;
}
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
visible: 1;
}
}
programs {
program {
signal: "elm,state,icon,visible"; source: "elm";
action: STATE_SET "visible" 0.0;
target: "elm.swallow.icon";
}
program {
signal: "elm,state,icon,hidden"; source: "elm";
action: STATE_SET "default" 0.0;
target: "elm.swallow.icon";
}
program {
signal: "elm,state,end,visible"; source: "elm";
action: STATE_SET "visible" 0.0;
target: "elm.swallow.end";
}
program {
signal: "elm,state,end,hidden"; source: "elm";
action: STATE_SET "default" 0.0;
target: "elm.swallow.end";
}
}
part { name: "elm.text"; type: TEXT;
effect: SHADOW BOTTOM;
scale: 1;
description { state: "default" 0.0;
rel1 {
to: "elm.swallow.icon";
relative: 1.0 0.0;
}
rel2 {
to: "elm.swallow.end";
relative: 0.0 1.0;
}
color: 255 255 255 255;
color3: 0 0 0 128;
text { font: FNBD; size: 10;
}
}
}
}
}

View File

@ -0,0 +1,707 @@
#define ODD(_NAME, _SRC) \
group { name: _NAME; \
inherit: _SRC; \
parts { \
part { name: "base"; \
description { state: "default" 0.0; \
color: 56 56 56 255; \
color_class: "list_item_base_odd"; \
} \
} \
} \
}
#define COMPRESS(_NAME, _SRC) \
group { name: _NAME; \
inherit: _SRC; \
parts { \
part { name: "elm.text"; \
description { state: "default" 0.0; \
text.min: 0 1; \
} \
description { state: "selected" 0.0; \
text.min: 0 1; \
} \
description { state: "disabled" 0.0; \
text.min: 0 1; \
} \
} \
part { name: "label2"; \
description { state: "default" 0.0; \
text.min: 0 1; \
} \
description { state: "selected" 0.0; \
text.min: 0 1; \
} \
description { state: "disabled" 0.0; \
text.min: 0 1; \
} \
} \
part { name: "label3"; \
description { state: "default" 0.0; \
text.min: 0 1; \
} \
description { state: "selected" 0.0; \
text.min: 0 1; \
} \
description { state: "disabled" 0.0; \
text.min: 0 1; \
} \
} \
} \
}
#define COMPRESS_ODD(_NAME, _SRC) \
group { name: _NAME; \
inherit: _SRC; \
parts { \
part { name: "elm.text"; \
description { state: "default" 0.0; \
text.min: 0 1; \
} \
description { state: "selected" 0.0; \
text.min: 0 1; \
} \
description { state: "disabled" 0.0; \
text.min: 0 1; \
} \
} \
part { name: "label2"; \
description { state: "default" 0.0; \
text.min: 0 1; \
} \
description { state: "selected" 0.0; \
text.min: 0 1; \
} \
description { state: "disabled" 0.0; \
text.min: 0 1; \
} \
} \
part { name: "label3"; \
description { state: "default" 0.0; \
text.min: 0 1; \
} \
description { state: "selected" 0.0; \
text.min: 0 1; \
} \
description { state: "disabled" 0.0; \
text.min: 0 1; \
} \
} \
part { name: "base"; \
description { state: "default" 0.0; \
color: 56 56 56 255; \
color_class: "list_item_base_odd"; \
} \
} \
} \
}
group { name: "elm/list/item/default";
data.item: "selectraise" "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 {
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;
}
}
part { name: "base"; type: RECT; mouse_events: 0;
description { state: "default" 0.0;
color: 64 64 64 255;
color_class: "list_item_base";
}
description { state: "odd" 0.0;
color: 56 56 56 255;
color_class: "list_item_base_odd";
}
}
program {
signal: "elm,state,odd"; source: "elm";
action: STATE_SET "odd" 1.0;
target: "base";
}
program {
signal: "elm,state,even"; source: "elm";
action: STATE_SET "default" 0.0;
target: "base";
}
part { name: "bevel"; mouse_events: 0;
description { state: "default" 0.0;
image.normal: "bevel_curved_horiz_out.png";
image.border: 0 0 2 2;
image.middle: 0;
fill.smooth: 0;
}
}
part { name: "sel_shadow"; mouse_events: 0;
description { state: "default" 0.0;
image.normal: "shadow_rounded_horiz.png";
image.border: 0 0 9 9;
rel1.offset: 0 -4;
rel2.offset: -1 5;
fill.smooth: 0;
visible: 0;
}
description { state: "selected" 0.0;
inherit: "default" 0.0;
visible: 1;
}
}
part { name: "sel_base"; mouse_events: 0;
description { state: "default" 0.0;
image.normal: "vgrad_med_dark.png";
fill.smooth: 0;
visible: 0;
TILED_HORIZ(120)
}
description { state: "selected" 0.0;
inherit: "default" 0.0;
visible: 1;
}
}
part { name: "sel_bevel"; mouse_events: 0;
description { state: "default" 0.0;
image.normal: "bevel_horiz_out.png";
image.border: 0 0 2 2;
image.middle: 0;
fill.smooth: 0;
visible: 0;
}
description { state: "selected" 0.0;
inherit: "default" 0.0;
visible: 1;
}
}
program {
signal: "elm,state,selected"; source: "elm";
action: STATE_SET "selected" 0.0;
target: "sel_shadow";
target: "sel_base";
target: "sel_bevel";
}
program {
signal: "elm,state,unselected"; source: "elm";
action: STATE_SET "default" 0.0;
target: "sel_shadow";
target: "sel_base";
target: "sel_bevel";
}
program {
signal: "elm,state,disabled"; source: "elm";
action: STATE_SET "disabled" 0.0;
target: "event";
}
program {
signal: "elm,state,enabled"; source: "elm";
action: STATE_SET "default" 0.0;
target: "event";
}
//##//
part { name: "elm.text"; type: TEXT; mouse_events: 0;
effect: SHADOW BOTTOM;
scale: 1;
description { state: "default" 0.0;
rel1.offset: 2 3;
rel1.relative: 1.0 0.0;
rel1.to_x: "elm.swallow.icon";
rel2.offset: -3 -3;
rel2.relative: 0.0 1.0;
rel2.to_x: "elm.swallow.end";
color: 255 255 255 255;
color3: 0 0 0 128;
color_class: "list_item";
text { font: FN; size: 10;
min: 1 1;
align: 0.0 0.5;
text_class: "list_item";
}
}
description { state: "selected" 0.0;
inherit: "default" 0.0;
visible: 0;
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
visible: 0;
}
}
part { name: "label2"; type: TEXT; mouse_events: 0;
effect: SHADOW BOTTOM;
scale: 1;
description { state: "default" 0.0;
rel1.to: "elm.text";
rel2.to: "elm.text";
color: 21 21 21 255;
color3: 255 255 255 25;
color_class: "list_item_disabled";
text { font: FN; size: 10;
text_source: "elm.text";
align: 0.0 0.5;
text_class: "list_item";
}
visible: 0;
}
description { state: "selected" 0.0;
inherit: "default" 0.0;
visible: 0;
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
visible: 1;
}
}
part { name: "label3"; type: TEXT; mouse_events: 0;
effect: GLOW;
scale: 1;
description { state: "default" 0.0;
rel1.offset: -2 -3;
rel1.to: "elm.text";
rel2.offset: 1 1;
rel2.to: "elm.text";
color: 51 153 255 255;
color2: 51 153 255 24;
color3: 51 153 255 18;
color_class: "list_item_selected";
text { font: FN; size: 10;
text_source: "elm.text";
align: 0.0 0.5;
text_class: "list_item";
}
visible: 0;
}
description { state: "selected" 0.0;
inherit: "default" 0.0;
visible: 1;
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
visible: 0;
}
}
program {
signal: "elm,state,selected"; source: "elm";
action: STATE_SET "selected" 0.0;
target: "elm.text";
target: "label2";
target: "label3";
}
program {
signal: "elm,state,unselected"; source: "elm";
action: STATE_SET "default" 0.0;
target: "elm.text";
target: "label2";
target: "label3";
}
program {
signal: "elm,state,disabled"; source: "elm";
action: STATE_SET "disabled" 0.0;
target: "elm.text";
target: "label2";
target: "label3";
}
program {
signal: "elm,state,enabled"; source: "elm";
action: STATE_SET "default" 0.0;
target: "elm.text";
target: "label2";
target: "label3";
}
//##//
part { name: "elm.swallow.icon"; type: SWALLOW;
description { state: "default" 0.0;
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;
}
}
part { name: "elm.swallow.end"; type: SWALLOW;
description { state: "default" 0.0;
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;
}
}
//##//
part { name: "sel_shine"; mouse_events: 0;
description { state: "default" 0.0;
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";
visible: 0;
FIXED_SIZE(69, 5)
}
description { state: "selected" 0.0;
inherit: "default" 0.0;
visible: 1;
}
}
part { name: "event_block"; 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;
}
}
program {
signal: "elm,state,selected"; source: "elm";
action: STATE_SET "selected" 0.0;
target: "sel_shine";
}
program {
signal: "elm,state,unselected"; source: "elm";
action: STATE_SET "default" 0.0;
target: "sel_shine";
}
program {
signal: "elm,state,disabled"; source: "elm";
action: STATE_SET "disabled" 0.0;
target: "event_block";
}
program {
signal: "elm,state,enabled"; source: "elm";
action: STATE_SET "default" 0.0;
target: "event_block";
}
}
}
ODD("elm/list/item_odd/default", "elm/list/item/default")
COMPRESS("elm/list/item_compress/default", "elm/list/item/default")
COMPRESS_ODD("elm/list/item_compress_odd/default", "elm/list/item/default")
// XXX: DO:
// elm/list/h_item/default
// elm/list/h_item_odd/default
// elm/list/h_item_compress/default
// elm/list/h_item_compress_odd/default
group { name: "elm/list/h_item/default";
data.item: "selectraise" "on";
images.image: "bevel_curved_vert_out.png" COMP;
images.image: "shadow_rounded_vert.png" COMP;
images.image: "vgrad_med_dark.png" COMP;
images.image: "bevel_out.png" COMP;
images.image: "shine.png" COMP;
parts {
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;
}
}
part { name: "base"; type: RECT; mouse_events: 0;
description { state: "default" 0.0;
color: 64 64 64 255;
color_class: "list_item_base";
}
description { state: "odd" 0.0;
color: 56 56 56 255;
color_class: "list_item_base_odd";
}
}
program {
signal: "elm,state,odd"; source: "elm";
action: STATE_SET "odd" 1.0;
target: "base";
}
program {
signal: "elm,state,even"; source: "elm";
action: STATE_SET "default" 0.0;
target: "base";
}
part { name: "bevel"; mouse_events: 0;
description { state: "default" 0.0;
image.normal: "bevel_curved_vert_out.png";
image.border: 2 2 0 0;
image.middle: 0;
fill.smooth: 0;
}
}
part { name: "sel_shadow"; mouse_events: 0;
description { state: "default" 0.0;
image.normal: "shadow_rounded_vert.png";
image.border: 9 9 0 0;
rel1.offset: -6 0;
rel2.offset: 5 -1;
fill.smooth: 0;
visible: 0;
}
description { state: "selected" 0.0;
inherit: "default" 0.0;
visible: 1;
}
}
part { name: "sel_base"; mouse_events: 0;
description { state: "default" 0.0;
image.normal: "vgrad_med_dark.png";
fill.smooth: 0;
visible: 0;
TILED_HORIZ(120)
}
description { state: "selected" 0.0;
inherit: "default" 0.0;
visible: 1;
}
}
part { name: "sel_bevel"; mouse_events: 0;
description { state: "default" 0.0;
image.normal: "bevel_out.png";
image.border: 2 2 2 2;
image.middle: 0;
fill.smooth: 0;
visible: 0;
}
description { state: "selected" 0.0;
inherit: "default" 0.0;
visible: 1;
}
}
program {
signal: "elm,state,selected"; source: "elm";
action: STATE_SET "selected" 0.0;
target: "sel_shadow";
target: "sel_base";
target: "sel_bevel";
}
program {
signal: "elm,state,unselected"; source: "elm";
action: STATE_SET "default" 0.0;
target: "sel_shadow";
target: "sel_base";
target: "sel_bevel";
}
program {
signal: "elm,state,disabled"; source: "elm";
action: STATE_SET "disabled" 0.0;
target: "event";
}
program {
signal: "elm,state,enabled"; source: "elm";
action: STATE_SET "default" 0.0;
target: "event";
}
//##//
part { name: "elm.text"; type: TEXT; mouse_events: 0;
effect: SHADOW BOTTOM;
scale: 1;
description { state: "default" 0.0;
rel1.offset: 2 2;
rel1.relative: 0.0 1.0;
rel1.to_y: "elm.swallow.icon";
rel2.offset: -3 -3;
rel2.relative: 1.0 0.0;
rel2.to_y: "elm.swallow.end";
color: 255 255 255 255;
color3: 0 0 0 128;
color_class: "list_item";
text { font: FN; size: 10;
min: 1 1;
align: 0.5 0.5;
text_class: "list_item";
}
}
description { state: "selected" 0.0;
inherit: "default" 0.0;
visible: 0;
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
visible: 0;
}
}
part { name: "label2"; type: TEXT; mouse_events: 0;
effect: SHADOW BOTTOM;
scale: 1;
description { state: "default" 0.0;
rel1.to: "elm.text";
rel2.to: "elm.text";
color: 21 21 21 255;
color3: 255 255 255 25;
color_class: "list_item_disabled";
text { font: FN; size: 10;
text_source: "elm.text";
align: 0.5 0.5;
text_class: "list_item";
}
visible: 0;
}
description { state: "selected" 0.0;
inherit: "default" 0.0;
visible: 0;
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
visible: 1;
}
}
part { name: "label3"; type: TEXT; mouse_events: 0;
effect: GLOW;
scale: 1;
description { state: "default" 0.0;
rel1.offset: -2 -3;
rel1.to: "elm.text";
rel2.offset: 1 1;
rel2.to: "elm.text";
color: 51 153 255 255;
color2: 51 153 255 24;
color3: 51 153 255 18;
color_class: "list_item_selected";
text { font: FN; size: 10;
text_source: "elm.text";
align: 0.5 0.5;
text_class: "list_item";
}
visible: 0;
}
description { state: "selected" 0.0;
inherit: "default" 0.0;
visible: 1;
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
visible: 0;
}
}
program {
signal: "elm,state,selected"; source: "elm";
action: STATE_SET "selected" 0.0;
target: "elm.text";
target: "label2";
target: "label3";
}
program {
signal: "elm,state,unselected"; source: "elm";
action: STATE_SET "default" 0.0;
target: "elm.text";
target: "label2";
target: "label3";
}
program {
signal: "elm,state,disabled"; source: "elm";
action: STATE_SET "disabled" 0.0;
target: "elm.text";
target: "label2";
target: "label3";
}
program {
signal: "elm,state,enabled"; source: "elm";
action: STATE_SET "default" 0.0;
target: "elm.text";
target: "label2";
target: "label3";
}
//##//
part { name: "elm.swallow.icon"; type: SWALLOW;
description { state: "default" 0.0;
fixed: 0 1;
aspect: 1.0 1.0;
align: 0.5 0.0;
rel1.offset: 2 2;
rel2.relative: 1.0 0.0;
rel2.offset: -3 2;
}
}
part { name: "elm.swallow.end"; type: SWALLOW;
description { state: "default" 0.0;
fixed: 0 1;
aspect: 1.0 1.0;
align: 0.5 1.0;
rel1.offset: 2 -3;
rel1.relative: 0.0 1.0;
rel2.offset: -3 -3;
}
}
//##//
part { name: "sel_shine"; mouse_events: 0;
description { state: "default" 0.0;
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";
visible: 0;
FIXED_SIZE(69, 5)
}
description { state: "selected" 0.0;
inherit: "default" 0.0;
visible: 1;
}
}
part { name: "event_block"; 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;
}
}
program {
signal: "elm,state,selected"; source: "elm";
action: STATE_SET "selected" 0.0;
target: "sel_shine";
}
program {
signal: "elm,state,unselected"; source: "elm";
action: STATE_SET "default" 0.0;
target: "sel_shine";
}
program {
signal: "elm,state,disabled"; source: "elm";
action: STATE_SET "disabled" 0.0;
target: "event_block";
}
program {
signal: "elm,state,enabled"; source: "elm";
action: STATE_SET "default" 0.0;
target: "event_block";
}
}
}
ODD("elm/list/h_item_odd/default", "elm/list/h_item/default")
COMPRESS("elm/list/h_item_compress/default", "elm/list/h_item/default")
COMPRESS_ODD("elm/list/h_item_compress_odd/default", "elm/list/h_item/default")
#undef ODD
#undef COMPRESS
#undef COMPRESS_ODD

View File

@ -0,0 +1,208 @@
group { name: "elm/map/base/default";
inherit: "elm/photocam/base/default";
}
group { name: "elm/map/marker/radio/default";
data.item: "size_w" 35;
data.item: "size_h" 35;
data.item: "size_max_w" 35;
data.item: "size_max_h" 35;
images.image: "map_marker.png" COMP;
parts {
part { name: "mark";
description { state: "default" 0.0;
fixed: 1 1;
rel1.relative: 0.5 0.5;
rel1.offset: 0 3;
rel2.relative: 0.5 0.5;
rel2.offset: 0 3;
align: 0.5 1.0;
min: 65 35;
max: 65 35;
image.normal: "map_marker.png";
}
}
part { name: "elm.icon"; type: SWALLOW; mouse_events: 0;
description { state: "default" 0.0;
rel1.to: "mark";
rel1.relative: (25/65) (5/35);
rel2.to: "mark";
rel2.relative: (40/65) (20/35);
rel2.offset: 0 0;
}
}
part { name: "elm.text"; type: TEXT;
effect: SHADOW BOTTOM;
description { state: "default" 0.0;
fixed: 1 1;
rel1.to: "elm.icon";
rel2.to: "elm.icon";
color_class: "map_radio";
color: 21 21 21 255;
color3: 255 255 255 192;
text { font: FNBD; size: 10;
text_class: "map_radio";
min: 1 1;
}
}
}
}
}
group { name: "elm/map/marker/empty/default";
data.item: "size_w" 16;
data.item: "size_h" 16;
data.item: "size_max_w" 24;
data.item: "size_max_h" 24;
parts {
part { name: "knob"; type: SPACER;
description { state: "default" 0.0;
min: 16 16;
max: 24 24;
}
}
part { name: "elm.icon"; type: SWALLOW; mouse_events: 0;
description { state: "default" 0.0;
rel1.to: "knob";
rel2.to: "knob";
}
}
part { name: "elm.text"; type: TEXT;
effect: SHADOW BOTTOM;
description { state: "default" 0.0;
rel1.to: "knob";
rel2.to: "knob";
color_class: "map_empty";
color: 255 255 255 255;
color3: 0 0 0 128;
text { font: FNBD; size: 10;
text_class: "map_empty";
min: 1 1;
}
}
}
}
}
group { name: "elm/map/circle/base/default";
images.image: "map_circle.png" COMP;
parts {
part { name: "base";
ignore_flags: ON_HOLD;
description { state: "default" 0.0;
image.normal: "map_circle.png";
}
}
}
}
group { name: "elm/map/scale/base/default";
data.item: "size_w" 100;
data.item: "size_h" 22;
images.image: "map_scale.png" COMP;
parts {
part { name: "scale";
description { state: "default" 0.0;
min: 16 16;
image.border: 6 6 5 5;
image.normal: "map_scale.png";
}
}
part { name: "elm.text"; type: TEXT;
effect: SHADOW BOTTOM;
description { state: "default" 0.0;
rel1.offset: 6 5;
rel2.offset: -7 -5;
color_class: "map_scale";
color: 255 255 255 255;
color3: 0 0 0 128;
text { font: FNBD; size: 10;
text_class: "map_scale";
min: 1 1;
align: 0.0 0.0;
}
}
}
}
}
group { name: "elm/map/marker_bubble/default";
data.item: "size_w" 320;
data.item: "size_h" 160;
images.image: "bub_base_b0.png" COMP;
images.image: "bub_base_b1.png" COMP;
images.image: "bub_base_b2.png" COMP;
images.image: "bub_over_bot.png" COMP;
images.image: "shine.png" COMP;
parts {
part { name: "base0";
description { state: "default" 0.0;
image.normal: "bub_base_b0.png";
image.border: 12 0 8 13;
image.middle: SOLID;
fill.smooth: 0;
rel2.relative: 0.0 1.0;
rel2.to: "base1";
}
}
part { name: "base1";
description { state: "default" 0.0;
image.normal: "bub_base_b1.png";
image.border: 0 0 8 13;
image.middle: SOLID;
fill.smooth: 0;
max: 17 99999;
min: 17 22;
}
}
part { name: "base2";
description { state: "default" 0.0;
image.normal: "bub_base_b2.png";
image.border: 0 12 8 13;
image.middle: SOLID;
fill.smooth: 0;
rel1.relative: 1.0 0.0;
rel1.to: "base1";
}
}
part { name: "elm.swallow.content"; type: SWALLOW;
description { state: "default" 0.0;
rel1.to: "base0";
rel1.offset: 5 4;
rel2.to: "base2";
rel2.offset: -6 -12;
}
}
part { name: "over"; mouse_events: 0;
description { state: "default" 0.0;
rel1.to: "base0";
rel1.offset: 2 1;
rel2.to: "base2";
rel2.offset: -3 1;
rel2.relative: 1.0 0.4;
image.normal: "bub_over_bot.png";
fill.smooth: 0;
}
}
part { name: "shine_clip"; type: RECT;
description { state: "default" 0.0;
rel1.to: "over";
rel1.offset: 0 -10;
rel2.to: "over";
}
}
part { name: "shine"; mouse_events: 0;
clip_to: "shine_clip";
description { state: "default" 0.0;
image.normal: "shine.png";
rel1.offset: 0 -2;
rel1.to: "over";
rel2.relative: 1.0 0.0;
rel2.offset: -1 2;
rel2.to: "over";
FIXED_SIZE(69, 5)
}
}
}
}

View File

@ -0,0 +1,690 @@
group { name: "elm/menu/item/default";
images.image: "vgrad_med_dark.png" COMP;
images.image: "bevel_horiz_out.png" COMP;
images.image: "shadow_rounded_horiz.png" COMP;
images.image: "shine.png" COMP;
script {
public menu_text_visible; //0:hide (default), 1:visible
public menu_disable; //0:enable, 1:disable
}
parts {
part { name: "shadow"; mouse_events: 0;
description { state: "default" 0.0;
image.normal: "shadow_rounded_horiz.png";
image.border: 0 0 9 9;
rel1.offset: 0 -4;
rel2.offset: -1 5;
fill.smooth: 0;
visible: 0;
}
description { state: "active" 0.0;
inherit: "default" 0.0;
visible: 1;
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
}
}
part { name: "base"; mouse_events: 0;
description { state: "default" 0.0;
image.normal: "vgrad_med_dark.png";
fill.smooth: 0;
TILED_HORIZ(120)
visible: 0;
}
description { state: "active" 0.0;
inherit: "default" 0.0;
visible: 1;
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
}
}
// XXX: need to handle no icon mode
part { name: "elm.swallow.content"; type: SWALLOW; mouse_events: 0;
clip_to: "disabler";
scale: 1;
description { state: "default" 0.0;
min: 16 16;
fixed: 1 0;
align: 0.0 0.5;
rel1.offset: 3 3;
rel2.offset: 3 -5;
rel2.relative: 0.0 1.0;
}
}
// XXX: check/radio goes next (right of) content, no radio/check handle
// XXX: need to handle no text?
// XXX: need arrowspace on/off based on submenus in menu
part { name: "arrowspace"; type: SPACER;
scale: 1;
description { state: "default" 0.0;
fixed: 1 1;
min: 15 15;
max: 15 15;
rel1.offset: -2 0;
rel1.relative: 1.0 0.0;
rel2.offset: -2 -1;
align: 1.0 0.5;
}
}
part { name: "elm.text"; type: TEXT; mouse_events: 0;
effect: SHADOW BOTTOM;
scale: 1;
description { state: "default" 0.0;
rel1.to_x: "elm.swallow.content";
rel1.relative: 1.0 0.0;
rel1.offset: 5 -1;
rel2.to_x: "arrowspace";
rel2.offset: -6 -1;
rel2.relative: 0.0 1.0;
color: FN_COL_DEFAULT;
text { font: FN; size: 10;
min: 1 1;
align: 0.0 0.5;
text_class: "menu_item";
}
}
description { state: "active" 0.0;
inherit: "default" 0.0;
visible: 0;
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
visible: 0;
}
}
part { name: "label2"; type: TEXT; mouse_events: 0;
effect: SHADOW BOTTOM;
scale: 1;
description { state: "default" 0.0;
rel1.to: "elm.text";
rel2.to: "elm.text";
color: 21 21 21 255;
color3: 255 255 255 25;
color_class: "menu_item_disabled";
text { font: FN; size: 10;
text_source: "elm.text";
align: 0.0 0.5;
text_class: "menu_item";
}
visible: 0;
}
description { state: "active" 0.0;
inherit: "default" 0.0;
visible: 0;
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
visible: 1;
}
}
part { name: "label3"; type: TEXT; mouse_events: 0;
effect: GLOW;
scale: 1;
description { state: "default" 0.0;
rel1.offset: -2 -3;
rel1.to: "elm.text";
rel2.offset: 2 1;
rel2.to: "elm.text";
color: 51 153 255 255;
color2: 51 153 255 24;
color3: 51 153 255 18;
color_class: "menu_item_active";
text { font: FN; size: 10;
text_source: "elm.text";
align: 0.0 0.5;
text_class: "menu_item";
}
visible: 0;
}
description { state: "active" 0.0;
inherit: "default" 0.0;
visible: 1;
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
visible: 0;
}
}
part { name: "bevel"; mouse_events: 0;
description { state: "default" 0.0;
image.normal: "bevel_horiz_out.png";
image.border: 0 0 2 2;
image.middle: 0;
fill.smooth: 0;
visible: 0;
}
description { state: "active" 0.0;
inherit: "default" 0.0;
visible: 1;
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
}
}
part { name: "shine";
repeat_events: 1;
description { state: "default" 0.0;
rel1.to: "base";
rel1.offset: 0 -2;
rel2.to: "base";
rel2.relative: 1.0 0.0;
rel2.offset: -1 2;
image.normal: "shine.png";
visible: 0;
FIXED_SIZE(69, 5)
}
description { state: "active" 0.0;
inherit: "default" 0.0;
visible: 1;
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
}
}
part { name: "event"; type: RECT;
ignore_flags: ON_HOLD;
description { state: "default" 0.0;
color: 255 255 255 0;
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
visible: 0;
}
}
part { name: "disabler"; type: RECT;
description { state: "default" 0.0;
color: 255 255 255 255;
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
color: 255 255 255 128;
}
}
}
programs {
program {
signal: "mouse,in"; source: "event";
action: SIGNAL_EMIT "elm,action,activate" "elm";
after: "selected";
}
program {
signal: "mouse,out"; source: "event";
// action: SIGNAL_EMIT "elm,action,inactivate" "elm";
after: "unselected";
}
program { signal: "mouse,down,1"; source: "event";
after: "selected";
}
program {
signal: "mouse,up,1"; source: "event";
action: SIGNAL_EMIT "elm,action,click" "elm";
}
program { name: "text_show";
signal: "elm,state,text,visible"; source: "elm";
script {
set_int(menu_text_visible, 1);
// set_state(PART:"elm.text", "active", 0.0);
// set_state(PART:"elm.text2", "active", 0.0);
}
}
program { name: "text_hide";
signal: "elm,state,text,hidden"; source: "elm";
script {
set_int(menu_text_visible, 0);
// set_state(PART:"elm.text", "default", 0.0);
// set_state(PART:"elm.text2", "default", 0.0);
}
}
program { name: "selected";
signal: "elm,state,selected"; source: "elm";
action: STATE_SET "active" 0.0;
target: "shadow";
target: "base";
target: "bevel";
target: "shine";
target: "elm.text";
target: "label2";
target: "label3";
}
program { name: "unselected";
signal: "elm,state,unselected"; source: "elm";
action: STATE_SET "default" 0.0;
target: "shadow";
target: "base";
target: "bevel";
target: "shine";
target: "elm.text";
target: "label2";
target: "label3";
}
program {
signal: "elm,state,enabled"; source: "elm";
action: STATE_SET "default" 0.0;
target: "shadow";
target: "base";
target: "bevel";
target: "shine";
target: "event";
target: "disabler";
target: "elm.text";
target: "label2";
target: "label3";
}
program {
signal: "elm,state,disabled"; source: "elm";
action: STATE_SET "disabled" 0.0;
target: "shadow";
target: "base";
target: "bevel";
target: "shine";
target: "event";
target: "disabler";
target: "elm.text";
target: "label2";
target: "label3";
}
}
}
group { name: "elm/menu/item_with_submenu/default";
inherit: "elm/menu/item/default";
// alias: "elm/menu/main_menu_submenu/default";
images {
image: "sym_right_light_normal.png" COMP;
image: "sym_right_glow_normal.png" COMP;
image: "vertical_separated_bar_glow.png" COMP;
}
parts {
part { name: "arrow";
insert_after: "item_image_disabled";
description { state: "default" 0.0;
rel1.to: "arrowspace";
rel2.to: "arrowspace";
image.normal: "sym_right_light_normal.png";
}
description { state: "active" 0.0;
inherit: "default" 0.0;
image.normal: "sym_right_glow_normal.png";
}
}
part { name: "select_line";
repeat_events: 1;
description { state: "default" 0.0;
visible: 0;
rel1.relative: 1.0 0.0;
rel1.offset: -10 -5;
rel2.offset: 4 4;
image {
normal: "vertical_separated_bar_glow.png";
border: 7 7 7 7;
}
fill.smooth : 0;
}
description { state: "active" 0.0;
inherit: "default" 0.0;
visible: 1;
}
}
}
programs {
program { name: "selected";
target: "arrow";
target: "select_line";
}
program { name: "unselected";
target: "arrow";
target: "select_line";
}
program {
signal: "mouse,in"; source: "event";
action: SIGNAL_EMIT "elm,action,open" "elm";
}
// program {
// signal: "mouse,up,1"; source: "event";
// action: SIGNAL_EMIT "elm,action,open" "elm";
// }
}
}
group { name: "elm/menu/separator/default";
images {
image: "separator_horiz.png" COMP;
}
parts {
part { name: "separator";
description { state: "default" 0.0;
min: 2 2;
rel1.offset: 0 2;
rel2.offset: -1 -3;
image.normal: "separator_horiz.png";
fill.smooth: 0;
}
}
}
}
group { name: "elm/menu/main_menu_submenu/default";
images.image: "vgrad_med_dark.png" COMP;
images.image: "bevel_out.png" COMP;
images.image: "bevel_in.png" COMP;
images.image: "shadow_rounded_horiz.png" COMP;
images.image: "shine.png" COMP;
script {
public menu_text_visible; //0:hide (default), 1:visible
public menu_disable; //0:enable, 1:disable
}
parts {
part { name: "shadow"; mouse_events: 0;
description { state: "default" 0.0;
image.normal: "shadow_rounded_horiz.png";
image.border: 0 0 9 9;
rel1.offset: 0 -4;
rel2.offset: -1 5;
fill.smooth: 0;
visible: 0;
}
description { state: "active" 0.0;
inherit: "default" 0.0;
visible: 1;
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
}
}
part { name: "base"; mouse_events: 0;
description { state: "default" 0.0;
image.normal: "vgrad_med_dark.png";
fill.smooth: 0;
TILED_HORIZ(120)
visible: 0;
}
description { state: "active" 0.0;
inherit: "default" 0.0;
visible: 1;
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
}
}
// XXX: need to handle no icon mode
part { name: "elm.swallow.content"; type: SWALLOW; mouse_events: 0;
clip_to: "disabler";
scale: 1;
description { state: "default" 0.0;
min: 16 16;
fixed: 1 0;
align: 0.0 0.5;
rel1.offset: 3 3;
rel2.offset: 3 -5;
rel2.relative: 0.0 1.0;
}
}
// XXX: check/radio goes next (right of) content, no radio/check handle
// XXX: need to handle no text?
// XXX: need arrowspace on/off based on submenus in menu
part { name: "arrowspace"; type: SPACER;
scale: 1;
description { state: "default" 0.0;
fixed: 1 1;
min: 15 15;
max: 15 15;
rel1.offset: -2 0;
rel1.relative: 1.0 0.0;
rel2.offset: -2 -1;
align: 1.0 0.5;
}
}
part { name: "elm.text"; type: TEXT; mouse_events: 0;
effect: SHADOW BOTTOM;
scale: 1;
description { state: "default" 0.0;
rel1.to_x: "elm.swallow.content";
rel1.relative: 1.0 0.0;
rel1.offset: 5 -1;
rel2.to_x: "arrowspace";
rel2.offset: -6 -1;
rel2.relative: 0.0 1.0;
color: FN_COL_DEFAULT;
text { font: FN; size: 10;
min: 1 1;
align: 0.0 0.5;
text_class: "menu_item";
}
}
description { state: "active" 0.0;
inherit: "default" 0.0;
visible: 0;
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
visible: 0;
}
}
part { name: "label2"; type: TEXT; mouse_events: 0;
effect: SHADOW BOTTOM;
scale: 1;
description { state: "default" 0.0;
rel1.to: "elm.text";
rel2.to: "elm.text";
color: 21 21 21 255;
color3: 255 255 255 25;
color_class: "menu_item_disabled";
text { font: FN; size: 10;
text_source: "elm.text";
align: 0.0 0.5;
text_class: "menu_item";
}
visible: 0;
}
description { state: "active" 0.0;
inherit: "default" 0.0;
visible: 0;
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
visible: 1;
}
}
part { name: "label3"; type: TEXT; mouse_events: 0;
effect: GLOW;
scale: 1;
description { state: "default" 0.0;
rel1.offset: -2 -3;
rel1.to: "elm.text";
rel2.offset: 2 1;
rel2.to: "elm.text";
color: 51 153 255 255;
color2: 51 153 255 24;
color3: 51 153 255 18;
color_class: "menu_item_active";
text { font: FN; size: 10;
text_source: "elm.text";
align: 0.0 0.5;
text_class: "menu_item";
}
visible: 0;
}
description { state: "active" 0.0;
inherit: "default" 0.0;
visible: 1;
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
visible: 0;
}
}
part { name: "bevel0"; mouse_events: 0;
clip_to: "bevelc";
description { state: "default" 0.0;
rel1.to: "bevel";
rel1.offset: -1 -1;
rel2.to: "bevel";
rel2.offset: 0 0;
image.normal: "bevel_in.png";
image.border: 2 2 2 2;
image.middle: 0;
fill.smooth: 0;
visible: 0;
}
description { state: "active" 0.0;
inherit: "default" 0.0;
visible: 1;
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
}
}
part { name: "bevelc"; type: RECT;
description { state: "default" 0.0;
rel1.to: "bevel";
rel1.offset: -1 0;
rel2.to: "bevel";
rel2.offset: 0 -1;
}
}
part { name: "bevel"; mouse_events: 0;
description { state: "default" 0.0;
image.normal: "bevel_out.png";
image.border: 2 2 2 2;
image.middle: 0;
fill.smooth: 0;
visible: 0;
}
description { state: "active" 0.0;
inherit: "default" 0.0;
visible: 1;
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
}
}
part { name: "shine";
repeat_events: 1;
description { state: "default" 0.0;
rel1.to: "base";
rel1.offset: 0 -2;
rel2.to: "base";
rel2.relative: 1.0 0.0;
rel2.offset: -1 2;
image.normal: "shine.png";
visible: 0;
FIXED_SIZE(69, 5)
}
description { state: "active" 0.0;
inherit: "default" 0.0;
visible: 1;
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
}
}
part { name: "event"; type: RECT;
ignore_flags: ON_HOLD;
description { state: "default" 0.0;
color: 255 255 255 0;
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
visible: 0;
}
}
part { name: "disabler"; type: RECT;
description { state: "default" 0.0;
color: 255 255 255 255;
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
color: 255 255 255 128;
}
}
}
programs {
program {
signal: "mouse,in"; source: "event";
action: SIGNAL_EMIT "elm,action,activate" "elm";
after: "selected";
}
program {
signal: "mouse,out"; source: "event";
// action: SIGNAL_EMIT "elm,action,inactivate" "elm";
after: "unselected";
}
program { signal: "mouse,down,1"; source: "event";
after: "selected";
}
program {
signal: "mouse,down,1"; source: "event";
action: SIGNAL_EMIT "elm,action,click" "elm";
}
program { name: "text_show";
signal: "elm,state,text,visible"; source: "elm";
script {
set_int(menu_text_visible, 1);
// set_state(PART:"elm.text", "active", 0.0);
// set_state(PART:"elm.text2", "active", 0.0);
}
}
program { name: "text_hide";
signal: "elm,state,text,hidden"; source: "elm";
script {
set_int(menu_text_visible, 0);
// set_state(PART:"elm.text", "default", 0.0);
// set_state(PART:"elm.text2", "default", 0.0);
}
}
program { name: "selected";
signal: "elm,state,selected"; source: "elm";
action: STATE_SET "active" 0.0;
target: "shadow";
target: "base";
target: "bevel0";
target: "bevel";
target: "shine";
target: "elm.text";
target: "label2";
target: "label3";
}
program { name: "unselected";
signal: "elm,state,unselected"; source: "elm";
action: STATE_SET "default" 0.0;
target: "shadow";
target: "base";
target: "bevel0";
target: "bevel";
target: "shine";
target: "elm.text";
target: "label2";
target: "label3";
}
program {
signal: "elm,state,enabled"; source: "elm";
action: STATE_SET "default" 0.0;
target: "shadow";
target: "base";
target: "bevel0";
target: "bevel";
target: "shine";
target: "event";
target: "disabler";
target: "elm.text";
target: "label2";
target: "label3";
}
program {
signal: "elm,state,disabled"; source: "elm";
action: STATE_SET "disabled" 0.0;
target: "shadow";
target: "base";
target: "bevel0";
target: "bevel";
target: "shine";
target: "event";
target: "disabler";
target: "elm.text";
target: "label2";
target: "label3";
}
}
}

View File

@ -0,0 +1,262 @@
group { name: "elm/multibuttonentry/base/default";
data.item: "closed_height" 0;
parts {
part { name: "box.swallow"; type: SWALLOW;
description { state: "default" 0.0;
align: 0.0 0.0;
}
}
}
}
group { name: "elm/multibuttonentry/label/default";
parts {
part { name: "elm.text"; type: TEXT; mouse_events: 0;
effect: GLOW;
scale: 1;
description { state: "default" 0.0;
color: 51 153 255 255;
color2: 51 153 255 24;
color3: 51 153 255 18;
color_class: "multibuttonentry_label";
text { font: FNBD; size: 10;
min: 1 1;
align: 0.5 0.5;
text_class: "multibuttonentry_label";
}
rel1.offset: 2 2;
rel2.offset: -3 -3;
}
description { state: "no_text" 0.0;
inherit: "default" 0.0;
text.min: 0 1;
rel1.offset: 0 0;
rel2.offset: -1 -1;
visible: 0;
}
}
}
programs {
program {
signal: "elm,mbe,set_text"; source: "elm";
action: STATE_SET "default" 0.0;
target: "elm.text";
}
program {
signal: "elm,mbe,clear_text"; source: "elm";
action: STATE_SET "no_text" 0.0;
target: "elm.text";
}
}
}
group { name: "elm/multibuttonentry/guidetext/default";
parts {
part { name: "elm.text"; type: TEXT;
scale: 1;
effect: SHADOW BOTTOM;
description { state: "default" 0.0;
rel1.offset: 2 2;
rel2.offset: -3 -3;
color: 21 21 21 255;
color3: 255 255 255 25;
text { font: FNBD; size: 10;
min: 0 1;
align: 0.0 0.5;
}
}
}
}
}
group { name: "elm/multibuttonentry/btn/default";
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;
data.item: "button_max_size" 130;
styles {
style { name: "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";
tag: "br" "\n";
tag: "ps" "ps";
tag: "hilight" "+ font="FNBD;
tag: "b" "+ font="FNBD;
tag: "tab" "\t";
}
}
parts {
part { name: "base";
description { state: "default" 0.0;
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;
}
description { state: "clicked" 0.0;
inherit: "default" 0.0;
image.normal: "button_clicked.png";
image.border: 5 5 4 6;
}
}
part { name: "glow"; mouse_events: 0;
description { state: "default" 0.0;
image.normal: "win_glow.png";
image.border: 9 9 9 9;
image.middle: 0;
rel1.offset: -2 -3;
rel1.to: "base";
rel2.offset: 1 0;
rel2.to: "base";
fill.smooth: 0;
color: 255 255 255 0;
visible: 0;
}
description { state: "focused" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255;
visible: 1;
}
}
part { name: "close"; mouse_events: 0;
description { state: "default" 0.0;
image.normal: "sym_close_dark_normal.png";
rel1.to: "del";
rel2.to: "del";
min: 15 15;
max: 15 15;
fixed: 1 1;
}
description { state: "clicked" 0.0;
inherit: "default" 0.0;
image.normal: "sym_close_dark_selected.png";
}
}
part { name: "del"; type: RECT;
scale: 1;
description { state: "default" 0.0;
fixed: 1 0;
min: 4 4;
align: 1.0 0.5;
aspect: 1.0 1.0; aspect_preference: VERTICAL;
rel1.relative: 1.0 0.0;
rel1.to: "base";
rel1.offset: -6 5;
rel2.offset: -6 -7;
rel2.to: "base";
color: 0 0 0 0;
}
}
part { name: "elm.btn.text"; type: TEXTBLOCK; mouse_events: 0;
scale: 1;
description { state: "default" 0.0;
color_class: "multibuttonentry_label";
text { style: "multibuttonentry_textblock_style";
min: 1 1;
text_class: "multibuttonentry_label";
}
visible: 0;
rel1.offset: 5 5;
rel1.to: "base";
rel2.to_x: "del";
rel2.to_y: "base";
rel2.relative: 0.0 1.0;
rel2.offset: -3 -7;
}
}
part { name: "text"; type: TEXTBLOCK; mouse_events: 0;
scale: 1;
description { state: "default" 0.0;
color_class: "multibuttonentry_label";
text { style: "multibuttonentry_textblock_style";
text_source: "elm.btn.text";
min: 0 1;
align: 0.0 0.5;
text_class: "multibuttonentry_label";
}
align: 0.0 0.5;
rel1.offset: 5 5;
rel1.to: "base";
rel2.to_x: "del";
rel2.to_y: "base";
rel2.relative: 0.0 1.0;
rel2.offset: -3 -7;
}
}
}
programs {
program {
signal: "mouse,clicked,1"; source: "base";
action: SIGNAL_EMIT "clicked" "elm";
}
program {
signal: "elm,state,default"; source: "elm";
action: STATE_SET "default" 0.0;
target: "glow";
}
program {
signal: "elm,state,focused"; source: "elm";
action: STATE_SET "focused" 0.0;
target: "glow";
}
program {
signal: "mouse,down,1"; source: "base";
action: STATE_SET "clicked" 0.0;
target: "base";
}
program {
signal: "mouse,up,1"; source: "base";
action: STATE_SET "default" 0.0;
target: "base";
}
program {
signal: "mouse,clicked,1"; source: "del";
action: SIGNAL_EMIT "elm,deleted" "elm";
}
program {
signal: "mouse,down,1"; source: "del";
action: STATE_SET "clicked" 0.0;
target: "close";
}
program {
signal: "mouse,up,1"; source: "del";
action: STATE_SET "default" 0.0;
target: "close";
}
}
}
group { name: "elm/multibuttonentry/closedbutton/default";
styles {
style { name: "textblock_style_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";
}
}
parts {
part { name: "bg"; type: RECT;
description { state: "default" 0.0;
color: 0 0 0 0;
}
}
part { name: "elm.text"; type: TEXTBLOCK; mouse_events: 0;
scale: 1;
description { state: "default" 0.0;
rel1.offset: 2 2;
rel1.to: "bg";
rel2.offset: -3 -3;
rel2.to: "bg";
text { style: "textblock_style_multibuttonentry_default";
min: 1 1;
}
}
}
}
}

View File

@ -0,0 +1,635 @@
group { name: "elm/naviframe/item/basic/default";
images.image: "vgrad_med_dark.png" COMP;
images.image: "bevel_out.png" COMP;
images.image: "shine.png" COMP;
images.image: "shadow_vert.png" COMP;
parts {
// this set of limits and bottoms is evil - but it's a nasty construct
// allowing EITHER the title and subtitle texts OR the prev/next button
// swallows to control the lower bounds of the naviframe title, depending
// on which is taller
#define BOTTOMMAX() \
part { name: "limit0"; type: SPACER; \
description { state: "default" 0.0; \
rel1.to_y: "title3"; \
rel1.relative: 0.0 1.0; \
rel2.to_y: "elm.swallow.next_btn"; \
rel2.offset: -1 0; \
align: 0.5 1.0; \
fixed: 0 1; \
limit: HEIGHT; \
} \
} \
part { name: "limit1"; type: SPACER; \
description { state: "default" 0.0; \
rel1.to_y: "elm.swallow.next_btn"; \
rel1.relative: 0.0 1.0; \
rel2.to_y: "title3"; \
rel2.offset: -1 0; \
align: 0.5 1.0; \
fixed: 0 1; \
limit: HEIGHT; \
} \
} \
part { name: "bottom0"; type: SPACER; \
description { state: "default" 0.0; \
rel1.to_y: "limit1"; \
rel1.relative: 0.0 1.0; \
rel2.to_y: "limit0"; \
rel2.offset: -1 0; \
align: 0.5 1.0; \
fixed: 0 1; \
limit: HEIGHT; \
} \
description { state: "other" 0.0; \
inherit: "default" 0.0; \
rel1.to_y: "limit0"; \
rel2.to_y: "limit1"; \
} \
} \
program { name: "pbot0"; \
signal: "limit,height,zero"; source: "bottom0"; \
script { \
new st[31], Float:vl; \
get_state(PART:"bottom0", st, 30, vl); \
if (st[0] == 'd') set_state(PART:"bottom0", "other", 1.0); \
else set_state(PART:"bottom0", "default", 1.0); \
} \
} \
part { name: "limit2"; type: SPACER; \
description { state: "default" 0.0; \
rel1.to_y: "title3"; \
rel1.relative: 0.0 1.0; \
rel2.to_y: "elm.swallow.prev_btn"; \
rel2.offset: -1 0; \
align: 0.5 1.0; \
fixed: 0 1; \
limit: HEIGHT; \
} \
} \
part { name: "limit3"; type: SPACER; \
description { state: "default" 0.0; \
rel1.to_y: "elm.swallow.prev_btn"; \
rel1.relative: 0.0 1.0; \
rel2.to_y: "title3"; \
rel2.offset: -1 0; \
align: 0.5 1.0; \
fixed: 0 1; \
limit: HEIGHT; \
} \
} \
part { name: "bottom1"; type: SPACER; \
description { state: "default" 0.0; \
rel1.to_y: "limit3"; \
rel1.relative: 0.0 1.0; \
rel2.to_y: "limit2"; \
rel2.offset: -1 0; \
align: 0.5 1.0; \
fixed: 0 1; \
limit: HEIGHT; \
} \
description { state: "other" 0.0; \
inherit: "default" 0.0; \
rel1.to_y: "limit2"; \
rel2.to_y: "limit3"; \
} \
} \
program { name: "pbot1"; \
signal: "limit,height,zero"; source: "bottom1"; \
script { \
new st[31], Float:vl; \
get_state(PART:"bottom1", st, 30, vl); \
if (st[0] == 'd') set_state(PART:"bottom1", "other", 1.0); \
else set_state(PART:"bottom1", "default", 1.0); \
} \
} \
part { name: "bottom"; type: SPACER; \
description { state: "default" 0.0; \
rel1.to_y: "bottom1"; \
rel1.offset: 0 -1; \
rel1.relative: 0.0 1.0; \
rel2.to_y: "bottom0"; \
align: 0.5 1.0; \
fixed: 0 1; \
limit: HEIGHT; \
} \
description { state: "other" 0.0; \
inherit: "default" 0.0; \
rel1.to_y: "bottom0"; \
rel2.to_y: "bottom1"; \
} \
} \
program { name: "pbot"; \
signal: "limit,height,zero"; source: "bottom"; \
script { \
new st[31], Float:vl; \
get_state(PART:"bottom", st, 30, vl); \
if (st[0] == 'd') set_state(PART:"bottom", "other", 1.0); \
else set_state(PART:"bottom", "default", 1.0); \
} \
}
BOTTOMMAX()
part { name: "title1"; type: TEXT;
scale: 1;
description { state: "default" 0.0;
rel1.relative: 0.0 0.0;
rel1.offset: 0 2;
rel2.relative: 1.0 0.0;
rel2.offset: -1 2;
align: 0.5 0.0;
color: 255 255 255 255;
color3: 0 0 0 18;
text { font: FN; size: 8;
text: "X";
text_class: "title_bar_sub";
align: 0.5 0.0;
min: 0 1;
}
fixed: 0 1;
visible: 0;
}
}
part { name: "title2"; type: TEXT;
scale: 1;
effect: SOFT_SHADOW BOTTOM;
description { state: "default" 0.0;
color_class: "border_title_active";
rel1.to_y: "title1";
rel1.relative: 0.0 1.0;
rel1.offset: 0 -1;
rel2.to_y: "title1";
rel2.offset: -1 -1;
align: 0.5 0.0;
color: 255 255 255 255;
color3: 0 0 0 18;
text { font: FNBD; size: 10;
text: "X";
text_class: "title_bar";
align: 0.5 0.0;
min: 0 1;
}
fixed: 0 1;
visible: 0;
}
}
part { name: "title3"; type: TEXT;
scale: 1;
description { state: "default" 0.0;
rel1.to_y: "title2";
rel1.relative: 0.0 1.0;
rel1.offset: 0 -3;
rel2.to_y: "title2";
rel2.offset: -1 -3;
align: 0.5 0.0;
color: 255 255 255 255;
color3: 0 0 0 18;
text { font: FN; size: 8;
text: "X";
text_class: "title_bar_sub";
align: 0.5 0.0;
min: 0 1;
}
fixed: 0 1;
visible: 0;
}
}
part { name: "clip"; type: RECT;
description { state: "default" 0.0;
}
}
part { name: "base"; type: SPACER;
description { state: "default" 0.0;
}
description { state: "prev" 0.0;
inherit: "default" 0.0;
rel1.relative: -1.0 0.0;
rel2.relative: 0.0 1.0;
}
description { state: "next" 0.0;
inherit: "default" 0.0;
rel1.relative: 1.0 0.0;
rel2.relative: 2.0 1.0;
}
}
part { name: "elm.swallow.content"; type: SWALLOW;
clip_to: "clip";
description { state: "default" 0.0;
rel1.to: "top";
rel1.relative: 0.0 1.0;
rel2.to: "base";
}
description { state: "title-hidden" 0.0;
inherit: "default" 0.0;
rel1.to: "base";
rel1.relative: 0.0 0.0;
}
}
part { name: "shadow"; mouse_events: 0;
description { state: "default" 0.0;
image.normal: "shadow_vert.png";
rel1.to: "top";
rel1.relative: 0.0 1.0;
rel2.to: "top";
rel2.offset: -1 0;
fill.smooth: 0;
min: 0 20;
align: 0.5 0.0;
fixed: 1 1;
}
description { state: "title-hidden" 0.0;
inherit: "default" 0.0;
color: 255 255 255 0;
visible: 0;
}
}
part { name: "tophide0"; type: SPACER;
description { state: "default" 0.0;
rel1.to: "base";
rel2.to_x: "base";
rel2.to_y: "bottom";
}
}
part { name: "tophide1"; type: SPACER;
description { state: "default" 0.0;
rel1.to: "tophide0";
rel1.relative: 0.0 -1.0;
rel2.to: "tophide0";
}
}
part { name: "top";
clip_to: "clip";
description { state: "default" 0.0;
color_class: "border_top";
image.normal: "vgrad_med_dark.png";
rel1.to: "base";
rel2.to_x: "base";
rel2.to_y: "bottom";
fill.smooth: 0;
TILED_HORIZ(120)
}
description { state: "title-hidden" 0.0;
inherit: "default" 0.0;
rel1.to: "tophide1";
rel2.to: "base";
rel2.relative: 1.0 0.0;
}
}
part { name: "access.title"; type: RECT; repeat_events: 1;
clip_to: "clip";
description { state: "default" 0.0;
fixed: 1 1;
color: 0 0 0 0;
rel1.to: "top";
rel2.to: "top";
}
}
part { name: "bevel"; mouse_events: 0;
clip_to: "clip";
description { state: "default" 0.0;
image.normal: "bevel_out.png";
image.border: 1 1 1 1;
image.middle: 0;
rel1.to: "top";
rel2.to: "top";
fill.smooth: 0;
}
}
part { name: "elm.text.title"; type: TEXT; mouse_events: 0;
scale: 1;
effect: SOFT_SHADOW BOTTOM;
clip_to: "elements_clip";
description { state: "default" 0.0;
color_class: "border_title_active_sub";
rel1.to_x: "base";
rel1.to_y: "top";
rel1.relative: 0.0 0.5;
rel2.offset: 0 -1;
rel2.to_x: "base";
rel2.to_y: "top";
rel2.relative: 1.0 0.5;
align: 0.5 0.5;
color: 255 255 255 255;
color3: 0 0 0 18;
text { font: FNBD; size: 10;
text_class: "title_bar";
align: 0.5 0.5;
min: 0 1;
}
fixed: 0 1;
}
description { state: "hidden" 0.0;
inherit: "default" 0.0;
visible: 0;
}
}
part { name: "elm.text.subtitle"; type: TEXT; mouse_events: 0;
scale: 1;
effect: SHADOW BOTTOM;
clip_to: "elements_clip";
description { state: "default" 0.0;
rel1.to_x: "base";
rel1.to_y: "elm.text.title";
rel1.relative: 0.0 1.0;
rel1.offset: 0 -3;
rel2.to_x: "base";
rel2.to_y: "elm.text.title";
rel2.offset: -1 -3;
align: 0.5 0.0;
color: 255 255 255 255;
color3: 0 0 0 128;
text { font: FN; size: 8;
text_class: "title_bar_sub";
align: 0.5 0.0;
min: 0 1;
}
fixed: 0 1;
}
description { state: "hidden" 0.0;
inherit: "default" 0.0;
visible: 0;
}
}
part { name: "buttons_clip"; type: RECT;
clip_to: "elements_clip";
description { state: "default" 0.0;
rel1.to: "base";
rel2.to: "base";
}
description { state: "title-hidden" 0.0;
inherit: "default" 0.0;
visible: 0;
}
}
part { name: "elm.swallow.next_btn"; type: SWALLOW;
scale: 1;
clip_to: "buttons_clip";
description { state: "default" 0.0;
rel1.to_x: "base";
// rel1.to_y: "top";
rel1.relative: 1.0 0.0;
rel1.offset: -3 2;
rel2.to_x: "base";
rel2.to_y: "title3";
rel2.offset: -3 -1;
align: 1.0 0.5;
min: 26 26;
max: 1 1;
fixed: 1 1;
}
description { state: "hidden" 0.0;
inherit: "default" 0.0;
visible: 0;
}
}
part { name: "elm.swallow.prev_btn"; type: SWALLOW;
scale: 1;
clip_to: "buttons_clip";
description { state: "default" 0.0;
rel1.to_x: "base";
// rel1.to_y: "top";
rel1.offset: 2 2;
rel2.relative: 0.0 1.0;
rel2.offset: 2 -1;
rel2.to_x: "base";
rel2.to_y: "title3";
align: 0.0 0.5;
min: 26 26;
max: 1 1;
fixed: 1 1;
}
description { state: "hidden" 0.0;
inherit: "default" 0.0;
visible: 0;
}
}
part { name: "elm.swallow.icon"; type: SWALLOW;
clip_to: "elements_clip";
description { state: "default" 0.0;
rel1.to_x: "elm.swallow.prev_btn";
rel1.to_y: "top";
rel1.relative: 1.0 0.0;
rel1.offset: 2 2;
rel2.to_x: "elm.swallow.prev_btn";
rel2.to_y: "top";
rel2.offset: 2 -3;
aspect: 1.0 1.0; aspect_preference: VERTICAL;
align: 0.0 0.5;
}
description { state: "hidden" 0.0;
inherit: "default" 0.0;
rel1.to_x: "top";
rel1.relative: 0.0 0.0;
rel2.to_x: "top";
rel2.offset: -3 -3;
align: 0.5 0.5;
}
}
part { name: "shine"; mouse_events: 0;
clip_to: "elements_clip";
description { state: "default" 0.0;
image.normal: "shine.png";
rel1.offset: 0 -2;
rel1.to: "top";
rel2.relative: 1.0 0.0;
rel2.offset: -1 2;
rel2.to: "top";
FIXED_SIZE(69, 5)
}
}
part { name: "elements_clip"; type: RECT;
clip_to: "clip";
description { state: "default" 0.0;
rel1.to: "base";
rel2.to: "base";
}
description { state: "hidden" 0.0;
inherit: "default" 0.0;
color: 255 255 255 0;
visible: 0;
}
description { state: "next" 0.0;
inherit: "hidden" 0.0;
}
description { state: "prev" 0.0;
inherit: "hidden" 0.0;
}
}
}
programs {
program {
signal: "elm,state,title,show"; source: "elm";
action: STATE_SET "default" 0.0;
transition: DECELERATE 0.5;
target: "top";
target: "shadow";
target: "elm.swallow.content";
after: "titleshow2";
}
program { name: "titleshow2";
action: STATE_SET "default" 0.0;
target: "buttons_clip";
}
program {
signal: "elm,state,title,hide"; source: "elm";
action: STATE_SET "title-hidden" 0.0;
target: "buttons_clip";
after: "titlehide2";
}
program { name: "titlehide2";
action: STATE_SET "title-hidden" 0.0;
transition: ACCELERATE 0.5;
target: "top";
target: "shadow";
target: "elm.swallow.content";
}
program {
signal: "elm,state,prev_btn,show"; source: "elm";
action: STATE_SET "default" 0.0;
target: "elm.swallow.prev_btn";
}
program {
signal: "elm,state,prev_btn,hide"; source: "elm";
action: STATE_SET "hidden" 0.0;
target: "elm.swallow.prev_btn";
}
program {
signal: "elm,state,next_btn,show"; source: "elm";
action: STATE_SET "default" 0.0;
target: "elm.swallow.next_btn";
}
program {
signal: "elm,state,next_btn,hide"; source: "elm";
action: STATE_SET "hidden" 0.0;
target: "elm.swallow.next_btn";
}
program {
signal: "mouse,clicked,1"; source: "top";
action: SIGNAL_EMIT "elm,action,title,clicked" "elm";
}
program {
signal: "elm,state,title_label,show"; source: "elm";
action: STATE_SET "default" 0.0;
target: "elm.swallow.icon";
target: "elm.text.title";
target: "elm.text.subtitle";
}
program {
signal: "elm,state,title_label,hide"; source: "elm";
action: STATE_SET "hidden" 0.0;
target: "elm.swallow.icon";
target: "elm.text.title";
target: "elm.text.subtitle";
}
program {
signal: "elm,state,visible"; source: "elm";
action: STATE_SET "default" 0.0;
target: "elm.swallow.content";
target: "elements_clip";
}
/* current page is being pushed: [previous]<----[current] */
program {
signal: "elm,state,cur,pushed"; source: "elm";
action: STATE_SET "default" 0.0;
target: "base";
target: "elements_clip";
after: "pushed2";
}
program { name: "pushed2";
action: STATE_SET "prev" 0.0;
transition: ACCELERATE 0.5;
target: "base";
target: "elements_clip";
after: "pushed3";
}
program { name: "pushed3";
action: SIGNAL_EMIT "elm,action,pushed,finished" "elm";
}
/* current page is being popped: [current]---->[next] */
program {
signal: "elm,state,cur,popped"; source: "elm";
action: STATE_SET "default" 0.0;
target: "base";
target: "elements_clip";
after: "popped2";
}
program { name: "popped2";
action: STATE_SET "next" 0.0;
transition: ACCELERATE 0.5;
target: "base";
target: "elements_clip";
after: "popped3";
}
program { name: "popped3";
action: SIGNAL_EMIT "elm,action,popped,finished" "elm";
}
/* new page is being pushed: [current]<----[next] */
program {
signal: "elm,state,new,pushed"; source: "elm";
action: STATE_SET "next" 0.0;
target: "base";
target: "elements_clip";
after: "pushedb2";
}
program { name: "pushedb2";
action: STATE_SET "default" 0.0;
transition: DECELERATE 0.5;
target: "base";
target: "elements_clip";
after: "pushedb3";
}
program { name: "pushedb3";
action: SIGNAL_EMIT "elm,action,show,finished" "elm";
}
/* previous page is being pushed: [previous]---->[current] */
program {
signal: "elm,state,prev,popped"; source: "elm";
action: STATE_SET "prev" 0.0;
target: "base";
target: "elements_clip";
after: "poppedb2";
}
program { name: "poppedb2";
action: STATE_SET "default" 0.0;
transition: DECELERATE 0.5;
target: "base";
target: "elements_clip";
after: "poppedb3";
}
program { name: "poppedb3";
action: SIGNAL_EMIT "elm,action,show,finished" "elm";
}
}
}
group { name: "elm/naviframe/item/overlap/default";
inherit: "elm/naviframe/item/basic/default";
alias: "elm/naviframe/item/overlap/pager";
parts {
// this is a hack around an edje_cc inherit bug - group doesnt seem
// to inherit properly with limits etc.
BOTTOMMAX()
part { name: "elm.swallow.content";
description { state: "default" 0.0;
rel1.to: "base";
rel1.relative: 0.0 0.0;
}
}
part { name: "top";
description { state: "default" 0.0;
color: 255 255 255 224;
}
description { state: "title-hidden" 0.0;
color: 255 255 255 224;
}
}
}
}
#undef BOTTOMMAX

View File

@ -0,0 +1,188 @@
group { name: "elm/notify/block_events/default";
parts {
part { name: "block_events"; type: RECT;
description { state: "default" 0.0;
color: 0 0 0 64;
}
}
program {
signal: "mouse,clicked,1"; source: "block_events";
action: SIGNAL_EMIT "elm,action,click" "elm";
}
}
}
group { name: "elm/notify/top/default";
images.image: "darken_rounded_square.png" COMP;
parts {
part { name: "clip"; type: RECT;
description { state: "default" 0.0;
color: 255 255 255 0;
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255;
}
}
part { name: "base";
clip_to: "clip";
description { state: "default" 0.0;
image.normal: "darken_rounded_square.png";
image.border: 15 15 15 15;
rel1.offset: 10 10;
rel2.offset: -10 -10;
rel1.relative: 0.0 -1.0;
rel2.relative: 1.0 0.0;
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
rel1.relative: 0.0 0.0;
rel2.relative: 1.0 1.0;
}
}
part { name: "elm.swallow.content"; type: SWALLOW;
clip_to: "clip";
description { state: "default" 0.0;
rel1.to: "base";
rel1.offset: 12 12;
rel2.to: "base";
rel2.offset: -13 -13;
}
}
}
programs {
program {
signal: "show"; source: "";
action: STATE_SET "visible" 0.0;
target: "clip";
target: "base";
transition: DECELERATE 0.5;
}
program {
signal: "hide"; source: "";
action: STATE_SET "default" 0.0;
target: "clip";
target: "base";
}
program {
signal: "elm,hide"; source: "elm";
action: STATE_SET "default" 0.0;
target: "clip";
target: "base";
transition: DECELERATE 0.5;
}
}
}
group { name: "elm/notify/bottom/default";
inherit: "elm/notify/top/default";
parts {
part { name: "base";
description { state: "default" 0.0;
rel1.offset: 10 10;
rel2.offset: -10 -10;
rel1.relative: 0.0 1.0;
rel2.relative: 1.0 2.0;
}
}
}
}
group { name: "elm/notify/left/default";
inherit: "elm/notify/top/default";
parts {
part { name: "base";
description { state: "default" 0.0;
rel1.offset: 10 10;
rel2.offset: -10 -10;
rel1.relative: -1.0 0.0;
rel2.relative: 0.0 1.0;
}
}
}
}
group { name: "elm/notify/right/default";
inherit: "elm/notify/top/default";
parts {
part { name: "base";
description { state: "default" 0.0;
rel1.offset: 10 10;
rel2.offset: -10 -10;
rel1.relative: 1.0 0.0;
rel2.relative: 2.0 1.0;
}
}
}
}
group { name: "elm/notify/top_left/default";
inherit: "elm/notify/top/default";
parts {
part { name: "base";
description { state: "default" 0.0;
rel1.offset: 10 10;
rel2.offset: -10 -10;
rel1.relative: 0.0 -1.0;
rel2.relative: 1.0 0.0;
}
}
}
}
group { name: "elm/notify/top_right/default";
inherit: "elm/notify/top/default";
parts {
part { name: "base";
description { state: "default" 0.0;
rel1.offset: 10 10;
rel2.offset: -10 -10;
rel1.relative: 0.0 -1.0;
rel2.relative: 1.0 0.0;
}
}
}
}
group { name: "elm/notify/bottom_left/default";
inherit: "elm/notify/top/default";
parts {
part { name: "base";
description { state: "default" 0.0;
rel1.offset: 10 10;
rel2.offset: -10 -10;
rel1.relative: 0.0 1.0;
rel2.relative: 1.0 2.0;
}
}
}
}
group { name: "elm/notify/bottom_right/default";
inherit: "elm/notify/top/default";
parts {
part { name: "base";
description { state: "default" 0.0;
rel1.offset: 10 10;
rel2.offset: -10 -10;
rel1.relative: 0.0 1.0;
rel2.relative: 1.0 2.0;
}
}
}
}
group { name: "elm/notify/center/default";
inherit: "elm/notify/top/default";
parts {
part { name: "base";
description { state: "default" 0.0;
rel1.offset: 10 10;
rel2.offset: -10 -10;
rel1.relative: 0.0 0.0;
rel2.relative: 1.0 1.0;
}
}
}
}

View File

@ -0,0 +1,355 @@
group { name: "elm/panel/left/default";
images.image: "bevel_out.png" COMP;
images.image: "shine.png" COMP;
images.image: "shadow_square_tiny.png" COMP;
images.image: "holes_tiny_glow_vert.png" COMP;
images.image: "holes_tiny_glow_horiz.png" COMP;
images.image: "win_glow.png" COMP;
images.image: "icon_arrow_right.png" COMP;
images.image: "icon_arrow_left.png" COMP;
images.image: "icon_arrow_up.png" COMP;
images.image: "icon_arrow_down.png" COMP;
data.item: "focus_highlight" "on";
parts {
part { name: "shadow"; mouse_events: 0;
description { state: "default" 0.0;
rel1.offset: -3 -2;
rel1.to: "base";
rel2.offset: 2 4;
rel2.to: "base";
image.normal: "shadow_square_tiny.png";
image.border: 6 6 6 6;
fill.smooth: 0;
}
}
part { name: "glow"; mouse_events: 0;
description { state: "default" 0.0;
image.normal: "win_glow.png";
image.border: 9 9 9 9;
image.middle: 0;
rel1.offset: -5 -5;
rel1.to: "base";
rel2.offset: 4 4;
rel2.to: "base";
fill.smooth: 0;
color: 255 255 255 0;
visible: 0;
}
description { state: "focused" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255;
visible: 1;
}
}
part { name: "all"; type: SPACER;
description { state: "default" 0.0;
}
}
part { name: "base"; type: RECT;
description { state: "default" 0.0;
rel1.to_x: "all";
rel2.to_x: "elm.swallow.event";
rel2.relative: 0.0 1.0;
rel2.offset: -4 -1;
color: 64 64 64 255;
}
}
part { name: "elm.swallow.content"; type: SWALLOW;
description { state: "default" 0.0;
rel1.offset: 4 4;
rel1.to: "base";
rel2.offset: -5 -5;
rel2.to: "base";
}
}
part { name: "bevel"; mouse_events: 0;
description { state: "default" 0.0;
rel1.to: "base";
rel2.to: "base";
image.normal: "bevel_out.png";
image.border: 1 1 1 1;
image.middle: 0;
fill.smooth: 0;
}
}
part { name: "shine"; mouse_events: 0;
description { state: "default" 0.0;
image.normal: "shine.png";
rel1.offset: 0 -2;
rel1.to: "base";
rel2.relative: 1.0 0.0;
rel2.offset: -1 2;
rel2.to: "base";
FIXED_SIZE(69, 5)
}
}
part { name: "elm.swallow.event"; type: SWALLOW;
description { state: "default" 0.0;
fixed: 1 1;
min: 20 20;
max: 20 20;
align: 1.0 0.5;
rel1.relative: 1.0 0.0;
rel2.relative: 1.0 1.0;
color: 0 0 0 0;
}
description { state: "hidden" 0.0;
inherit: "default" 0.0;
align: 0.0 0.5;
rel1.relative: 0.0 0.0;
rel2.relative: 0.0 1.0;
}
}
part { name: "btn"; type: RECT;
description { state: "default" 0.0;
rel1.to: "elm.swallow.event";
rel2.to: "elm.swallow.event";
color: 0 0 0 0;
}
}
part { name: "dots"; mouse_events: 0;
description { state: "default" 0.0;
rel1.to: "icn";
rel2.to: "icn";
align: 0.0 0.5;
image.normal: "holes_tiny_glow_vert.png";
FIXED_SIZE(11, 17)
}
}
part { name: "icn"; mouse_events: 0;
scale: 1;
description { state: "default" 0.0;
fixed: 1 1;
min: 20 20;
max: 20 20;
rel1.to: "btn";
rel2.to: "btn";
image.normal: "icon_arrow_left.png";
}
description { state: "hidden" 0.0;
inherit: "default" 0.0;
image.normal: "icon_arrow_right.png";
}
}
}
programs {
program {
signal: "mouse,clicked,1"; source: "btn";
action: SIGNAL_EMIT "elm,action,panel,toggle" "elm";
}
program {
signal: "elm,action,show"; source: "elm";
action: STATE_SET "default" 0.0;
transition: DECELERATE 0.3;
target: "elm.swallow.event";
target: "base";
target: "icn";
}
program {
signal: "elm,action,hide"; source: "elm";
action: STATE_SET "hidden" 0.0;
transition: ACCELERATE 0.3;
target: "elm.swallow.event";
target: "icn";
}
program { name: "hide1";
signal: "elm,action,hide"; source: "elm";
script {
new x, y, w, h;
custom_state(PART:"base", "default", 0.0);
set_state_val(PART:"base", STATE_REL1, -1.0, 0.0);
get_geometry(PART:"elm.swallow.event", x, y, w, h);
set_state_val(PART:"base", STATE_REL1_OFFSET, w, 0);
}
after: "hide2";
}
program { name: "hide2";
action: STATE_SET "custom" 0.0;
transition: ACCELERATE 0.3;
target: "base";
}
program {
signal: "elm,action,focus_highlight,show"; source: "elm";
action: STATE_SET "focused" 0.0;
transition: ACCELERATE 0.2;
target: "glow";
}
program {
signal: "elm,action,focus_highlight,hide"; source: "elm";
action: STATE_SET "default" 0.0;
transition: DECELERATE 0.5;
target: "glow";
}
}
}
group { name: "elm/panel/right/default";
inherit: "elm/panel/left/default";
parts {
part { name: "base";
description { state: "default" 0.0;
rel1.relative: 1.0 0.0;
rel1.to_x: "elm.swallow.event";
rel1.offset: 3 0;
rel2.relative: 1.0 1.0;
rel2.to_x: "all";
rel2.offset: -1 -1;
}
}
part { name: "elm.swallow.event";
description { state: "default" 0.0;
align: 0.0 0.5;
rel1.relative: 0.0 0.0;
rel2.relative: 0.0 1.0;
}
description { state: "hidden" 0.0;
align: 1.0 0.5;
rel1.relative: 1.0 0.0;
rel2.relative: 1.0 1.0;
}
}
part { name: "dots";
description { state: "default" 0.0;
align: 1.0 0.5;
}
}
part { name: "icn";
description { state: "default" 0.0;
image.normal: "icon_arrow_right.png";
}
description { state: "hidden" 0.0;
image.normal: "icon_arrow_left.png";
}
}
}
programs {
program { name: "hide1";
script {
new x, y, w, h;
custom_state(PART:"base", "default", 0.0);
set_state_val(PART:"base", STATE_REL1, 1.0, 0.0);
set_state_val(PART:"base", STATE_REL2, 2.0, 1.0);
get_geometry(PART:"elm.swallow.event", x, y, w, h);
set_state_val(PART:"base", STATE_REL2_OFFSET, -w, 0);
}
}
}
}
group { name: "elm/panel/top/default";
inherit: "elm/panel/left/default";
parts {
part { name: "base";
description { state: "default" 0.0;
rel1.relative: 0.0 0.0;
rel1.to_x: "all";
rel1.to_y: "all";
rel1.offset: 0 0;
rel2.relative: 1.0 0.0;
rel2.to_x: "all";
rel2.to_y: "elm.swallow.event";
rel2.offset: -1 -4;
}
}
part { name: "elm.swallow.event";
description { state: "default" 0.0;
align: 0.5 1.0;
rel1.relative: 0.0 1.0;
rel2.relative: 1.0 1.0;
}
description { state: "hidden" 0.0;
align: 0.5 0.0;
rel1.relative: 0.0 0.0;
rel2.relative: 1.0 0.0;
}
}
part { name: "dots";
description { state: "default" 0.0;
align: 0.5 0.0;
image.normal: "holes_tiny_glow_horiz.png";
FIXED_SIZE(17, 11)
}
}
part { name: "icn";
description { state: "default" 0.0;
image.normal: "icon_arrow_up.png";
}
description { state: "hidden" 0.0;
image.normal: "icon_arrow_down.png";
}
}
}
programs {
program { name: "hide1";
script {
new x, y, w, h;
custom_state(PART:"base", "default", 0.0);
set_state_val(PART:"base", STATE_REL1, 0.0, -1.0);
set_state_val(PART:"base", STATE_REL2, 1.0, 0.0);
get_geometry(PART:"elm.swallow.event", x, y, w, h);
set_state_val(PART:"base", STATE_REL1_OFFSET, 0, h);
}
}
}
}
group { name: "elm/panel/bottom/default";
inherit: "elm/panel/left/default";
parts {
part { name: "base";
description { state: "default" 0.0;
rel1.relative: 0.0 1.0;
rel1.to_x: "all";
rel1.to_y: "elm.swallow.event";
rel1.offset: 0 3;
rel2.relative: 1.0 1.0;
rel2.to_x: "all";
rel2.to_y: "all";
rel2.offset: -1 -1;
}
}
part { name: "elm.swallow.event";
description { state: "default" 0.0;
align: 0.5 0.0;
rel1.relative: 0.0 0.0;
rel2.relative: 1.0 0.0;
}
description { state: "hidden" 0.0;
align: 0.5 1.0;
rel1.relative: 0.0 1.0;
rel2.relative: 1.0 1.0;
}
}
part { name: "dots";
description { state: "default" 0.0;
align: 0.5 0.0;
image.normal: "holes_tiny_glow_horiz.png";
FIXED_SIZE(17, 11)
}
}
part { name: "icn";
description { state: "default" 0.0;
image.normal: "icon_arrow_down.png";
}
description { state: "hidden" 0.0;
image.normal: "icon_arrow_up.png";
}
}
}
programs {
program { name: "hide1";
script {
new x, y, w, h;
custom_state(PART:"base", "default", 0.0);
set_state_val(PART:"base", STATE_REL1, 0.0, 1.0);
set_state_val(PART:"base", STATE_REL2, 1.0, 2.0);
get_geometry(PART:"elm.swallow.event", x, y, w, h);
set_state_val(PART:"base", STATE_REL2_OFFSET, 0, -h);
}
}
}
}

View File

@ -0,0 +1,515 @@
#define PANEMIN 10
#define PANEMIN2 16
#define PANEWID 32
group { name: "elm/panes/vertical/default";
images.image: "holes_vert.png" COMP;
parts {
part { name: "whole"; type: SPACER;
description { state: "default" 0.0;
}
}
part { name: "whole_left"; type: RECT;
description { state: "default" 0.0;
rel2.to_x: "elm.bar";
rel2.relative: 1.0 1.0;
rel2.offset: -4 -1;
}
}
part { name: "whole_right"; type: RECT;
description { state: "default" 0.0;
rel1.to_x: "elm.bar";
rel1.relative: 0.0 0.0;
rel1.offset: 3 0;
}
}
part { name: "elm.swallow.left"; type: SWALLOW;
clip_to: "whole_left";
description { state: "default" 0.0;
rel2.to_x: "elm.bar";
rel2.relative: 1.0 1.0;
rel2.offset: -4 -1;
}
}
part { name: "elm.swallow.right"; type: SWALLOW;
clip_to: "whole_right";
description { state: "default" 0.0;
rel1.to_x: "elm.bar";
rel1.relative: 0.0 0.0;
rel1.offset: 3 0;
}
}
part { name: "elm.bar"; type: SPACER;
dragable { confine: "whole";
x: 1 1 1;
y: 0 0 0;
}
description { state: "default" 0.0;
max: 0 99999;
min: 0 14;
fixed: 1 1;
rel1.relative: 0.0 0.5;
rel2.relative: 1.0 0.5;
}
}
part { name: "dots"; mouse_events: 0;
description { state: "default" 0.0;
image.normal: "holes_vert.png";
rel1.to: "elm.bar";
rel2.to: "elm.bar";
FIXED_SIZE(4, 14)
}
}
part { name: "elm.swallow.event"; type: SWALLOW;
description { state: "default" 0.0;
visible: 0;
min: PANEMIN PANEMIN2;
fixed: 1 1;
rel1.to: "elm.bar";
rel2.to: "elm.bar";
}
}
part { name: "bar"; type: RECT;
dragable.events: "elm.bar";
description { state: "default" 0.0;
min: PANEMIN PANEWID;
max: 99999 99999;
fixed: 1 1;
rel1.to_x: "elm.swallow.event";
rel2.to_x: "elm.swallow.event";
color: 0 0 0 0;
}
}
}
}
group { name: "elm/panes/horizontal/default";
images.image: "holes_horiz.png" COMP;
parts {
part { name: "whole"; type: SPACER;
description { state: "default" 0.0;
}
}
part { name: "whole_left"; type: RECT;
description { state: "default" 0.0;
rel2.to_y: "elm.bar";
rel2.relative: 1.0 1.0;
rel2.offset: -1 -4;
}
}
part { name: "whole_right"; type: RECT;
description { state: "default" 0.0;
rel1.to_y: "elm.bar";
rel1.relative: 0.0 0.0;
rel1.offset: 0 3;
}
}
part { name: "elm.swallow.left"; type: SWALLOW;
clip_to: "whole_left";
description { state: "default" 0.0;
rel2.to_y: "elm.bar";
rel2.relative: 1.0 1.0;
rel2.offset: -1 -4;
}
}
part { name: "elm.swallow.right"; type: SWALLOW;
clip_to: "whole_right";
description { state: "default" 0.0;
rel1.to_y: "elm.bar";
rel1.relative: 0.0 0.0;
rel1.offset: 0 3;
}
}
part { name: "elm.bar"; type: SPACER;
dragable { confine: "whole";
x: 0 0 0;
y: 1 1 1;
}
description { state: "default" 0.0;
max: 99999 0;
min: 14 0;
fixed: 1 1;
rel1.relative: 0.5 0.0;
rel2.relative: 0.5 1.0;
}
}
part { name: "dots"; mouse_events: 0;
description { state: "default" 0.0;
image.normal: "holes_horiz.png";
rel1.to: "elm.bar";
rel2.to: "elm.bar";
FIXED_SIZE(14, 4)
}
}
part { name: "elm.swallow.event"; type: SWALLOW;
description { state: "default" 0.0;
visible: 0;
min: PANEMIN2 PANEMIN;
fixed: 1 1;
rel1.to: "elm.bar";
rel2.to: "elm.bar";
}
}
part { name: "bar"; type: RECT;
dragable.events: "elm.bar";
description { state: "default" 0.0;
min: PANEWID PANEMIN;
max: 99999 99999;
fixed: 1 1;
rel1.to_y: "elm.swallow.event";
rel2.to_y: "elm.swallow.event";
color: 0 0 0 0;
}
}
}
}
////////////////////////////////////////////////////////////////////////////
group { name: "elm/panes/vertical/flush";
images.image: "downlight_glow_left.png" COMP;
images.image: "downlight_glow_right.png" COMP;
parts {
part { name: "whole"; type: SPACER;
description { state: "default" 0.0;
}
}
part { name: "whole_left"; type: RECT;
description { state: "default" 0.0;
rel2.to_x: "elm.bar";
rel2.relative: 1.0 1.0;
}
}
part { name: "whole_right"; type: RECT;
description { state: "default" 0.0;
rel1.to_x: "elm.bar";
rel1.relative: 0.0 0.0;
}
}
part { name: "elm.swallow.left"; type: SWALLOW;
clip_to: "whole_left";
description { state: "default" 0.0;
rel2.to_x: "elm.bar";
rel2.relative: 1.0 1.0;
}
}
part { name: "elm.swallow.right"; type: SWALLOW;
clip_to: "whole_right";
description { state: "default" 0.0;
rel1.to_x: "elm.bar";
rel1.relative: 0.0 0.0;
}
}
part { name: "elm.bar"; type: SPACER;
dragable { confine: "whole";
x: 1 1 1;
y: 0 0 0;
}
description { state: "default" 0.0;
max: 0 99999;
min: 0 14;
fixed: 1 1;
rel1.relative: 0.0 0.5;
rel2.relative: 1.0 0.5;
}
}
part { name: "elm.swallow.event"; type: SWALLOW;
description { state: "default" 0.0;
visible: 0;
min: PANEMIN PANEMIN2;
fixed: 1 1;
rel1.to: "elm.bar";
rel2.to: "elm.bar";
}
}
part { name: "bar"; type: RECT;
dragable.events: "elm.bar";
description { state: "default" 0.0;
min: PANEMIN PANEWID;
max: 99999 99999;
fixed: 1 1;
rel1.to_x: "elm.swallow.event";
rel1.relative: 0.0 0.25;
rel2.to_x: "elm.swallow.event";
rel2.relative: 1.0 0.75;
color: 0 0 0 0;
}
}
part { name: "glow1a"; mouse_events: 0;
description { state: "default" 0.0;
image.normal: "downlight_glow_left.png";
image.border: 0 3 0 0;
max: 32 99999;
rel2.to_x: "elm.bar";
color: 255 255 255 0;
align: 1.0 0.5;
}
description { state: "active" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255;
}
}
part { name: "glow1b"; mouse_events: 0;
description { state: "default" 0.0;
image.normal: "downlight_glow_right.png";
max: 4 99999;
rel1.to_x: "elm.bar";
color: 255 255 255 0;
align: 0.0 0.5;
}
description { state: "active" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255;
}
}
part { name: "glow2a"; mouse_events: 0;
description { state: "default" 0.0;
image.normal: "downlight_glow_left.png";
max: 4 99999;
rel2.to_x: "elm.bar";
color: 255 255 255 0;
align: 1.0 0.5;
}
description { state: "active" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255;
}
}
part { name: "glow2b"; mouse_events: 0;
description { state: "default" 0.0;
image.normal: "downlight_glow_right.png";
image.border: 3 0 0 0;
max: 32 99999;
rel1.to_x: "elm.bar";
color: 255 255 255 0;
align: 0.0 0.5;
}
description { state: "active" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255;
}
}
part { name: "bar1"; type: RECT; repeat_events: 1;
description { state: "default" 0.0;
fixed: 1 1;
rel1.to: "bar";
rel2.to: "bar";
rel2.relative: 0.5 1.0;
color: 0 0 0 0;
}
}
part { name: "bar2"; type: RECT; repeat_events: 1;
description { state: "default" 0.0;
fixed: 1 1;
rel1.to: "bar";
rel1.relative: 0.5 0.0;
rel2.to: "bar";
color: 0 0 0 0;
}
}
}
programs {
program {
signal: "mouse,in"; source: "bar1";
action: STATE_SET "active" 0.0;
transition: BOUNCE 0.4 0.5 4;
target: "glow1a";
target: "glow1b";
}
program {
signal: "mouse,out"; source: "bar1";
action: STATE_SET "default" 0.0;
transition: DECELERATE 0.5;
target: "glow1a";
target: "glow1b";
}
program {
signal: "mouse,in"; source: "bar2";
action: STATE_SET "active" 0.0;
transition: BOUNCE 0.4 0.5 4;
target: "glow2a";
target: "glow2b";
}
program {
signal: "mouse,out"; source: "bar2";
action: STATE_SET "default" 0.0;
transition: DECELERATE 0.5;
target: "glow2a";
target: "glow2b";
}
}
}
group { name: "elm/panes/horizontal/flush";
images.image: "downlight_glow.png" COMP;
images.image: "downlight_glow_up.png" COMP;
parts {
part { name: "whole"; type: SPACER;
description { state: "default" 0.0;
}
}
part { name: "whole_left"; type: RECT;
description { state: "default" 0.0;
rel2.to_y: "elm.bar";
rel2.relative: 1.0 1.0;
}
}
part { name: "whole_right"; type: RECT;
description { state: "default" 0.0;
rel1.to_y: "elm.bar";
rel1.relative: 0.0 0.0;
}
}
part { name: "elm.swallow.left"; type: SWALLOW;
clip_to: "whole_left";
description { state: "default" 0.0;
rel2.to_y: "elm.bar";
rel2.relative: 1.0 1.0;
}
}
part { name: "elm.swallow.right"; type: SWALLOW;
clip_to: "whole_right";
description { state: "default" 0.0;
rel1.to_y: "elm.bar";
rel1.relative: 0.0 0.0;
}
}
part { name: "elm.bar"; type: SPACER;
dragable { confine: "whole";
x: 0 0 0;
y: 1 1 1;
}
description { state: "default" 0.0;
max: 99999 0;
min: 14 0;
fixed: 1 1;
rel1.relative: 0.5 0.0;
rel2.relative: 0.5 1.0;
}
}
part { name: "elm.swallow.event"; type: SWALLOW;
description { state: "default" 0.0;
visible: 0;
min: PANEMIN2 PANEMIN;
fixed: 1 1;
rel1.to: "elm.bar";
rel2.to: "elm.bar";
}
}
part { name: "bar"; type: RECT;
dragable.events: "elm.bar";
description { state: "default" 0.0;
min: PANEWID PANEMIN;
max: 99999 99999;
fixed: 1 1;
rel1.to_y: "elm.swallow.event";
rel1.relative: 0.25 0.0;
rel2.to_y: "elm.swallow.event";
rel2.relative: 0.75 1.0;
color: 0 0 0 0;
}
}
part { name: "glow1a"; mouse_events: 0;
description { state: "default" 0.0;
image.normal: "downlight_glow_up.png";
image.border: 0 0 0 3;
max: 99999 32;
rel2.to_y: "elm.bar";
color: 255 255 255 0;
align: 0.5 1.0;
}
description { state: "active" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255;
}
}
part { name: "glow1b"; mouse_events: 0;
description { state: "default" 0.0;
image.normal: "downlight_glow.png";
max: 99999 4;
rel1.to_y: "elm.bar";
color: 255 255 255 0;
align: 0.5 0.0;
}
description { state: "active" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255;
}
}
part { name: "glow2a"; mouse_events: 0;
description { state: "default" 0.0;
image.normal: "downlight_glow_up.png";
max: 99999 4;
rel2.to_y: "elm.bar";
color: 255 255 255 0;
align: 0.5 1.0;
}
description { state: "active" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255;
}
}
part { name: "glow2b"; mouse_events: 0;
description { state: "default" 0.0;
image.normal: "downlight_glow.png";
image.border: 0 0 3 0;
max: 99999 32;
rel1.to_y: "elm.bar";
color: 255 255 255 0;
align: 0.5 0.0;
}
description { state: "active" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255;
}
}
part { name: "bar1"; type: RECT; repeat_events: 1;
description { state: "default" 0.0;
fixed: 1 1;
rel1.to: "bar";
rel2.to: "bar";
rel2.relative: 1.0 0.5;
color: 0 0 0 0;
}
}
part { name: "bar2"; type: RECT; repeat_events: 1;
description { state: "default" 0.0;
fixed: 1 1;
rel1.to: "bar";
rel1.relative: 0.0 0.5;
rel2.to: "bar";
color: 0 0 0 0;
}
}
}
programs {
program {
signal: "mouse,in"; source: "bar1";
action: STATE_SET "active" 0.0;
transition: BOUNCE 0.4 0.5 4;
target: "glow1a";
target: "glow1b";
}
program {
signal: "mouse,out"; source: "bar1";
action: STATE_SET "default" 0.0;
transition: DECELERATE 0.5;
target: "glow1a";
target: "glow1b";
}
program {
signal: "mouse,in"; source: "bar2";
action: STATE_SET "active" 0.0;
transition: BOUNCE 0.4 0.5 4;
target: "glow2a";
target: "glow2b";
}
program {
signal: "mouse,out"; source: "bar2";
action: STATE_SET "default" 0.0;
transition: DECELERATE 0.5;
target: "glow2a";
target: "glow2b";
}
}
}

View File

@ -0,0 +1,91 @@
group { name: "elm/photo/base/default";
images.image: "win_shadow.png" COMP;
parts {
part { name: "shadow"; mouse_events: 0;
description { state: "default" 0.0;
image.normal: "win_shadow.png";
image.border: 14 14 14 14;
image.middle: 0;
rel1.to: "base";
rel1.offset: -7 -3;
rel2.to: "base";
rel2.offset: 6 11;
fill.smooth: 0;
}
}
part { name: "base"; type: RECT;
description { state: "default" 0.0;
rel1.offset: 7 7;
rel2.offset: -8 -8;
color: 255 255 255 255;
}
}
part { name: "clip"; type: RECT;
description { state: "default" 0.0;
rel1.to: "base";
rel1.offset: 4 4;
rel2.to: "base";
rel2.offset: -5 -5;
}
}
part { name: "bg"; type: RECT;
description { state: "default" 0.0;
rel1.to: "clip";
rel2.to: "clip";
color: DARK_GREY_BG_COLOR;
}
}
part { name: "elm.swallow.content"; type: SWALLOW;
clip_to: "clip";
description { state: "default" 0.0;
rel1.to: "clip";
rel2.to: "clip";
}
}
}
}
group { name: "elm/photo/base/shadow";
inherit: "elm/photo/base/default";
script {
public message(Msg_Type:type, id, ...) {
if ((type == MSG_INT_SET) && (id == 0)) {
new w, h;
w = getarg(2); h = getarg(3);
if ((w > 0) && (h > 0)) {
custom_state(PART:"size", "default", 0.0);
set_state_val(PART:"size", STATE_MIN, w, h);
set_state_val(PART:"size", STATE_REL1, 0.5, 0.5);
set_state_val(PART:"size", STATE_REL2, 0.5, 0.5);
set_state_val(PART:"size", STATE_REL1_OFFSET, 0, 0);
set_state_val(PART:"size", STATE_REL2_OFFSET, -1, -1);
set_state(PART:"size", "custom", 0.0);
} else {
set_state(PART:"size", "default", 0.0);
}
}
}
}
parts {
part { name: "size"; type: SWALLOW;
description { state: "default" 0.0;
rel1.offset: 7 7;
rel2.offset: -8 -8;
}
}
part { name: "base"; type: RECT;
description { state: "default" 0.0;
rel1.to: "size";
rel1.offset: 0 0;
rel2.to: "size";
rel2.offset: -1 -1;
}
}
part { name: "clip";
description { state: "default" 0.0;
rel1.offset: 0 0;
rel2.offset: -1 -1;
}
}
}
}

View File

@ -0,0 +1,100 @@
group { name: "elm/photocam/base/default";
inherit: "elm/scroller/base/default";
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: "elm,state,busy,start"; source: "elm";
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: "elm,state,busy,start"; source: "elm";
action: STATE_SET "active" 0.0;
transition: SINUSOIDAL 0.25;
target: "busy_clip";
}
program {
signal: "elm,state,busy,stop"; source: "elm";
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";
}
}
}

View File

@ -0,0 +1,639 @@
#define BSZ 20
group { name: "elm/player/base/default";
images.image: "inset_shadow.png" COMP;
images.image: "shine.png" COMP;
images.image: "bevel_out.png" COMP;
images.image: "vgrad_med_lighter.png" COMP;
images.image: "bevel_out.png" COMP;
images.image: "shine.png" COMP;
images.image: "vgrad_shadow_bi.png" COMP;
images.image: "shadow_square_tiny.png" COMP;
script {
public in_control;
public in_volume;
public inside;
public eval_in() {
new v1 = get_int(in_control);
new v2 = get_int(in_volume);
new isin = get_int(inside);
if (isin) {
if ((!v1) && (!v2)) {
emit("conhide", "");
set_int(inside, 0);
}
} else {
if ((v1) || (v2)) {
emit("conshow", "");
set_int(inside, 1);
}
}
}
}
parts {
part { name: "bg"; type: RECT;
description { state: "default" 0.0;
rel1.offset: 1 1;
rel2.offset: -2 -2;
color: 0 0 0 255;
}
}
part { name: "clipper"; type: RECT;
description { state: "default" 0.0;
rel1.to: "bg";
rel2.to: "bg";
}
}
// video (elm_video) content here
part { name: "elm.swallow.content"; type: SWALLOW;
clip_to: "clipper";
description { state: "default" 0.0;
rel1.offset: 1 1;
rel2.offset: -2 -2;
}
}
part { name: "barshad";
clip_to: "clipper";
description { state: "default" 0.0;
image.normal: "vgrad_shadow_bi.png";
rel1.to: "bar";
rel1.relative: 0.0 -0.5;
rel2.to: "bar";
rel2.relative: 1.0 0.5;
color: 255 255 255 0;
visible: 0;
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
color: 255 255 255 128;
visible: 1;
}
}
part { name: "volpop_shadow"; mouse_events: 0;
clip_to: "volclip";
description { state: "default" 0.0;
rel1.offset: -3 -2;
rel1.to: "volpop";
rel2.offset: 3 4;
rel2.to: "volpop";
image.normal: "shadow_square_tiny.png";
image.border: 6 6 6 6;
fill.smooth: 0;
}
}
part { name: "bar";
clip_to: "clipper";
description { state: "default" 0.0;
color_class: "player_bar";
image.normal: "vgrad_med_lighter.png";
rel1.to_y: "elm.swallow.media_player.prev";
rel1.offset: 1 -1;
rel2.to_y: "elm.swallow.media_player.positionslider";
rel2.offset: -2 -1;
fill.smooth: 0;
TILED_HORIZ(120)
}
}
part { name: "barbevclip"; type: RECT;
clip_to: "clipper";
description { state: "default" 0.0;
rel1.to: "bar";
rel2.to: "bar";
rel2.relative: 1.0 0.0;
rel2.offset: -1 0;
color: 255 255 255 255;
}
}
part { name: "barbev";
clip_to: "barbevclip";
description { state: "default" 0.0;
rel1.to: "bar";
rel2.to: "bar";
image.normal: "bevel_out.png";
image.border: 2 2 2 2;
fill.smooth: 0;
}
}
part { name: "shine"; mouse_events: 0;
clip_to: "clipper";
description { state: "default" 0.0;
image.normal: "shine.png";
rel1.offset: 0 -2;
rel1.to: "bar";
rel2.relative: 1.0 0.0;
rel2.offset: -1 2;
rel2.to: "bar";
FIXED_SIZE(69, 5)
}
}
part { name: "volclip"; type: RECT;
description { state: "default" 0.0;
rel1.to: "bg";
rel2.to: "bg";
color: 255 255 255 0;
visible: 0;
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255;
visible: 1;
}
}
part { name: "volpop";
clip_to: "volclip";
description { state: "default" 0.0;
color_class: "player_volume";
image.normal: "vgrad_med_lighter.png";
rel1.to: "elm.swallow.media_player.volumeslider";
rel1.offset: -1 -1;
rel2.to: "elm.swallow.media_player.volumeslider";
rel2.offset: 0 0;
fill.smooth: 0;
TILED_HORIZ(120)
}
}
part { name: "volpopclip"; type: RECT;
clip_to: "volclip";
description { state: "default" 0.0;
rel1.to: "volpop";
rel1.offset: 0 -5;
rel2.to: "volpop";
color: 255 255 255 255;
}
}
part { name: "volpopbev";
clip_to: "volpopclip";
description { state: "default" 0.0;
rel1.to: "volpop";
rel2.to: "volpop";
image.normal: "bevel_out.png";
image.border: 2 2 2 2;
fill.smooth: 0;
}
}
part { name: "volshine"; mouse_events: 0;
clip_to: "volpopclip";
description { state: "default" 0.0;
image.normal: "shine.png";
rel1.offset: 0 -2;
rel1.to: "volpop";
rel2.relative: 1.0 0.0;
rel2.offset: -1 2;
rel2.to: "volpop";
FIXED_SIZE(69, 5)
}
}
part { name: "elm.swallow.media_player.prev"; type: SWALLOW;
clip_to: "clipper";
scale: 1;
description { state: "default" 0.0;
fixed: 1 1;
min: BSZ BSZ;
align: 0.0 0.0;
rel1.relative: 0.0 1.0;
rel1.offset: 1 7;
rel2.relative: 0.0 1.0;
rel2.offset: 1 7;
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
rel1.offset: 1 -2;
rel2.offset: 1 -2;
align: 0.0 1.0;
}
}
part { name: "elm.swallow.media_player.rewind"; type: SWALLOW;
clip_to: "clipper";
scale: 1;
description { state: "default" 0.0;
fixed: 1 1;
min: BSZ BSZ;
align: 0.0 1.0;
rel1.to: "elm.swallow.media_player.prev";
rel1.relative: 1.0 0.0;
rel1.offset: 0 0;
rel2.to: "elm.swallow.media_player.prev";
rel2.relative: 1.0 1.0;
rel2.offset: 0 -1;
}
}
part { name: "elm.swallow.media_player.play"; type: SWALLOW;
clip_to: "clipper";
scale: 1;
description { state: "default" 0.0;
fixed: 1 1;
min: BSZ BSZ;
align: 0.0 1.0;
rel1.to: "elm.swallow.media_player.rewind";
rel1.relative: 1.0 0.0;
rel1.offset: 0 0;
rel2.to: "elm.swallow.media_player.rewind";
rel2.relative: 1.0 1.0;
rel2.offset: 0 -1;
}
description { state: "hidden" 0.0;
inherit: "default" 0.0;
visible: 0;
}
}
part { name: "elm.swallow.media_player.pause"; type: SWALLOW;
clip_to: "clipper";
scale: 1;
description { state: "default" 0.0;
fixed: 1 1;
min: BSZ BSZ;
rel1.to: "elm.swallow.media_player.play";
rel2.to: "elm.swallow.media_player.play";
}
description { state: "hidden" 0.0;
inherit: "default" 0.0;
visible: 0;
}
}
part { name: "elm.swallow.media_player.forward"; type: SWALLOW;
clip_to: "clipper";
scale: 1;
description { state: "default" 0.0;
fixed: 1 1;
min: BSZ BSZ;
align: 0.0 1.0;
rel1.to: "elm.swallow.media_player.play";
rel1.relative: 1.0 0.0;
rel1.offset: 0 0;
rel2.to: "elm.swallow.media_player.play";
rel2.relative: 1.0 1.0;
rel2.offset: 0 -1;
}
}
part { name: "elm.swallow.media_player.next"; type: SWALLOW;
clip_to: "clipper";
scale: 1;
description { state: "default" 0.0;
fixed: 1 1;
min: BSZ BSZ;
align: 0.0 1.0;
rel1.to: "elm.swallow.media_player.forward";
rel1.relative: 1.0 0.0;
rel1.offset: 0 0;
rel2.to: "elm.swallow.media_player.forward";
rel2.relative: 1.0 1.0;
rel2.offset: 0 -1;
}
}
part { name: "elm.swallow.media_player.stop"; type: SWALLOW;
clip_to: "clipper";
scale: 1;
description { state: "default" 0.0;
fixed: 1 1;
min: BSZ BSZ;
align: 0.0 1.0;
rel1.to: "elm.swallow.media_player.next";
rel1.relative: 1.0 0.0;
rel1.offset: 0 0;
rel2.to: "elm.swallow.media_player.next";
rel2.relative: 1.0 1.0;
rel2.offset: 0 -1;
}
}
part { name: "elm.swallow.media_player.eject"; type: SWALLOW;
clip_to: "clipper";
scale: 1;
description { state: "default" 0.0;
fixed: 1 1;
min: BSZ BSZ;
align: 0.0 1.0;
rel1.to: "elm.swallow.media_player.stop";
rel1.relative: 1.0 0.0;
rel1.offset: 0 0;
rel2.to: "elm.swallow.media_player.stop";
rel2.relative: 1.0 1.0;
rel2.offset: 0 -1;
}
}
part { name: "elm.swallow.media_player.volume"; type: SWALLOW;
clip_to: "clipper";
scale: 1;
description { state: "default" 0.0;
fixed: 1 1;
min: BSZ BSZ;
align: 0.0 1.0;
rel1.to: "elm.swallow.media_player.eject";
rel1.relative: 1.0 0.0;
rel1.offset: 0 0;
rel2.to: "elm.swallow.media_player.eject";
rel2.relative: 1.0 1.0;
rel2.offset: 0 -1;
}
description { state: "hidden" 0.0;
inherit: "default" 0.0;
visible: 0;
}
}
part { name: "elm.swallow.media_player.mute"; type: SWALLOW;
clip_to: "clipper";
scale: 1;
description { state: "default" 0.0;
fixed: 1 1;
min: BSZ BSZ;
rel1.to: "elm.swallow.media_player.volume";
rel2.to: "elm.swallow.media_player.volume";
}
description { state: "hidden" 0.0;
inherit: "default" 0.0;
visible: 0;
}
}
part { name: "elm.swallow.media_player.info"; type: SWALLOW;
clip_to: "clipper";
scale: 1;
description { state: "default" 0.0;
fixed: 1 1;
min: BSZ BSZ;
align: 0.0 1.0;
rel1.to: "elm.swallow.media_player.volume";
rel1.relative: 1.0 0.0;
rel1.offset: 0 0;
rel2.to: "elm.swallow.media_player.volume";
rel2.relative: 1.0 1.0;
rel2.offset: 0 -1;
}
}
part { name: "elm.swallow.media_player.positionslider"; type: SWALLOW;
clip_to: "clipper";
description { state: "default" 0.0;
fixed: 0 1;
rel1.relative: 1.0 0.0;
rel1.to: "elm.swallow.media_player.info";
rel2.to_y: "elm.swallow.media_player.info";
rel2.offset: -2 -1;
}
}
part { name: "elm.swallow.media_player.volumeslider"; type: SWALLOW;
clip_to: "volclip";
scale: 1;
description { state: "default" 0.0;
fixed: 1 1;
rel1.to_x: "elm.swallow.media_player.volume";
rel1.offset: 0 1;
rel2.to: "elm.swallow.media_player.volume";
rel2.offset: -1 -3;
rel2.relative: 1.0 0.0;
align: 0.5 1.0;
max: 99999 100;
}
}
part { name: "shadow"; mouse_events: 0;
description { state: "default" 0.0;
image.normal: "inset_shadow.png";
image.border: 5 5 7 3;
image.middle: 0;
rel1.to: "bg";
rel2.to: "bg";
fill.smooth: 0;
color: 255 255 255 128;
}
}
part { name: "inset"; mouse_events: 0;
description { state: "default" 0.0;
image.normal: "bevel_in.png";
image.border: 1 1 1 1;
image.middle: 0;
rel1.to: "bg";
rel1.offset: -1 -1;
rel2.to: "bg";
rel2.offset: 0 0;
fill.smooth: 0;
}
}
part { name: "controls"; type: RECT; repeat_events: 1;
clip_to: "clipper";
scale: 1;
description { state: "default" 0.0;
min: BSZ BSZ;
align: 0.5 1.0;
rel1.relative: 0.0 0.8;
color: 0 0 0 0;
}
}
part { name: "volumetop"; type: SPACER;
description { state: "default" 0.0;
fixed: 1 1;
rel1.to_y: "elm.swallow.media_player.volumeslider";
rel1.relative: 0.0 0.0;
rel2.to_y: "controls";
rel2.relative: 1.0 0.0;
align: 0.5 0.0;
}
}
part { name: "volume"; type: RECT; repeat_events: 1;
clip_to: "clipper";
description { state: "default" 0.0;
fixed: 1 1;
rel1.to_y: "volumetop";
rel1.to_x: "elm.swallow.media_player.volume";
rel1.relative: -1.0 0.0;
rel1.offset: 0 -20;
rel2.to: "elm.swallow.media_player.volume";
rel2.relative: 2.0 1.0;
align: 0.5 1.0;
color: 0 0 0 0;
visible: 0;
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
visible: 1;
}
}
}
programs {
program { name: "ci";
signal: "mouse,in"; source: "controls";
script {
set_int(in_control, 1);
eval_in();
}
}
program { name: "co";
signal: "mouse,out"; source: "controls";
script {
set_int(in_control, 0);
eval_in();
}
}
program { name: "vi";
signal: "mouse,in"; source: "volume";
script {
set_int(in_volume, 1);
eval_in();
}
}
program { name: "vo";
signal: "mouse,out"; source: "volume";
script {
set_int(in_volume, 0);
eval_in();
}
}
program {
signal: "conshow"; source: "";
action: STATE_SET "visible" 0.0;
transition: DECELERATE 0.2;
target: "elm.swallow.media_player.prev";
target: "barshad";
target: "volume";
}
program {
signal: "conhide"; source: "";
action: STATE_SET "default" 0.0;
transition: DECELERATE 0.5;
target: "elm.swallow.media_player.prev";
target: "barshad";
target: "volume";
}
program {
signal: "mouse,in"; source: "volume";
action: STATE_SET "visible" 0.0;
transition: DECELERATE 0.5;
target: "volclip";
}
program {
signal: "mouse,out"; source: "volume";
action: STATE_SET "default" 0.0;
transition: DECELERATE 0.5;
target: "volclip";
}
program {
signal: "load"; source: "";
after: "pause/0";
}
program {
signal: "elm,player,play"; source: "elm";
after: "play/0";
}
program {
signal: "elm,player,pause"; source: "elm";
after: "pause/0";
}
program { name: "play/0";
action: STATE_SET "hidden" 0.0;
target: "elm.swallow.media_player.play";
after: "play/1";
}
program { name: "play/1";
action: STATE_SET "default" 0.0;
target: "elm.swallow.media_player.pause";
}
program { name: "pause/0";
action: STATE_SET "hidden" 0.0;
target: "elm.swallow.media_player.pause";
after: "pause/1";
}
program { name: "pause/1";
action: STATE_SET "default" 0.0;
target: "elm.swallow.media_player.play";
}
program {
signal: "load"; source: "";
after: "unmute/0";
}
program {
signal: "elm,player,mute"; source: "elm";
after: "mute/0";
}
program {
signal: "elm,player,unmute"; source: "elm";
after: "unmute/0";
}
program { name: "mute/0";
action: STATE_SET "hidden" 0.0;
target: "elm.swallow.media_player.volume";
after: "mute/1";
}
program { name: "mute/1";
action: STATE_SET "default" 0.0;
target: "elm.swallow.media_player.mute";
}
program { name: "unmute/0";
action: STATE_SET "hidden" 0.0;
target: "elm.swallow.media_player.mute";
after: "unmute/1";
}
program { name: "unmute/1";
action: STATE_SET "default" 0.0;
target: "elm.swallow.media_player.volume";
}
}
}
group { name: "elm/player/base/flush";
inherit: "elm/player/base/default";
parts {
part { name: "bg";
description { state: "default" 0.0;
rel1.offset: 0 0;
rel2.offset: -1 -1;
}
}
part { name: "elm.swallow.content";
description { state: "default" 0.0;
rel1.offset: 0 0;
rel2.offset: -1 -1;
}
}
part { name: "bar";
description { state: "default" 0.0;
rel1.offset: 0 -1;
rel2.offset: -1 -1;
}
}
part { name: "barbevclip"; type: RECT;
description { state: "default" 0.0;
rel2.relative: 1.0 1.0;
rel2.offset: -1 -1;
}
}
part { name: "barbev";
description { state: "default" 0.0;
rel1.offset: -1 0;
rel2.offset: 0 -1;
}
}
part { name: "elm.swallow.media_player.prev";
description { state: "default" 0.0;
rel1.offset: 0 7;
rel2.offset: 0 7;
}
description { state: "visible" 0.0;
rel1.offset: 0 -1;
rel2.offset: 0 -1;
}
}
part { name: "elm.swallow.media_player.positionslider";
description { state: "default" 0.0;
rel2.offset: -1 -1;
}
}
part { name: "shadow"; mouse_events: 0;
description { state: "default" 0.0;
visible: 0;
}
}
part { name: "inset"; mouse_events: 0;
description { state: "default" 0.0;
visible: 0;
}
}
}
}

View File

@ -0,0 +1,50 @@
group { name: "elm/pointer/base/default";
images {
image: "pointer.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: "elm.swallow.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;
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;
}
}
}
}
}

View File

@ -0,0 +1,455 @@
group { name: "elm/notify/block_events/popup/default";
parts {
part { name: "base"; type: RECT;
description { state: "default" 0.0;
color: 0 0 0 128;
}
}
program {
signal: "mouse,clicked,1"; source: "base";
action: SIGNAL_EMIT "elm,action,click" "elm";
}
}
}
group { name: "elm/notify/block_events/popup/transparent";
parts {
part { name: "base"; type: RECT;
description { state: "default" 0.0;
color: 0 0 0 0;
}
description { state: "clicked" 0.0;
color: 0 0 0 192;
}
}
program {
signal: "mouse,down,1"; source: "base";
action: SIGNAL_EMIT "elm,action,click" "elm";
after: "click1";
}
program { name: "click1";
action: STATE_SET "clicked" 0.0;
target: "base";
transition: SINUSOIDAL 0.2;
}
program {
signal: "mouse,up,1"; source: "base";
action: STATE_SET "default" 0.0;
target: "base";
transition: DECELERATE 0.5;
}
}
}
group { name: "elm/notify/top/popup/default";
inherit: "elm/notify/top/default";
#define OVERRIDE_BASE() \
images.image: "rounded_square.png" COMP; \
parts { \
part { name: "base"; \
description { state: "default" 0.0; \
image.normal: "rounded_square.png"; \
} \
description { state: "visible" 0.0; \
image.normal: "rounded_square.png"; \
} \
} \
}
OVERRIDE_BASE()
}
group { name: "elm/notify/bottom/popup/default";
inherit: "elm/notify/bottom/default";
OVERRIDE_BASE()
}
group { name: "elm/notify/left/popup/default";
inherit: "elm/notify/left/default";
OVERRIDE_BASE()
}
group { name: "elm/notify/right/popup/default";
inherit: "elm/notify/right/default";
OVERRIDE_BASE()
}
group { name: "elm/notify/top_left/popup/default";
inherit: "elm/notify/top_left/default";
OVERRIDE_BASE()
}
group { name: "elm/notify/top_right/popup/default";
inherit: "elm/notify/top_right/default";
OVERRIDE_BASE()
}
group { name: "elm/notify/bottom_left/popup/default";
inherit: "elm/notify/bottom_left/default";
OVERRIDE_BASE()
}
group { name: "elm/notify/bottom_right/popup/default";
inherit: "elm/notify/bottom_right/default";
OVERRIDE_BASE()
}
group { name: "elm/notify/center/popup/default";
inherit: "elm/notify/center/default";
OVERRIDE_BASE()
}
#undef OVERRIDE_BASE
group { name: "elm/notify/top/popup/transparent";
inherit: "elm/notify/top/default";
}
group { name: "elm/notify/bottom/popup/transparent";
inherit: "elm/notify/bottom/default";
}
group { name: "elm/notify/left/popup/transparent";
inherit: "elm/notify/left/default";
}
group { name: "elm/notify/right/popup/transparent";
inherit: "elm/notify/right/default";
}
group { name: "elm/notify/top_left/popup/transparent";
inherit: "elm/notify/top_left/default";
}
group { name: "elm/notify/top_right/popup/transparent";
inherit: "elm/notify/top_right/default";
}
group { name: "elm/notify/bottom_left/popup/transparent";
inherit: "elm/notify/bottom_left/default";
}
group { name: "elm/notify/bottom_right/popup/transparent";
inherit: "elm/notify/bottom_right/default";
}
group { name: "elm/notify/center/popup/transparent";
inherit: "elm/notify/center/default";
}
group { name: "elm/label/base/popup/default";
alias: "elm/label/base/popup/transparent";
styles {
style { name: "popup_desc_style";
base: "font="FN" font_size=10 text_class=label align=center color=#fff style=shadow,bottom shadow_color=#00000080 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 {
part { name: "elm.text"; type: TEXTBLOCK; mouse_events: 0;
scale: 1;
description { state: "default" 0.0;
text {
style: "popup_desc_style";
min: 0 1;
max: 0 1;
}
rel1.offset: 2 2;
rel2.offset: -3 -3;
}
}
}
}
group { name: "elm/button/base/popup/default";
inherit: "elm/button/base/default";
}
group { name: "elm/button/base/popup/transparent";
inherit: "elm/button/base/anchor";
}
group { name: "elm/popup/base/default";
alias: " elm/popup/base/transparent";
styles {
style { name: "popup_title_style";
base: "font="FNBD" font_size=10 text_class=label align=center color=#fff style=shadow,bottom shadow_color=#00000080 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 {
part { name: "base"; type: SPACER;
scale: 1;
description { state: "default" 0.0;
min: 240 0;
}
}
part { name: "elm.bg.title"; type: RECT;
description { state: "default" 0.0;
fixed: 1 1;
rel1.to: "elm.text.title";
rel2.to: "elm.text.title";
visible: 0;
}
}
part { name: "elm.text.title"; type: TEXTBLOCK;
scale: 1;
description { state: "default" 0.0;
fixed: 0 1;
text {
style: "popup_title_style";
min: 1 1;
}
visible: 0;
rel1.offset: 2 2;
rel2.offset: -3 2;
rel2.relative: 1.0 0.0;
align: 0.5 0.0;
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
visible: 1;
}
}
part { name: "elm.swallow.title.icon"; type: SWALLOW;
scale: 1;
description { state: "default" 0.0;
fixed: 1 1;
align: 0.0 0.5;
rel1.to_y: "elm.text.title";
rel2.to_y: "elm.text.title";
rel2.relative: 0.0 1.0;
aspect: 1.0 1.0; aspect_preference: VERTICAL;
visible: 0;
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
visible: 1;
}
}
part { name: "elm.swallow.content"; type: SWALLOW;
description { state: "default" 0.0;
rel1.offset: 2 2;
rel2.offset: -3 -3;
}
description { state: "show_title_area" 0.0;
inherit: "default" 0.0;
rel1.relative: 0.0 1.0;
rel1.to_y: "elm.bg.title";
}
description { state: "show_action_area" 0.0;
inherit: "default" 0.0;
rel2.relative: 1.0 0.0;
rel2.to_y: "elm.swallow.action_area";
}
description { state: "show_action_title_area" 0.0;
inherit: "default" 0.0;
rel1.relative: 0.0 1.0;
rel1.to_y: "elm.bg.title";
rel2.relative: 1.0 0.0;
rel2.to_y: "elm.swallow.action_area";
}
}
part { name: "elm.swallow.action_area"; type: SWALLOW;
scale: 1;
description { state: "default" 0.0;
fixed: 0 1;
align: 0.5 1.0;
visible: 0;
rel1.relative: 0.0 1.0;
rel1.offset: 2 -3;
rel1.to: "base";
rel2.offset: -3 -3;
rel2.to: "base";
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
visible: 1;
}
}
part { name: "access.title"; type: RECT; repeat_events: 1;
description { state: "default" 0.0;
fixed: 1 1;
rel1.to: "elm.bg.title";
rel2.to: "elm.bg.title";
color: 0 0 0 0;
}
}
part { name: "access.body"; type: RECT; repeat_events: 1;
description { state: "default" 0.0;
fixed: 1 1;
rel1.to: "elm.swallow.content";
rel2.to: "elm.swallow.content";
color: 0 0 0 0;
}
}
}
programs {
program {
signal: "elm,state,title,icon,visible"; source: "elm";
action: STATE_SET "visible" 0.0;
target: "elm.swallow.title.icon";
}
program {
signal: "elm,state,title,icon,hidden"; source: "elm";
action: STATE_SET "default" 0.0;
target: "elm.swallow.title.icon";
}
program {
signal: "elm,state,title,text,visible"; source: "elm";
action: STATE_SET "visible" 0.0;
target: "elm.text.title";
}
program {
signal: "elm,state,title,text,hidden"; source: "elm";
action: STATE_SET "default" 0.0;
target: "elm.text.title";
}
program {
signal: "elm,state,title_area,visible"; source: "elm";
script {
new st[31], Float:vl;
get_state(PART:"elm.swallow.action_area", st, 30, vl);
if (!strcmp(st, "visible"))
set_state(PART:"elm.swallow.content", "show_action_title_area", 0.0);
else
set_state(PART:"elm.swallow.content", "show_title_area", 0.0);
set_state(PART:"elm.text.title", "visible", 0.0);
}
}
program {
signal: "elm,state,title_area,hidden"; source: "elm";
script {
new st[31], Float:vl;
get_state(PART:"elm.swallow.action_area", st, 30, vl);
if (!strcmp(st, "visible"))
set_state(PART:"elm.swallow.content", "show_action_area", 0.0);
else
set_state(PART:"elm.swallow.content", "default", 0.0);
set_state(PART:"elm.text.title", "default", 0.0);
}
}
program {
signal: "elm,state,action_area,visible"; source: "elm";
script {
new st[31], Float:vl;
get_state(PART:"elm.text.title", st, 30, vl);
if (!strcmp(st, "visible"))
set_state(PART:"elm.swallow.content", "show_action_title_area", 0.0);
else
set_state(PART:"elm.swallow.content", "show_action_area", 0.0);
set_state(PART:"elm.swallow.action_area", "visible", 0.0);
}
}
program {
signal: "elm,state,action_area,hidden"; source: "elm";
script {
new st[31], Float:vl;
get_state(PART:"elm.text.title", st, 30, vl);
if (!strcmp(st, "visible"))
set_state(PART:"elm.swallow.content", "show_title_area", 0.0);
else
set_state(PART:"elm.swallow.content", "default", 0.0);
set_state(PART:"elm.swallow.action_area", "default", 0.0);
}
}
}
}
group { name: "elm/popup/content/popup/default";
alias: "elm/popup/content/popup/transparent";
parts {
part { name:"elm.swallow.content"; type: SWALLOW;
description { state: "default" 0.0;
}
}
}
}
group { name: "elm/popup/buttons1/popup/default";
alias: "elm/popup/buttons1/popup/transparent";
data.item: "action_area_height" "80";
parts {
part { name:"elm.swallow.content.button1"; type: SWALLOW;
description { state: "default" 0.0;
}
}
}
}
group { name: "elm/popup/buttons2/popup/default";
alias: "elm/popup/buttons2/popup/transparent";
data.item: "action_area_height" "80";
parts{
part{ name:"elm.swallow.content.button1"; type: SWALLOW;
description { state: "default" 0.0;
rel2.relative: 0.5 1.0;
}
}
part{ name:"elm.swallow.content.button2"; type: SWALLOW;
description { state: "default" 0.0;
rel1.relative: 0.5 0.0;
}
}
}
}
group { name: "elm/popup/buttons3/popup/default";
alias: "elm/popup/buttons3/popup/transparent";
data.item: "action_area_height" "80";
parts{
part{ name:"elm.swallow.content.button1"; type: SWALLOW;
description { state: "default" 0.0;
rel2.relative: (1/3) 1.0;
}
}
part{ name:"elm.swallow.content.button2"; type: SWALLOW;
description { state: "default" 0.0;
rel1.relative: 1.0 0.0;
rel1.to: "elm.swallow.content.button1";
rel2.relative: 0.0 1.0;
rel2.to: "elm.swallow.content.button3";
}
}
part{ name:"elm.swallow.content.button3"; type: SWALLOW;
description { state: "default" 0.0;
rel1.relative: (2/3) 0.0;
}
}
}
}
group { name: "elm/popup/item/popup/default";
inherit: "elm/list/item/default";
parts {
part { name: "elm.swallow.content"; type: SWALLOW;
insert_after: "elm.swallow.icon";
description { state: "default" 0.0;
fixed: 0 1;
rel1.to: "elm.swallow.icon";
rel2.to: "elm.swallow.icon";
}
}
}
programs {
program {
signal: "mouse,down,1"; source: "event";
action: SIGNAL_EMIT "elm,state,selected" "elm";
}
program {
signal: "mouse,up,1"; source: "event";
action: SIGNAL_EMIT "elm,state,unselected" "elm";
}
program {
signal: "mouse,clicked,1"; source: "event";
action: SIGNAL_EMIT "elm,action,click" "elm";
}
}
}

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,272 @@
group { name: "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:"elm.swallow.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:"elm.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:"elm.swallow.content", "visible", 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:"elm.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:"elm.swallow.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:"elm.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);
}
}
}
}
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: "elm.swallow.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.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;
fixed: 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: "elm.swallow.content";
rel2.to: "elm.swallow.content";
text {
min: 1 1;
text: "M";
}
}
description { state: "icononly" 0.0;
inherit: "default" 0.0;
rel1.to: "elm.swallow.content";
rel2.to: "elm.swallow.content";
text {
min: 1 1;
text: "M";
}
}
}
part { name: "elm.text"; type: TEXT; mouse_events: 0;
effect: SHADOW BOTTOM;
scale: 1;
description { state: "default" 0.0;
rel1.offset: 2 2;
rel1.to_x: "elm.swallow.content";
rel1.relative: 1.0 0.0;
rel2.offset: -3 -3;
color: 255 255 255 255;
color3: 0 0 0 128;
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: 21 21 21 255;
color3: 255 255 255 25;
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
visible: 1;
text.min: 1 1;
}
description { state: "disabled_visible" 0.0;
inherit: "default" 0.0;
color: 21 21 21 255;
color3: 255 255 255 25;
visible: 1;
text.min: 1 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 "elm,action,radio,toggle" "elm";
}
program {
signal: "elm,state,radio,on"; source: "elm";
action: STATE_SET "selected" 0.0;
target: "indicator";
}
program {
signal: "elm,state,radio,off"; source: "elm";
action: STATE_SET "default" 0.0;
target: "indicator";
}
program {
signal: "elm,state,text,visible"; source: "elm";
script {
new m = get_int(btmode);
m |= LABEL; set_int(btmode, m);
eval_mode(m);
}
}
program {
signal: "elm,state,text,hidden"; source: "elm";
script {
new m = get_int(btmode);
m &= ~LABEL; set_int(btmode, m);
eval_mode(m);
}
}
program {
signal: "elm,state,icon,visible"; source: "elm";
script {
new m = get_int(btmode);
m |= ICON; set_int(btmode, m);
eval_mode(m);
}
}
program {
signal: "elm,state,icon,hidden"; source: "elm";
script {
new m = get_int(btmode);
m &= ~ICON; set_int(btmode, m);
eval_mode(m);
}
}
program {
signal: "elm,state,disabled"; source: "elm";
script {
new m = get_int(btmode);
m |= DISABLE; set_int(btmode, m);
eval_mode(m);
}
}
program {
signal: "elm,state,enabled"; source: "elm";
script {
new m = get_int(btmode);
m &= ~DISABLE; set_int(btmode, m);
eval_mode(m);
}
}
}
#undef ICON
#undef LABEL
#undef MASK
#undef DISABLE
}

View File

@ -0,0 +1,756 @@
group { name: "elm/scroller/base/default";
alias: "elm/list/base/default";
alias: "elm/genlist/base/default";
alias: "elm/gengrid/base/default";
alias: "elm/scroller/base/map_bubble";
alias: "elm/genscroller/base/default";
alias: "elm/scroller/base/popup/default";
alias: "elm/scroller/base/popup/transparent";
images.image: "inset_shadow.png" COMP;
images.image: "bevel_in.png" COMP;
images.image: "bevel_out.png" COMP;
images.image: "runner_horiz.png" COMP;
images.image: "runner_vert.png" COMP;
images.image: "runner_glow_horiz.png" COMP;
images.image: "runner_glow_vert.png" COMP;
images.image: "holes_tiny_horiz.png" COMP;
images.image: "holes_tiny_vert.png" COMP;
images.image: "holes_tiny_glow_horiz.png" COMP;
images.image: "holes_tiny_glow_vert.png" COMP;
images.image: "vgrad_med_lighter.png" COMP;
images.image: "shadow_square_tiny.png" COMP;
images.image: "glow_small.png" COMP;
images.image: "sym_left_light_normal.png" COMP;
images.image: "sym_right_light_normal.png" COMP;
images.image: "sym_up_light_normal.png" COMP;
images.image: "sym_down_light_normal.png" COMP;
images.image: "sym_left_glow_normal.png" COMP;
images.image: "sym_right_glow_normal.png" COMP;
images.image: "sym_up_glow_normal.png" COMP;
images.image: "sym_down_glow_normal.png" COMP;
data.item: "focus_highlight" "on";
parts {
program {
signal: "load"; source: "";
script {
emit("reload", "elm");
}
}
// vert bar ////////////////////////////////////////////////////////////////
part { name: "sb_vbar_show"; type: RECT;
scale: 1;
description { state: "default" 0.0;
// rel1.offset: -11 -11;
// rel2.offset: 10 10;
}
description { state: "hidden" 0.0;
inherit: "default" 0.0;
visible: 0;
}
}
part { name: "sb_vbar"; type: RECT;
scale: 1;
description { state: "default" 0.0;
fixed: 1 0;
min: 15 15;
align: 1.0 0.0;
rel1.relative: 1.0 0.0;
rel1.offset: -1 0;
rel2.relative: 1.0 0.0;
rel2.to_y: "sb_hbar";
}
description { state: "hidden" 0.0;
inherit: "default" 0.0;
min: 0 0;
max: 0 99999;
}
}
part { name: "sb_vbar_base"; type: RECT;
clip_to: "sb_vbar";
description { state: "default" 0.0;
color: 0 0 0 0;
rel1.relative: 0.0 1.0;
rel1.to: "sb_vbar_a1";
rel2.relative: 1.0 0.0;
rel2.to: "sb_vbar_a2";
}
}
part { name: "sb_vbar_p1"; type: RECT;
clip_to: "sb_vbar";
description { state: "default" 0.0;
color: 0 0 0 0;
rel1.relative: 0.0 1.0;
rel1.to: "sb_vbar_a1";
rel2.relative: 1.0 0.0;
rel2.to: "elm.dragable.vbar";
}
}
part { name: "sb_vbar_p2"; type: RECT;
clip_to: "sb_vbar";
description { state: "default" 0.0;
color: 0 0 0 0;
rel1.relative: 0.0 1.0;
rel1.to: "elm.dragable.vbar";
rel2.relative: 1.0 0.0;
rel2.to: "sb_vbar_a2";
}
}
part { name: "elm.dragable.vbar"; type: RECT;
clip_to: "sb_vbar";
scale: 1;
dragable.x: 0 0 0;
dragable.y: 1 1 0;
dragable.confine: "sb_vbar_base";
description { state: "default" 0.0;
fixed: 1 1;
min: 15 15;
rel1.relative: 0.5 0.5;
rel1.to: "sb_vbar_base";
rel2.relative: 0.5 0.5;
rel2.to: "sb_vbar_base";
color: 0 0 0 0;
}
}
part { name: "sb_vbar_a1"; type: RECT;
clip_to: "sb_vbar";
description { state: "default" 0.0;
fixed: 1 1;
min: 15 15;
align: 0.5 0.0;
aspect: 1.0 1.0; aspect_preference: HORIZONTAL;
color: 0 0 0 0;
rel1.to: "sb_vbar";
rel2.to: "sb_vbar";
rel2.relative: 1.0 0.0;
rel2.offset: -1 0;
}
}
part { name: "sb_vbar_a2"; type: RECT;
clip_to: "sb_vbar";
description { state: "default" 0.0;
fixed: 1 1;
min: 15 15;
align: 0.5 1.0;
aspect: 1.0 1.0; aspect_preference: HORIZONTAL;
color: 0 0 0 0;
rel1.to: "sb_vbar";
rel1.offset: 0 -1;
rel1.relative: 0.0 1.0;
rel2.to: "sb_vbar";
}
}
program {
signal: "elm,action,show,vbar"; source: "elm";
action: STATE_SET "default" 0.0;
target: "sb_vbar";
target: "sb_vbar_show";
}
program {
signal: "elm,action,hide,vbar"; source: "elm";
action: STATE_SET "hidden" 0.0;
target: "sb_vbar";
target: "sb_vbar_show";
}
program {
signal: "mouse,down,1*"; source: "sb_vbar_a1";
action: STATE_SET "clicked" 0.0;
target: "sb_vbar_a1";
target: "arrow1_vbar";
}
program {
signal: "mouse,down,1*"; source: "sb_vbar_a1";
action: DRAG_VAL_STEP 0.0 -1.0;
target: "elm.dragable.vbar";
}
program {
signal: "mouse,up,1"; source: "sb_vbar_a1";
action: STATE_SET "default" 0.0;
target: "sb_vbar_a1";
target: "arrow1_vbar";
}
program {
signal: "mouse,down,1*"; source: "sb_vbar_a2";
action: STATE_SET "clicked" 0.0;
target: "sb_vbar_a2";
target: "arrow2_vbar";
}
program {
signal: "mouse,down,1*"; source: "sb_vbar_a2";
action: DRAG_VAL_STEP 0.0 1.0;
target: "elm.dragable.vbar";
}
program {
signal: "mouse,up,1"; source: "sb_vbar_a2";
action: STATE_SET "default" 0.0;
target: "sb_vbar_a2";
target: "arrow2_vbar";
}
program {
signal: "mouse,down,1*"; source: "sb_vbar_p1";
action: DRAG_VAL_PAGE 0.0 -1.0;
target: "elm.dragable.vbar";
}
program {
signal: "mouse,down,1*"; source: "sb_vbar_p2";
action: DRAG_VAL_PAGE 0.0 1.0;
target: "elm.dragable.vbar";
}
// horiz bar /////////////////////////////////////////////////////////////
part { name: "sb_hbar_show"; type: RECT;
scale: 1;
description { state: "default" 0.0;
// rel1.offset: -11 -11;
// rel2.offset: 10 10;
}
description { state: "hidden" 0.0;
inherit: "default" 0.0;
visible: 0;
}
}
part { name: "sb_hbar"; type: RECT; mouse_events: 0;
scale: 1;
description { state: "default" 0.0;
fixed: 0 1;
min: 15 15;
align: 0.0 1.0;
rel1.relative: 0.0 1.0;
rel1.offset: 0 -1;
rel2.relative: 0.0 1.0;
rel2.to_x: "sb_vbar";
}
description { state: "hidden" 0.0;
inherit: "default" 0.0;
min: 0 0;
max: 99999 0;
}
}
part { name: "sb_hbar_base"; type: RECT;
clip_to: "sb_hbar";
description { state: "default" 0.0;
color: 0 0 0 0;
rel1.relative: 1.0 0.0;
rel1.to: "sb_hbar_a1";
rel2.relative: 0.0 1.0;
rel2.to: "sb_hbar_a2";
}
}
part { name: "sb_hbar_p1"; type: RECT;
clip_to: "sb_hbar";
description { state: "default" 0.0;
color: 0 0 0 0;
rel1.relative: 1.0 0.0;
rel1.to: "sb_hbar_a1";
rel2.relative: 0.0 1.0;
rel2.to: "elm.dragable.hbar";
}
}
part { name: "sb_hbar_p2"; type: RECT;
clip_to: "sb_hbar";
description { state: "default" 0.0;
color: 0 0 0 0;
rel1.relative: 1.0 0.0;
rel1.to: "elm.dragable.hbar";
rel2.relative: 0.0 1.0;
rel2.to: "sb_hbar_a2";
}
}
part { name: "elm.dragable.hbar"; type: RECT;
clip_to: "sb_hbar";
scale: 1;
dragable.x: 1 1 0;
dragable.y: 0 0 0;
dragable.confine: "sb_hbar_base";
description { state: "default" 0.0;
fixed: 1 1;
min: 15 15;
rel1.relative: 0.5 0.5;
rel1.to: "sb_hbar_base";
rel2.relative: 0.5 0.5;
rel2.to: "sb_hbar_base";
color: 0 0 0 0;
}
}
part { name: "sb_hbar_a1"; type: RECT;
clip_to: "sb_hbar";
description { state: "default" 0.0;
fixed: 1 1;
min: 15 15;
align: 0.0 0.5;
aspect: 1.0 1.0; aspect_preference: VERTICAL;
color: 0 0 0 0;
rel1.to: "sb_hbar";
rel2.to: "sb_hbar";
rel2.relative: 0.0 1.0;
rel2.offset: 0 -1;
}
}
part { name: "sb_hbar_a2"; type: RECT;
clip_to: "sb_hbar";
description { state: "default" 0.0;
fixed: 1 1;
min: 15 15;
align: 1.0 0.5;
aspect: 1.0 1.0; aspect_preference: VERTICAL;
color: 0 0 0 0;
rel1.to: "sb_hbar";
rel1.offset: -1 0;
rel1.relative: 1.0 0.0;
rel2.to: "sb_hbar";
}
}
program {
signal: "elm,action,show,hbar"; source: "elm";
action: STATE_SET "default" 0.0;
target: "sb_hbar";
target: "sb_hbar_show";
}
program {
signal: "elm,action,hide,hbar"; source: "elm";
action: STATE_SET "hidden" 0.0;
target: "sb_hbar";
target: "sb_hbar_show";
}
program {
signal: "mouse,down,1*"; source: "sb_hbar_a1";
action: STATE_SET "clicked" 0.0;
target: "sb_hbar_a1";
target: "arrow1_hbar";
}
program {
signal: "mouse,down,1*"; source: "sb_hbar_a1";
action: DRAG_VAL_STEP -1.0 0.0;
target: "elm.dragable.hbar";
}
program {
signal: "mouse,up,1"; source: "sb_hbar_a1";
action: STATE_SET "default" 0.0;
target: "sb_hbar_a1";
target: "arrow1_hbar";
}
program {
signal: "mouse,down,1*"; source: "sb_hbar_a2";
action: STATE_SET "clicked" 0.0;
target: "sb_hbar_a2";
target: "arrow2_hbar";
}
program {
signal: "mouse,down,1*"; source: "sb_hbar_a2";
action: DRAG_VAL_STEP 1.0 0.0;
target: "elm.dragable.hbar";
}
program {
signal: "mouse,up,1"; source: "sb_hbar_a2";
action: STATE_SET "default" 0.0;
target: "sb_hbar_a2";
target: "arrow2_hbar";
}
program {
signal: "mouse,down,1*"; source: "sb_hbar_p1";
action: DRAG_VAL_PAGE -1.0 0.0;
target: "elm.dragable.hbar";
}
program {
signal: "mouse,down,1*"; source: "sb_hbar_p2";
action: DRAG_VAL_PAGE 1.0 0.0;
target: "elm.dragable.hbar";
}
part { name: "bg"; type: RECT;
description { state: "default" 0.0;
rel1.to: "elm.swallow.background";
rel2.to: "elm.swallow.background";
// color: 64 64 64 200;
color: 0 0 0 0;
color_class: "scrollframe_base";
}
}
part { name: "clipper"; type: RECT;
description { state: "default" 0.0;
rel1.to: "elm.swallow.background";
rel2.to: "elm.swallow.background";
}
}
part { name: "elm.swallow.background"; type: SWALLOW;
clip_to: "clipper";
description { state: "default" 0.0;
rel1.offset: 1 1;
rel2.relative: 0.0 0.0;
rel2.offset: -2 -2;
rel2.to_x: "sb_vbar";
rel2.to_y: "sb_hbar";
}
}
part { name: "elm.swallow.content"; type: SWALLOW;
clip_to: "clipper";
description { state: "default" 0.0;
rel1.offset: 1 1;
rel2.relative: 0.0 0.0;
rel2.offset: -2 -2;
rel2.to_x: "sb_vbar";
rel2.to_y: "sb_hbar";
}
}
part { name: "inset"; mouse_events: 0;
description { state: "default" 0.0;
image.normal: "bevel_in.png";
image.border: 1 1 1 1;
image.middle: 0;
rel1.to: "bg";
rel1.offset: -1 -1;
rel2.to: "bg";
rel2.offset: 0 0;
fill.smooth: 0;
}
}
part { name: "shadow"; mouse_events: 0;
description { state: "default" 0.0;
image.normal: "inset_shadow.png";
image.border: 5 5 7 3;
image.middle: 0;
rel1.to: "bg";
rel2.to: "bg";
fill.smooth: 0;
color: 255 255 255 128;
}
}
part { name: "elm.swallow.overlay"; type: SWALLOW;
clip_to: "clipper";
description { state: "default" 0.0;
rel1.to: "elm.swallow.content";
rel2.to: "elm.swallow.content";
}
}
part { name: "runner_vbar"; mouse_events: 0;
clip_to: "sb_vbar_show";
description { state: "default" 0.0;
image.normal: "runner_vert.png";
image.border: 0 0 2 2;
rel1.to: "sb_vbar_base";
rel2.to: "sb_vbar_base";
fill.smooth: 0;
min: 3 4;
max: 3 99999;
}
}
part { name: "runner_hbar"; mouse_events: 0;
clip_to: "sb_hbar_show";
description { state: "default" 0.0;
image.normal: "runner_horiz.png";
image.border: 2 2 0 0;
rel1.to: "sb_hbar_base";
rel2.to: "sb_hbar_base";
fill.smooth: 0;
min: 4 3;
max: 99999 3;
}
}
part { name: "runner_vbar_clip"; type: RECT;
clip_to: "sb_vbar_show";
description { state: "default" 0.0;
min: 1 1;
max: 1 99999;
rel1.to: "runner_vbar";
rel1.offset: 0 1;
rel2.to: "runner_vbar";
rel2.offset: -1 -2;
}
}
part { name: "runner_hbar_clip"; type: RECT;
clip_to: "sb_hbar_show";
description { state: "default" 0.0;
min: 1 1;
max: 99999 1;
rel1.to: "runner_hbar";
rel1.offset: 1 0;
rel2.to: "runner_hbar";
rel2.offset: -2 -1;
}
}
part { name: "arrow1_vbar"; mouse_events: 0;
clip_to: "sb_vbar_show";
description { state: "default" 0.0;
rel1.to: "sb_vbar_a1";
rel2.to: "sb_vbar_a1";
image.normal: "sym_up_light_normal.png";
FIXED_SIZE(15, 15)
}
description { state: "clicked" 0.0;
inherit: "default" 0.0;
image.normal: "sym_up_glow_normal.png";
}
}
part { name: "arrow2_vbar"; mouse_events: 0;
clip_to: "sb_vbar_show";
description { state: "default" 0.0;
rel1.to: "sb_vbar_a2";
rel2.to: "sb_vbar_a2";
image.normal: "sym_down_light_normal.png";
FIXED_SIZE(15, 15)
}
description { state: "clicked" 0.0;
inherit: "default" 0.0;
image.normal: "sym_down_glow_normal.png";
}
}
part { name: "shadow_vbar"; mouse_events: 0;
clip_to: "sb_vbar_show";
description { state: "default" 0.0;
rel1.offset: -3 -2;
rel1.to: "base_vbar";
rel2.offset: 2 4;
rel2.to: "base_vbar";
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_vbar"; mouse_events: 0;
clip_to: "sb_vbar_show";
description { state: "default" 0.0;
rel1.offset: -3 -3;
rel1.to: "base_vbar";
rel2.offset: 2 2;
rel2.to: "base_vbar";
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: "runner_glow_vbar"; mouse_events: 0;
clip_to: "runner_vbar_clip";
description { state: "default" 0.0;
rel1.offset: 0 -30;
rel1.to_x: "runner_vbar_clip";
rel1.to_y: "base_vbar";
rel2.offset: -1 29;
rel2.to_x: "runner_vbar_clip";
rel2.to_y: "base_vbar";
image.normal: "runner_glow_vert.png";
image.border: 0 0 33 33;
}
}
part { name: "base_vbar"; mouse_events: 0;
clip_to: "sb_vbar_show";
description { state: "default" 0.0;
fixed: 1 1;
rel1.offset: 2 0;
rel1.to: "elm.dragable.vbar";
rel2.offset: -3 -1;
rel2.to: "elm.dragable.vbar";
image.normal: "vgrad_med_lighter.png";
fill.smooth: 0;
min: 3 13;
TILED_HORIZ(120)
}
}
part { name: "bevel_vbar"; mouse_events: 0;
clip_to: "sb_vbar_show";
description { state: "default" 0.0;
rel1.to: "base_vbar";
rel2.to: "base_vbar";
image.normal: "bevel_out.png";
image.border: 1 1 1 1;
image.middle: 0;
fill.smooth: 0;
min: 3 3;
}
}
part { name: "center_vbar"; mouse_events: 0;
clip_to: "sb_vbar_show";
description { state: "default" 0.0;
rel1.to: "base_vbar";
rel2.to: "base_vbar";
image.normal: "holes_tiny_vert.png";
FIXED_SIZE(3, 11)
}
}
part { name: "center_glow_vbar"; mouse_events: 0;
clip_to: "sb_vbar_show";
description { state: "default" 0.0;
rel1.to: "center_vbar";
rel2.to: "center_vbar";
image.normal: "holes_tiny_glow_vert.png";
FIXED_SIZE(11, 17)
visible: 0;
}
description { state: "clicked" 0.0;
inherit: "default" 0.0;
visible: 1;
}
}
part { name: "arrow1_hbar"; mouse_events: 0;
clip_to: "sb_hbar_show";
description { state: "default" 0.0;
rel1.to: "sb_hbar_a1";
rel2.to: "sb_hbar_a1";
image.normal: "sym_left_light_normal.png";
FIXED_SIZE(15, 15)
}
description { state: "clicked" 0.0;
inherit: "default" 0.0;
image.normal: "sym_left_glow_normal.png";
}
}
part { name: "arrow2_hbar"; mouse_events: 0;
clip_to: "sb_hbar_show";
description { state: "default" 0.0;
rel1.to: "sb_hbar_a2";
rel2.to: "sb_hbar_a2";
image.normal: "sym_right_light_normal.png";
FIXED_SIZE(15, 15)
}
description { state: "clicked" 0.0;
inherit: "default" 0.0;
image.normal: "sym_right_glow_normal.png";
}
}
part { name: "shadow_hbar"; mouse_events: 0;
clip_to: "sb_hbar_show";
description { state: "default" 0.0;
rel1.offset: -3 -2;
rel1.to: "base_hbar";
rel2.offset: 2 4;
rel2.to: "base_hbar";
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_hbar"; mouse_events: 0;
clip_to: "sb_hbar_show";
description { state: "default" 0.0;
rel1.offset: -3 -3;
rel1.to: "base_hbar";
rel2.offset: 2 2;
rel2.to: "base_hbar";
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: "runner_glow_hbar"; mouse_events: 0;
clip_to: "runner_hbar_clip";
description { state: "default" 0.0;
rel1.offset: -30 0;
rel1.to_x: "base_hbar";
rel1.to_y: "runner_hbar_clip";
rel2.offset: 29 -1;
rel2.to_x: "base_hbar";
rel2.to_y: "runner_hbar_clip";
image.normal: "runner_glow_horiz.png";
image.border: 33 33 0 0;
}
}
part { name: "base_hbar"; mouse_events: 0;
clip_to: "sb_hbar_show";
description { state: "default" 0.0;
fixed: 1 1;
rel1.offset: 0 2;
rel1.to: "elm.dragable.hbar";
rel2.offset: -1 -3;
rel2.to: "elm.dragable.hbar";
image.normal: "vgrad_med_lighter.png";
fill.smooth: 0;
min: 13 3;
TILED_HORIZ(120)
}
}
part { name: "bevel_hbar"; mouse_events: 0;
clip_to: "sb_hbar_show";
description { state: "default" 0.0;
rel1.to: "base_hbar";
rel2.to: "base_hbar";
image.normal: "bevel_out.png";
image.border: 1 1 1 1;
image.middle: 0;
fill.smooth: 0;
min: 3 3;
}
}
part { name: "center_hbar"; mouse_events: 0;
clip_to: "sb_hbar_show";
description { state: "default" 0.0;
rel1.to: "base_hbar";
rel2.to: "base_hbar";
image.normal: "holes_tiny_horiz.png";
FIXED_SIZE(11, 3)
}
}
part { name: "center_glow_hbar"; mouse_events: 0;
clip_to: "sb_hbar_show";
description { state: "default" 0.0;
rel1.to: "center_hbar";
rel2.to: "center_hbar";
image.normal: "holes_tiny_glow_horiz.png";
FIXED_SIZE(17, 11)
visible: 0;
}
description { state: "clicked" 0.0;
inherit: "default" 0.0;
visible: 1;
}
}
}
programs {
program {
signal: "mouse,down,1*"; source: "elm.dragable.vbar";
action: STATE_SET "clicked" 0.0;
target: "elm.dragable.vbar";
target: "shadow_vbar";
target: "glow_vbar";
target: "center_glow_vbar";
}
program {
signal: "mouse,up,1"; source: "elm.dragable.vbar";
action: STATE_SET "default" 0.0;
target: "elm.dragable.vbar";
target: "shadow_vbar";
target: "glow_vbar";
target: "center_glow_vbar";
}
program {
signal: "mouse,down,1*"; source: "elm.dragable.hbar";
action: STATE_SET "clicked" 0.0;
target: "elm.dragable.hbar";
target: "shadow_hbar";
target: "glow_hbar";
target: "center_glow_hbar";
}
program {
signal: "mouse,up,1"; source: "elm.dragable.hbar";
action: STATE_SET "default" 0.0;
target: "elm.dragable.hbar";
target: "shadow_hbar";
target: "glow_hbar";
target: "center_glow_hbar";
}
}
}

View File

@ -0,0 +1,440 @@
///////////////////////////////////////////////////////////////////////////////
group { name: "elm/segment_control/base/default";
#define SEGMENT_TYPE_SINGLE 1
#define SEGMENT_TYPE_LEFT 2
#define SEGMENT_TYPE_MIDDLE 3
#define SEGMENT_TYPE_RIGHT 4
#define SEGMENT_STATE_NORMAL 1
#define SEGMENT_STATE_PRESSED 2
#define SEGMENT_STATE_SELECTED 3
#define SEGMENT_STATUS_ENABLED 0
#define SEGMENT_STATUS_DISABLED 1
parts {
part { name: "bg";
type: RECT;
mouse_events: 0;
description {
state: "default" 0.0;
color: 0 0 0 0;
min: 160 31;
}
}
}
}
group { name: "elm/segment_control/item/default";
images {
image: "day_single_press.png" COMP;
image: "day_single_selected.png" COMP;
image: "day_single_normal.png" COMP;
image: "day_left_press.png" COMP;
image: "day_left_selected.png" COMP;
image: "day_left_normal.png" COMP;
image: "day_middle_press.png" COMP;
image: "day_middle_selected.png" COMP;
image: "day_middle_normal.png" COMP;
image: "day_right_press.png" COMP;
image: "day_right_selected.png" COMP;
image: "day_right_normal.png" COMP;
}
parts {
part { name: "segment";
scale: 1;
description { state: "default" 0.0;
visible: 0;
image {
normal: "day_single_normal.png";
border: 4 4 3 5;
}
}
description { state: "default_single" 0.0;
inherit: "default" 0.0;
visible: 1;
}
description { state: "default_left" 0.0;
inherit: "default" 0.0;
visible: 1;
image {
normal: "day_left_normal.png";
border: 4 1 3 5;
}
}
description { state: "default_right" 0.0;
inherit: "default" 0.0;
visible: 1;
image {
normal: "day_right_normal.png";
border: 1 4 3 5;
}
}
description { state: "default_middle" 0.0;
inherit: "default" 0.0;
visible: 1;
image {
normal: "day_middle_normal.png";
border: 1 1 3 5;
}
}
description { state: "pressed_single" 0.0;
inherit: "default" 0.0;
visible: 1;
image {
normal: "day_single_press.png";
border: 4 4 3 5;
}
}
description { state: "pressed_left" 0.0;
inherit: "default" 0.0;
visible: 1;
image {
normal: "day_left_press.png";
border: 4 1 3 5;
}
}
description { state: "pressed_right" 0.0;
inherit: "default" 0.0;
visible: 1;
image {
normal: "day_right_press.png";
border: 1 4 3 5;
}
}
description { state: "pressed_middle" 0.0;
inherit: "default" 0.0;
visible: 1;
image {
normal: "day_middle_press.png";
border: 1 1 3 5;
}
}
description { state: "selected_single" 0.0;
inherit: "default" 0.0;
visible: 1;
image {
normal: "day_single_selected.png";
border: 4 4 3 5;
}
}
description { state: "selected_left" 0.0;
inherit: "default" 0.0;
visible: 1;
image {
normal: "day_left_selected.png";
border: 4 1 3 5;
}
}
description { state: "selected_right" 0.0;
inherit: "default" 0.0;
visible: 1;
image {
normal: "day_right_selected.png";
border: 1 4 3 5;
}
}
description { state: "selected_middle" 0.0;
inherit: "default" 0.0;
visible: 1;
image {
normal: "day_middle_selected.png";
border: 1 1 3 5;
}
}
}
part { name: "elm.swallow.icon";
type: SWALLOW;
scale: 1;
clip_to: "disabler";
description { state: "default" 0.0;
align: 0.5 0.5;
rel1.offset: 10 3;
rel2.relative: 0.0 1.0;
aspect: 1.0 1.0;
aspect_preference: BOTH;
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
rel2.relative: 0.25 1.0;
rel2.offset: -5 -4;
}
description { state: "icononly" 0.0;
inherit: "default" 0.0;
rel1.offset: 5 2;
rel2.relative: 1.0 1.0;
rel2.offset: -5 -4;
}
}
part { name: "elm.text";
type: TEXT;
mouse_events: 0;
scale: 1;
effect: SHADOW BOTTOM;
description {
state: "default" 0.0;
visible: 0;
fixed: 1 1;
min: 1 1;
rel1 {
to_x: "elm.swallow.icon";
relative: 1.0 0.0;
offset: 0 -1;
}
rel2.offset: -6 -2;
color: FN_COL_DEFAULT;
text {
font: FN;
size: 10;
min: 0 1;
text_class: "button";
}
}
description { state: "normal" 0.0;
inherit: "default" 0.0;
visible: 1;
}
description { state: "pressed" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255;
color3: 255 255 255 0;
visible: 1;
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
visible: 1;
color: FN_COL_DISABLE;
}
}
part { name: "text2";
type: TEXT;
mouse_events: 0;
scale: 1;
effect: GLOW;
description {
state: "default" 0.0;
visible: 0;
fixed: 1 1;
min: 1 1;
rel1.to: "elm.text";
rel2.to: "elm.text";
text {
font: FN;
size: 10;
min: 0 1;
text_source: "elm.text";
text_class: "button";
}
color: 255 255 255 255;
color2: 255 255 255 24;
color3: 255 255 255 18;
}
description { state: "selected" 0.0;
inherit: "default" 0.0;
visible: 1;
}
}
part { name: "disabler";
type: RECT;
description { state: "default" 0.0;
rel1.to: "segment";
rel2.to: "segment";
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
color: 255 255 255 64;
}
}
}
programs {
script {
public seg_type; // Single, Left, Middle, Right.
public seg_state; // Normal/Default, Pressed, Selected.
public seg_status;// Enabled/Default, Disabled
public update_state() {
new type, state, status;
type = get_int(seg_type);
state = get_int(seg_state);
status = get_int(seg_status);
if (status == SEGMENT_STATUS_ENABLED) {
if(state == SEGMENT_STATE_NORMAL) {
if(type == SEGMENT_TYPE_SINGLE)
set_state(PART:"segment", "default_single", 0.0);
else if(type == SEGMENT_TYPE_LEFT)
set_state(PART:"segment", "default_left", 0.0);
else if(type == SEGMENT_TYPE_MIDDLE)
set_state(PART:"segment", "default_middle", 0.0);
else if(type == SEGMENT_TYPE_RIGHT)
set_state(PART:"segment", "default_right", 0.0);
set_state(PART:"elm.text", "normal", 0.0);
set_state(PART:"text2", "default", 0.0);
} else if(state == SEGMENT_STATE_PRESSED) {
if(type == SEGMENT_TYPE_SINGLE)
set_state(PART:"segment", "pressed_single", 0.0);
else if(type == SEGMENT_TYPE_LEFT)
set_state(PART:"segment", "pressed_left", 0.0);
else if(type == SEGMENT_TYPE_MIDDLE)
set_state(PART:"segment", "pressed_middle", 0.0);
else if(type == SEGMENT_TYPE_RIGHT)
set_state(PART:"segment", "pressed_right", 0.0);
set_state(PART:"elm.text", "pressed", 0.0);
set_state(PART:"text2", "default", 0.0);
} else if(state == SEGMENT_STATE_SELECTED) {
if(type == SEGMENT_TYPE_SINGLE)
set_state(PART:"segment", "selected_single", 0.0);
else if(type == SEGMENT_TYPE_LEFT)
set_state(PART:"segment", "selected_left", 0.0);
else if(type == SEGMENT_TYPE_MIDDLE)
set_state(PART:"segment", "selected_middle", 0.0);
else if(type == SEGMENT_TYPE_RIGHT)
set_state(PART:"segment", "selected_right", 0.0);
set_state(PART:"elm.text", "default", 0.0);
set_state(PART:"text2", "selected", 0.0);
}
set_state(PART:"disabler", "default", 0.0);
} else {
set_state(PART:"elm.text", "disabled", 0.0);
set_state(PART:"text2", "normal", 0.0);
set_state(PART:"disabler", "disabled", 0.0);
if(type == SEGMENT_TYPE_SINGLE)
set_state(PART:"segment", "default_single", 0.0);
else if(type == SEGMENT_TYPE_LEFT)
set_state(PART:"segment", "default_left", 0.0);
else if(type == SEGMENT_TYPE_MIDDLE)
set_state(PART:"segment", "default_middle", 0.0);
else if(type == SEGMENT_TYPE_RIGHT)
set_state(PART:"segment", "default_right", 0.0);
}
}
}
program {
name: "segment_type_s";
signal: "elm,type,segment,single";
source: "elm";
script {
set_int(seg_type, SEGMENT_TYPE_SINGLE);
update_state();
}
}
program {
name: "segment_type_l";
signal: "elm,type,segment,left";
source: "elm";
script {
set_int(seg_type, SEGMENT_TYPE_LEFT);
update_state();
}
}
program {
name: "segment_type_m";
signal: "elm,type,segment,middle";
source: "elm";
script {
set_int(seg_type, SEGMENT_TYPE_MIDDLE);
update_state();
}
}
program {
name: "segment_type_r";
signal: "elm,type,segment,right";
source: "elm";
script {
set_int(seg_type, SEGMENT_TYPE_RIGHT);
update_state();
}
}
program {
name: "normal_segment";
signal: "elm,state,segment,normal";
source: "elm";
script {
set_int(seg_state, SEGMENT_STATE_NORMAL);
update_state();
}
}
program {
name: "pressed_segment";
signal: "elm,state,segment,pressed";
source: "elm";
script {
set_int(seg_state, SEGMENT_STATE_PRESSED);
update_state();
}
}
program {
name: "selected_segment";
signal: "elm,state,segment,selected";
source: "elm";
script {
set_int(seg_state, SEGMENT_STATE_SELECTED);
update_state();
}
}
program { name: "disable_segment";
signal: "elm,state,disabled";
source: "elm";
script {
set_int(seg_status, SEGMENT_STATUS_DISABLED);
update_state();
}
}
program { name: "enable_segment";
signal: "elm,state,enabled";
source: "elm";
script {
set_int(seg_status, SEGMENT_STATUS_ENABLED);
update_state();
}
}
program { name: "text_show";
signal: "elm,state,text,visible";
source: "elm";
script {
new st[31];
new Float:vl;
get_state(PART:"elm.swallow.icon", st, 30, vl);
if (!strcmp(st, "icononly"))
set_state(PART:"elm.swallow.icon", "visible", 0.0);
}
}
program { name: "text_hide";
signal: "elm,state,text,hidden";
source: "elm";
script {
new st[31];
new Float:vl;
get_state(PART:"elm.swallow.icon", st, 30, vl);
if (!strcmp(st, "visible"))
set_state(PART:"elm.swallow.icon", "icononly", 0.0);
set_state(PART:"elm.text", "default", 0.0);
set_state(PART:"text2", "default", 0.0);
}
}
program { name: "icon_show";
signal: "elm,state,icon,visible";
source: "elm";
script {
new st[31];
new Float:vl;
get_state(PART:"elm.text", st, 30, vl);
if ((!strcmp(st, "normal")) || (!strcmp(st, "selected")))
set_state(PART:"elm.swallow.icon", "visible", 0.0);
else
set_state(PART:"elm.swallow.icon", "icononly", 0.0);
}
}
program { name: "icon_hide";
signal: "elm,state,icon,hidden";
source: "elm";
action: STATE_SET "default" 0.0;
target: "elm.swallow.icon";
}
}
#undef SEGMENT_TYPE_SINGLE
#undef SEGMENT_TYPE_LEFT
#undef SEGMENT_TYPE_MIDDLE
#undef SEGMENT_TYPE_RIGHT
#undef SEGMENT_STATE_NORMAL
#undef SEGMENT_STATE_PRESSED
#undef SEGMENT_STATE_SELECTED
#undef SEGMENT_STATUS_ENABLED
#undef SEGMENT_STATUS_DISABLED
}

View File

@ -0,0 +1,27 @@
group { name: "elm/separator/horizontal/default";
images.image: "bevel_dark_in.png" COMP;
parts {
part { name: "base";
description { state: "default" 0.0;
min: 2 2;
max: 99999 2;
rel1.offset: 4 4;
rel2.offset: -5 -5;
image.normal: "bevel_dark_in.png";
image.border: 2 2 2 2;
fill.smooth: 0;
}
}
}
}
group { name: "elm/separator/vertical/default";
inherit: "elm/separator/horizontal/default";
parts {
part { name: "base";
description { state: "default" 0.0;
max: 2 99999;
}
}
}
}

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,349 @@
group { name: "elm/slideshow/base/default";
data {
item: transitions "fade black_fade horizontal vertical square";
item: layouts "fullscreen not_fullscreen";
}
parts {
part { name: "whole"; type: RECT;
description { state: "default" 0.0;
color: 0 0 0 255;
}
}
part { name: "image_1_whole"; type: RECT;
description { state: "default" 0.0;
}
description { state: "fade_prev_next" 0.0;
inherit: "default" 0.0;
color: 255 255 255 0;
}
description { state: "black_fade_prev_next_init" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255;
}
description { state: "black_fade_prev_next" 0.0;
inherit: "default" 0.0;
color: 0 0 0 255;
}
description { state: "horizontal_next_init" 0.0;
inherit: "default" 0.0;
}
description { state: "horizontal_next" 0.0;
inherit: "default" 0.0;
rel1.relative: -1.0 0.0;
rel2.relative: 0.0 1.0;
}
description { state: "horizontal_prev_init" 0.0;
inherit: "default" 0.0;
}
description { state: "horizontal_prev" 0.0;
inherit: "default" 0.0;
rel1.relative: 1.0 0.0;
rel2.relative: 2.0 1.0;
}
description { state: "vertical_next_init" 0.0;
inherit: "default" 0.0;
}
description { state: "vertical_next" 0.0;
inherit: "default" 0.0;
rel1.relative: 0.0 -1.0;
rel2.relative: 1.0 0.0;
}
description { state: "vertical_prev_init" 0.0;
inherit: "default" 0.0;
}
description { state: "vertical_prev" 0.0;
inherit: "default" 0.0;
rel1.relative: 0.0 1.0;
rel2.relative: 1.0 2.0;
}
description { state: "square_prev_next" 0.0;
inherit: "default" 0.0;
color: 255 255 255 0;
}
}
part { name: "image_2_whole"; type: RECT;
description { state: "default" 0.0;
color: 255 255 255 0;
}
description { state: "fade_prev_next" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255;
}
description { state: "black_fade_prev_next_init" 0.0;
inherit: "default" 0.0;
color: 0 0 0 0;
}
description { state: "black_fade_prev_next" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255;
}
description { state: "horizontal_next_init" 0.0;
inherit: "default" 0.0;
rel1.relative: 1.0 0.0;
rel2.relative: 2.0 1.0;
color: 255 255 255 255;
}
description { state: "horizontal_next" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255;
}
description { state: "horizontal_prev_init" 0.0;
inherit: "default" 0.0;
rel1.relative: -1.0 0.0;
rel2.relative: 0.0 1.0;
color: 255 255 255 255;
}
description { state: "horizontal_prev" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255;
}
description { state: "vertical_next_init" 0.0;
inherit: "default" 0.0;
rel1.relative: 0.0 1.0;
rel2.relative: 1.0 2.0;
color: 255 255 255 255;
}
description { state: "vertical_next" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255;
}
description { state: "vertical_prev_init" 0.0;
inherit: "default" 0.0;
rel1.relative: 0.0 -1.0;
rel2.relative: 1.0 0.0;
color: 255 255 255 255;
}
description { state: "vertical_prev" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255;
}
description { state: "square_prev_next_init" 0.0;
inherit: "default" 0.0;
rel1.relative: 0.5 0.5;
rel2.relative: 0.5 0.5;
color: 255 255 255 255;
}
description { state: "square_prev_next" 0.0;
inherit: "default" 0.0;
rel1.relative: 0.0 0.0;
rel2.relative: 1.0 1.0;
color: 255 255 255 255;
}
}
part { name: "elm.swallow.1"; type: SWALLOW;
clip_to: "image_1_whole";
description { state: "default" 0.0;
rel1.to: "image_1_whole";
rel2.to: "image_1_whole";
}
description { state: "not_fullscreen" 0.0;
rel1.relative: 0.1 0.1;
rel1.to: "image_1_whole";
rel2.relative: 0.9 0.9;
rel2.to: "image_1_whole";
}
}
part { name: "elm.swallow.2"; type: SWALLOW;
clip_to: "image_2_whole";
description {
state: "default" 0.0;
rel1.to: "image_2_whole";
rel2.to: "image_2_whole";
}
description { state: "not_fullscreen" 0.0;
rel1.relative: 0.1 0.1;
rel1.to: "image_2_whole";
rel2.relative: 0.9 0.9;
rel2.to: "image_2_whole";
}
}
part { name: "events_catcher"; type: RECT; repeat_events: 1;
description { state: "default" 0.0;
color: 0 0 0 0;
}
}
}
programs {
program {
signal: "elm,layout,fullscreen"; source: "elm";
action: STATE_SET "default" 0.0;
target: "elm.swallow.1";
target: "elm.swallow.2";
transition: SINUSOIDAL 1.0;
}
program {
signal: "elm,layout,not_fullscreen"; source: "elm";
action: STATE_SET "not_fullscreen" 0.0;
target: "elm.swallow.1";
target: "elm.swallow.2";
transition: SINUSOIDAL 1.0;
}
//
program {
signal: "elm,fade,next"; source: "elm";
action: STATE_SET "default" 0.0;
target: "image_1_whole";
target: "image_2_whole";
after: "fade_next_2";
}
program { name: "fade_next_2";
action: STATE_SET "fade_prev_next" 0.0;
target: "image_1_whole";
target: "image_2_whole";
transition: SINUSOIDAL 1.5;
after: "end";
}
program {
signal: "elm,fade,previous"; source: "elm";
action: STATE_SET "default" 0.0;
target: "image_1_whole";
target: "image_2_whole";
after: "fade_previous_2";
}
program { name: "fade_previous_2";
action: STATE_SET "fade_prev_next" 0.0;
target: "image_1_whole";
target: "image_2_whole";
transition: SINUSOIDAL 1.5;
after: "end";
}
program {
signal: "elm,black_fade,next"; source: "elm";
action: STATE_SET "black_fade_prev_next_init" 0.0;
target: "image_1_whole";
target: "image_2_whole";
after: "black_fade_next_2";
}
program { name: "black_fade_next_2";
action: STATE_SET "black_fade_prev_next" 0.0;
target: "image_1_whole";
transition: SINUSOIDAL 0.75;
after: "black_fade_next_3";
}
program { name: "black_fade_next_3";
action: STATE_SET "black_fade_prev_next" 0.0;
target: "image_2_whole";
transition: SINUSOIDAL 0.75;
after: "end";
}
program {
signal: "elm,black_fade,previous"; source: "elm";
action: STATE_SET "black_fade_prev_next_init" 0.0;
target: "image_1_whole";
target: "image_2_whole";
after: "black_fade_previous_2";
}
program { name: "black_fade_previous_2";
action: STATE_SET "black_fade_prev_next" 0.0;
target: "image_1_whole";
transition: SINUSOIDAL 0.75;
after: "black_fade_previous_3";
}
program { name: "black_fade_previous_3";
action: STATE_SET "black_fade_prev_next" 0.0;
target: "image_2_whole";
transition: SINUSOIDAL 0.75;
after: "end";
}
program {
signal: "elm,horizontal,next"; source: "elm";
action: STATE_SET "horizontal_next_init" 0.0;
target: "image_1_whole";
target: "image_2_whole";
after: "horizontal_next_2";
}
program { name: "horizontal_next_2";
action: STATE_SET "horizontal_next" 0.0;
target: "image_1_whole";
target: "image_2_whole";
transition: SINUSOIDAL 1.5;
after: "end";
}
program { name: "horizontal_previous";
signal: "elm,horizontal,previous"; source: "elm";
action: STATE_SET "horizontal_prev_init" 0.0;
target: "image_1_whole";
target: "image_2_whole";
after: "horizontal_previous_2";
}
program { name: "horizontal_previous_2";
action: STATE_SET "horizontal_prev" 0.0;
target: "image_1_whole";
target: "image_2_whole";
transition: SINUSOIDAL 1.5;
after: "end";
}
program {
signal: "elm,vertical,next"; source: "elm";
action: STATE_SET "vertical_next_init" 0.0;
target: "image_1_whole";
target: "image_2_whole";
after: "vertical_next_2";
}
program { name: "vertical_next_2";
action: STATE_SET "vertical_next" 0.0;
target: "image_1_whole";
target: "image_2_whole";
transition: SINUSOIDAL 1.5;
after: "end";
}
program {
signal: "elm,vertical,previous"; source: "elm";
action: STATE_SET "vertical_prev_init" 0.0;
target: "image_1_whole";
target: "image_2_whole";
after: "vertical_previous_2";
}
program { name: "vertical_previous_2";
action: STATE_SET "vertical_prev" 0.0;
target: "image_1_whole";
target: "image_2_whole";
transition: SINUSOIDAL 1.5;
after: "end";
}
program {
signal: "elm,square,next"; source: "elm";
action: STATE_SET "square_prev_next_init" 0.0;
target: "image_2_whole";
after: "square_next_2";
}
program { name: "square_next_2";
action: STATE_SET "square_prev_next" 0.0;
target: "image_2_whole";
target: "image_1_whole";
transition: SINUSOIDAL 1.5;
after: "end";
}
program {
signal: "elm,square,previous"; source: "elm";
action: STATE_SET "square_prev_next_init" 0.0;
target: "image_2_whole";
after: "square_next_2";
}
program {
signal: "elm,none,next"; source: "elm";
action: STATE_SET "fade_prev_next" 0.0;
target: "image_1_whole";
target: "image_2_whole";
after: "end";
}
program {
signal: "elm,none,previous"; source: "elm";
action: STATE_SET "fade_prev_next" 0.0;
target: "image_1_whole";
target: "image_2_whole";
after: "end";
}
program { name: "end";
action: SIGNAL_EMIT "elm,end" "elm";
}
program {
signal: "elm,anim,end"; source: "elm";
action: STATE_SET "default" 0.0;
target: "image_1_whole";
target: "image_2_whole";
}
}
}
///////////////////////////////////////////////////////////////////////////////

View File

@ -0,0 +1,302 @@
group { name: "elm/spinner/base/default";
images.image: "vert_bar_inset.png" COMP;
images.image: "sym_left_light_normal.png" COMP;
images.image: "sym_left_glow_normal.png" COMP;
images.image: "sym_left_dark_normal.png" COMP;
images.image: "sym_right_light_normal.png" COMP;
images.image: "sym_right_glow_normal.png" COMP;
images.image: "sym_right_dark_normal.png" COMP;
parts {
part { name: "elm.text"; type: TEXT;
effect: SHADOW BOTTOM;
scale: 1;
description { state: "default" 0.0;
color: FN_COL_DEFAULT;
color_class: "spinner";
rel1.to_y: "inset";
rel1.to_x: "left";
rel1.relative: 1.0 0.0;
rel1.offset: 1 1;
rel2.to_y: "inset";
rel2.to_x: "right";
rel2.relative: 0.0 1.0;
rel2.offset: -2 -2;
text { font: FN; size: 10;
min: 1 1;
text_class: "spinner";
}
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
color: FN_COL_DISABLE;
color_class: "spinner_disabled";
}
description { state: "active" 0.0;
inherit: "default" 0.0;
visible: 0;
}
}
part { name: "elm.dragable.slider"; type: RECT;
dragable.x: 1 1 0;
dragable.y: 0 0 0;
description { state: "default" 0.0;
fixed: 1 0;
rel1.to: "inset";
rel2.to: "inset";
color: 0 0 0 0;
}
}
part { name: "elm.swallow.entry"; type: SWALLOW;
description { state: "default" 0.0;
fixed: 1 0;
rel1.to: "elm.text";
rel2.to: "elm.text";
visible: 0;
}
description { state: "active" 0.0;
inherit: "default" 0.0;
visible: 1;
}
description { state: "disabled_active" 0.0;
inherit: "default" 0.0;
visible: 0;
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
visible: 0;
}
}
part { name: "arrow1"; mouse_events: 0;
scale: 1;
description { state: "default" 0.0;
rel1.to: "left";
rel2.to: "left";
image.normal: "sym_left_light_normal.png";
FIXED_SIZE(15, 15)
}
description { state: "clicked" 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";
}
}
part { name: "arrow2"; mouse_events: 0;
scale: 1;
description { state: "default" 0.0;
rel1.to: "right";
rel2.to: "right";
image.normal: "sym_right_light_normal.png";
FIXED_SIZE(15, 15)
}
description { state: "clicked" 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: "left"; type: RECT;
description { state: "default" 0.0;
rel1.to: "inset";
rel1.offset: 1 1;
rel2.to: "inset";
rel2.offset: 1 -2;
rel2.relative: 0.0 1.0;
align: 0.0 0.5;
color: 0 0 0 0;
min: 15 15;
aspect: 1.0 1.0; aspect_preference: VERTICAL;
}
}
program {
signal: "mouse,down,1"; source: "left";
action: STATE_SET "clicked" 0.0;
target: "arrow1";
after: "left2";
} program { name: "left2";
action: SIGNAL_EMIT "elm,action,decrement,start" "elm";
}
program {
signal: "mouse,up,1"; source: "left";
action: STATE_SET "default" 0.0;
target: "arrow1";
after: "left3";
} program { name: "left3";
action: SIGNAL_EMIT "elm,action,decrement,stop" "elm";
}
part { name: "right"; type: RECT;
description { state: "default" 0.0;
rel1.to: "inset";
rel1.offset: 1 1;
rel1.relative: 1.0 0.0;
rel2.to: "inset";
rel2.offset: 1 -2;
align: 1.0 0.5;
color: 0 0 0 0;
min: 15 15;
aspect: 1.0 1.0; aspect_preference: VERTICAL;
}
}
program {
signal: "mouse,down,1"; source: "right";
action: STATE_SET "clicked" 0.0;
target: "arrow2";
after: "right2";
} program { name: "right2";
action: SIGNAL_EMIT "elm,action,increment,start" "elm";
}
program {
signal: "mouse,up,1"; source: "right";
action: STATE_SET "default" 0.0;
target: "arrow2";
after: "right3";
} program { name: "right3";
action: SIGNAL_EMIT "elm,action,increment,stop" "elm";
}
part { name: "inset"; mouse_events: 0;
description { state: "default" 0.0;
rel1.offset: 0 1;
rel2.offset: -1 -2;
image.normal: "vert_bar_inset.png";
image.border: 1 1 8 6;
image.middle: 0;
fill.smooth: 0;
}
}
part { name: "access_text"; type: RECT; repeat_events: 1;
description { state: "default" 0.0;
color: 0 0 0 0;
rel1.to: "elm.text";
rel2.to: "elm.text";
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
visible: 0;
}
}
program {
signal: "mouse,clicked,1"; source: "access_text";
action: SIGNAL_EMIT "elm,action,click" "elm";
}
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: "active";
signal: "elm,state,active"; source: "elm";
action: STATE_SET "active" 0.0;
target: "elm.text";
target: "elm.swallow.entry";
}
program { name: "inactive";
signal: "elm,state,inactive"; source: "elm";
action: STATE_SET "default" 0.0;
target: "elm.text";
target: "elm.swallow.entry";
}
program { name: "toggle_text";
signal: "mouse,clicked,1"; source: "elm.dragable.slider";
action: SIGNAL_EMIT "elm,action,entry,toggle" "elm";
}
program {
signal: "elm,state,enabled"; source: "elm";
action: STATE_SET "default" 0.0;
target: "arrow1";
target: "arrow2";
target: "access_text";
target: "disabler";
target: "elm.swallow.entry";
target: "elm.text";
}
program {
signal: "elm,state,disabled"; source: "elm";
action: STATE_SET "disabled" 0.0;
target: "arrow1";
target: "arrow2";
target: "access_text";
target: "disabler";
target: "elm.swallow.entry";
target: "elm.text";
}
}
}
group { name: "elm/spinner/base/vertical";
inherit: "elm/spinner/base/default";
images.image: "sym_up_light_normal.png" COMP;
images.image: "sym_up_glow_normal.png" COMP;
images.image: "sym_up_dark_normal.png" COMP;
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: "elm.text";
description { state: "default" 0.0;
rel1.to_x: "inset";
rel1.relative: 0.0 0.0;
rel1.offset: 1 1;
rel2.to_x: "left";
rel2.relative: 0.0 1.0;
rel2.offset: -2 -2;
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
color: FN_COL_DISABLE;
color_class: "spinner_disabled";
}
description { state: "active" 0.0;
inherit: "default" 0.0;
visible: 0;
}
}
part { name: "arrow1"; mouse_events: 0;
description { state: "default" 0.0;
image.normal: "sym_down_light_normal.png";
}
description { state: "clicked" 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";
}
}
part { name: "arrow2"; mouse_events: 0;
description { state: "default" 0.0;
image.normal: "sym_up_light_normal.png";
FIXED_SIZE(15, 15)
}
description { state: "clicked" 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";
}
}
part { name: "left";
description { state: "default" 0.0;
rel1.to: "right";
rel1.offset: -1 0;
rel2.to: "right";
rel2.offset: -1 -1;
align: 1.0 0.5;
}
}
}
}

View File

@ -0,0 +1,134 @@
group { name: "elm/thumb/base/default";
images.image: "knob_round_busy.png" COMP;
images.image: "glow_round_corners.png" COMP;
images.image: "shadow_square_tiny.png" COMP;
parts {
part { name: "shadow"; mouse_events: 0;
description { state: "default" 0.0;
rel1.offset: -3 -2;
rel1.to: "bg";
rel2.offset: 3 4;
rel2.to: "bg";
image.normal: "shadow_square_tiny.png";
image.border: 6 6 6 6;
fill.smooth: 0;
}
}
part { name: "bg"; type: RECT;
description { state: "default" 0.0;
rel1.to: "elm.swallow.content";
rel2.to: "elm.swallow.content";
color: 64 64 64 255;
}
}
part { name: "clip"; type: RECT;
description { state: "default" 0.0;
rel1.to: "elm.swallow.content";
rel2.to: "elm.swallow.content";
}
}
part { name: "elm.swallow.content"; type: SWALLOW;
clip_to: "clip";
description { state: "default" 0.0;
rel1.offset: 4 4;
rel2.offset: -5 -5;
}
}
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";
description { state: "default" 0.0;
fixed: 1 1;
image.normal: "knob_round_busy.png";
min: 40 40;
max: 40 40;
rel1.to: "bg";
rel2.to: "bg";
}
}
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: "elm,state,pulse,start";
source: "elm";
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: "spin";
}
program { name: "pulse_start";
signal: "elm,state,pulse,start";
source: "elm";
action: STATE_SET "active" 0.0;
transition: SINUSOIDAL 0.25;
target: "busy_clip";
}
program { name: "pulse_stop";
signal: "elm,state,pulse,stop";
source: "elm";
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";
}
}
}
group { name: "elm/thumb/base/noframe";
inherit: "elm/thumb/base/default";
parts {
part { name: "shadow"; mouse_events: 0;
description { state: "default" 0.0;
visible: 0;
}
}
part { name: "bg"; mouse_events: 0;
description { state: "default" 0.0;
rel1.offset: 0 0;
rel2.offset: -1 -1;
visible: 0;
}
}
}
}

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,428 @@
group { name: "elm/label/base/tooltip";
styles {
style { name: "tooltip_style";
base: "font="FN" font_size=10 color=#ffffff style=shadow,bottom shadow_color=#00000080 wrap=word 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: "elm.text"; type: TEXTBLOCK; mouse_events: 0;
scale: 1;
description { state: "default" 0.0;
text {
style: "tooltip_style";
min: 1 1;
}
}
}
}
}
group { name: "elm/tooltip/base/default";
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 syn 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: "elm.swallow.content";
offset: -5 -4;
}
rel2 {
to: "elm.swallow.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: "elm.swallow.content"; \
} \
rel2 { \
relative: rx 1.0; \
offset: ox 0; \
to: "elm.swallow.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: "elm.swallow.content"; \
} \
rel2 { \
relative: rx 1.0; \
offset: ox 0; \
to: "elm.swallow.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: "elm.swallow.content"; \
} \
rel2 { \
relative: 1.0 ry; \
offset: 0 oy; \
to: "elm.swallow.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: "elm.swallow.content";
rel2.to: "elm.swallow.content";
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255;
}
}
part { name: "elm.swallow.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: "elm,action,show"; source: "elm";
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: "elm,action,hide"; source: "elm";
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 { name: "elm/tooltip/base/transparent";
data.item: "pad_x" "10";
data.item: "pad_y" "10";
data.item: "transparent" "enabled";
parts {
part { name: "elm.swallow.content"; type: SWALLOW; mouse_events: 0;
scale: 1;
description { state: "default" 0.0; }
}
}
}
///////////////////////////////////////////////////////////////////////////////

View File

@ -0,0 +1,43 @@
group { name: "elm/video/base/default";
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: "elm.swallow.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: "elm,video,load"; source: "elm";
action: STATE_SET "darker" 0.0;
target: "clipper";
}
program {
signal: "elm,video,play"; source: "elm";
action: STATE_SET "default" 0.0;
transition: SINUSOIDAL 0.2 CURRENT;
target: "clipper";
}
program {
signal: "elm,video,end"; source: "elm";
action: STATE_SET "darker" 0.0;
transition: SINUSOIDAL 0.5 CURRENT;
target: "clipper";
}
program {
signal: "elm,video,pause"; source: "elm";
action: STATE_SET "darker" 0.0;
transition: SINUSOIDAL 0.7 CURRENT;
target: "clipper";
}
}
}

View File

@ -0,0 +1,46 @@
group { name: "elm/win/base/default";
parts {
part { name: "menu_bg"; type: RECT;
description { state: "default" 0.0;
color: 64 64 64 255;
align: 0.5 0;
rel2.to: "elm.swallow.menu";
}
}
part { name: "elm.swallow.menu"; type: SWALLOW;
description { state: "default" 0.0;
rel2.relative: 1.0 0.0;
visible: 0;
align: 0.5 0;
fixed: 1 1;
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
visible: 1;
fixed: 0 1;
}
}
part { name: "elm.swallow.contents"; type: SWALLOW;
description { state: "default" 0.0;
rel1 {
to_y: "elm.swallow.menu";
relative: 0.0 1.0;
}
}
}
}
programs {
program { name: "show_menu";
signal: "elm,action,show_menu";
source: "elm";
action: STATE_SET "visible" 0.0;
target: "elm.swallow.menu";
}
program { name: "hide_menu";
signal: "elm,action,hide";
source: "elm";
action: STATE_SET "default" 0.0;
target: "elm.swallow.menu";
}
}
}

View File

@ -0,0 +1,202 @@
group { name: "e/widgets/entry/scrollframe";
images.image: "inset_shadow.png" COMP;
images.image: "bevel_in.png" COMP;
parts {
part { name: "bg"; type: RECT;
description { state: "default" 0.0;
rel1.to: "inset";
rel1.offset: 1 1;
rel2.to: "inset";
rel2.offset: -2 -2;
color: 48 48 48 255;
}
}
part { name: "clipper"; type: RECT;
description { state: "default" 0.0;
rel1.to: "bg";
rel2.to: "bg";
}
}
part { name: "e.swallow.content"; type: SWALLOW;
mouse_events: 1;
clip_to: "clipper";
description { state: "default" 0.0;
rel1.offset: 3 3;
rel2.offset: -4 -4;
}
}
part { name: "shadow"; mouse_events: 0; repeat_events: 1;
description { state: "default" 0.0;
image.normal: "inset_shadow.png";
image.border: 5 5 7 3;
image.middle: 0;
rel1.to: "bg";
rel2.to: "bg";
fill.smooth: 0;
color: 255 255 255 128;
}
}
part { name: "inset"; mouse_events: 0; repeat_events: 1;
description { state: "default" 0.0;
image.normal: "bevel_in.png";
image.border: 1 1 1 1;
image.middle: 0;
rel1.offset: 0 0;
rel2.offset: -1 -1;
fill.smooth: 0;
}
}
}
}
group { name: "e/widgets/entry/text";
styles {
style { name: "entry_textblock_style";
base: "font="FN" font_size=10 color=#ffffffff style=shadow,bottom shadow_color=#00000080 text_class=entry color_classs=entry_text";
}
style { name: "entry_textblock_disabled_style";
base: "font="FN" font_size=10 color=#151515 style=shadow,bottom shadow_color=#ffffff19 text_class=entry color_class=entry_text_disabled";
}
}
parts {
part { name: "e.text.text"; type: TEXTBLOCK;
scale: 1;
entry_mode: EDITABLE;
select_mode: DEFAULT;
cursor_mode: BEFORE;
multiline: 0;
source: "e/widgets/entry/selection"; // selection under
source4: "e/widgets/entry/cursor"; // cursorover
description { state: "default" 0.0;
color_class: "entry_text";
align: 0.0 0.5;
text {
text: "";
style: "entry_textblock_style";
min: 1 1;
align: 0.0 0.5;
}
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
text.style: "entry_textblock_disabled_style";
color_class: "entry_text_disabled";
}
}
}
programs {
program { name: "focus";
signal: "load";
source: "";
action: FOCUS_SET;
target: "e.text.text";
}
program {
signal: "e,state,disabled"; source: "e";
action: STATE_SET "disabled" 0.0;
target: "e.text.text";
}
program {
signal: "e,state,enabled"; source: "e";
action: STATE_SET "default" 0.0;
target: "e.text.text";
}
// program {
// signal: "e,state,noedit"; source: "e";
// }
// program {
// signal: "e,state,edit"; source: "e";
// }
}
}
group { name: "e/widgets/entry/password";
inherit: "e/widgets/entry/text";
parts {
part { name: "e.text.text";
entry_mode: PASSWORD;
description { state: "default" 0.0;
text.repch: "*";
}
}
}
}
group { name: "e/widgets/entry/cursor";
min: 1 0;
images.image: "white_bar_vert_glow.png" COMP;
parts {
part { name: "cursor"; mouse_events: 0;
description { state: "default" 0.0;
rel1.offset: -4 -4;
rel2.offset: 3 3;
image.normal: "white_bar_vert_glow.png";
image.border: 4 4 4 4;
fill.smooth: 0;
color: 255 255 255 0;
min: 9 10;
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255;
}
}
}
programs {
program {
signal: "e,action,show,cursor"; source: "e";
action: ACTION_STOP;
target: "cursor_show";
target: "cursor_hide";
target: "cursor_show_timer";
target: "cursor_hide_timer";
after: "cursor_show";
}
program {
name: "on_cursor_hide";
signal: "e,action,hide,cursor";
source: "e";
action: ACTION_STOP;
target: "cursor_show";
target: "cursor_hide";
target: "cursor_show_timer";
target: "cursor_hide_timer";
after: "cursor_hide_stop";
}
program {
name: "cursor_hide_stop";
action: STATE_SET "default" 0.0;
target: "cursor";
}
program { name: "cursor_show";
action: STATE_SET "visible" 0.0;
target: "cursor";
after: "cursor_show_timer";
}
program { name: "cursor_hide";
action: STATE_SET "default" 0.0;
target: "cursor";
transition: SINUSOIDAL 0.2;
after: "cursor_hide_timer";
}
program { name: "cursor_show_timer";
in: 0.5 0.0;
after: "cursor_hide";
}
program { name: "cursor_hide_timer";
in: 0.2 0.0;
after: "cursor_show";
}
}
}
group { name: "e/widgets/entry/selection";
// data.item: "on_foreground" "1";
parts {
part { name: "selection"; type: RECT; mouse_events: 0;
description { state: "default" 0.0;
color: 51 153 255 255;
}
}
}
}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,21 @@
group { name: "e/widgets/fontpreview";
parts {
part { name: "e.fontpreview.text"; type: TEXT; mouse_events: 0;
scale: 1;
effect: SHADOW BOTTOM;
description { state: "default" 0.0;
color_class: "entry_text";
rel1.offset: 3 3;
rel2.offset: -4 -4;
color: 255 255 255 255;
color3: 0 0 0 128;
text { font: FN; size: 10;
min: 1 1;
align: 0.5 0.5;
text_class: "_e_font_preview";
}
}
}
}
}

View File

@ -0,0 +1,101 @@
group { name: "e/widgets/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: "e.text.label";
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: "e.text.label";
rel2.offset: 4 -1;
rel2.relative: 0.0 1.0;
rel2.to_y: "e.text.label";
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: "e.text.label";
rel1.relative: 1.0 0.0;
rel2.offset: -5 -1;
rel2.relative: 1.0 1.0;
rel2.to_y: "e.text.label";
align: 1.0 0.5;
FIXED_SIZE(3, 11)
}
}
part { name: "e.text.label"; 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: -2 2;
rel2.to_x: "edge2";
align: 0.0 0.0;
color: 21 21 21 255;
color3: 255 255 255 25;
text { font: FNBD; size: 10;
text_class: "frame";
align: 0.0 0.0;
min: 0 1;
}
fixed: 0 1;
}
}
part { name: "e.swallow.content"; type: SWALLOW;
description { state: "default" 0.0;
rel1.relative: 0.0 1.0;
rel1.offset: 5 0;
rel1.to_y: "e.text.label";
rel2.offset: -6 -6;
}
}
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;
}
}
}
}

View File

@ -0,0 +1,508 @@
group { name: "e/gadman/popup";
images.image: "vgrad_tall.png" COMP;
images.image: "bevel_out.png" COMP;
images.image: "shine.png" COMP;
parts {
part { name: "bg"; mouse_events: 0;
description { state: "default" 0.0;
image.normal: "vgrad_tall.png";
fill.smooth: 0;
TILED_HORIZ(40)
}
}
part { name: "bevel"; mouse_events: 0;
description { state: "default" 0.0;
image.normal: "bevel_out.png";
image.border: 1 1 1 1;
image.middle: 0;
fill.smooth: 0;
}
}
part { name: "e.swallow.content"; type: SWALLOW;
description { state: "default" 0.0;
rel1.offset: 3 3;
rel2.offset: -4 -4;
}
}
part { name: "shine"; mouse_events: 0;
description { state: "default" 0.0;
image.normal: "shine.png";
rel1.offset: 0 -2;
rel2.relative: 1.0 0.0;
rel2.offset: -1 2;
FIXED_SIZE(69, 5)
}
}
}
}
group { name: "e/gadman/full_bg";
parts {
part { name: "bg"; type: RECT; mouse_events: 0;
description { state: "default" 0.0;
color: 0 0 0 0;
visible: 0;
}
description { state: "visible" 0.0;
color: 0 0 0 192;
}
}
part { name: "custom_bg"; type: RECT; mouse_events: 0;
description { state: "default" 0.0;
color: 255 255 255 0;
visible: 0;
}
description { state: "visible" 0.0;
color: 255 255 255 200;
}
}
part { name: "e.swallow.bg"; type: SWALLOW; mouse_events: 0;
clip_to: "custom_bg";
description { state: "default" 0.0;
}
}
part { name: "grabber"; type: RECT;
description { state: "default" 0.0;
color: 0 0 0 0;
}
}
}
programs {
program {
signal: "e,state,visibility,show"; source: "e";
action: STATE_SET "visible" 0.0;
transition: DECELERATE 0.4;
target: "bg";
}
program {
signal: "e,state,visibility,show,now"; source: "e";
action: STATE_SET "visible" 0.0;
target: "bg";
}
program {
signal: "e,state,visibility,hide"; source: "e";
action: STATE_SET "default" 0.0;
transition: DECELERATE 0.4;
target: "bg";
after: "hide_stop";
}
program {
signal: "e,state,visibility,hide,now"; source: "e";
action: STATE_SET "default" 0.0;
target: "bg";
after: "hide_stop";
}
program {
signal: "e,state,visibility,show,custom"; source: "e";
action: STATE_SET "visible" 0.0;
transition: DECELERATE 0.4;
target: "custom_bg";
}
program {
signal: "e,state,visibility,show,custom,now"; source: "e";
action: STATE_SET "visible" 0.0;
target: "custom_bg";
}
program {
signal: "e,state,visibility,hide,custom"; source: "e";
action: STATE_SET "default" 0.0;
transition: DECELERATE 0.4;
target: "custom_bg";
after: "hide_stop";
}
program {
signal: "e,state,visibility,hide,custom,now"; source: "e";
action: STATE_SET "default" 0.0;
target: "custom_bg";
after: "hide_stop";
}
program { name: "hide_stop";
action: SIGNAL_EMIT "e,action,hide,stop" "";
}
}
}
group { name: "e/gadman/frame";
parts {
part { name: "e.swallow.content"; type: SWALLOW;
description { state: "default" 0.0;
rel1.offset: 4 4;
rel2.offset: -5 -5;
}
}
}
}
group { name: "e/gadman/control";
images.image: "outline_glow.png" COMP;
images.image: "diagonal_stripes.png" COMP;
images.image: "sym_up_glow_normal.png" COMP;
images.image: "sym_down_glow_normal.png" COMP;
images.image: "sym_left_glow_normal.png" COMP;
images.image: "sym_right_glow_normal.png" COMP;
parts {
part { name: "base"; mouse_events: 0;
description { state: "default" 0.0;
image.normal: "outline_glow.png";
image.border: 4 4 4 4;
image.middle: 0;
fill.smooth: 0;
color: 255 255 255 255;
}
description { state: "active" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255;
}
}
part { name: "pat"; mouse_events: 0;
description { state: "default" 0.0;
rel1.to: "base";
rel1.offset: 1 1;
rel2.offset: -2 -2;
rel2.to: "base";
image.normal: "diagonal_stripes.png";
TILED_PATTERN(240, 240)
color: 255 255 255 25;
}
}
part { name: "av10"; mouse_events: 0;
description { state: "default" 0.0;
align: 0.5 1.0;
rel1.to: "resizev1";
rel2.relative: 1.0 0.0;
rel2.to: "resizev1";
image.normal: "sym_up_glow_normal.png";
visible: 0;
FIXED_SIZE(15, 15)
}
description { state: "pulse0" 0.0;
inherit: "default" 0.0;
visible: 1;
}
description { state: "pulse1" 0.0;
inherit: "default" 0.0;
visible: 1;
rel2.relative: 1.0 -5.0;
color: 255 255 255 0;
}
}
part { name: "av11"; mouse_events: 0;
description { state: "default" 0.0;
align: 0.5 0.0;
rel1.to: "resizev1";
rel1.relative: 0.0 1.0;
rel2.to: "resizev1";
image.normal: "sym_down_glow_normal.png";
visible: 0;
FIXED_SIZE(15, 15)
}
description { state: "pulse0" 0.0;
inherit: "default" 0.0;
visible: 1;
}
description { state: "pulse1" 0.0;
inherit: "default" 0.0;
visible: 1;
rel1.relative: 0.0 6.0;
color: 255 255 255 0;
}
}
part { name: "av20"; mouse_events: 0;
description { state: "default" 0.0;
align: 0.5 1.0;
rel1.to: "resizev2";
rel2.relative: 1.0 0.0;
rel2.to: "resizev2";
image.normal: "sym_up_glow_normal.png";
visible: 0;
FIXED_SIZE(15, 15)
}
description { state: "pulse0" 0.0;
inherit: "default" 0.0;
visible: 1;
}
description { state: "pulse1" 0.0;
inherit: "default" 0.0;
visible: 1;
rel2.relative: 1.0 -5.0;
color: 255 255 255 0;
}
}
part { name: "av21"; mouse_events: 0;
description { state: "default" 0.0;
align: 0.5 0.0;
rel1.to: "resizev2";
rel1.relative: 0.0 1.0;
rel2.to: "resizev2";
image.normal: "sym_down_glow_normal.png";
visible: 0;
FIXED_SIZE(15, 15)
}
description { state: "pulse0" 0.0;
inherit: "default" 0.0;
visible: 1;
}
description { state: "pulse1" 0.0;
inherit: "default" 0.0;
visible: 1;
rel1.relative: 0.0 6.0;
color: 255 255 255 0;
}
}
part { name: "ah10"; mouse_events: 0;
description { state: "default" 0.0;
align: 1.0 0.5;
rel1.to: "resizeh1";
rel2.relative: 0.0 1.0;
rel2.to: "resizeh1";
image.normal: "sym_left_glow_normal.png";
visible: 0;
FIXED_SIZE(15, 15)
}
description { state: "pulse0" 0.0;
inherit: "default" 0.0;
visible: 1;
}
description { state: "pulse1" 0.0;
inherit: "default" 0.0;
visible: 1;
rel2.relative: -5.0 1.0;
color: 255 255 255 0;
}
}
part { name: "ah11"; mouse_events: 0;
description { state: "default" 0.0;
align: 0.0 0.5;
rel1.to: "resizeh1";
rel1.relative: 1.0 0.0;
rel2.to: "resizeh1";
image.normal: "sym_right_glow_normal.png";
visible: 0;
FIXED_SIZE(15, 15)
}
description { state: "pulse0" 0.0;
inherit: "default" 0.0;
visible: 1;
}
description { state: "pulse1" 0.0;
inherit: "default" 0.0;
visible: 1;
rel1.relative: 6.0 0.0;
color: 255 255 255 0;
}
}
part { name: "ah20"; mouse_events: 0;
description { state: "default" 0.0;
align: 1.0 0.5;
rel1.to: "resizeh2";
rel2.relative: 0.0 1.0;
rel2.to: "resizeh2";
image.normal: "sym_left_glow_normal.png";
visible: 0;
FIXED_SIZE(15, 15)
}
description { state: "pulse0" 0.0;
inherit: "default" 0.0;
visible: 1;
}
description { state: "pulse1" 0.0;
inherit: "default" 0.0;
visible: 1;
rel2.relative: -5.0 1.0;
color: 255 255 255 0;
}
}
part { name: "ah21"; mouse_events: 0;
description { state: "default" 0.0;
align: 0.0 0.5;
rel1.to: "resizeh2";
rel1.relative: 1.0 0.0;
rel2.to: "resizeh2";
image.normal: "sym_right_glow_normal.png";
visible: 0;
FIXED_SIZE(15, 15)
}
description { state: "pulse0" 0.0;
inherit: "default" 0.0;
visible: 1;
}
description { state: "pulse1" 0.0;
inherit: "default" 0.0;
visible: 1;
rel1.relative: 6.0 0.0;
color: 255 255 255 0;
}
}
part { name: "move"; type: RECT;
description { state: "default" 0.0;
rel1.to: "base";
rel2.to: "base";
color: 0 0 0 0;
}
description { state: "off" 0.0;
inherit: "default" 0.0;
visible: 0;
}
}
part { name: "resizeh1"; type: RECT;
description { state: "default" 0.0;
rel1.to: "base";
rel2.to: "base";
rel2.relative: 0.5 1.0;
align: 0.0 0.5;
max: 7 99999;
color: 0 0 0 0;
}
description { state: "off" 0.0;
inherit: "default" 0.0;
visible: 0;
}
}
part { name: "resizeh2"; type: RECT;
description { state: "default" 0.0;
rel1.to: "base";
rel2.to: "base";
rel1.relative: 0.5 0.0;
align: 1.0 0.5;
max: 7 99999;
color: 0 0 0 0;
}
description { state: "off" 0.0;
inherit: "default" 0.0;
visible: 0;
}
}
part { name: "resizev1"; type: RECT;
description { state: "default" 0.0;
rel1.to: "base";
rel2.to: "base";
rel2.relative: 1.0 0.5;
align: 0.5 0.0;
max: 99999 7;
color: 0 0 0 0;
}
description { state: "off" 0.0;
inherit: "default" 0.0;
visible: 0;
}
}
part { name: "resizev2"; type: RECT;
description { state: "default" 0.0;
rel1.to: "base";
rel2.to: "base";
rel1.relative: 0.0 0.5;
align: 0.5 1.0;
max: 99999 7;
color: 0 0 0 0;
}
description { state: "off" 0.0;
inherit: "default" 0.0;
visible: 0;
}
}
}
programs {
program {
signal: "e,state,hsize,on"; source: "e";
action: STATE_SET "default" 0.0;
target: "resizeh1";
target: "resizeh2";
}
program {
signal: "e,state,hsize,off"; source: "e";
action: STATE_SET "off" 0.0;
target: "resizeh1";
target: "resizeh2";
}
program {
signal: "e,state,vsize,on"; source: "e";
action: STATE_SET "default" 0.0;
target: "resizev1";
target: "resizev2";
}
program {
signal: "e,state,vsize,off"; source: "e";
action: STATE_SET "off" 0.0;
target: "resizev1";
target: "resizev2";
}
program {
signal: "e,state,move,on"; source: "e";
action: STATE_SET "default" 0.0;
target: "move";
}
program {
signal: "e,state,move,off"; source: "e";
action: STATE_SET "off" 0.0;
target: "move";
}
program {
signal: "e,state,focused"; source: "e";
action: STATE_SET "active" 0.0;
target: "base";
}
program {
signal: "e,state,unfocused"; source: "e";
action: STATE_SET "default" 0.0;
target: "base";
}
#define ARROWPULSE(_NAME, _SRC, _DST1, _DST2) \
program { name: _NAME"0"; \
signal: "mouse,in"; source: _SRC; \
action: STATE_SET "pulse0" 0.0; \
target: _DST1; \
target: _DST2; \
after: _NAME"1"; \
} \
program { name: _NAME"1"; \
action: STATE_SET "pulse1" 0.0; \
transition: DECELERATE 0.5; \
target: _DST1; \
target: _DST2; \
after: _NAME"2"; \
} \
program { name: _NAME"2"; \
action: STATE_SET "pulse0" 0.0; \
target: _DST1; \
target: _DST2; \
after: _NAME"1"; \
} \
program { \
signal: "mouse,out"; source: _SRC; \
action: ACTION_STOP; \
target: _NAME"0"; \
target: _NAME"1"; \
target: _NAME"2"; \
after: _NAME"3"; \
} \
program { name: _NAME"3"; \
action: STATE_SET "default" 0.0; \
target: _DST1; \
target: _DST2; \
}
ARROWPULSE("pulse1", "resizev1", "av10", "av11")
ARROWPULSE("pulse2", "resizev2", "av20", "av21")
ARROWPULSE("pulse3", "resizeh1", "ah10", "ah11")
ARROWPULSE("pulse4", "resizeh2", "ah20", "ah21")
#undef ARROWPULSE
#define PROGSET(_SRC, _ACT) \
program { \
signal: "mouse,down,1"; source: _SRC; \
action: SIGNAL_EMIT "e,action,"_ACT",start" ""; \
} \
program { \
signal: "mouse,up,1"; source: _SRC; \
action: SIGNAL_EMIT "e,action,"_ACT",stop" ""; \
} \
program { \
signal: "mouse,move"; source: _SRC; \
action: SIGNAL_EMIT "e,action,"_ACT",go" ""; \
}
PROGSET("move", "move")
PROGSET("resizeh1", "resize,left")
PROGSET("resizeh2", "resize,right")
PROGSET("resizev1", "resize,up")
PROGSET("resizev2", "resize,down")
#undef PROGSET
}
}

View File

@ -0,0 +1,745 @@
group { name: "e/modules/ibar/separator/default";
images.image: "bevel_dark_in.png" COMP;
parts {
part { name: "base";
description { state: "default" 0.0;
min: 2 2;
max: 2 99999;
rel1.offset: 4 4;
rel2.offset: -5 -5;
image.normal: "bevel_dark_in.png";
image.border: 2 2 2 2;
fill.smooth: 0;
}
}
}
}
group { name: "e/modules/ibar/separator/horizontal";
inherit: "e/modules/ibar/separator/default";
parts {
part { name: "base";
description { state: "default" 0.0;
max: 99999 2;
}
}
}
}
group { name: "e/modules/ibox/icon";
alias: "e/modules/ibar/icon";
// 1 or 0 if u want an icon holder to raise when the mouse (or keyboard) hilights it
data.item: "raise_on_hilight" "0";
// data.item: "item_list" "item item2 item3";
images.image: "led_tiny_blue.png" COMP;
parts {
part { name: "item_clip"; type: RECT;
description { state: "default" 0.0;
rel1.offset: -100 -100;
rel2.offset: 99 99;
color: 255 255 255 255;
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
color: 255 255 255 64;
}
}
part { name: "e.swallow.content"; type: SWALLOW;
clip_to: "item_clip";
description { state: "default" 0.0;
rel1.offset: 3 3;
rel2.offset: -4 -4;
}
description { state: "bounce1" 0.0;
inherit: "default" 0.0;
rel1.relative: 0.0 0.15;
rel2.relative: 1.0 1.15;
}
description { state: "bounce2" 0.0;
inherit: "default" 0.0;
rel1.relative: 0.0 -0.15;
rel2.relative: 1.0 0.85;
}
}
part { name: "indicator";
description { state: "default";
min: 10 10;
max: 10 10;
rel1.relative: 1.0 1.0;
rel1.offset: -5 -5;
rel2.relative: 1.0 1.0;
rel2.offset: -4 -4;
image.normal: "led_tiny_blue.png";
color: 255 255 255 0;
visible: 0;
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255;
visible: 1;
}
}
part { name: "over"; type: RECT;
description { state: "default" 0.0;
color: 0 0 0 0;
}
}
}
programs {
// program {
// signal: "e,action,exec"; source: "e";
// }
// program {
// signal: "e,action,start"; source: "e";
// }
// program { name: "go_active";
// signal: "e,state,focused"; source: "e";
// }
// program { name: "go_passive";
// signal: "e,state,unfocused"; source: "e";
// }
// program {
// signal: "e,action,show,label"; source: "e";
// }
// program {
// signal: "e,action,hide,label"; source: "e";
// }
program {
signal: "e,state,starting"; source: "e";
action: STATE_SET "disabled" 0.0;
target: "item_clip";
}
program {
signal: "e,state,started"; source: "e";
action: STATE_SET "default" 0.0;
target: "item_clip";
}
program { name: "ion";
signal: "e,state,on"; source: "e";
action: STATE_SET "visible" 0.0;
target: "indicator";
transition: ACCELERATE 0.1;
}
program { name: "ioff";
signal: "e,state,off"; source: "e";
action: STATE_SET "default" 0.0;
target: "indicator";
transition: DECELERATE 0.1;
}
program {
signal: "e,state,on"; source: "e";
action: STATE_SET "visible" 0.0;
target: "indicator";
transition: ACCELERATE 0.2;
}
program {
signal: "e,state,off"; source: "e";
action: STATE_SET "default" 0.0;
target: "indicator";
transition: DECELERATE 0.8;
}
program {
signal: "e,state,urgent"; source: "e";
action: STATE_SET "bounce1" 0.0;
target: "e.swallow.content";
after: "urg1";
}
program { name: "urg1";
action: STATE_SET "bounce2" 0.0;
transition: DECELERATE 0.2;
target: "e.swallow.content";
after: "urg2";
}
program { name: "urg2";
action: STATE_SET "bounce1" 0.0;
transition: ACCELERATE 0.2;
target: "e.swallow.content";
after: "urg1";
}
program {
signal: "e,state,not_urgent"; source: "e";
action: STATE_SET "default" 0.0;
target: "e.swallow.content";
}
}
}
group { name: "e/modules/ibar/menu";
images.image: "darken_rounded_square.png" COMP;
parts {
part { name: "sizer"; type: SPACER;
description { state: "default"; }
description { state: "hidden";
rel1.relative: 0.5 1.0;
rel2.relative: 0.5 1.0;
minmul: 0 0;
}
}
part { name: "clip"; type: RECT;
description { state: "default";
rel1.offset: -9999 -9999;
rel2.offset: 9999 9999;
}
description { state: "hidden";
inherit: "default";
color: 0 0 0 0;
}
}
part { name: "base"; mouse_events: 0;
clip_to: "clip";
description { state: "default" 0.0;
rel1.to: "sizer";
rel2.to: "sizer";
image.normal: "darken_rounded_square.png";
image.border: 15 15 15 15;
}
}
part { name: "e.box"; type: BOX;
clip_to: "clip";
description { state: "default";
rel1.to: "sizer";
rel1.offset: 12 12;
rel2.to: "sizer";
rel2.offset: -13 -13;
box { layout: "vertical";
padding: 0 0;
align: 0.5 0.5;
min: 1 1;
}
}
}
}
programs {
program { signal: "e,state,hidden"; source: "e";
action: STATE_SET "hidden" 0.0;
target: "sizer";
target: "clip";
}
program { signal: "e,action,show"; source: "e";
action: STATE_SET "default" 0.0;
target: "sizer";
target: "clip";
transition: DECELERATE 0.2;
}
program { signal: "e,action,hide"; source: "e";
action: STATE_SET "hidden" 0.0;
target: "sizer";
target: "clip";
transition: ACCELERATE 0.2;
after: "hide2";
}
program { name: "hide2";
in: 0.2 0.0;
action: SIGNAL_EMIT "e,action,hide,done" "";
}
}
}
group { name: "e/modules/ibar/menu/item";
images.image: "glow_small.png" COMP;
parts {
part { name: "icon"; type: SPACER;
description { state: "default";
rel1.offset: 2 2;
rel2.offset: 2 -3;
align: 0.0 0.5;
aspect: 1.0 1.0; aspect_preference: BOTH;
min: 48 48;
max: 48 48;
}
}
part { name: "glow"; mouse_events: 0;
description { state: "default" 0.0;
rel1.to: "e.swallow.icon";
rel2.to: "e.swallow.icon";
image.normal: "glow_small.png";
image.border: 7 7 7 7;
fill.smooth: 0;
color: 255 255 255 0;
visible: 0;
}
description { state: "focus" 0.0;
inherit: "default" 0.0;
rel1.offset: -4 -4;
rel2.offset: 3 3;
color: 255 255 255 255;
visible: 1;
}
}
part { name: "e.swallow.icon"; type: SWALLOW; mouse_events: 0;
clip_to: "icon_clip";
description { state: "default";
rel1.to: "icon";
rel2.to: "icon";
}
description { state: "focus";
inherit: "default";
rel1.offset: -2 -2;
rel2.offset: 1 1;
}
}
part { name: "e.text.title"; type: TEXT; mouse_events: 0;
effect: SHADOW BOTTOM;
scale: 1;
description { state: "default" 0.0;
rel1.to_x: "icon";
rel1.relative: 1.0 0.0;
rel1.offset: 3 0;
rel2.offset: -3 -3;
color: 255 255 255 255;
color3: 0 0 0 128;
align: 0.0 0.0;
color_class: "menu_item";
min: 128 0;
text { font: FNBD; size: 10;
text: "window name thingy";
min: 0 1;
align: 0.0 0.5;
text_class: "menu_item";
}
}
description { state: "focus";
inherit: "default";
visible: 0;
}
}
part { name: "title2"; type: TEXT; mouse_events: 0;
effect: GLOW;
scale: 1;
description { state: "default" 0.0;
rel1.offset: -2 -3;
rel1.to: "e.text.title";
rel2.offset: 2 1;
rel2.to: "e.text.title";
color: 51 153 255 255;
color2: 51 153 255 24;
color3: 51 153 255 18;
color_class: "menu_item_active";
min: 128 0;
text { font: FNBD; size: 10;
text_source: "e.text.title";
min: 0 1;
align: 0.0 0.5;
text_class: "menu_item";
}
visible: 0;
}
description { state: "focus" 0.0;
inherit: "default" 0.0;
visible: 1;
}
}
part { name: "icon_clip"; type: RECT;
description { state: "default";
color: 255 255 255 200;
rel1.offset: -9999 -9999;
rel2.offset: 9999 9999;
}
description { state: "focus";
inherit: "default";
color: 255 255 255 255;
}
}
part { name: "event"; type: RECT;
description { state: "default";
color: 0 0 0 0;
}
}
}
programs {
program {
signal: "mouse,in"; source: "event";
action: STATE_SET "focus" 0.0;
target: "e.swallow.icon";
target: "e.text.title";
target: "title2";
target: "icon_clip";
target: "glow";
transition: ACCELERATE 0.2;
}
program {
signal: "mouse,out"; source: "event";
action: STATE_SET "default" 0.0;
target: "e.swallow.icon";
target: "e.text.title";
target: "title2";
target: "icon_clip";
target: "glow";
transition: DECELERATE 0.2;
}
}
}
group { name: "e/modules/ibox/icon_overlay";
alias: "e/modules/ibar/icon_overlay";
images.image: "darken_rounded_square.png" COMP;
script {
public urgent;
}
parts {
part { name: "item_clip"; type: RECT;
description { state: "default" 0.0;
rel1.offset: -100 -100;
rel2.offset: 99 99;
color: 255 255 255 255;
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
color: 255 255 255 64;
}
}
part { name: "base"; type: SPACER;
description { state: "default" 0.0;
rel1.offset: 3 4;
rel2.offset: -4 -4;
}
description { state: "bounce1" 0.0;
inherit: "default" 0.0;
rel1.relative: 0.0 0.15;
rel2.relative: 1.0 1.15;
}
description { state: "bounce2" 0.0;
inherit: "default" 0.0;
rel1.relative: 0.0 -0.15;
rel2.relative: 1.0 0.85;
}
}
part { name: "background"; type: RECT;
clip_to: "item_clip";
description { state: "default" 0.0;
visible: 0;
rel1.to: "base";
rel2.to: "base";
color: 255 255 255 0;
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
visible: 1;
color: 255 255 255 255;
}
description { state: "hidden" 0.0;
inherit: "default" 0.0;
visible: 1;
rel1.relative: -0.5 -0.5;
rel2.relative: 1.5 1.5;
}
description { state: "huge" 0.0;
inherit: "default" 0.0;
visible: 1;
rel1.relative: -2.0 -2.0;
rel2.relative: 3.0 3.0;
color: 255 255 255 0;
}
}
part { name: "e.swallow.content"; type: SWALLOW;
clip_to: "background";
description {
state: "default" 0.0;
rel1.to: "background";
rel2.to: "background";
}
}
part { name: "bevel"; mouse_events: 0;
description { state: "default" 0.0;
rel1.offset: -10 -6;
rel1.to: "e.text.label";
rel2.offset: 9 5;
rel2.to: "e.text.label";
image.normal: "darken_rounded_square.png";
image.border: 15 15 15 15;
fill.smooth: 0;
fixed: 1 1;
color: 255 255 255 0;
visible: 0;
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255;
visible: 1;
}
}
part { name: "e.text.label"; type: TEXT; mouse_events: 0;
effect: SHADOW BOTTOM;
scale: 1;
description { state: "default" 0.0;
rel1.relative: 0.0 1.0;
rel2.relative: 1.0 1.0;
color: 255 255 255 0;
color3: 0 0 0 0;
color_class: "module_label";
text { font: FN; size: 10;
min: 1 1;
align: 0.5 0.5;
text_class: "module_normal";
}
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
rel1.relative: 0.0 0.5;
rel2.relative: 1.0 0.5;
color: 255 255 255 255;
color3: 0 0 0 128;
}
}
}
programs {
// program {
// signal: "e,action,exec"; source: "e";
// }
// program {
// signal: "e,action,start"; source: "e";
// }
program {
signal: "load"; source: "";
script {
set_int(urgent, 0);
}
}
program { name: "go_active";
signal: "e,state,focused"; source: "e";
action: STATE_SET "visible" 0.0;
target: "background";
after: "go_active2";
}
program { name: "go_active2";
action: STATE_SET "hidden" 0.0;
transition: LINEAR 0.5;
target: "background";
after: "go_active";
}
program { name: "go_passive";
signal: "e,state,unfocused"; source: "e";
action: ACTION_STOP;
target: "go_active";
target: "go_active2";
after: "go_passive2";
}
program {
signal: "e,action,show,label"; source: "e";
action: STATE_SET "visible" 0.0;
transition: SINUSOIDAL 0.5;
target: "e.text.label";
target: "bevel";
}
program {
signal: "e,action,hide,label"; source: "e";
action: STATE_SET "default" 0.0;
transition: SINUSOIDAL 1.0;
target: "e.text.label";
target: "bevel";
}
program { name: "go_passive2";
action: STATE_SET "default" 0.0;
target: "background";
script {
if (get_int(urgent) == 1) {
run_program(PROGRAM:"go_urgent");
} else {
run_program(PROGRAM:"go_not_urgent");
}
}
}
program {
signal: "e,state,urgent"; source: "e";
script {
set_int(urgent, 1);
}
}
program { name: "go_urgent";
signal: "e,state,urgent"; source: "e";
action: STATE_SET "disabled" 0.0;
target: "item_clip";
}
program {
signal: "e,state,not_urgent"; source: "e";
script {
set_int(urgent, 0);
}
}
program { name: "go_not_urgent";
signal: "e,state,not_urgent"; source: "e";
action: STATE_SET "default" 0.0;
target: "item_clip";
}
program {
signal: "e,action,exec"; source: "e";
after: "exec_start";
}
program { name: "exec_start";
signal: "e,action,start"; source: "e";
action: ACTION_STOP;
target: "go_active";
target: "go_active2";
target: "go_passive";
target: "go_passive2";
target: "go_big";
target: "go_big2";
after: "go_big";
}
program { name: "go_big";
action: STATE_SET "visible" 0.0;
target: "background";
after: "go_big2";
}
program { name: "go_big2";
action: STATE_SET "huge" 0.0;
transition: LINEAR 0.5;
target: "background";
}
}
}
group { name: "e/modules/ibox/drop";
alias: "e/modules/ibar/drop";
images.image: "outline_glow.png" COMP;
images.image: "diagonal_stripes.png" COMP;
parts {
part { name: "base"; mouse_events: 0;
description { state: "default" 0.0;
rel1.offset: 2 2;
rel2.offset: -3 -3;
image.normal: "outline_glow.png";
image.border: 4 4 4 4;
image.middle: 0;
fill.smooth: 0;
}
}
part { name: "pat"; mouse_events: 0;
description { state: "default" 0.0;
rel1.to: "base";
rel1.offset: 1 1;
rel2.offset: -2 -2;
rel2.to: "base";
image.normal: "diagonal_stripes.png";
color: 255 255 255 25;
TILED_PATTERN(240, 240)
}
}
}
}
group { name: "e/modules/ibox/drop_overlay";
alias: "e/modules/ibar/drop_overlay";
images.image: "mini_blue_glow_arrow_0.png" COMP;
images.image: "mini_blue_glow_arrow_1.png" COMP;
images.image: "mini_blue_glow_arrow_2.png" COMP;
images.image: "mini_blue_glow_arrow_3.png" COMP;
parts {
part { name: "drop0"; mouse_events: 0;
description { state: "default" 0.0;
image.normal: "mini_blue_glow_arrow_0.png";
rel1.offset: -10 -10;
rel1.relative: 0.0 0.0;
rel2.offset: -10 -10;
rel2.relative: 0.0 0.0;
align: 0.0 0.0;
min: 10 10;
fixed: 1 1;
visible: 0;
}
description { state: "active" 0.0;
inherit: "default" 0.0;
visible: 1;
}
description { state: "hidden" 0.0;
inherit: "default" 0.0;
rel1.offset: 11 11;
rel2.offset: 11 11;
min: 1 1;
color: 255 255 255 0;
}
}
part { name: "drop1"; mouse_events: 0;
description { state: "default" 0.0;
image.normal: "mini_blue_glow_arrow_1.png";
rel1.offset: 9 -10;
rel1.relative: 1.0 0.0;
rel2.offset: 9 -10;
rel2.relative: 1.0 0.0;
align: 1.0 0.0;
min: 10 10;
fixed: 1 1;
visible: 0;
}
description { state: "active" 0.0;
inherit: "default" 0.0;
visible: 1;
}
description { state: "hidden" 0.0;
inherit: "default" 0.0;
rel1.offset: -12 11;
rel2.offset: -12 11;
min: 1 1;
color: 255 255 255 0;
}
}
part { name: "drop2"; mouse_events: 0;
description { state: "default" 0.0;
image.normal: "mini_blue_glow_arrow_2.png";
rel1.offset: 9 9;
rel1.relative: 1.0 1.0;
rel2.offset: 9 9;
rel2.relative: 1.0 1.0;
align: 1.0 1.0;
min: 10 10;
fixed: 1 1;
visible: 0;
}
description { state: "active" 0.0;
inherit: "default" 0.0;
visible: 1;
}
description { state: "hidden" 0.0;
inherit: "default" 0.0;
rel1.offset: -12 -12;
rel2.offset: -12 -12;
min: 1 1;
color: 255 255 255 0;
}
}
part { name: "drop3"; mouse_events: 0;
description { state: "default" 0.0;
image.normal: "mini_blue_glow_arrow_3.png";
rel1.offset: -10 9;
rel1.relative: 0.0 1.0;
rel2.offset: -10 9;
rel2.relative: 0.0 1.0;
align: 0.0 1.0;
min: 10 10;
fixed: 1 1;
visible: 0;
}
description { state: "active" 0.0;
inherit: "default" 0.0;
visible: 1;
}
description { state: "hidden" 0.0;
inherit: "default" 0.0;
rel1.offset: 11 -12;
rel2.offset: 11 -12;
min: 1 1;
color: 255 255 255 0;
}
}
}
programs {
program { name: "drop1";
signal: "show"; source: "";
action: STATE_SET "active" 0.0;
target: "drop0";
target: "drop1";
target: "drop2";
target: "drop3";
after: "drop2";
}
program { name: "drop2";
action: STATE_SET "hidden" 0.0;
transition: LINEAR 0.5;
target: "drop0";
target: "drop1";
target: "drop2";
target: "drop3";
after: "drop1";
}
}
}

View File

@ -0,0 +1,46 @@
#define ICON(_NAME, _SIZE, _FILE) \
group { \
name: "e/icons/"_NAME; \
max: _SIZE _SIZE; \
parts { \
part { name: "icon"; mouse_events: 0; \
description { state: "default" 0.0; \
max: _SIZE _SIZE; \
aspect: 1.0 1.0; aspect_preference: BOTH; \
image.image: _FILE COMP; \
image.normal: _FILE; \
} \
} \
} \
}
ICON("system", 80, "icon_system.png")
ICON("system-shutdown", 80, "icon_system-shutdown.png")
ICON("system-restart", 80, "icon_system-restart.png")
ICON("system-suspend", 80, "icon_system-suspend.png")
ICON("system-suspend-hibernate", 80, "icon_system-suspend-hibernate.png")
ICON("system-log-out", 80, "icon_system-log-out.png")
ICON("system-lock-screen", 80, "icon_system-lock-screen.png")
ICON("application-exit", 80, "icon_system-log-out.png")
ICON("enlightenment", 80, "icon_enlightenment.png")
ICON("help-about", 80, "icon_enlightenment.png")
ICON("preferences-desktop-environments", 80, "icon_preferences-desktop-environments.png")
ICON("preferences-applications-screen-lock", 80, "icon_preferences-applications-screen-lock.png")
ICON("preferences-applications-screen-unlock", 80, "icon_preferences-applications-screen-unlock.png")
ICON("preferences-applications-personal", 80, "icon_preferences-applications-personal.png")
ICON("preferences-desklock-locale", 80, "icon_preferences-desklock-locale.png")
ICON("preferences-desktop-signal-bindings", 80, "icon_preferences-desktop-signal-bindings.png")
ICON("preferences-variables", 80, "icon_preferences-variables.png")
ICON("preferences-interaction", 80, "icon_preferences-interaction.png")
ICON("preferences-composite", 80, "icon_preferences-composite.png")
ICON("enlightenment/wallpaper_stretch", 80, "icon_wallpaper_stretch.png")
ICON("enlightenment/wallpaper_center", 80, "icon_wallpaper_center.png")
ICON("enlightenment/wallpaper_tile", 80, "icon_wallpaper_tile.png")
ICON("enlightenment/wallpaper_scale_aspect_in", 80, "icon_wallpaper_within.png")
ICON("enlightenment/wallpaper_scale_aspect_out", 80, "icon_wallpaper_fill.png")
ICON("enlightenment/wallpaper_pan", 80, "icon_wallpaper_pan.png")
#if 0
// ICON("", 80, "")
#endif
#undef ICON

View File

@ -0,0 +1,407 @@
group { name: "e/ilist";
images.image: "darken_rounded_square.png" COMP;
parts {
part { name: "typebuf_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: "bevel"; mouse_events: 0;
clip_to: "typebuf_clip";
description { state: "default" 0.0;
rel1.offset: -15 -15;
rel1.to: "e.text.label";
rel2.offset: 14 14;
rel2.to: "e.text.label";
image.normal: "darken_rounded_square.png";
image.border: 15 15 15 15;
fill.smooth: 0;
}
}
part { name: "e.text.label"; type: TEXT; mouse_events: 0;
clip_to: "typebuf_clip";
effect: SHADOW BOTTOM;
scale: 1;
description { state: "default" 0.0;
rel1.relative: 0.5 0.5;
rel1.offset: -8 -8;
rel2.relative: 0.5 0.5;
rel2.offset: 7 7;
color: 255 255 255 255;
color3: 0 0 0 128;
color_class: "ilist_typebuf";
text { font: FNBD; size: 10;
min: 1 1;
align: 0.5 0.5;
text_class: "ilist_typebuf";
}
}
}
}
programs {
program {
signal: "e,state,typebuf,start"; source: "e";
action: STATE_SET "active" 0.0;
transition: SINUSOIDAL 0.25;
target: "typebuf_clip";
}
program {
signal: "e,state,typebuf,stop"; source: "e";
action: STATE_SET "default" 0.0;
transition: SINUSOIDAL 1.0;
target: "typebuf_clip";
}
}
}
group { name: "e/widgets/ilist";
// data.item: "stacking" "above";
data.item: "stacking" "below";
data.item: "selectraise" "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 {
part { name: "base"; type: RECT; mouse_events: 0;
description { state: "default" 0.0;
color: 64 64 64 255;
color_class: "ilist_item_base";
}
}
part { name: "bevel"; mouse_events: 0;
description { state: "default" 0.0;
image.normal: "bevel_curved_horiz_out.png";
image.border: 0 0 2 2;
image.middle: 0;
fill.smooth: 0;
}
}
part { name: "sel_shadow"; mouse_events: 0;
description { state: "default" 0.0;
image.normal: "shadow_rounded_horiz.png";
image.border: 0 0 9 9;
rel1.offset: 0 -4;
rel2.offset: -1 5;
fill.smooth: 0;
visible: 0;
}
description { state: "selected" 0.0;
inherit: "default" 0.0;
visible: 1;
}
}
part { name: "sel_base"; mouse_events: 0;
description { state: "default" 0.0;
image.normal: "vgrad_med_dark.png";
fill.smooth: 0;
TILED_HORIZ(120)
visible: 0;
}
description { state: "selected" 0.0;
inherit: "default" 0.0;
visible: 1;
}
}
part { name: "sel_bevel"; mouse_events: 0;
description { state: "default" 0.0;
image.normal: "bevel_horiz_out.png";
image.border: 0 0 2 2;
image.middle: 0;
fill.smooth: 0;
visible: 0;
}
description { state: "selected" 0.0;
inherit: "default" 0.0;
visible: 1;
}
}
part { name: "e.swallow.icon"; type: SWALLOW; mouse_events: 0;
description { state: "default" 0.0;
align: 0.0 0.5;
aspect: 1.0 1.0; aspect_preference: VERTICAL;
rel1.offset: 2 2;
rel2.relative: 0.0 1.0;
rel2.offset: 2 -3;
}
}
part { name: "e.text.label"; type: TEXT; mouse_events: 0;
effect: SHADOW BOTTOM;
scale: 1;
description { state: "default" 0.0;
rel1.offset: 2 3;
rel1.relative: 1.0 0.0;
rel1.to_x: "e.swallow.icon";
rel2.offset: -3 -3;
rel2.relative: 0.0 1.0;
rel2.to_x: "e.swallow.end";
color: 255 255 255 255;
color3: 0 0 0 128;
color_class: "ilist_item";
text { font: FN; size: 10;
min: 1 1;
align: 0.0 0.5;
text_class: "ilist_item";
}
}
description { state: "selected" 0.0;
inherit: "default" 0.0;
visible: 0;
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
visible: 0;
}
}
part { name: "label2"; type: TEXT; mouse_events: 0;
effect: SHADOW BOTTOM;
scale: 1;
description { state: "default" 0.0;
rel1.to: "e.text.label";
rel2.to: "e.text.label";
color: 21 21 21 255;
color3: 255 255 255 25;
color_class: "ilist_item_disabled";
text { font: FN; size: 10;
text_source: "e.text.label";
align: 0.0 0.5;
text_class: "ilist_item";
}
visible: 0;
}
description { state: "selected" 0.0;
inherit: "default" 0.0;
visible: 0;
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
visible: 1;
}
}
part { name: "label3"; type: TEXT; mouse_events: 0;
effect: GLOW;
scale: 1;
description { state: "default" 0.0;
rel1.offset: -2 -3;
rel1.to: "e.text.label";
rel2.offset: 2 1;
rel2.to: "e.text.label";
color: 51 153 255 255;
color2: 51 153 255 24;
color3: 51 153 255 18;
color_class: "ilist_item_selected";
text { font: FN; size: 10;
text_source: "e.text.label";
align: 0.0 0.5;
text_class: "ilist_item";
}
visible: 0;
}
description { state: "selected" 0.0;
inherit: "default" 0.0;
visible: 1;
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
visible: 0;
}
}
part { name: "e.swallow.end"; type: SWALLOW; mouse_events: 0;
description { state: "default" 0.0;
align: 1.0 0.5;
aspect: 1.0 1.0; aspect_preference: VERTICAL;
rel1.offset: -3 2;
rel1.relative: 1.0 0.0;
rel2.offset: -3 -3;
}
}
part { name: "sel_shine"; mouse_events: 0;
description { state: "default" 0.0;
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";
FIXED_SIZE(69, 5)
visible: 0;
}
description { state: "selected" 0.0;
inherit: "default" 0.0;
visible: 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: "e,state,selected"; source: "e";
action: STATE_SET "selected" 0.0;
target: "sel_shadow";
target: "sel_base";
target: "sel_bevel";
target: "sel_shine";
target: "e.text.label";
target: "label2";
target: "label3";
}
program {
signal: "e,state,unselected"; source: "e";
action: STATE_SET "default" 0.0;
target: "sel_shadow";
target: "sel_base";
target: "sel_bevel";
target: "sel_shine";
target: "e.text.label";
target: "label2";
target: "label3";
}
program {
signal: "e,state,disabled"; source: "e";
action: STATE_SET "disabled" 0.0;
target: "event";
target: "e.text.label";
target: "label2";
target: "label3";
}
program {
signal: "e,state,enabled"; source: "e";
action: STATE_SET "default" 0.0;
target: "event";
target: "e.text.label";
target: "label2";
target: "label3";
}
}
}
group { name: "e/widgets/ilist_odd";
inherit: "e/widgets/ilist";
parts {
part { name: "base";
description { state: "default" 0.0;
color: 56 56 56 255;
}
}
}
}
group { name: "e/widgets/ilist_header";
alias: "e/widgets/ilist_header_odd";
data.item: "stacking" "above";
images.image: "dot_pattern.png" COMP;
images.image: "inset_shadow.png" COMP;
images.image: "shadow_vertical_dark.png" COMP;
parts {
part { name: "base"; type: RECT; mouse_events: 0;
description { state: "default" 0.0;
color: 48 48 48 255;
color_class: "ilist_item_base";
}
}
part { name: "pat";
description { state: "default" 0.0;
image.normal: "dot_pattern.png";
TILED_PATTERN(256, 256)
}
}
part { name: "shadow"; mouse_events: 0;
description { state: "default" 0.0;
image.normal: "shadow_vertical_dark.png";
color: 255 255 255 128;
}
}
part { name: "e.swallow.icon"; type: SWALLOW; mouse_events: 0;
description { state: "default" 0.0;
align: 0.0 0.5;
aspect: 1.0 1.0; aspect_preference: VERTICAL;
rel1.offset: 2 2;
rel2.relative: 0.0 1.0;
rel2.offset: 2 -3;
}
}
part { name: "e.text.label"; type: TEXT; mouse_events: 0;
effect: SHADOW BOTTOM;
scale: 1;
description { state: "default" 0.0;
rel1.offset: 2 6;
rel1.relative: 1.0 0.0;
rel1.to_x: "e.swallow.icon";
rel2.offset: -3 -7;
rel2.relative: 0.0 1.0;
rel2.to_x: "e.swallow.end";
color: 255 255 255 255;
color3: 0 0 0 128;
color_class: "ilist_item_header";
text { font: FNBD; size: 10;
min: 0 1;
align: 0.0 0.5;
text_class: "ilist_item";
}
}
}
part { name: "e.swallow.end"; type: SWALLOW; mouse_events: 0;
description { state: "default" 0.0;
align: 1.0 0.5;
aspect: 1.0 1.0; aspect_preference: VERTICAL;
rel1.offset: -3 2;
rel1.relative: 1.0 0.0;
rel2.offset: -3 -3;
}
}
part { name: "shadow2"; mouse_events: 0;
description { state: "default" 0.0;
image.normal: "inset_shadow.png";
image.border: 5 5 7 3;
image.middle: 0;
fill.smooth: 0;
}
}
}
}
group { name: "e/widgets/ilist/toggle_end";
images.image: "led_dark.png" COMP;
images.image: "led_light.png" COMP;
parts {
part { name: "base"; mouse_events: 0;
description { state: "default" 0.0;
image.normal: "led_dark.png";
aspect: 1.0 1.0; aspect_preference: BOTH;
max: 32 32;
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
image.normal: "led_light.png";
}
}
}
programs {
program {
signal: "e,state,checked"; source: "e";
action: STATE_SET "visible" 0.0;
transition: BOUNCE 0.4 0.5 4;
target: "base";
}
program {
signal: "e,state,unchecked"; source: "e";
action: STATE_SET "default" 0.0;
target: "base";
}
}
}

View File

@ -0,0 +1,674 @@
group { name: "e/modules/illume_home_toggle/main";
images.image: "button_normal.png" COMP;
images.image: "button_clicked.png" COMP;
images.image: "home_inset.png" COMP;
images.image: "home_hilight.png" COMP;
images.image: "home_glow.png" COMP;
min: 16 16;
max: 80 80;
parts {
part { name: "base";
description { state: "default" 0.0;
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;
}
description { state: "clicked" 0.0;
inherit: "default" 0.0;
image.normal: "button_clicked.png";
image.border: 5 5 4 6;
}
}
part { name: "home_hilight"; mouse_events: 0;
description { state: "default" 0.0;
aspect: 1.0 1.0; aspect_preference: BOTH;
max: 80 80;
rel1.offset: 0 1;
rel1.to: "home";
rel2.offset: -1 0;
rel2.to: "home";
image.normal: "home_hilight.png";
}
}
part { name: "home"; mouse_events: 0;
description { state: "default" 0.0;
aspect: 1.0 1.0; aspect_preference: BOTH;
max: 80 80;
rel1.offset: 4 4;
rel2.offset: -5 -5;
image.normal: "home_inset.png";
}
}
part { name: "home_glow"; mouse_events: 0;
description { state: "default" 0.0;
aspect: 1.0 1.0; aspect_preference: BOTH;
max: 80 80;
rel1.to: "home";
rel2.to: "home";
image.normal: "home_glow.png";
visible: 0;
}
description { state: "clicked" 0.0;
inherit: "default" 0.0;
visible: 1;
}
}
}
programs {
program {
signal: "mouse,down,1"; source: "base";
action: STATE_SET "clicked" 0.0;
target: "base";
target: "home_glow";
}
program {
signal: "mouse,up,1"; source: "base";
action: STATE_SET "default" 0.0;
target: "base";
target: "home_glow";
}
program {
signal: "mouse,clicked,1*"; source: "base";
action: SIGNAL_EMIT "e,action,home" "";
}
}
}
group { name: "e/modules/illume_kbd_toggle/main";
images.image: "button_normal.png" COMP;
images.image: "button_clicked.png" COMP;
images.image: "kbd_inset.png" COMP;
images.image: "kbd_hilight.png" COMP;
images.image: "kbd_glow.png" COMP;
min: 16 16;
max: 80 80;
parts {
part { name: "base";
description { state: "default" 0.0;
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;
}
description { state: "clicked" 0.0;
inherit: "default" 0.0;
image.normal: "button_clicked.png";
image.border: 5 5 4 6;
}
}
part { name: "kbd_hilight"; mouse_events: 0;
description { state: "default" 0.0;
aspect: 1.0 1.0; aspect_preference: BOTH;
max: 80 80;
rel1.offset: 0 1;
rel1.to: "kbd";
rel2.offset: -1 0;
rel2.to: "kbd";
image.normal: "kbd_hilight.png";
}
}
part { name: "kbd"; mouse_events: 0;
description { state: "default" 0.0;
aspect: 1.0 1.0; aspect_preference: BOTH;
max: 80 80;
rel1.offset: 4 4;
rel2.offset: -5 -5;
image.normal: "kbd_inset.png";
}
}
part { name: "kbd_glow"; mouse_events: 0;
description { state: "default" 0.0;
aspect: 1.0 1.0; aspect_preference: BOTH;
max: 80 80;
rel1.to: "kbd";
rel2.to: "kbd";
image.normal: "kbd_glow.png";
visible: 0;
}
description { state: "on" 0.0;
inherit: "default" 0.0;
visible: 1;
}
}
part { name: "on"; type: RECT;
description { state: "default" 0.0;
color: 0 0 0 0;
visible: 0;
}
description { state: "on" 0.0;
color: 0 0 0 0;
visible: 1;
}
}
}
programs {
program {
signal: "mouse,down,1"; source: "base";
action: STATE_SET "clicked" 0.0;
target: "base";
}
program {
signal: "mouse,up,1"; source: "base";
action: STATE_SET "default" 0.0;
target: "base";
}
program {
signal: "mouse,clicked,1*"; source: "base";
action: SIGNAL_EMIT "e,action,vkbd,enable" "";
}
program {
signal: "mouse,down,1"; source: "on";
action: STATE_SET "clicked" 0.0;
target: "base";
}
program {
signal: "mouse,up,1"; source: "on";
action: STATE_SET "default" 0.0;
target: "base";
}
program {
signal: "mouse,clicked,1*"; source: "on";
action: SIGNAL_EMIT "e,action,vkbd,disable" "";
}
program {
signal: "e,state,vkbd,on"; source: "e";
action: STATE_SET "on" 0.0;
target: "on";
target: "kbd_glow";
}
program {
signal: "e,state,vkbd,off"; source: "e";
action: STATE_SET "default" 0.0;
target: "on";
target: "kbd_glow";
}
}
}
group { name: "e/modules/illume_mode_toggle/main";
images.image: "button_normal.png" COMP;
images.image: "button_clicked.png" COMP;
images.image: "split_h_glow.png" COMP;
images.image: "split_h_hilight.png" COMP;
images.image: "split_h_inset.png" COMP;
images.image: "split_none_glow.png" COMP;
images.image: "split_none_hilight.png" COMP;
images.image: "split_none_inset.png" COMP;
images.image: "split_v_glow.png" COMP;
images.image: "split_v_hilight.png" COMP;
images.image: "split_v_inset.png" COMP;
min: 16 16;
max: 80 80;
parts {
part { name: "base";
description { state: "default" 0.0;
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;
}
description { state: "clicked" 0.0;
inherit: "default" 0.0;
image.normal: "button_clicked.png";
image.border: 5 5 4 6;
}
}
part { name: "split_none_hilight"; mouse_events: 0;
clip_to: "split_none_clip";
description { state: "default" 0.0;
aspect: 1.0 1.0; aspect_preference: BOTH;
max: 80 80;
rel1.offset: 0 1;
rel1.to: "split_none";
rel2.offset: -1 0;
rel2.to: "split_none";
image.normal: "split_none_hilight.png";
}
}
part { name: "split_none"; mouse_events: 0;
clip_to: "split_none_clip";
description { state: "default" 0.0;
aspect: 1.0 1.0; aspect_preference: BOTH;
max: 80 80;
rel1.offset: 4 4;
rel2.offset: -5 -5;
image.normal: "split_none_inset.png";
}
}
part { name: "split_none_glow"; mouse_events: 0;
clip_to: "split_none_clip";
description { state: "default" 0.0;
aspect: 1.0 1.0; aspect_preference: BOTH;
max: 80 80;
rel1.to: "split_none";
rel2.to: "split_none";
image.normal: "split_none_glow.png";
visible: 0;
}
description { state: "clicked" 0.0;
inherit: "default" 0.0;
visible: 1;
}
}
part { name: "split_h_hilight"; mouse_events: 0;
clip_to: "split_h_clip";
description { state: "default" 0.0;
aspect: 1.0 1.0; aspect_preference: BOTH;
max: 80 80;
rel1.offset: 0 1;
rel1.to: "split_h";
rel2.offset: -1 0;
rel2.to: "split_h";
image.normal: "split_h_hilight.png";
}
}
part { name: "split_h"; mouse_events: 0;
clip_to: "split_h_clip";
description { state: "default" 0.0;
aspect: 1.0 1.0; aspect_preference: BOTH;
max: 80 80;
rel1.offset: 4 4;
rel2.offset: -5 -5;
image.normal: "split_h_inset.png";
}
}
part { name: "split_h_glow"; mouse_events: 0;
clip_to: "split_h_clip";
description { state: "default" 0.0;
aspect: 1.0 1.0; aspect_preference: BOTH;
max: 80 80;
rel1.to: "split_h";
rel2.to: "split_h";
image.normal: "split_h_glow.png";
visible: 0;
}
description { state: "clicked" 0.0;
inherit: "default" 0.0;
visible: 1;
}
}
part { name: "split_h_on"; type: RECT;
clip_to: "split_h_clip";
description { state: "default" 0.0;
color: 0 0 0 0;
}
}
part { name: "split_v_hilight"; mouse_events: 0;
clip_to: "split_v_clip";
description { state: "default" 0.0;
aspect: 1.0 1.0; aspect_preference: BOTH;
max: 80 80;
rel1.offset: 0 1;
rel1.to: "split_v";
rel2.offset: -1 0;
rel2.to: "split_v";
image.normal: "split_v_hilight.png";
}
}
part { name: "split_v"; mouse_events: 0;
clip_to: "split_v_clip";
description { state: "default" 0.0;
aspect: 1.0 1.0; aspect_preference: BOTH;
max: 80 80;
rel1.offset: 4 4;
rel2.offset: -5 -5;
image.normal: "split_v_inset.png";
}
}
part { name: "split_v_glow"; mouse_events: 0;
clip_to: "split_v_clip";
description { state: "default" 0.0;
aspect: 1.0 1.0; aspect_preference: BOTH;
max: 80 80;
rel1.to: "split_v";
rel2.to: "split_v";
image.normal: "split_v_glow.png";
visible: 0;
}
description { state: "clicked" 0.0;
inherit: "default" 0.0;
visible: 1;
}
}
part { name: "split_v_on"; type: RECT;
clip_to: "split_v_clip";
description { state: "default" 0.0;
color: 0 0 0 0;
}
}
part { name: "split_none_clip"; type: RECT;
description { state: "default" 0.0;
visible: 1;
}
description { state: "split_h" 0.0;
visible: 0;
}
description { state: "split_v" 0.0;
visible: 0;
}
}
part { name: "split_h_clip"; type: RECT;
description { state: "default" 0.0;
visible: 0;
}
description { state: "split_h" 0.0;
visible: 1;
}
description { state: "split_v" 0.0;
visible: 0;
}
}
part { name: "split_v_clip"; type: RECT;
description { state: "default" 0.0;
visible: 0;
}
description { state: "split_h" 0.0;
visible: 0;
}
description { state: "split_v" 0.0;
visible: 1;
}
}
}
programs {
program {
signal: "mouse,down,1"; source: "base";
action: STATE_SET "clicked" 0.0;
target: "base";
target: "split_none_glow";
target: "split_h_glow";
target: "split_v_glow";
}
program {
signal: "mouse,up,1"; source: "base";
action: STATE_SET "default" 0.0;
target: "base";
target: "split_none_glow";
target: "split_h_glow";
target: "split_v_glow";
}
program {
signal: "mouse,clicked,1*"; source: "base";
action: SIGNAL_EMIT "e,action,mode,dual,top" "";
}
program {
signal: "mouse,down,1"; source: "split_v_on";
action: STATE_SET "clicked" 0.0;
target: "base";
target: "split_none_glow";
target: "split_h_glow";
target: "split_v_glow";
}
program {
signal: "mouse,up,1"; source: "split_v_on";
action: STATE_SET "default" 0.0;
target: "base";
target: "split_none_glow";
target: "split_h_glow";
target: "split_v_glow";
}
program {
signal: "mouse,clicked,1*"; source: "split_v_on";
action: SIGNAL_EMIT "e,action,mode,dual,left" "";
}
program {
signal: "mouse,down,1"; source: "split_h_on";
action: STATE_SET "clicked" 0.0;
target: "base";
target: "split_none_glow";
target: "split_h_glow";
target: "split_v_glow";
}
program {
signal: "mouse,up,1"; source: "split_h_on";
action: STATE_SET "default" 0.0;
target: "base";
target: "split_none_glow";
target: "split_h_glow";
target: "split_v_glow";
}
program {
signal: "mouse,clicked,1*"; source: "split_h_on";
action: SIGNAL_EMIT "e,action,mode,single" "";
}
program {
signal: "e,mode,single"; source: "e";
action: STATE_SET "default" 0.0;
target: "split_none_clip";
target: "split_h_clip";
target: "split_v_clip";
}
program {
signal: "e,mode,dual,top"; source: "e";
action: STATE_SET "split_v" 0.0;
target: "split_none_clip";
target: "split_h_clip";
target: "split_v_clip";
}
program {
signal: "e,mode,dual,left"; source: "e";
action: STATE_SET "split_h" 0.0;
target: "split_none_clip";
target: "split_h_clip";
target: "split_v_clip";
}
}
}
group { name: "modules/illume-indicator/window";
data {
// item: "shaped" "1";
}
images.image: "vgrad_med.png" COMP;
images.image: "vgrad_tall.png" COMP;
images.image: "bevel_out.png" COMP;
images.image: "holes_vert.png" COMP;
images.image: "holes_horiz.png" COMP;
images.image: "shine.png" COMP;
parts {
part { name: "bg"; mouse_events: 0;
description { state: "default" 0.0;
image.normal: "vgrad_med.png";
fill.smooth: 0;
TILED_HORIZ(120)
}
description { state: "vert" 0.0;
image.normal: "vgrad_tall.png";
fill.smooth: 0;
TILED_HORIZ(40)
}
}
part { name: "bevel"; mouse_events: 0;
description { state: "default" 0.0;
image.normal: "bevel_out.png";
image.border: 1 1 1 1;
image.middle: 0;
fill.smooth: 0;
}
}
part { name: "dots_start"; mouse_events: 0;
description { state: "default" 0.0;
image.normal: "holes_vert.png";
rel1.offset: 2 2;
rel2.relative: 0.0 1.0;
rel2.offset: 5 -3;
FIXED_SIZE(4, 14)
}
description { state: "vert" 0.0;
image.normal: "holes_horiz.png";
rel1.offset: 2 2;
rel2.relative: 1.0 0.0;
rel2.offset: -3 5;
FIXED_SIZE(14, 4)
}
}
part { name: "dots_end"; mouse_events: 0;
description { state: "default" 0.0;
image.normal: "holes_vert.png";
rel1.relative: 1.0 0.0;
rel1.offset: -6 2;
rel2.offset: -3 -3;
FIXED_SIZE(4, 14)
}
description { state: "vert" 0.0;
image.normal: "holes_horiz.png";
rel1.relative: 0.0 1.0;
rel1.offset: 2 -6;
rel2.offset: -3 -3;
FIXED_SIZE(14, 4)
}
}
part { name: "e.swallow.content"; type: SWALLOW;
description { state: "default" 0.0;
rel1.offset: 1 0;
rel1.relative: 1.0 0.0;
rel1.to_x: "dots_start";
rel2.offset: -2 -1;
rel2.to_x: "dots_end";
rel2.relative: 0.0 1.0;
}
description { state: "vert" 0.0;
rel1.offset: 0 1;
rel1.relative: 0.0 1.0;
rel1.to_y: "dots_start";
rel2.offset: -1 -2;
rel2.to_y: "dots_end";
rel2.relative: 1.0 0.0;
}
}
part { name: "shine"; mouse_events: 0;
description { state: "default" 0.0;
image.normal: "shine.png";
rel1.offset: 0 -2;
rel2.relative: 1.0 0.0;
rel2.offset: -1 2;
FIXED_SIZE(69, 5)
}
}
}
}
group { name: "modules/illume-softkey/window";
data {
// item: "shaped" "1";
}
images.image: "vgrad_med.png" COMP;
images.image: "vgrad_tall.png" COMP;
images.image: "bevel_out.png" COMP;
images.image: "holes_vert.png" COMP;
images.image: "holes_horiz.png" COMP;
images.image: "shine.png" COMP;
parts {
part { name: "bg"; mouse_events: 0;
description { state: "default" 0.0;
image.normal: "vgrad_med.png";
fill.smooth: 0;
TILED_HORIZ(120)
}
description { state: "vert" 0.0;
image.normal: "vgrad_tall.png";
fill.smooth: 0;
TILED_HORIZ(40)
}
}
part { name: "bevel"; mouse_events: 0;
description { state: "default" 0.0;
image.normal: "bevel_out.png";
image.border: 1 1 1 1;
image.middle: 0;
fill.smooth: 0;
}
}
part { name: "dots_start"; mouse_events: 0;
description { state: "default" 0.0;
image.normal: "holes_vert.png";
rel1.offset: 2 2;
rel2.relative: 0.0 1.0;
rel2.offset: 5 -3;
FIXED_SIZE(4, 14)
}
description { state: "vert" 0.0;
image.normal: "holes_horiz.png";
rel1.offset: 2 2;
rel2.relative: 1.0 0.0;
rel2.offset: -3 5;
FIXED_SIZE(14, 4)
}
}
part { name: "dots_end"; mouse_events: 0;
description { state: "default" 0.0;
image.normal: "holes_vert.png";
rel1.relative: 1.0 0.0;
rel1.offset: -6 2;
rel2.offset: -3 -3;
FIXED_SIZE(4, 14)
}
description { state: "vert" 0.0;
image.normal: "holes_horiz.png";
rel1.relative: 0.0 1.0;
rel1.offset: 2 -6;
rel2.offset: -3 -3;
FIXED_SIZE(14, 4)
}
}
part { name: "e.box.extra_buttons"; type: BOX;
description { state: "default" 0.0;
rel1.offset: 1 0;
rel1.relative: 1.0 0.0;
rel1.to_x: "dots_start";
rel2.offset: -2 -1;
rel2.to_x: "dots_start";
rel2.relative: 1.0 1.0;
align: 0.0 0.5;
fixed: 0 1;
box { layout: "horizontal";
padding: 4 0;
align: 0.0 0.5;
min: 1 1;
}
}
}
part { name: "e.box.buttons"; type: BOX;
description { state: "default" 0.0;
rel1.offset: 4 0;
rel1.relative: 1.0 0.0;
rel1.to_x: "e.box.extra_buttons";
rel2.offset: -2 -1;
rel2.to_x: "dots_end";
rel2.relative: 0.0 1.0;
align: 1.0 0.5;
fixed: 0 1;
box { layout: "horizontal";
padding: 4 0;
align: 1.0 0.5;
min: 1 1;
}
}
}
part { name: "shine"; mouse_events: 0;
description { state: "default" 0.0;
image.normal: "shine.png";
rel1.offset: 0 -2;
rel2.relative: 1.0 0.0;
rel2.offset: -1 2;
FIXED_SIZE(69, 5)
}
}
}
}

View File

@ -0,0 +1,583 @@
group { name: "e/init/splash";
images.image: "screen_circular_shadow.png" COMP;
images.image: "bg_radgrad.png" COMP;
images.image: "dot_pattern.png" COMP;
images.image: "logo_blue_small.png" COMP;
images.image: "logo_blue_small_glow.png" COMP;
images.image: "led_square_base.png" COMP;
images.image: "led_square_glow.png" COMP;
images.image: "led_square_shading.png" COMP;
images.image: "led_square_shadow.png" COMP;
images.image: "led_square_shine.png" COMP;
script {
public is_ready;
public do_end;
}
parts {
part { name: "clip"; type: RECT; mouse_events: 0;
description { state: "default" 0.0;
}
}
part { name: "bg";
description { state: "default" 0.0;
image.normal: "bg_radgrad.png";
image.scale_hint: STATIC;
fill.smooth: 0;
ASPECT_FILL((1024/653))
}
}
part { name: "pat";
description { state: "default" 0.0;
image.normal: "dot_pattern.png";
TILED_PATTERN(256, 256)
}
}
part { name: "logo";
description { state: "default" 0.0;
image.normal: "logo_blue_small.png";
rel1.relative: 0.5 0.5;
rel2.relative: 0.5 0.5;
FIXED_SIZE(100, 127)
}
}
part { name: "logo_glow";
description { state: "default" 0.0;
image.normal: "logo_blue_small_glow.png";
rel1.to: "logo";
rel2.to: "logo";
color: 255 255 255 128;
}
description { state: "active" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255;
}
}
part { name: "e.text.title"; type: TEXT; mouse_events: 0;
effect: SHADOW BOTTOM;
scale: 1;
description { state: "default" 0.0;
align: 0.5 1.0;
rel1.relative: 0.05 0.0;
rel1.offset: 4 -1;
rel1.to_y: "e.text.status";
rel2.relative: 0.95 0.0;
rel2.offset: -5 -1;
rel2.to_y: "e.text.status";
color: 255 255 255 255;
color3: 0 0 0 128;
text { font: FNBD; size: 20;
min: 0 1;
text_class: "init_title";
}
fixed: 0 1;
}
}
part { name: "e.text.status"; type: TEXT;
effect: GLOW;
scale: 1;
description { state: "default" 0.0;
align: 0.5 1.0;
rel1.relative: 0.05 0.0;
rel1.to_y: "logo";
rel1.offset: 4 -1;
rel2.relative: 0.95 0.0;
rel2.offset: -5 -1;
rel2.to_y: "logo";
color: 51 153 255 255;
color2: 51 153 255 24;
color3: 51 153 255 18;
text { font: FN; size: 10;
min: 0 1;
text_class: "init_status";
}
fixed: 0 1;
}
}
part { name: "e.text.version"; type: TEXT;
effect: GLOW;
description { state: "default" 0.0;
align: 1.0 1.0;
rel1.relative: 1.0 1.0;
rel1.offset: -4 -4;
rel2.relative: 1.0 1.0;
rel2.offset: -4 -4;
color: 51 153 255 255;
color2: 51 153 255 24;
color3: 51 153 255 18;
text { font: FN; size: 8;
text: "0.17.0";
min: 1 1;
align: 1.0 1.0;
text_class: "init_version";
}
fixed: 1 1;
}
}
part { name: "shadow"; mouse_events: 0;
clip_to: "clip";
description { state: "default" 0.0;
rel1.relative: 0.0 0.0;
rel2.relative: 1.0 1.0;
color: 255 255 255 255;
image.normal: "screen_circular_shadow.png";
fill.smooth: 0;
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
rel1.relative: -1.0 -1.0;
rel2.relative: 2.0 2.0;
color: 255 255 255 255;
}
}
#define LED(_NAME, _TO, _SHINE, _C00, _C01, _C10, _C11, _C20, _C21, _C30, _C31, _C40, _C41, _C50, _C51, _C60, _C61) \
part { name: _NAME"_shadow"; \
description { state: "default" 0.0; \
rel1.to: _TO; \
rel2.to: _TO; \
FIXED_SIZE(20, 20) \
image.normal: "led_square_shadow.png"; \
} \
} \
part { name: _NAME"_base"; \
description { state: "default" 0.0; \
rel1.to: _NAME"_shadow"; \
rel2.to: _NAME"_shadow"; \
image.normal: "led_square_base.png"; \
color: _C00; \
} \
description { state: "col1" 0.0; \
inherit: "default" 0.0; \
color: _C10; \
} \
description { state: "col2" 0.0; \
inherit: "default" 0.0; \
color: _C20; \
} \
description { state: "col3" 0.0; \
inherit: "default" 0.0; \
color: _C30; \
} \
description { state: "col4" 0.0; \
inherit: "default" 0.0; \
color: _C40; \
} \
description { state: "col5" 0.0; \
inherit: "default" 0.0; \
color: _C50; \
} \
description { state: "col6" 0.0; \
inherit: "default" 0.0; \
color: _C60; \
} \
} \
part { name: _NAME"_glow"; \
description { state: "default" 0.0; \
rel1.to: _NAME"_shadow"; \
rel2.to: _NAME"_shadow"; \
image.normal: "led_square_glow.png"; \
color: _C01; \
} \
description { state: "col1" 0.0; \
inherit: "default" 0.0; \
color: _C11; \
} \
description { state: "col2" 0.0; \
inherit: "default" 0.0; \
color: _C21; \
} \
description { state: "col3" 0.0; \
inherit: "default" 0.0; \
color: _C31; \
} \
description { state: "col4" 0.0; \
inherit: "default" 0.0; \
color: _C41; \
} \
description { state: "col5" 0.0; \
inherit: "default" 0.0; \
color: _C51; \
} \
description { state: "col6" 0.0; \
inherit: "default" 0.0; \
color: _C61; \
} \
} \
part { name: _NAME"_shading"; \
description { state: "default" 0.0; \
rel1.to: _NAME"_shadow"; \
rel2.to: _NAME"_shadow"; \
image.normal: "led_square_shading.png"; \
} \
} \
part { name: _NAME"_shine"; \
description { state: "default" 0.0; \
rel1.to: _NAME"_shadow"; \
rel2.to: _NAME"_shadow"; \
image.normal: "led_square_shine.png"; \
color: 255 255 255 _SHINE; \
} \
}
#define WHITE 255 255 255 255
#define RED 255 40 20 255
#define GREEN 80 255 20 255
#define BLUE 51 153 255 255
#define ORANGE 255 128 32 255
#define YELLOW 255 220 64 255
#define PURPLE 200 60 255 255
#define CYAN 40 220 255 255
LED("l0", "led0", 255,
BLUE, WHITE,
RED, ORANGE,
GREEN, YELLOW,
ORANGE, YELLOW,
PURPLE, YELLOW,
CYAN, WHITE,
YELLOW, WHITE
)
LED("l-1", "led-1", 128,
RED, ORANGE,
BLUE, WHITE,
ORANGE, YELLOW,
GREEN, YELLOW,
CYAN, WHITE,
YELLOW, WHITE,
PURPLE, YELLOW
)
LED("l-2", "led-2", 64,
CYAN, WHITE,
GREEN, YELLOW,
BLUE, WHITE,
YELLOW, WHITE,
ORANGE, YELLOW,
PURPLE, YELLOW,
RED, ORANGE
)
LED("l-3", "led-3", 0,
GREEN, YELLOW,
PURPLE, YELLOW,
YELLOW, WHITE,
RED, ORANGE,
CYAN, WHITE,
ORANGE, YELLOW,
BLUE, WHITE
)
LED("l+1", "led+1", 128,
YELLOW, WHITE,
ORANGE, YELLOW,
RED, ORANGE,
PURPLE, YELLOW,
BLUE, WHITE,
GREEN, YELLOW,
CYAN, WHITE
)
LED("l+2", "led+2", 64,
PURPLE, YELLOW,
BLUE, WHITE,
RED, ORANGE,
YELLOW, WHITE,
ORANGE, YELLOW,
CYAN, WHITE,
GREEN, YELLOW
)
LED("l+3", "led+3", 0,
ORANGE, YELLOW,
RED, ORANGE,
PURPLE, YELLOW,
GREEN, YELLOW,
BLUE, WHITE,
YELLOW, WHITE,
CYAN, WHITE
)
#undef LED
part { name: "led0"; type: RECT;
description { state: "default" 0.0;
rel1.relative: 0.5 1.0;
rel1.to: "logo";
rel2.relative: 0.5 1.0;
rel2.to: "logo";
align: 0.5 0.0;
FIXED_SIZE(20, 20)
visible: 0;
}
}
part { name: "led-1"; type: RECT;
description { state: "default" 0.0;
rel1.relative: -1.0 0.0;
rel1.to: "led0";
rel2.relative: -1.0 1.0;
rel2.to: "led0";
align: 0.0 0.5;
FIXED_SIZE(20, 20)
visible: 0;
}
}
part { name: "led-2"; type: RECT;
description { state: "default" 0.0;
rel1.relative: -1.0 0.0;
rel1.to: "led-1";
rel2.relative: -1.0 1.0;
rel2.to: "led-1";
align: 0.0 0.5;
FIXED_SIZE(20, 20)
visible: 0;
}
}
part { name: "led-3"; type: RECT;
description { state: "default" 0.0;
rel1.relative: -1.0 0.0;
rel1.to: "led-2";
rel2.relative: -1.0 1.0;
rel2.to: "led-2";
align: 0.0 0.5;
FIXED_SIZE(20, 20)
visible: 0;
}
}
part { name: "led+1"; type: RECT;
description { state: "default" 0.0;
rel1.relative: 2.0 0.0;
rel1.to: "led0";
rel2.relative: 2.0 1.0;
rel2.to: "led0";
align: 1.0 0.5;
FIXED_SIZE(20, 20)
visible: 0;
}
}
part { name: "led+2"; type: RECT;
description { state: "default" 0.0;
rel1.relative: 2.0 0.0;
rel1.to: "led+1";
rel2.relative: 2.0 1.0;
rel2.to: "led+1";
align: 1.0 0.5;
FIXED_SIZE(20, 20)
visible: 0;
}
}
part { name: "led+3"; type: RECT;
description { state: "default" 0.0;
rel1.relative: 2.0 0.0;
rel1.to: "led+2";
rel2.relative: 2.0 1.0;
rel2.to: "led+2";
align: 1.0 0.5;
FIXED_SIZE(20, 20)
visible: 0;
}
}
part { name: "blanker"; type: RECT; mouse_events: 0;
description { state: "default" 0.0;
color: 0 0 0 255;
visible: 1;
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
color: 0 0 0 0;
visible: 0;
}
}
}
programs {
program {
signal: "load"; source: "";
script {
set_int(is_ready, 0);
set_int(do_end, 0);
}
}
#define PROG(_NAME) \
program { name: _NAME"0"; \
signal: "show"; source: ""; \
action: STATE_SET "col1" 0.0; \
target: _NAME"_base"; \
target: _NAME"_glow"; \
transition: SINUSOIDAL 0.5; \
in: 0.2 0.5; \
after: _NAME"1"; \
} \
program { name: _NAME"1"; \
action: STATE_SET "col2" 0.0; \
target: _NAME"_base"; \
target: _NAME"_glow"; \
transition: SINUSOIDAL 0.5; \
in: 0.2 0.5; \
after: _NAME"2"; \
} \
program { name: _NAME"2"; \
action: STATE_SET "col3" 0.0; \
target: _NAME"_base"; \
target: _NAME"_glow"; \
transition: SINUSOIDAL 0.5; \
in: 0.2 0.5; \
after: _NAME"1"; \
} \
program { name: _NAME"3"; \
action: STATE_SET "col4" 0.0; \
target: _NAME"_base"; \
target: _NAME"_glow"; \
transition: SINUSOIDAL 0.5; \
in: 0.2 0.5; \
after: _NAME"1"; \
} \
program { name: _NAME"4"; \
action: STATE_SET "col5" 0.0; \
target: _NAME"_base"; \
target: _NAME"_glow"; \
transition: SINUSOIDAL 0.5; \
in: 0.2 0.5; \
after: _NAME"1"; \
} \
program { name: _NAME"5"; \
action: STATE_SET "col6" 0.0; \
target: _NAME"_base"; \
target: _NAME"_glow"; \
transition: SINUSOIDAL 0.5; \
in: 0.2 0.5; \
after: _NAME"1"; \
} \
program { name: _NAME"6"; \
action: STATE_SET "default" 0.0; \
target: _NAME"_base"; \
target: _NAME"_glow"; \
transition: SINUSOIDAL 0.5; \
in: 0.2 0.5; \
after: _NAME"1"; \
}
PROG("l0")
PROG("l-1")
PROG("l-2")
PROG("l-3")
PROG("l+1")
PROG("l+2")
PROG("l+3")
#undef PROG
program {
signal: "show"; source: "";
action: STATE_SET "visible" 0.0;
transition: DECELERATE 1.0;
target: "shadow";
target: "blanker";
after: "ready";
}
program { name: "logo_pulse";
signal: "show"; source: "";
action: STATE_SET "active" 0.0;
target: "logo_glow";
transition: BOUNCE 0.8 0.5 6;
after: "logo_pulse2";
}
program { name: "logo_pulse2";
action: STATE_SET "default" 0.0;
target: "logo_glow";
transition: SINUSOIDAL 0.8;
after: "logo_pulse";
}
program { name: "ready";
script {
new val;
val = get_int(do_end);
if (val == 1)
run_program(PROGRAM:"exit1");
else
set_int(is_ready, 1);
}
}
program {
signal: "e,state,done"; source: "e";
script {
new val;
val = get_int(is_ready);
if (val == 1)
run_program(PROGRAM:"exit1");
else
set_int(do_end, 1);
}
}
program { name: "exit1";
signal: "e,state,done"; source: "e";
action: STATE_SET "default" 0.0;
transition: SINUSOIDAL 1.0 CURRENT;
target: "shadow";
target: "blanker";
after: "exit2";
}
program { name: "exit2";
action: SIGNAL_EMIT "e,state,done_ok" "e";
}
}
}
group { name: "e/init/extra_screen";
images.image: "screen_circular_shadow.png" COMP;
images.image: "bg_radgrad.png" COMP;
images.image: "dot_pattern.png" COMP;
parts {
part { name: "clip"; type: RECT; mouse_events: 0;
description { state: "default" 0.0;
}
}
part { name: "bg";
description { state: "default" 0.0;
image.normal: "bg_radgrad.png";
image.scale_hint: STATIC;
fill.smooth: 0;
ASPECT_FILL((1024/653))
}
}
part { name: "pat";
description { state: "default" 0.0;
image.normal: "dot_pattern.png";
TILED_PATTERN(256, 256)
}
}
part { name: "shadow"; mouse_events: 0;
clip_to: "clip";
description { state: "default" 0.0;
rel1.relative: 0.0 0.0;
rel2.relative: 1.0 1.0;
color: 255 255 255 255;
image.normal: "screen_circular_shadow.png";
fill.smooth: 0;
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
rel1.relative: -1.0 -1.0;
rel2.relative: 2.0 2.0;
color: 255 255 255 255;
}
}
part { name: "blanker"; type: RECT; mouse_events: 0;
description { state: "default" 0.0;
color: 0 0 0 255;
visible: 1;
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
color: 0 0 0 0;
visible: 0;
}
}
}
programs {
program {
signal: "show"; source: "";
action: STATE_SET "visible" 0.0;
transition: DECELERATE 1.0;
target: "shadow";
target: "blanker";
}
}
}

View File

@ -0,0 +1,37 @@
group { name: "e/widgets/label";
parts {
part { name: "e.text.label"; type: TEXT;
effect: SHADOW BOTTOM;
scale: 1;
description { state: "default" 0.0;
rel1.offset: 2 2;
rel2.offset: -3 -3;
color: 255 255 255 255;
color3: 0 0 0 128;
color_class: "label_text";
text { font: FN; size: 10;
min: 1 1;
align: 0.0 0.5;
text_class: "label";
}
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
color: 21 21 21 255;
color3: 255 255 255 25;
}
}
}
programs {
program {
signal: "e,state,disabled"; source: "e";
action: STATE_SET "disabled" 0.0;
target: "e.text.label";
}
program {
signal: "e,state,enabled"; source: "e";
action: STATE_SET "default" 0.0;
target: "e.text.label";
}
}
}

View File

@ -0,0 +1,532 @@
group { name: "e/widgets/menu/default/background";
images.image: "vgrad_med_lighter.png" COMP;
images.image: "bevel_out.png" COMP;
images.image: "shine.png" COMP;
parts {
part { name: "base"; type: RECT; mouse_events: 0;
description { state: "default" 0.0;
rel1.relative: 0.0 1.0;
rel1.to_y: "top";
color: 64 64 64 255;
}
}
part { name: "top"; mouse_events: 0;
description { state: "default" 0.0;
image.normal: "vgrad_med_lighter.png";
rel2.to_y: "e.text.title";
rel2.offset: -1 0;
min: 0 23;
align: 0.0 0.0;
fill.smooth: 0;
TILED_HORIZ(120)
fixed: 0 1;
}
description { state: "active" 0.0;
inherit: "default" 0.0;
min: 0 0;
rel2.offset: -1 1;
}
}
part { name: "e.text.title"; type: TEXT; mouse_events: 0;
scale: 1;
effect: SHADOW BOTTOM;
description { state: "default" 0.0;
color_class: "menu_title";
rel1.relative: 0.0 0.0;
rel1.offset: 1 0;
rel2.relative: 1.0 0.0;
rel2.offset: -2 -1;
align: 0.5 0.0;
color: 21 21 21 255;
color3: 255 255 255 25;
max: 0 0;
text { font: FNBD; size: 10;
text_class: "menu_title";
align: 0.5 0.0;
min: 0 0;
}
fixed: 0 1;
visible: 0;
}
description { state: "active" 0.0;
inherit: "default" 0.0;
rel1.offset: 1 3;
rel2.offset: -2 3;
max: 99999 99999;
text.min: 0 1;
visible: 1;
}
}
part { name: "e.swallow.content"; type: SWALLOW;
description { state: "default" 0.0;
rel1.relative: 0.0 0.0;
rel1.offset: 0 3;
rel1.to_y: "bevel";
rel2.offset: -1 -4;
}
description { state: "active" 0.0;
inherit: "default" 0.0;
rel1.relative: 0.0 1.0;
rel1.offset: 0 0;
rel1.to_y: "top";
}
}
part { name: "bevel"; mouse_events: 0;
description { state: "default" 0.0;
image.normal: "bevel_out.png";
image.border: 1 1 1 1;
image.middle: 0;
fill.smooth: 0;
}
}
part { name: "shine"; mouse_events: 0;
description { state: "default" 0.0;
image.normal: "shine.png";
rel1.offset: 0 -2;
rel1.to: "top";
rel2.relative: 1.0 0.0;
rel2.offset: -1 2;
rel2.to: "top";
FIXED_SIZE(69, 5)
}
}
}
programs {
program {
signal: "e,action,show,title"; source: "e";
action: STATE_SET "active" 0.0;
target: "top";
target: "e.text.title";
target: "e.swallow.content";
}
program {
signal: "e,action,hide,title"; source: "e";
action: STATE_SET "default" 0.0;
target: "top";
target: "e.text.title";
target: "e.swallow.content";
}
}
}
group { name: "e/widgets/menu/default/separator";
images.image: "separator_horiz.png" COMP;
parts {
part { name: "base";
description { state: "default" 0.0;
image.normal: "separator_horiz.png";
rel1.offset: 0 2;
rel2.offset: -1 -3;
min: 0 2;
fill.smooth: 0;
}
}
}
}
group { name: "e/widgets/menu/default/item_bg";
alias: "e/widgets/menu/default/submenu_bg";
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 {
part { name: "shadow"; mouse_events: 0;
description { state: "default" 0.0;
image.normal: "shadow_rounded_horiz.png";
image.border: 0 0 9 9;
rel1.offset: 0 -4;
rel2.offset: -1 5;
fill.smooth: 0;
visible: 0;
}
description { state: "active" 0.0;
inherit: "default" 0.0;
visible: 1;
}
}
part { name: "base"; mouse_events: 0;
description { state: "default" 0.0;
image.normal: "vgrad_med_dark.png";
fill.smooth: 0;
TILED_HORIZ(120)
visible: 0;
}
description { state: "active" 0.0;
inherit: "default" 0.0;
visible: 1;
}
}
part { name: "e.swallow.content"; type: SWALLOW;
description { state: "default" 0.0;
rel1.relative: 0.0 0.0;
rel1.offset: 3 3;
rel2.offset: -3 -4;
}
}
part { name: "bevel"; mouse_events: 0;
description { state: "default" 0.0;
image.normal: "bevel_horiz_out.png";
image.border: 0 0 2 2;
image.middle: 0;
fill.smooth: 0;
visible: 0;
}
description { state: "active" 0.0;
inherit: "default" 0.0;
visible: 1;
}
}
part { name: "shine"; mouse_events: 0;
description { state: "default" 0.0;
image.normal: "shine.png";
rel1.offset: 0 -2;
rel1.to: "base";
rel2.relative: 1.0 0.0;
rel2.offset: -1 2;
rel2.to: "base";
FIXED_SIZE(69, 5)
visible: 0;
}
description { state: "active" 0.0;
inherit: "default" 0.0;
visible: 1;
}
}
part { name: "events"; type: RECT;
description { state: "default";
color: 0 0 0 0;
}
}
}
programs {
program {
signal: "e,state,selected"; source: "e";
action: STATE_SET "active" 0.0;
target: "shadow";
target: "base";
target: "bevel";
target: "shine";
}
program {
signal: "e,state,unselected"; source: "e";
action: STATE_SET "default" 0.0;
target: "shadow";
target: "base";
target: "bevel";
target: "shine";
}
}
}
group { name: "e/widgets/menu/default/icon";
parts {
part { name: "clip"; type: RECT; mouse_events: 0;
description { state: "default" 0.0;
color: 255 255 255 255;
}
description { state: "disabled" 0.0;
color: 255 255 255 128;
}
}
part { name: "e.swallow.content"; type: SWALLOW;
clip_to: "clip";
scale: 1;
description { state: "default" 0.0;
min: 16 16;
rel1.offset: 2 2;
rel2.offset: -3 -3;
}
}
}
programs {
program {
signal: "e,state,enable"; source: "e";
action: STATE_SET "default" 0.0;
target: "clip";
}
program {
signal: "e,state,disable"; source: "e";
action: STATE_SET "disabled" 0.0;
target: "clip";
}
}
}
group { name: "e/widgets/menu/default/label";
parts {
part { name: "base"; type: RECT;
description { state: "default";
color: 0 0 0 0;
}
}
part { name: "e.text.label"; type: TEXT; mouse_events: 0;
effect: SHADOW BOTTOM;
scale: 1;
description { state: "default" 0.0;
rel1.offset: 5 -1;
rel2.offset: -4 -1;
color: 255 255 255 255;
color3: 0 0 0 128;
color_class: "menu_item";
text { font: FN; size: 10;
min: 1 1;
align: 0.0 0.5;
text_class: "menu_item";
}
}
description { state: "selected" 0.0;
inherit: "default" 0.0;
visible: 0;
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
visible: 0;
}
}
part { name: "label2"; type: TEXT; mouse_events: 0;
effect: SHADOW BOTTOM;
scale: 1;
description { state: "default" 0.0;
rel1.to: "e.text.label";
rel2.to: "e.text.label";
color: 21 21 21 255;
color3: 255 255 255 25;
color_class: "menu_item_disabled";
text { font: FN; size: 10;
text_source: "e.text.label";
align: 0.0 0.5;
text_class: "menu_item";
}
visible: 0;
}
description { state: "selected" 0.0;
inherit: "default" 0.0;
visible: 0;
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
visible: 1;
}
}
part { name: "label3"; type: TEXT; mouse_events: 0;
effect: GLOW;
scale: 1;
description { state: "default" 0.0;
rel1.offset: -2 -3;
rel1.to: "e.text.label";
rel2.offset: 2 1;
rel2.to: "e.text.label";
color: 51 153 255 255;
color2: 51 153 255 24;
color3: 51 153 255 18;
color_class: "menu_item_active";
text { font: FN; size: 10;
text_source: "e.text.label";
align: 0.0 0.5;
text_class: "menu_item";
}
visible: 0;
}
description { state: "selected" 0.0;
inherit: "default" 0.0;
visible: 1;
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
visible: 0;
}
}
}
programs {
program {
signal: "e,state,selected"; source: "e";
action: STATE_SET "selected" 0.0;
target: "e.text.label";
target: "label2";
target: "label3";
}
program {
signal: "e,state,unselected"; source: "e";
action: STATE_SET "default" 0.0;
target: "e.text.label";
target: "label2";
target: "label3";
}
program {
signal: "e,state,enable"; source: "e";
action: STATE_SET "default" 0.0;
target: "e.text.label";
target: "label2";
target: "label3";
}
program {
signal: "e,state,disable"; source: "e";
action: STATE_SET "disabled" 0.0;
target: "e.text.label";
target: "label2";
target: "label3";
}
}
}
group { name: "e/widgets/menu/default/submenu";
images.image: "sym_right_light_normal.png" COMP;
images.image: "sym_right_glow_normal.png" COMP;
images.image: "vertical_separated_bar_glow.png" COMP;
parts {
part { name: "base";
description { state: "default" 0.0;
image.normal: "sym_right_light_normal.png";
rel2.offset: -2 -1;
min: 15 15;
max: 15 15;
}
description { state: "selected" 0.0;
inherit: "default" 0.0;
image.normal: "sym_right_glow_normal.png";
}
}
part { name: "bar"; mouse_events: 0;
description { state: "default" 0.0;
rel1.relative: 1.0 0.0;
rel1.offset: -10 -8;
rel2.offset: 4 7;
image.normal: "vertical_separated_bar_glow.png";
image.border: 7 7 7 7;
fill.smooth: 0;
visible: 0;
}
description { state: "selected" 0.0;
inherit: "default" 0.0;
visible: 1;
}
}
}
programs {
program {
signal: "e,state,selected"; source: "e";
action: STATE_SET "selected" 0.0;
target: "base";
target: "bar";
}
program {
signal: "e,state,unselected"; source: "e";
action: STATE_SET "default" 0.0;
target: "base";
target: "bar";
}
}
}
group { name: "e/widgets/menu/default/check";
images.image: "inset_shadow_tiny.png" COMP;
images.image: "bevel_in.png" COMP;
images.image: "sym_check_alum.png" COMP;
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;
}
}
part { name: "shadow"; mouse_events: 0;
description { state: "default" 0.0;
image.normal: "inset_shadow_tiny.png";
rel1.to: "base";
rel2.to: "base";
}
}
part { name: "inset"; mouse_events: 0;
description { state: "default" 0.0;
image.normal: "bevel_in.png";
image.border: 1 1 1 1;
image.middle: 0;
fill.smooth: 0;
min: 13 13;
max: 13 13;
}
}
part { name: "indicator"; mouse_events: 0;
description { state: "default" 0.0;
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;
}
}
}
programs {
// program {
// signal: "e,state,selected"; source: "e";
// }
// program {
// signal: "e,state,unselected"; source: "e";
// }
program {
signal: "e,state,on"; source: "e";
action: STATE_SET "selected" 0.0;
target: "indicator";
}
program {
signal: "e,state,off"; source: "e";
action: STATE_SET "default" 0.0;
target: "indicator";
}
}
}
group { name: "e/widgets/menu/default/radio";
images.image: "inset_shadow_circle_tiny.png" COMP;
images.image: "sym_radio_alum.png" COMP;
parts {
part { name: "base";
description { state: "default" 0.0;
image.normal: "inset_shadow_circle_tiny.png";
min: 13 13;
max: 13 13;
}
}
part { name: "indicator"; mouse_events: 0;
description { state: "default" 0.0;
rel1.to: "base";
rel2.to: "base";
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;
}
}
}
programs {
// program {
// signal: "e,state,selected"; source: "e";
// }
// program {
// signal: "e,state,unselected"; source: "e";
// }
program {
signal: "e,state,on"; source: "e";
action: STATE_SET "selected" 0.0;
target: "indicator";
}
program {
signal: "e,state,off"; source: "e";
action: STATE_SET "default" 0.0;
target: "indicator";
}
}
}

Some files were not shown because too many files have changed in this diff Show More