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;