forked from enlightenment/efl
eln - theme - flat theme lands
This is where flat is now good enough to get to master, so ... in it goes. it needs a lot of cleaning. lots of images no longer used in the tree. needs wortk on colorclasses and what not. needs polishing for scaling (much better than old default though). probably needs a once-over yto ensure things have not been missed. @feat
This commit is contained in:
parent
cf6b3667c3
commit
84c2da2c0f
|
@ -1,4 +1,4 @@
|
|||
efl_version: 1 22;
|
||||
efl_version: 1 25;
|
||||
|
||||
#include "macros.edc"
|
||||
|
||||
|
@ -6,25 +6,38 @@ externals.external: "elm";
|
|||
|
||||
// theme api version. from 1.10 on we will check version to avoid
|
||||
// compat issues
|
||||
data.item: "version" "119";
|
||||
data.item: "version" "125";
|
||||
data.item: "efl_theme_base" "dark";
|
||||
|
||||
collections {
|
||||
|
||||
sounds {
|
||||
sample { name: "splash" LOSSY 256; source: "splash.wav"; }
|
||||
sample { name: "wood-tap1" LOSSY 64; source: "wood-tap.wav"; }
|
||||
sample { name: "wood-tap2" LOSSY 64; source: "wood-tap2.wav"; }
|
||||
sample { name: "key-tap1" LOSSY 64; source: "kbd-tap.wav"; }
|
||||
sample { name: "key-tap2" LOSSY 64; source: "kbd-tap2.wav"; }
|
||||
sample { name: "key-tap3" LOSSY 64; source: "kbd-tap3.wav"; }
|
||||
sample { name: "key-tap4" LOSSY 64; source: "kbd-tap4.wav"; }
|
||||
sample { name: "key-tap5" LOSSY 64; source: "kbd-tap5.wav"; }
|
||||
sample { name: "synth-worble-dn" LOSSY 128; source: "synth-worble-down.wav"; }
|
||||
sample { name: "synth-worble-up" LOSSY 128; source: "synth-worble-up.wav"; }
|
||||
}
|
||||
|
||||
#include "ic.edc"
|
||||
|
||||
#include "fonts.edc"
|
||||
#include "colorclasses.edc"
|
||||
|
||||
// elm
|
||||
#include "edc/elm/bg.edc"
|
||||
#include "edc/elm/button.edc"
|
||||
// XXX: mobile mode needs invisible 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"
|
||||
|
@ -67,7 +80,6 @@ collections {
|
|||
#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"
|
||||
|
@ -77,33 +89,9 @@ collections {
|
|||
#include "edc/elm/code.edc"
|
||||
#include "edc/elm/ews.edc"
|
||||
#include "edc/elm/textpath.edc"
|
||||
#include "edc/elm/slider.edc"
|
||||
|
||||
|
||||
// desktop in general
|
||||
#include "edc/wallpaper.edc"
|
||||
#include "edc/comp.edc"
|
||||
#include "edc/comp_compat.edc"
|
||||
#include "edc/comp_effects.edc"
|
||||
#include "edc/background.edc"
|
||||
#include "edc/bryce.edc"
|
||||
#include "edc/bryce_editor.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/deskmirror.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"
|
||||
|
@ -125,6 +113,30 @@ collections {
|
|||
#include "edc/cslider.edc"
|
||||
#include "edc/spectrum.edc"
|
||||
|
||||
// desktop in general
|
||||
#include "edc/wallpaper.edc"
|
||||
#include "edc/comp.edc"
|
||||
#include "edc/comp_compat.edc"
|
||||
#include "edc/comp_effects.edc"
|
||||
#include "edc/background.edc"
|
||||
#include "edc/bryce.edc"
|
||||
#include "edc/bryce_editor.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/winlist.edc"
|
||||
#include "edc/desklock.edc"
|
||||
#include "edc/deskmirror.edc"
|
||||
#include "edc/wizard.edc"
|
||||
#include "edc/init.edc"
|
||||
#include "edc/about-e.edc"
|
||||
#include "edc/about-theme.edc"
|
||||
#include "edc/transitions.edc"
|
||||
|
||||
// modules
|
||||
#include "edc/start.edc"
|
||||
#include "edc/pager.edc"
|
||||
|
@ -142,7 +154,9 @@ collections {
|
|||
#include "edc/randr.edc"
|
||||
#include "edc/notification.edc"
|
||||
#include "edc/cpufreq.edc"
|
||||
#include "edc/cpuclock.edc"
|
||||
#include "edc/temperature.edc"
|
||||
#include "edc/thermal.edc"
|
||||
#include "edc/backlight.edc"
|
||||
#include "edc/mixer.edc"
|
||||
#include "edc/battery.edc"
|
||||
|
@ -150,6 +164,7 @@ collections {
|
|||
#include "edc/evrything.edc"
|
||||
#include "edc/illume.edc"
|
||||
#include "edc/bluez4.edc"
|
||||
#include "edc/bluez5.edc"
|
||||
#include "edc/packagekit.edc"
|
||||
#include "edc/wireless.edc"
|
||||
#include "edc/time.edc"
|
||||
|
@ -157,6 +172,7 @@ collections {
|
|||
#include "edc/memusage.edc"
|
||||
#include "edc/cpumonitor.edc"
|
||||
#include "edc/netstatus.edc"
|
||||
#include "edc/tiling.edc"
|
||||
|
||||
// icons
|
||||
#include "edc/icons.edc"
|
||||
|
@ -173,11 +189,9 @@ collections {
|
|||
#include "edc/efl/calendar.edc"
|
||||
#include "edc/efl/navigation_bar.edc"
|
||||
#include "edc/efl/navigation_layout.edc"
|
||||
// XXX: mobile mode needs invisible scrollers... make signals that do this
|
||||
#include "edc/efl/scroller.edc"
|
||||
#include "edc/efl/list.edc"
|
||||
#include "edc/efl/grid.edc"
|
||||
// XXX: mobile mode needs different entry setup
|
||||
#include "edc/efl/text.edc"
|
||||
#include "edc/efl/frame.edc"
|
||||
#include "edc/efl/check.edc"
|
||||
|
@ -197,7 +211,6 @@ collections {
|
|||
#include "edc/efl/spin_button.edc"
|
||||
#include "edc/efl/datepicker.edc"
|
||||
#include "edc/efl/timepicker.edc"
|
||||
// XXX: min size calc problems - too wide! ... err ok on my 32bit box... eh?
|
||||
#include "edc/efl/cursor.edc"
|
||||
#include "edc/efl/pointer.edc"
|
||||
#include "edc/efl/textpath.edc"
|
||||
|
@ -209,5 +222,4 @@ collections {
|
|||
#include "edc/efl/tab_page.edc"
|
||||
#include "edc/efl/collection.edc"
|
||||
#include "edc/efl/group_item.edc"
|
||||
#include "edc/efl/separator.edc"
|
||||
}
|
||||
|
|
|
@ -1,470 +1,2 @@
|
|||
// EFM icons //
|
||||
|
||||
//Base 1//
|
||||
|
||||
#define EFM_MIME_ICON(_NAME, _IMAGE, _ASPMIN, _ASPMAX, _STRING, _SIZE, _VALIGN) \
|
||||
group { name: "e/icons/fileman/mime/"_NAME; \
|
||||
max: _SIZE _SIZE; \
|
||||
images.image: "efm_generic_icon_shadow.png" COMP; \
|
||||
images.image: "efm_generic_icon_base.png" COMP; \
|
||||
images.image: "efm_generic_icon_over.png" COMP; \
|
||||
images.image: _IMAGE COMP; \
|
||||
parts { \
|
||||
part { name: "spacer"; type: SPACER; \
|
||||
description { state: "default" 0.0; \
|
||||
aspect: 1.0 1.0; aspect_preference: BOTH; \
|
||||
} \
|
||||
} \
|
||||
part { name: "shadow"; mouse_events: 0; \
|
||||
description { state: "default" 0.0; \
|
||||
rel1.to: "spacer"; \
|
||||
rel1.relative: (15/240) (10/240); \
|
||||
rel2.to: "spacer"; \
|
||||
rel2.relative: (225/240) (240/240); \
|
||||
image.normal: "efm_generic_icon_shadow.png"; \
|
||||
} \
|
||||
} \
|
||||
part { name: "base"; mouse_events: 0; \
|
||||
description { state: "default" 0.0; \
|
||||
rel1.to: "spacer"; \
|
||||
rel1.relative: (30/240) (15/240); \
|
||||
rel2.to: "spacer"; \
|
||||
rel2.relative: (210/240) (225/240); \
|
||||
image.normal: "efm_generic_icon_base.png"; \
|
||||
} \
|
||||
} \
|
||||
part { name: "content"; mouse_events: 0; \
|
||||
description { state: "default" 0.0; \
|
||||
rel1.to: "base"; \
|
||||
rel1.relative: (28/180) (28/210); \
|
||||
rel2.to: "base"; \
|
||||
rel2.relative: (152/180) (182/210); \
|
||||
align: 0.5 _VALIGN; \
|
||||
aspect: _ASPMIN _ASPMAX; aspect_preference: BOTH; \
|
||||
image.normal: _IMAGE; \
|
||||
} \
|
||||
} \
|
||||
part { name: "over"; mouse_events: 0; \
|
||||
description { state: "default" 0.0; \
|
||||
rel1.to: "base"; \
|
||||
rel2.to: "base"; \
|
||||
image.normal: "efm_generic_icon_over.png"; \
|
||||
} \
|
||||
} \
|
||||
part { name: "typestr"; type: TEXT; mouse_events: 0; \
|
||||
description { state: "default" 0.0; \
|
||||
rel1.to: "over"; \
|
||||
rel1.relative: (72/180) (142/210); \
|
||||
rel2.to: "over"; \
|
||||
rel2.relative: (178/180) (188/210); \
|
||||
color: 255 255 255 255; \
|
||||
text { font: FN; size: 8; \
|
||||
fit: 0 1; \
|
||||
align: 0.5 0.5; \
|
||||
text: _STRING; \
|
||||
} \
|
||||
} \
|
||||
} \
|
||||
} \
|
||||
}
|
||||
//Python//
|
||||
|
||||
EFM_MIME_ICON("application/x-python-bytecode", "efm_generic_icon_content_python.png", (114/115), (114/115), ".PYC", 240, 0.5);
|
||||
EFM_MIME_ICON("application/x-python", "efm_generic_icon_content_python.png", (114/115), (114/115), ".PY", 240, 0.5);
|
||||
EFM_MIME_ICON("text/x-python", "efm_generic_icon_content_python.png", (114/115), (114/115), ".PY", 240, 0.5);
|
||||
|
||||
//.pyo .pyd??????????????????//
|
||||
|
||||
//Ruby//
|
||||
|
||||
EFM_MIME_ICON("application/x-ruby", "efm_generic_icon_content_ruby.png", (114/114), (114/114), ".RB", 240, 0.5);
|
||||
EFM_MIME_ICON("text/x-ruby", "efm_generic_icon_content_ruby.png", (114/114), (114/114), ".RB", 240, 0.5);
|
||||
|
||||
//.rbw???//
|
||||
|
||||
//Perl//
|
||||
|
||||
EFM_MIME_ICON("application/x-perl", "efm_generic_icon_content_perl.png", (114/122), (114/122), ".PERL", 240, 0.5);
|
||||
EFM_MIME_ICON("text/x-perl","efm_generic_icon_content_perl.png", (114/122), (114/122), ".PL", 240, 0.5);
|
||||
|
||||
//CAD//
|
||||
|
||||
EFM_MIME_ICON("application/acad", "efm_generic_icon_content_cad.png", (114/130), (114/130), ".DWG", 240, 0.5);
|
||||
EFM_MIME_ICON("application/x-acad", "efm_generic_icon_content_cad.png", (114/130), (114/130), ".DWG", 240, 0.5);
|
||||
EFM_MIME_ICON("application/autocad_dwg", "efm_generic_icon_content_cad.png", (114/130), (114/130), ".DWG", 240, 0.5);
|
||||
EFM_MIME_ICON("image/x-dwg", "efm_generic_icon_content_cad.png", (114/130), (114/130), ".DWG", 240, 0.5);
|
||||
EFM_MIME_ICON("application/dwg", "efm_generic_icon_content_cad.png", (114/130), (114/130), ".DWG", 240, 0.5);
|
||||
EFM_MIME_ICON("application/x-dwg", "efm_generic_icon_content_cad.png", (114/130), (114/130), ".DWG", 240, 0.5);
|
||||
EFM_MIME_ICON("application/x-autocad", "efm_generic_icon_content_cad.png", (114/130), (114/130), ".DWG", 240, 0.5);
|
||||
EFM_MIME_ICON("image/vnd.dwg", "efm_generic_icon_content_cad.png", (114/130), (114/130), ".DWG", 240, 0.5);
|
||||
EFM_MIME_ICON("drawing/dwg", "efm_generic_icon_content_cad.png", (114/130), (114/130), ".DWG", 240, 0.5);
|
||||
|
||||
//ISO//
|
||||
|
||||
EFM_MIME_ICON("application/x-iso9660-image", "efm_generic_icon_content_iso.png", (114/114), (114/114), ".ISO", 240, 0.5);
|
||||
|
||||
//Cue//
|
||||
|
||||
EFM_MIME_ICON("application/x-cue", "efm_generic_icon_content_iso.png", (114/114), (114/114), ".CUE", 240, 0.5);
|
||||
|
||||
//Audio//
|
||||
|
||||
EFM_MIME_ICON("audio/mpeg", "efm_generic_icon_content_audio.png", (54/154), (54/154), ".MP3", 240, 0.5);
|
||||
EFM_MIME_ICON("audio/x-wav","efm_generic_icon_content_audio.png", (54/154), (54/154), ".WAV", 240, 0.5);
|
||||
EFM_MIME_ICON("audio/x-flac","efm_generic_icon_content_audio.png", (54/154), (54/154), ".FLAC", 240, 0.5);
|
||||
EFM_MIME_ICON("audio/flac","efm_generic_icon_content_audio.png", (54/154), (54/154), ".FLAC", 240, 0.5);
|
||||
EFM_MIME_ICON("audio/x-musepack","efm_generic_icon_content_audio.png", (54/154), (54/154), ".MPC", 240, 0.5);
|
||||
EFM_MIME_ICON("audio/x-vorbis+ogg","efm_generic_icon_content_audio.png",(54/154), (54/154), ".OGG", 240, 0.5);
|
||||
EFM_MIME_ICON("application/x-audacity-project","efm_generic_icon_content_audio.png",(54/154), (54/154), ".AUP", 240, 0.5);
|
||||
EFM_MIME_ICON("audio/x-ms-wma","efm_generic_icon_content_audio.png", (54/154), (54/154),".WMA", 240, 0.5);
|
||||
EFM_MIME_ICON("audio/opus","efm_generic_icon_content_audio.png", (54/154), (54/154),".OPUS", 240, 0.5);
|
||||
EFM_MIME_ICON("audio/ogg","efm_generic_icon_content_audio.png", (54/154), (54/154),".OPUS", 240, 0.5);
|
||||
EFM_MIME_ICON("audio/x-opus+ogg","efm_generic_icon_content_audio.png", (54/154), (54/154),".OPUS", 240, 0.5);
|
||||
EFM_MIME_ICON("audio/ape","efm_generic_icon_content_audio.png", (54/154), (54/154), ".APE", 240, 0.5);
|
||||
EFM_MIME_ICON("audio/webm","efm_generic_icon_content_audio.png", (54/154), (54/154), ".WEBA", 240, 0.5);
|
||||
EFM_MIME_ICON("audio/mp4","efm_generic_icon_content_audio.png", (54/154), (54/154), ".MP4", 240, 0.5);
|
||||
EFM_MIME_ICON("audio/midi","efm_generic_icon_content_audio.png", (54/154), (54/154),".MIDI", 240, 0.5);
|
||||
EFM_MIME_ICON("audio/speex","efm_generic_icon_content_audio.png",(54/154), (54/154), ".SPX", 240, 0.5);
|
||||
EFM_MIME_ICON("audio/aac","efm_generic_icon_content_audio.png", (54/154), (54/154),".AAC", 240, 0.5);
|
||||
EFM_MIME_ICON("audio/vnd.rn-realaudio","efm_generic_icon_content_audio.png", (54/154), (54/154),".RA", 240, 0.5);
|
||||
EFM_MIME_ICON("audio/x-voc","efm_generic_icon_content_audio.png", (54/154), (54/154),".VOC", 240, 0.5);
|
||||
EFM_MIME_ICON("audio/x-tta","efm_generic_icon_content_audio.png", (54/154), (54/154),".TTA", 240, 0.5);
|
||||
EFM_MIME_ICON("audio/x-stm","efm_generic_icon_content_audio.png", (54/154), (54/154),".STM", 240, 0.5);
|
||||
EFM_MIME_ICON("audio/x-speex+ogg","efm_generic_icon_content_audio.png", (54/154), (54/154),".SPX", 240, 0.5);
|
||||
EFM_MIME_ICON("audio/x-wacpack","efm_generic_icon_content_audio.png", (54/154), (54/154),".WV", 240, 0.5);
|
||||
EFM_MIME_ICON("audio/x-xmf","efm_generic_icon_content_audio.png", (54/154), (54/154),".XMF", 240, 0.5);
|
||||
EFM_MIME_ICON("audio/x-xm","efm_generic_icon_content_audio.png", (54/154), (54/154),".XM", 240, 0.5);
|
||||
EFM_MIME_ICON("audio/x-xi","efm_generic_icon_content_audio.png", (54/154), (54/154),".XI", 240, 0.5);
|
||||
EFM_MIME_ICON("audio/x-wacpack-correction","efm_generic_icon_content_audio.png", (54/154), (54/154),".WVC", 240, 0.5);
|
||||
EFM_MIME_ICON("audio/x-s3m","efm_generic_icon_content_audio.png", (54/154), (54/154),".S3M", 240, 0.5);
|
||||
EFM_MIME_ICON("audio/x-riff","efm_generic_icon_content_audio.png", (54/154), (54/154),".RMI", 240, 0.5);
|
||||
EFM_MIME_ICON("audio/x-psflib","efm_generic_icon_content_audio.png", (54/154), (54/154),".PSFLIB", 240, 0.5);
|
||||
EFM_MIME_ICON("audio/x-psf","efm_generic_icon_content_audio.png", (54/154), (54/154),".PSF", 240, 0.5);
|
||||
EFM_MIME_ICON("audio/x-scpls","efm_generic_icon_content_audio.png", (54/154), (54/154),".PLS", 240, 0.5);
|
||||
EFM_MIME_ICON("audio/x-ms-asx","efm_generic_icon_content_audio.png", (54/154), (54/154),".ASX", 240, 0.5);
|
||||
EFM_MIME_ICON("audio/x-mpegurl","efm_generic_icon_content_audio.png", (54/154), (54/154),".M3U", 240, 0.5);
|
||||
EFM_MIME_ICON("audio/x-mod","efm_generic_icon_content_audio.png", (54/154), (54/154),".MOD", 240, 0.5);
|
||||
EFM_MIME_ICON("audio/x-mo3","efm_generic_icon_content_audio.png", (54/154), (54/154),".MO3", 240, 0.5);
|
||||
EFM_MIME_ICON("audio/x-minipsf","efm_generic_icon_content_audio.png", (54/154), (54/154),".MINIPSF", 240, 0.5);
|
||||
EFM_MIME_ICON("audio/matroska","efm_generic_icon_content_audio.png", (54/154), (54/154),".MKV", 240, 0.5);
|
||||
EFM_MIME_ICON("audio/x-m4b","efm_generic_icon_content_audio.png", (54/154), (54/154),".M4B", 240, 0.5);
|
||||
EFM_MIME_ICON("audio/x-it","efm_generic_icon_content_audio.png", (54/154), (54/154),".IT", 240, 0.5);
|
||||
EFM_MIME_ICON("audio/x-iriver-pla","efm_generic_icon_content_audio.png", (54/154), (54/154),".PLA", 240, 0.5);
|
||||
EFM_MIME_ICON("audio/x-gsm","efm_generic_icon_content_audio.png", (54/154), (54/154),".GSM", 240, 0.5);
|
||||
EFM_MIME_ICON("audio/x-flac+ogg","efm_generic_icon_content_audio.png",(54/154), (54/154), ".FLAC", 240, 0.5);
|
||||
EFM_MIME_ICON("audio/x-amzxml","efm_generic_icon_content_audio.png",(54/154), (54/154), ".AMZ", 240, 0.5);
|
||||
EFM_MIME_ICON("audio/x-aiff","efm_generic_icon_content_audio.png",(54/154), (54/154), ".AIFF", 240, 0.5);
|
||||
EFM_MIME_ICON("audio/x-aifc","efm_generic_icon_content_audio.png",(54/154), (54/154), ".AIFC", 240, 0.5);
|
||||
EFM_MIME_ICON("audio/x-adpcm","efm_generic_icon_content_audio.png",(54/154), (54/154), ".ADPCM", 240, 0.5);
|
||||
EFM_MIME_ICON("audio/vdn.rn-realaudio","efm_generic_icon_content_audio.png",(54/154), (54/154), ".RA", 240, 0.5);
|
||||
EFM_MIME_ICON("audio/vdn.dts","efm_generic_icon_content_audio.png",(54/154), (54/154), ".DTS", 240, 0.5);
|
||||
EFM_MIME_ICON("audio/vdn.dts.hd","efm_generic_icon_content_audio.png",(54/154), (54/154), ".DTSHD", 240, 0.5);
|
||||
EFM_MIME_ICON("audio/prs.sid","efm_generic_icon_content_audio.png",(54/154), (54/154), ".SID", 240, 0.5);
|
||||
EFM_MIME_ICON("audio/mp2","efm_generic_icon_content_audio.png", (54/154), (54/154), ".MP2", 240, 0.5);
|
||||
EFM_MIME_ICON("audio/basic","efm_generic_icon_content_audio.png", (54/154), (54/154), ".SND", 240, 0.5);
|
||||
EFM_MIME_ICON("audio/annodex","efm_generic_icon_content_audio.png", (54/154), (54/154), ".AXA", 240, 0.5);
|
||||
EFM_MIME_ICON("audio/AMR","efm_generic_icon_content_audio.png", (54/154), (54/154), ".AMR", 240, 0.5);
|
||||
EFM_MIME_ICON("audio/amr","efm_generic_icon_content_audio.png", (54/154), (54/154), ".AMR", 240, 0.5);
|
||||
EFM_MIME_ICON("audio/amr-wb","efm_generic_icon_content_audio.png", (54/154), (54/154), ".AWB", 240, 0.5);
|
||||
EFM_MIME_ICON("audio/AMR-WB","efm_generic_icon_content_audio.png", (54/154), (54/154), ".AWB", 240, 0.5);
|
||||
EFM_MIME_ICON("audio/ac3","efm_generic_icon_content_audio.png", (54/154), (54/154), ".AC3", 240, 0.5);
|
||||
|
||||
EFM_MIME_ICON("application/x-mpegurl","efm_generic_icon_content_audio.png", (54/154), (54/154),".M3U", 240, 0.5);
|
||||
EFM_MIME_ICON("application/vnd.apple.mpegurl","efm_generic_icon_content_audio.png", (54/154), (54/154),".M3U", 240, 0.5);
|
||||
|
||||
//Code//
|
||||
|
||||
EFM_MIME_ICON("text/x-csrc","efm_generic_icon_content_code.png", (114/88), (114/88), ".C", 240, 0.3);
|
||||
EFM_MIME_ICON("text/x-chdr","efm_generic_icon_content_code.png", (114/88), (114/88), ".H", 240, 0.3);
|
||||
EFM_MIME_ICON("text/x-c++hdr","efm_generic_icon_content_code.png", (114/88), (114/88), ".HH", 240, 0.3);
|
||||
EFM_MIME_ICON("text/x-c++src","efm_generic_icon_content_code.png", (114/88), (114/88), ".C++", 240, 0.3);
|
||||
EFM_MIME_ICON("text/x-csharp","efm_generic_icon_content_code.png", (114/88), (114/88), ".C#", 240, 0.3);
|
||||
EFM_MIME_ICON("application/x-awk","efm_generic_icon_content_code.png", (114/88), (114/88), ".AWK", 240, 0.3);
|
||||
EFM_MIME_ICON("text/x-hdr","efm_generic_icon_content_code.png", (114/88), (114/88), ".HPP", 240, 0.3);
|
||||
EFM_MIME_ICON("text/x-fortran","efm_generic_icon_content_code.png", (114/88), (114/88), ".F", 240, 0.3);
|
||||
EFM_MIME_ICON("text/x-java-source","efm_generic_icon_content_code.png", (114/88), (114/88), ".JAVA", 240, 0.3);
|
||||
|
||||
|
||||
//add moreeeeeee//
|
||||
|
||||
//Text//
|
||||
|
||||
EFM_MIME_ICON("text/x-patch","efm_generic_icon_content_text.png", (114/126), (114/126), ".PATCH", 240, 0.5);
|
||||
EFM_MIME_ICON("text/plain","efm_generic_icon_content_text.png", (114/126), (114/126), ".TXT", 240, 0.5);
|
||||
EFM_MIME_ICON("text/x-log","efm_generic_icon_content_text.png", (114/126), (114/126), ".LOG", 240, 0.5);
|
||||
EFM_MIME_ICON("application/x-md5","efm_generic_icon_content_text.png", (114/126), (114/126), ".MD5", 240, 0.5);
|
||||
EFM_MIME_ICON("text/x-makefile","efm_generic_icon_content_text.png", (114/126), (114/126), ".MK", 240, 0.5);
|
||||
EFM_MIME_ICON("application/x-m4","efm_generic_icon_content_text.png", (114/126), (114/126), ".M4", 240, 0.5);
|
||||
EFM_MIME_ICON("application/pkix-attr-cert","efm_generic_icon_content_text.png", (114/126), (114/126), ".AC", 240, 0.5);
|
||||
EFM_MIME_ICON("text/x-subviewer","efm_generic_icon_content_text.png", (114/126), (114/126), ".SUB", 240, 0.5);
|
||||
EFM_MIME_ICON("application/x-wais-source","efm_generic_icon_content_text.png", (114/126), (114/126), ".SRC", 240, 0.5);
|
||||
|
||||
//Web//
|
||||
|
||||
EFM_MIME_ICON("text/css","efm_generic_icon_content_web.png", (114/68), (114/68), ".CSS", 240, 0.3);
|
||||
EFM_MIME_ICON("text/html","efm_generic_icon_content_web.png", (114/68), (114/68), ".HTML", 240, 0.3);
|
||||
EFM_MIME_ICON("application/xml","efm_generic_icon_content_web.png", (114/68), (114/68), ".XML", 240, 0.3);
|
||||
EFM_MIME_ICON("application/javascript","efm_generic_icon_content_web.png", (114/68), (114/68), ".JS", 240, 0.3);
|
||||
EFM_MIME_ICON("application/json","efm_generic_icon_content_web.png", (114/68), (114/68), ".JSON", 240, 0.3);
|
||||
EFM_MIME_ICON("text/json","efm_generic_icon_content_web.png", (114/68), (114/68), ".JSON", 240, 0.3);
|
||||
|
||||
//Enlightenment//
|
||||
|
||||
EFM_MIME_ICON("application/edje","efm_generic_icon_content_logo.png", (114/154), (114/154), ".EDJ", 240, 0.5);
|
||||
EFM_MIME_ICON("text/edje","efm_generic_icon_content_logo.png", (114/154), (114/154), ".EDC", 240, 0.5);
|
||||
|
||||
//Document//
|
||||
|
||||
EFM_MIME_ICON("application/vnd.oasis.opendocument.text","efm_generic_icon_content_doc.png", (114/154), (114/154), ".ODT", 240, 0.5);
|
||||
EFM_MIME_ICON("application/x-msword","efm_generic_icon_content_doc.png", (114/154), (114/154), ".DOC", 240, 0.5);
|
||||
EFM_MIME_ICON("application/vnd.openxmlformats-officedocument.wordprocessingml.document","efm_generic_icon_content_doc.png", (114/154), (114/154), ".DOCX", 240, 0.5);
|
||||
EFM_MIME_ICON("application/x-abiword","efm_generic_icon_content_doc.png", (114/154), (114/154), ".ABW", 240, 0.5);
|
||||
EFM_MIME_ICON("application/vnd.scribus","efm_generic_icon_content_doc.png", (114/154), (114/154), ".SLA", 240, 0.5);
|
||||
EFM_MIME_ICON("application/x-lyx","efm_generic_icon_content_doc.png", (114/154), (114/154), ".LYX", 240, 0.5);
|
||||
|
||||
//Spreadsheet//
|
||||
|
||||
EFM_MIME_ICON("application/vnd.oasis.opendocument.spreadsheet","efm_generic_icon_content_spread.png", (114/80), (114/80), ".ODS", 240, 0.5);
|
||||
EFM_MIME_ICON("application/vnd.ms-excel","efm_generic_icon_content_spread.png", (114/80), (114/80), ".XLS", 240, 0.5);
|
||||
|
||||
//Presentation//
|
||||
|
||||
EFM_MIME_ICON("application/vnd.ms-powerpoint","efm_generic_icon_content_pres.png", (114/95), (114/95), ".PPT", 240, 0.5);
|
||||
EFM_MIME_ICON("application/vnd.oasis.opendocument.presentation","efm_generic_icon_content_pres.png", (114/95), (114/95), ".ODP", 240, 0.5);
|
||||
|
||||
//Drawing//
|
||||
|
||||
EFM_MIME_ICON("application/x-vnd.oasis.opendocument.graphics","efm_generic_icon_content_draw.png", (114/96), (114/96), ".ODG", 240, 0.5);
|
||||
|
||||
//Data Base//
|
||||
|
||||
EFM_MIME_ICON("application/vnd.ms-binder","efm_generic_icon_content_db.png", (114/128), (114/128), ".ODB", 240, 0.5);
|
||||
EFM_MIME_ICON("application/x-sqlite3","efm_generic_icon_content_db.png", (114/128), (114/128), ".SQLITE", 240, 0.5);
|
||||
|
||||
//Formula//
|
||||
|
||||
EFM_MIME_ICON("application/x-vnd.oasis.opendocument.formula","efm_generic_icon_content_formula.png", (114/85), (114/85), ".ODF", 240, 0.5);
|
||||
|
||||
//Template//
|
||||
|
||||
EFM_MIME_ICON("application/vnd.openxmlformats-officedocument.wordprocessingml.template","efm_generic_icon_content_template.png", (114/130), (114/130), ".DOTX", 240, 0.5);
|
||||
EFM_MIME_ICON("application/vnd.openxmlformats-officedocument.spreadsheetml.template","efm_generic_icon_content_template.png", (114/130), (114/130),".XLTX", 240, 0.5);
|
||||
EFM_MIME_ICON("application/vnd.openxmlformats-officedocument.presentationml.template","efm_generic_icon_content_template.png", (114/130), (114/130),".POTX", 240, 0.5);
|
||||
EFM_MIME_ICON("application/vnd.oasis.opendocument.chart-template","efm_generic_icon_content_template.png", (114/130), (114/130),".OTC", 240, 0.5);
|
||||
EFM_MIME_ICON("application/vnd.oasis.opendocument.formula-template","efm_generic_icon_content_template.png", (114/130), (114/130), ".OTF", 240, 0.5);
|
||||
EFM_MIME_ICON("application/vnd.oasis.opendocument.graphics-template","efm_generic_icon_content_template.png", (114/130), (114/130), ".OTG", 240, 0.5);
|
||||
EFM_MIME_ICON("application/vnd.oasis.opendocument.image-template","efm_generic_icon_content_template.png", (114/130), (114/130), ".OTI", 240, 0.5);
|
||||
EFM_MIME_ICON("application/vnd.oasis.opendocument.presentation-template","efm_generic_icon_content_template.png", (114/130), (114/130), ".OTP", 240, 0.5);
|
||||
EFM_MIME_ICON("application/vnd.oasis.opendocument.spreadsheet-template","efm_generic_icon_content_template.png", (114/130), (114/130), ".ODS", 240, 0.5);
|
||||
EFM_MIME_ICON("application/vnd.oasis.opendocument.text-template","efm_generic_icon_content_template.png", (114/130), (114/130), ".OTT", 240, 0.5);
|
||||
|
||||
//Video (fallback)//
|
||||
|
||||
EFM_MIME_ICON("video/mpeg","efm_generic_icon_content_video.png", (114/83), (114/83), ".MPEG", 240, 0.5);
|
||||
EFM_MIME_ICON("application/ogg","efm_generic_icon_content_video.png",(114/83), (114/83), ".OGG", 240, 0.5);
|
||||
EFM_MIME_ICON("video/x-theora+ogg","efm_generic_icon_content_video.png",(114/83), (114/83), ".OGG", 240, 0.5);
|
||||
EFM_MIME_ICON("video/x-msvideo","efm_generic_icon_content_video.png", (114/83), (114/83), ".AVI", 240, 0.5);
|
||||
EFM_MIME_ICON("video/ogg","efm_generic_icon_content_video.png",(114/83), (114/83), ".OGG", 240, 0.5);
|
||||
EFM_MIME_ICON("video/mp4","efm_generic_icon_content_video.png",(114/83), (114/83), ".MP4", 240, 0.5);
|
||||
EFM_MIME_ICON("video/quicktime","efm_generic_icon_content_video.png",(114/83), (114/83), ".MOV", 240, 0.5);
|
||||
EFM_MIME_ICON("video/x-matroska","efm_generic_icon_content_video.png",(114/83), (114/83), ".MKV", 240, 0.5);
|
||||
EFM_MIME_ICON("video/x-flv","efm_generic_icon_content_video.png", (114/83), (114/83), ".FLV", 240, 0.5);
|
||||
EFM_MIME_ICON("application/vnd.rn-realmedia","efm_generic_icon_content_video.png",(114/83), (114/83), ".REAL", 240, 0.5);
|
||||
EFM_MIME_ICON("video/x-ms-wmv","efm_generic_icon_content_video.png",(114/83), (114/83), ".WMV", 240, 0.5);
|
||||
EFM_MIME_ICON("video/webm","efm_generic_icon_content_video.png",(114/83), (114/83), ".WEBM", 240, 0.5);
|
||||
|
||||
|
||||
//Image (fallback)//
|
||||
|
||||
EFM_MIME_ICON("image/png","efm_generic_icon_content_image.png", (114/128), (114/128), ".PNG", 240, 0.5);
|
||||
EFM_MIME_ICON("image/jpeg","efm_generic_icon_content_image.png", (114/128), (114/128),".JPEG", 240, 0.5);
|
||||
EFM_MIME_ICON("image/gif","efm_generic_icon_content_image.png", (114/128), (114/128),".GIF", 240, 0.5);
|
||||
EFM_MIME_ICON("image/bmp","efm_generic_icon_content_image.png", (114/128), (114/128),".BMP", 240, 0.5);
|
||||
EFM_MIME_ICON("application/x-xcf","efm_generic_icon_content_image.png", (114/128), (114/128),".XCF", 240, 0.5);
|
||||
EFM_MIME_ICON("application/x-cbz","efm_generic_icon_content_image.png", (114/128), (114/128),".CBZ", 240, 0.5);
|
||||
EFM_MIME_ICON("application/x-cbr","efm_generic_icon_content_image.png",(114/128), (114/128), ".CBR", 240, 0.5);
|
||||
EFM_MIME_ICON("image/webp","efm_generic_icon_content_image.png", (114/128), (114/128),".WEBP", 240, 0.5);
|
||||
|
||||
//Font//
|
||||
|
||||
EFM_MIME_ICON("application/x-font-ttf","efm_generic_icon_content_font.png", (114/93), (114/93), ".TTF", 240, 0.5);
|
||||
EFM_MIME_ICON("application/x-font-pcf","efm_generic_icon_content_font.png", (114/93), (114/93), ".PCF", 240, 0.5);
|
||||
EFM_MIME_ICON("application/x-font-bdf","efm_generic_icon_content_font.png", (114/93), (114/93), ".BDF", 240, 0.5);
|
||||
EFM_MIME_ICON("application/x-font-otf","efm_generic_icon_content_font.png", (114/93), (114/93), ".BDF", 240, 0.5);
|
||||
|
||||
//PS (fallback)//
|
||||
|
||||
EFM_MIME_ICON("application/postscript","efm_generic_icon_content_ps.png", (114/104), (114/104), ".PS", 240, 0.5);
|
||||
|
||||
//PDF (fallback)//
|
||||
|
||||
EFM_MIME_ICON("application/pdf","efm_generic_icon_content_pdf.png", (114/101), (114/101), ".PDF", 240, 0.5);
|
||||
|
||||
//Translate//
|
||||
|
||||
EFM_MIME_ICON("text/x-gettext-translation","efm_generic_icon_content_translate.png", (114/97), (114/97), ".PO", 240, 0.5);
|
||||
EFM_MIME_ICON("application/x-gettext-translation","efm_generic_icon_content_translate.png", (114/97), (114/97), ".GMO", 240, 0.5);
|
||||
|
||||
//Base 2//
|
||||
#define EFM_MIME_ICON_SIMPLE(_NAME, _IMAGE, _ASPMIN, _ASPMAX, _SIZE, _VALIGN) \
|
||||
group { name: "e/icons/fileman/mime/"_NAME; \
|
||||
max: _SIZE _SIZE; \
|
||||
images.image: "efm_generic_icon_shadow_empty.png" COMP; \
|
||||
images.image: "efm_generic_icon_base_empty.png" COMP; \
|
||||
images.image: "efm_generic_icon_over_empty.png" COMP; \
|
||||
images.image: _IMAGE COMP; \
|
||||
parts { \
|
||||
part { name: "spacer"; type: SPACER; \
|
||||
description { state: "default" 0.0; \
|
||||
aspect: 1.0 1.0; aspect_preference: BOTH; \
|
||||
} \
|
||||
} \
|
||||
part { name: "shadow"; mouse_events: 0; \
|
||||
description { state: "default" 0.0; \
|
||||
rel1.to: "spacer"; \
|
||||
rel1.relative: (15/240) (10/240); \
|
||||
rel2.to: "spacer"; \
|
||||
rel2.relative: (225/240) (240/240); \
|
||||
image.normal: "efm_generic_icon_shadow_empty.png"; \
|
||||
} \
|
||||
} \
|
||||
part { name: "base"; mouse_events: 0; \
|
||||
description { state: "default" 0.0; \
|
||||
rel1.to: "spacer"; \
|
||||
rel1.relative: (30/240) (15/240); \
|
||||
rel2.to: "spacer"; \
|
||||
rel2.relative: (210/240) (225/240); \
|
||||
image.normal: "efm_generic_icon_base_empty.png"; \
|
||||
} \
|
||||
} \
|
||||
part { name: "content"; mouse_events: 0; \
|
||||
description { state: "default" 0.0; \
|
||||
rel1.to: "base"; \
|
||||
rel1.relative: (28/180) (28/210); \
|
||||
rel2.to: "base"; \
|
||||
rel2.relative: (152/180) (182/210); \
|
||||
align: 0.5 _VALIGN; \
|
||||
aspect: _ASPMIN _ASPMAX; aspect_preference: BOTH; \
|
||||
image.normal: _IMAGE; \
|
||||
} \
|
||||
} \
|
||||
part { name: "over"; mouse_events: 0; \
|
||||
description { state: "default" 0.0; \
|
||||
rel1.to: "base"; \
|
||||
rel2.to: "base"; \
|
||||
image.normal: "efm_generic_icon_over_empty.png"; \
|
||||
} \
|
||||
} \
|
||||
} \
|
||||
}
|
||||
|
||||
//Script//
|
||||
|
||||
EFM_MIME_ICON_SIMPLE("application/x-shellscript","efm_generic_icon_content_script.png", (114/126), (114/126), 240, 0.5);
|
||||
|
||||
//Executable//
|
||||
|
||||
EFM_MIME_ICON_SIMPLE("application/x-executable","efm_generic_icon_content_executable.png", (114/114), (114/114), 240, 0.5);
|
||||
EFM_MIME_ICON_SIMPLE("application/x-ms-dos-executable","efm_generic_icon_content_executable.png", (114/114), (114/114), 240, 0.5);
|
||||
|
||||
//Libraries//
|
||||
|
||||
EFM_MIME_ICON_SIMPLE("application/x-sharedlib","efm_generic_icon_content_lib.png", (114/114), (114/114), 240, 0.5);
|
||||
EFM_MIME_ICON_SIMPLE("application/x-shared-library-la","efm_generic_icon_content_lib.png", (114/114), (114/114), 240, 0.5);
|
||||
|
||||
//Unknown//
|
||||
|
||||
EFM_MIME_ICON_SIMPLE("application/x-object","efm_generic_icon_content_unknown.png", (100/154), (100/154), 240, 0.5);
|
||||
|
||||
//Trash//
|
||||
|
||||
EFM_MIME_ICON_SIMPLE("application/x-trash","efm_generic_icon_content_trash.png", (114/142), (114/142), 240, 0.5);
|
||||
|
||||
//Octet-Stream//
|
||||
|
||||
EFM_MIME_ICON_SIMPLE("application/octet-stream","efm_generic_icon_content_text.png",(114/126), (114/126), 240, 0.5);
|
||||
|
||||
//Install//
|
||||
|
||||
EFM_MIME_ICON_SIMPLE("application/x-install-instructions","efm_generic_icon_content_install.png",(114/149), (114/149), 240, 0.5);
|
||||
|
||||
//Cache//
|
||||
|
||||
EFM_MIME_ICON_SIMPLE("chemical/x-cache","efm_generic_icon_content_db.png", (114/128), (114/128), 240, 0.5);
|
||||
|
||||
//Inode//
|
||||
|
||||
EFM_MIME_ICON_SIMPLE("inode/chardevice","efm_generic_icon_content_inode_char.png", (114/77), (114/77), 240, 0.5);
|
||||
EFM_MIME_ICON_SIMPLE("inode/blockdevice","efm_generic_icon_content_inode_block.png", (81/114), (81/114), 240, 0.5);
|
||||
EFM_MIME_ICON_SIMPLE("inode/fifo","efm_generic_icon_content_inode_fifo.png", (87/114), (87/114), 240, 0.5);
|
||||
EFM_MIME_ICON_SIMPLE("inode/socket","efm_generic_icon_content_inode_socket.png", (114/114), (114/114), 240, 0.5);
|
||||
EFM_MIME_ICON_SIMPLE("inode/file","efm_generic_icon_content_inode_file.png", (83/114), (83/114), 240, 0.5);
|
||||
|
||||
#undefine EFM_MIME_ICON
|
||||
#undefine EFM_MIME_ICON_SIMPLE
|
||||
|
||||
/* #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("inode/directory","icon_efm_folder.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("application/x-7z-compressed","icon_mime_package.png", 128);
|
||||
MIMEICON("application/vnd.ms-cab-compressed","icon_mime_package.png", 128);
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -1,200 +1,3 @@
|
|||
/////////////////////////////////////////////////////////////////////////////
|
||||
/*** 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)
|
||||
|
|
|
@ -1,56 +1,57 @@
|
|||
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;
|
||||
images.image: "about-lines.png" COMP;
|
||||
images.image: "about-triangles.png" COMP;
|
||||
images.image: "win_shadow.png" COMP;
|
||||
// images.image: "snow.jpg" LOSSY 90;
|
||||
set { name: "logo_mono";
|
||||
image { image: "logo.png" COMP; size: 601 601 99999 99999; }
|
||||
image { image: "logo2.png" COMP; size: 301 301 600 600; }
|
||||
image { image: "logo3.png" COMP; size: 151 151 300 300; }
|
||||
image { image: "logo4.png" COMP; size: 76 76 150 150; }
|
||||
image { image: "logo5.png" COMP; size: 0 0 75 75; }
|
||||
}
|
||||
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";
|
||||
base: "font="FN" font_size=10 align=center text_class=tb_plain color=#fff wrap=word";
|
||||
tag: "hilight" "+ font="FNBD" text_class=tb_light color=#fff align=center";
|
||||
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";
|
||||
base: "font="FNBD" font_size=10 align=left text_class=tb_plain color=#0004 wrap=none";
|
||||
tag: "hilight" "+ font="FNBD" text_class=tb_light color=#fff";
|
||||
tag: "title" "+ font_size=16 font="FNBD" text_class=tb_big";
|
||||
tag: "/title" "- \n \n";
|
||||
tag: "br" "\n";
|
||||
}
|
||||
}
|
||||
min: 220 260;
|
||||
max: 800 600;
|
||||
min: 320 420;
|
||||
parts {
|
||||
part { name: "sizer"; type: SPACER;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
min: 220 260;
|
||||
min: 320 420;
|
||||
}
|
||||
}
|
||||
part { name: "bg";
|
||||
/*
|
||||
part { name: "image";
|
||||
description { state: "default" 0.0;
|
||||
image.normal: "bg_radgrad.png";
|
||||
image.scale_hint: STATIC;
|
||||
fill.smooth: 0;
|
||||
ASPECT_FILL((1024/653))
|
||||
fixed: 1 1;
|
||||
image.normal: "snow.jpg";
|
||||
aspect: 1.0 1.0; aspect_preference: NONE;
|
||||
}
|
||||
}
|
||||
part { name: "pat";
|
||||
*/
|
||||
part { name: "image"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
image.normal: "dot_pattern.png";
|
||||
TILED_PATTERN(256, 256)
|
||||
fixed: 1 1;
|
||||
color: 48 48 48 255;
|
||||
}
|
||||
}
|
||||
////////////////////////////////////////////////////////////////
|
||||
part { name: "e.textblock.authors"; type: TEXTBLOCK; mouse_events: 0;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
|
@ -58,9 +59,9 @@ group { name: "e/widgets/about/main";
|
|||
max: 20000 20000;
|
||||
min: 160 0;
|
||||
rel1.relative: 0.0 1.0;
|
||||
rel1.offset: 4 4;
|
||||
rel1.offset: 13 13;
|
||||
rel2.relative: 1.0 1.0;
|
||||
rel2.offset: -5 4;
|
||||
rel2.offset: -14 13;
|
||||
align: 0.5 0.0;
|
||||
text { style: "authors_style";
|
||||
min: 0 1;
|
||||
|
@ -70,12 +71,25 @@ group { name: "e/widgets/about/main";
|
|||
description { state: "up" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
rel1.relative: 0.0 0.0;
|
||||
rel1.offset: 4 -5;
|
||||
rel1.offset: 13 -14;
|
||||
rel2.relative: 1.0 0.0;
|
||||
rel2.offset: -5 -5;
|
||||
rel2.offset: -14 -14;
|
||||
align: 0.5 1.0;
|
||||
}
|
||||
}
|
||||
program { name: "show1";
|
||||
signal: "show"; source: "";
|
||||
action: STATE_SET "up" 0.0;
|
||||
transition: LINEAR 60.0;
|
||||
target: "e.textblock.authors";
|
||||
after: "show2";
|
||||
}
|
||||
program { name: "show2";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "e.textblock.authors";
|
||||
after: "show1";
|
||||
}
|
||||
////////////////////////////////////////////////////////////////
|
||||
part { name: "e.textblock.about"; type: TEXTBLOCK; mouse_events: 0;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
|
@ -83,9 +97,9 @@ group { name: "e/widgets/about/main";
|
|||
max: 20000 20000;
|
||||
min: 160 0;
|
||||
rel1.relative: 0.0 1.0;
|
||||
rel1.offset: 4 4;
|
||||
rel1.offset: 13 13;
|
||||
rel2.relative: 1.0 1.0;
|
||||
rel2.offset: -5 4;
|
||||
rel2.offset: -14 13;
|
||||
align: 0.5 0.0;
|
||||
text { style: "about_style";
|
||||
min: 0 1;
|
||||
|
@ -95,190 +109,187 @@ group { name: "e/widgets/about/main";
|
|||
description { state: "up" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
rel1.relative: 0.0 0.0;
|
||||
rel1.offset: 4 -5;
|
||||
rel1.offset: 13 -14;
|
||||
rel2.relative: 1.0 0.0;
|
||||
rel2.offset: -5 -5;
|
||||
rel2.offset: -14 -14;
|
||||
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;
|
||||
ellipsis: -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;
|
||||
ellipsis: -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: FN_COL_DEFAULT;
|
||||
color_class: "button_text";
|
||||
align: 0.5 1.0;
|
||||
text { font: FN; size: 10;
|
||||
min: 1 1;
|
||||
ellipsis: -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";
|
||||
transition: LINEAR 25.0;
|
||||
target: "e.textblock.about";
|
||||
after: "show4";
|
||||
}
|
||||
program { name: "show4";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "e.textblock.authors";
|
||||
target: "e.textblock.about";
|
||||
after: "show3";
|
||||
}
|
||||
////////////////////////////////////////////////////////////////
|
||||
part { name: "lines";
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
image.normal: "about-lines.png";
|
||||
min: 0 128;
|
||||
align: 0.5 0.0;
|
||||
rel1.relative: 0.0 0.0;
|
||||
rel2.relative: 1.0 0.0;
|
||||
fill.smooth: 1;
|
||||
color: 64 64 64 255;
|
||||
}
|
||||
description { state: "focused" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: 32 32 32 255;
|
||||
}
|
||||
}
|
||||
////////////////////////////////////////////////////////////////
|
||||
part { name: "logo";
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
image.normal: "logo_mono";
|
||||
align: 0.5 0.0;
|
||||
rel1.offset: 0 13;
|
||||
rel2.offset: -1 13;
|
||||
rel1.relative: 0.0 0.0;
|
||||
rel2.relative: 1.0 0.0;
|
||||
FIXED_SIZE(75, 75)
|
||||
}
|
||||
}
|
||||
////////////////////////////////////////////////////////////////
|
||||
part { name: "e.text.title"; type: TEXT;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
align: 0.5 0.0;
|
||||
rel1.offset: 0 13;
|
||||
rel2.offset: -1 13;
|
||||
rel1.relative: 0.0 1.0;
|
||||
rel2.relative: 1.0 1.0;
|
||||
rel1.to: "logo";
|
||||
rel2.to: "logo";
|
||||
color: 255 255 255 255;
|
||||
text { font: FNBD; size: 16;
|
||||
min: 1 1;
|
||||
ellipsis: -1;
|
||||
text_class: "about_title";
|
||||
}
|
||||
}
|
||||
}
|
||||
////////////////////////////////////////////////////////////////
|
||||
part { name: "e.text.version"; type: TEXT;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
align: 0.5 0.0;
|
||||
rel1.offset: 0 13;
|
||||
rel2.offset: -1 13;
|
||||
rel1.relative: 0.0 1.0;
|
||||
rel2.relative: 1.0 1.0;
|
||||
rel1.to: "e.text.title";
|
||||
rel2.to: "e.text.title";
|
||||
color: 255 255 255 255;
|
||||
text { font: FN; size: 10;
|
||||
min: 1 1;
|
||||
ellipsis: -1;
|
||||
text_class: "about_version";
|
||||
}
|
||||
}
|
||||
}
|
||||
////////////////////////////////////////////////////////////////
|
||||
#define TRI(_name, _size, _align) \
|
||||
part { name: _name; \
|
||||
scale: 1; \
|
||||
description { state: "default" 0.0; \
|
||||
max: _size (_size*180/255); \
|
||||
align: _align 1.0; \
|
||||
image.normal: "about-triangles.png"; \
|
||||
aspect: (255/180) (255/180); aspect_preference: HORIZONTAL; \
|
||||
rel1.relative: 0.0 1.0; \
|
||||
color: 64 64 64 255; \
|
||||
} \
|
||||
}
|
||||
TRI("t1", 127, 0.5)
|
||||
TRI("t2", 83, 0.2)
|
||||
TRI("t3", 163, 0.9)
|
||||
TRI("t4", 47, 1.0)
|
||||
TRI("t5", 63, 0.0)
|
||||
TRI("t6", 99, 0.3)
|
||||
TRI("t7", 199, 0.7)
|
||||
TRI("t8", 141, 0.1)
|
||||
TRI("t9", 75, 0.6)
|
||||
////////////////////////////////////////////////////////////////
|
||||
part { name: "shadow"; mouse_events: 0;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
rel.to: "base";
|
||||
WIN_SHADOW_SMALL;
|
||||
}
|
||||
description { state: "clicked" 0.0;
|
||||
inherit;
|
||||
image.border_scale_by: 0.25;
|
||||
rel1.offset: -5 -3;
|
||||
rel2.offset: 4 6;
|
||||
}
|
||||
}
|
||||
part { name: "base"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
rel1.offset: -6 -6;
|
||||
rel1.to: "e.text.label";
|
||||
rel2.offset: 5 5;
|
||||
rel2.to: "e.text.label";
|
||||
color: 51 153 255 255;
|
||||
}
|
||||
description { state: "clicked" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: 255 153 51 255;
|
||||
}
|
||||
}
|
||||
part { name: "e.text.label"; type: TEXT; mouse_events: 0;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
rel1.offset: 0 -19;
|
||||
rel1.relative: 0.5 1.0;
|
||||
rel2.offset: -1 -19;
|
||||
rel2.relative: 0.5 1.0;
|
||||
color: 255 255 255 255;
|
||||
align: 0.5 1.0;
|
||||
min: 80 10;
|
||||
text { font: FN; size: 10;
|
||||
min: 1 1;
|
||||
ellipsis: -1;
|
||||
text_class: "button";
|
||||
}
|
||||
}
|
||||
description { state: "clicked" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: 255 255 255 255;
|
||||
}
|
||||
}
|
||||
program {
|
||||
signal: "mouse,down,1*"; source: "base";
|
||||
action: STATE_SET "clicked" 0.0;
|
||||
target: "base";
|
||||
target: "shadow";
|
||||
}
|
||||
program {
|
||||
signal: "mouse,up,1"; source: "base";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "base";
|
||||
target: "shadow";
|
||||
}
|
||||
program {
|
||||
signal: "mouse,clicked,1*"; source: "base";
|
||||
action: SIGNAL_EMIT "e,action,close" "";
|
||||
}
|
||||
program {
|
||||
signal: "e,state,focused"; source: "e";
|
||||
action: STATE_SET "focused" 0.0;
|
||||
target: "lines";
|
||||
}
|
||||
program {
|
||||
signal: "e,state,unfocused"; source: "e";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "lines";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,37 +1,53 @@
|
|||
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;
|
||||
// images.image: "check_fill.png" COMP;
|
||||
images.image: "about-flat-bg.png" COMP;
|
||||
min: 220 320;
|
||||
parts {
|
||||
part { name: "sizer"; type: SPACER;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
min: 220 220;
|
||||
min: 220 320;
|
||||
}
|
||||
}
|
||||
part { name: "bg";
|
||||
/*
|
||||
part { name: "bg"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
image.normal: "bg_radgrad.png";
|
||||
image.scale_hint: STATIC;
|
||||
fill.smooth: 0;
|
||||
ASPECT_FILL((1024/653))
|
||||
color: 64 64 64 255;
|
||||
}
|
||||
}
|
||||
part { name: "name"; type: TEXT; mouse_events: 0;
|
||||
effect: GLOW;
|
||||
part { name: "check";
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
fixed: 1 1;
|
||||
color: FN_COL_HIGHLIGHT;
|
||||
color: 56 56 56 255;
|
||||
image.normal: "check_fill.png";
|
||||
min: 5120 5120;
|
||||
align: 0.0 0.0;
|
||||
fill {
|
||||
size.relative: 0.05 0.05;
|
||||
smooth: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
*/
|
||||
part { name: "image";
|
||||
description { state: "default" 0.0;
|
||||
fixed: 1 1;
|
||||
image.normal: "about-flat-bg.png";
|
||||
aspect: 1.0 1.0; aspect_preference: NONE;
|
||||
}
|
||||
}
|
||||
part { name: "name"; type: TEXT; mouse_events: 0;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
fixed: 1 1;
|
||||
color: 255 255 255 255;
|
||||
rel1.relative: 0.5 0.5;
|
||||
rel2.relative: 0.5 0.5;
|
||||
text { font: FNBD; size: 64;
|
||||
text: "Dark";
|
||||
text { font: FNBD; size: 48;
|
||||
text: "FLAT";
|
||||
min: 1 1;
|
||||
ellipsis: -1;
|
||||
align: 0.5 0.5;
|
||||
|
@ -39,67 +55,47 @@ group { name: "e/theme/about";
|
|||
}
|
||||
}
|
||||
part { name: "name2"; type: TEXT; mouse_events: 0;
|
||||
effect: GLOW;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
fixed: 1 1;
|
||||
color: FN_COL_HIGHLIGHT;
|
||||
rel1.relative: 0.5 0.9;
|
||||
color: 255 255 255 192;
|
||||
rel1.relative: 0.0 1.0;
|
||||
rel1.to: "name";
|
||||
rel2.relative: 0.5 0.9;
|
||||
rel1.offset: 0 16;
|
||||
rel2.relative: 1.0 1.0;
|
||||
rel2.to: "name";
|
||||
align: 0.5 1.0;
|
||||
rel2.offset: -1 16;
|
||||
align: 0.5 0.0;
|
||||
text { font: FN; size: 10;
|
||||
text: "The default theme for Enlightenment";
|
||||
min: 1 1;
|
||||
ellipsis: -1;
|
||||
align: 0.5 1.0;
|
||||
align: 0.5 0.0;
|
||||
}
|
||||
}
|
||||
}
|
||||
part { name: "shadow"; mouse_events: 0;
|
||||
////////////////////////////////////////////////////////////////
|
||||
part { name: "base"; type: RECT;
|
||||
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;
|
||||
}
|
||||
color: 48 48 48 255;
|
||||
}
|
||||
description { state: "clicked" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
image.normal: "button_clicked.png";
|
||||
image.border: 5 5 4 6;
|
||||
color: 32 32 32 255;
|
||||
}
|
||||
}
|
||||
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: FN_COL_DEFAULT;
|
||||
color_class: "button_text";
|
||||
color: 160 160 160 255;
|
||||
align: 1.0 1.0;
|
||||
min: 85 0;
|
||||
text { font: FN; size: 10;
|
||||
|
@ -110,34 +106,49 @@ group { name: "e/theme/about";
|
|||
}
|
||||
fixed: 1 1;
|
||||
}
|
||||
description { state: "clicked" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: 255 255 255 255;
|
||||
}
|
||||
}
|
||||
part { name: "base2";
|
||||
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" "";
|
||||
}
|
||||
////////////////////////////////////////////////////////////////
|
||||
part { name: "base2"; type: RECT;
|
||||
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;
|
||||
}
|
||||
color: 48 48 48 255;
|
||||
}
|
||||
description { state: "clicked" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
image.normal: "button_clicked.png";
|
||||
image.border: 5 5 4 6;
|
||||
color: 32 32 32 255;
|
||||
}
|
||||
}
|
||||
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: FN_COL_DEFAULT;
|
||||
color_class: "button_text";
|
||||
color: 160 160 160 255;
|
||||
align: 0.0 1.0;
|
||||
min: 85 0;
|
||||
text { font: FN; size: 10;
|
||||
|
@ -148,32 +159,22 @@ group { name: "e/theme/about";
|
|||
}
|
||||
fixed: 1 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,close" "";
|
||||
description { state: "clicked" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: 255 255 255 255;
|
||||
}
|
||||
}
|
||||
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";
|
||||
|
|
|
@ -1,72 +1,48 @@
|
|||
group { name: "e/modules/appmenu/item";
|
||||
images.image: "vgrad_med_dark.png" COMP;
|
||||
data.item: "padding_horizontal" "5";
|
||||
data.item: "padding_vertical" "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)
|
||||
part { name: "background"; type: RECT; mouse_events: 0;
|
||||
description { state: "default" 0.0;
|
||||
color: 32 32 32 255;
|
||||
visible: 0;
|
||||
}
|
||||
description {
|
||||
state: "selected" 0.0;
|
||||
description { state: "selected" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
visible: 1;
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "text";
|
||||
type: TEXT;
|
||||
mouse_events: 0;
|
||||
effect: SHADOW BOTTOM;
|
||||
part { name: "text"; type: TEXT; mouse_events: 0;
|
||||
scale: 1;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
rel1.offset: 2 2;
|
||||
rel2.offset: -3 -3;
|
||||
color: FN_COL_DEFAULT;
|
||||
text {
|
||||
font: FN;
|
||||
size: 10;
|
||||
description { state: "default" 0.0;
|
||||
rel1.offset: 4 4;
|
||||
rel2.offset: -5 -5;
|
||||
color: 160 160 160 255;
|
||||
text { font: FN; size: 10;
|
||||
min: 1 1;
|
||||
ellipsis: -1;
|
||||
align: 0.5 0.5;
|
||||
text_class: "label";
|
||||
}
|
||||
offscale;
|
||||
}
|
||||
description {
|
||||
state: "selected" 0.0;
|
||||
description { state: "selected" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: FN_COL_HIGHLIGHT;
|
||||
color: 255 255 255 255;
|
||||
}
|
||||
}
|
||||
part { name: "event_area"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
color: 0 0 0 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
programs {
|
||||
program {
|
||||
signal: "mouse,in";
|
||||
source: "event_area";
|
||||
program { signal: "mouse,in"; source: "event_area";
|
||||
action: STATE_SET "selected" 0.0;
|
||||
target: "background";
|
||||
target: "text";
|
||||
}
|
||||
program {
|
||||
signal: "mouse,out";
|
||||
source: "event_area";
|
||||
program { signal: "mouse,out"; source: "event_area";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "background";
|
||||
target: "text";
|
||||
|
|
|
@ -1,19 +1,17 @@
|
|||
group { name: "e/desktop/background";
|
||||
images.image: "bg_radgrad.png" COMP;
|
||||
images.image: "dot_pattern.png" COMP;
|
||||
alias: "elm/ews/background/default";
|
||||
BACKGROUND_IMG
|
||||
parts {
|
||||
part { name: "bg";
|
||||
part { name: "clip"; type: RECT; mouse_events: 0;
|
||||
description { state: "default" 0.0;
|
||||
image.normal: "bg_radgrad.png";
|
||||
image.scale_hint: STATIC;
|
||||
fill.smooth: 0;
|
||||
ASPECT_FILL((1024/653))
|
||||
}
|
||||
}
|
||||
part { name: "pat";
|
||||
part { name: "bg";
|
||||
clip_to: "clip";
|
||||
description { state: "default" 0.0;
|
||||
image.normal: "dot_pattern.png";
|
||||
TILED_PATTERN(256, 256)
|
||||
image.normal: "background";
|
||||
image.scale_hint: STATIC;
|
||||
ASPECT_FILL((7680/4320))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,9 +1,8 @@
|
|||
group { name: "e/modules/backlight/main";
|
||||
alias: "e/gadget/backlight/main";
|
||||
alias: "e/gadget/backlight/main_vert";
|
||||
images.image: "bulb_glow.png" COMP;
|
||||
images.image: "bulb_off.png" COMP;
|
||||
images.image: "bulb_on.png" COMP;
|
||||
alias: "e/modules/backlight/main_vert";
|
||||
images.image: "bulb_middle.png" COMP;
|
||||
images.image: "bulb_over.png" COMP;
|
||||
min: 16 16;
|
||||
max: 160 160;
|
||||
|
@ -13,46 +12,30 @@ group { name: "e/modules/backlight/main";
|
|||
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: "base";
|
||||
description { state: "default" 0.0;
|
||||
aspect: 1.0 1.0; aspect_preference: BOTH;
|
||||
image.normal: "bulb_middle.png";
|
||||
color: 32 32 32 255;
|
||||
}
|
||||
}
|
||||
part { name: "glow";
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "base";
|
||||
rel1.relative: (76/152) (69/152);
|
||||
rel1.relative: 0.5 0.5;
|
||||
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";
|
||||
rel2.relative: 0.5 0.5;
|
||||
image.normal: "bulb_middle.png";
|
||||
color: 255 255 255 0;
|
||||
}
|
||||
description { state: "full" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
rel1.relative: 0.0 0.0;
|
||||
rel2.relative: 1.0 1.0;
|
||||
color: 255 255 255 255;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,186 +1,65 @@
|
|||
group { name: "e/gadget/batman/main";
|
||||
alias: "e/gadget/batman/main_vert";
|
||||
images.image: "bat_shadow.png" COMP;
|
||||
images.image: "bat_base.png" COMP;
|
||||
images.image: "bat_bottom0.png" COMP;
|
||||
images.image: "bat_top0.png" COMP;
|
||||
images.image: "batman_overlay.png" COMP;
|
||||
images.image: "glow_med_white.png" COMP;
|
||||
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);
|
||||
new Float:val = getfarg(2);
|
||||
val = 0.05 + (0.9 * (1.0 - val));
|
||||
custom_state(PART:"fill_clip", "default", 0.0);
|
||||
set_state_val(PART:"fill_clip", STATE_REL1, 0.0, val);
|
||||
set_state(PART:"fill_clip", "custom", 0.0);
|
||||
}
|
||||
}
|
||||
}
|
||||
parts {
|
||||
part { name: "fade_clip"; type: RECT;
|
||||
part { name: "pulse_clip"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
color: 255 255 255 255;
|
||||
rel1.to: "bg";
|
||||
rel2.to: "bg";
|
||||
}
|
||||
description { state: "faded" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: 255 255 255 128;
|
||||
}
|
||||
}
|
||||
part { name: "fill_clip_dim"; type: RECT;
|
||||
clip_to: "pulse_clip";
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "bg";
|
||||
rel2.to: "bg";
|
||||
}
|
||||
description { state: "visible" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: 128 128 128 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;
|
||||
part { name: "fill_clip"; type: RECT;
|
||||
clip_to: "fill_clip_dim";
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "bg";
|
||||
rel1.offset: 1 0;
|
||||
rel2.to: "bg";
|
||||
rel2.offset: -2 -1;
|
||||
}
|
||||
}
|
||||
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;
|
||||
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;
|
||||
aspect: 1.0 1.0; aspect_preference: BOTH;
|
||||
image.normal: "bat_base.png";
|
||||
fill.smooth: 0;
|
||||
color: 0 0 0 64;
|
||||
}
|
||||
}
|
||||
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: "overlay";
|
||||
clip_to: "pulse_clip";
|
||||
part { name: "fill";
|
||||
clip_to: "fill_clip";
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "bg";
|
||||
rel1.offset: 0 0;
|
||||
rel2.to: "bg";
|
||||
rel2.offset: -1 -1;
|
||||
image.normal: "batman_overlay.png";
|
||||
image.border: 0 0 7 7;
|
||||
image.normal: "bat_base.png";
|
||||
color: 160 160 160 255;
|
||||
}
|
||||
}
|
||||
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;
|
||||
description { state: "charging" 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;
|
||||
color: 51 153 255 255;
|
||||
}
|
||||
}
|
||||
part { name: "over"; type: RECT;
|
||||
|
@ -190,22 +69,13 @@ group { name: "e/gadget/batman/main";
|
|||
}
|
||||
}
|
||||
programs {
|
||||
program {
|
||||
signal: "e,state,charging"; source: "e";
|
||||
action: STATE_SET "visible" 0.0;
|
||||
target: "pwr1";
|
||||
target: "pwr2";
|
||||
program { signal: "e,state,charging"; source: "e";
|
||||
action: STATE_SET "charging" 0.0;
|
||||
target: "fill";
|
||||
}
|
||||
program {
|
||||
signal: "e,state,discharging"; source: "e";
|
||||
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";
|
||||
target: "fill";
|
||||
}
|
||||
program { name: "pulse";
|
||||
signal: "e,action,pulse,start"; source: "e";
|
||||
|
@ -215,36 +85,53 @@ group { name: "e/gadget/batman/main";
|
|||
target: "pulse_clip";
|
||||
}
|
||||
program { name: "pulse2";
|
||||
action: STATE_SET "faded" 1.0; transition: ACCELERATE 0.1;
|
||||
action: STATE_SET "default" 0.0;
|
||||
transition: ACCELERATE 0.1;
|
||||
target: "pulse_clip";
|
||||
after: "pulse";
|
||||
}
|
||||
program {
|
||||
program { signal: "e,action,pulse,stop"; source: "e";
|
||||
action: ACTION_STOP;
|
||||
target: "pulse";
|
||||
target: "pulse2";
|
||||
after: "pulse3";
|
||||
}
|
||||
program { name: "pulse3";
|
||||
signal: "e,action,pulse,stop"; source: "e";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "pulse_clip";
|
||||
}
|
||||
program { signal: "mouse,in"; source: "over";
|
||||
action: STATE_SET "visible" 0.0;
|
||||
transition: SINUSOIDAL 0.3;
|
||||
target: "fill_clip_dim";
|
||||
}
|
||||
program { signal: "mouse,out"; source: "over";
|
||||
action: STATE_SET "default" 0.0;
|
||||
transition: SINUSOIDAL 0.3;
|
||||
target: "fill_clip_dim";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
group { name: "e/gadget/batman/popup";
|
||||
min: 240 60;
|
||||
min: 320 60;
|
||||
parts {
|
||||
part { name: "e.swallow.batman"; type: SWALLOW;
|
||||
description { state: "default" 0.0;
|
||||
aspect: 1.0 1.0; aspect_preference: VERTICAL;
|
||||
min: 1 1;
|
||||
max: 160 160;
|
||||
max: 240 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.batman";
|
||||
rel2.relative: 1.0 0.5;
|
||||
color: FN_COL_DEFAULT;
|
||||
color: 160 160 160 255;
|
||||
text { font: "Sans:style=Bold"; size: 10;
|
||||
text: "Your battery is low!";
|
||||
min: 1 1;
|
||||
|
@ -254,12 +141,11 @@ group { name: "e/gadget/batman/popup";
|
|||
}
|
||||
}
|
||||
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.batman";
|
||||
color: FN_COL_DEFAULT;
|
||||
color: 160 160 160 255;
|
||||
text { font: "Sans"; size: 10;
|
||||
text: "AC power is recommended.";
|
||||
min: 1 1;
|
||||
|
|
|
@ -1,226 +1,100 @@
|
|||
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 load_time;
|
||||
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);
|
||||
new Float:val = getfarg(2);
|
||||
val = 0.05 + (0.9 * (1.0 - val));
|
||||
custom_state(PART:"fill_clip", "default", 0.0);
|
||||
set_state_val(PART:"fill_clip", STATE_REL1, 0.0, val);
|
||||
set_state(PART:"fill_clip", "custom", 0.0);
|
||||
}
|
||||
}
|
||||
public Float:year_sec() {
|
||||
new year, month, day, yearday, weekday, hour, minute;
|
||||
new Float:second;
|
||||
|
||||
date(year, month, day, yearday, weekday, hour, minute, second);
|
||||
return seconds() + float(yearday * 24 * 3600);
|
||||
}
|
||||
public run_prog_later(prog) {
|
||||
new Float:second, Float:start;
|
||||
|
||||
second = Float:year_sec();
|
||||
start = get_float(load_time);
|
||||
if ((second - start) > float(5)) run_program(prog);
|
||||
}
|
||||
}
|
||||
parts {
|
||||
part { name: "fade_clip"; type: RECT;
|
||||
part { name: "pulse_clip"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
color: 255 255 255 255;
|
||||
rel.to: "bg";
|
||||
}
|
||||
description { state: "faded" 0.0;
|
||||
color: 128 128 128 255;
|
||||
inherit: "default" 0.0;
|
||||
color: 255 255 255 128;
|
||||
}
|
||||
}
|
||||
part { name: "fill_clip_dim"; type: RECT;
|
||||
clip_to: "pulse_clip";
|
||||
description { state: "default" 0.0;
|
||||
rel.to: "bg";
|
||||
}
|
||||
description { state: "visible" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: 160 160 160 255;
|
||||
}
|
||||
}
|
||||
part { name: "fill_clip"; type: RECT;
|
||||
clip_to: "fill_clip_dim";
|
||||
description { state: "default" 0.0;
|
||||
rel.to: "bg";
|
||||
}
|
||||
}
|
||||
part { name: "info_clip"; type: RECT;
|
||||
clip_to: "fade_clip";
|
||||
description { state: "default" 0.0;
|
||||
rel.to: "bg";
|
||||
color: 255 255 255 0;
|
||||
}
|
||||
description { state: "visible" 0.0;
|
||||
inherit: "default" 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;
|
||||
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;
|
||||
aspect: 1.0 1.0; aspect_preference: BOTH;
|
||||
image.normal: "bat_base.png";
|
||||
fill.smooth: 0;
|
||||
color: 32 32 32 255;
|
||||
}
|
||||
}
|
||||
part { name: "top";
|
||||
clip_to: "pulse_clip";
|
||||
part { name: "fill";
|
||||
clip_to: "fill_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";
|
||||
rel.to: "bg";
|
||||
image.normal: "bat_base.png";
|
||||
color: 160 160 160 255;
|
||||
}
|
||||
}
|
||||
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;
|
||||
description { state: "charging" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
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";
|
||||
rel2.offset: -1 2;
|
||||
color_class: "module_label_plain";
|
||||
color3: 255 255 255 255;
|
||||
text { font: "Sans";
|
||||
rel.to: "bg";
|
||||
rel1.relative: 0.25 0.15;
|
||||
rel2.relative: 0.75 0.53;
|
||||
color: 255 255 255 255;
|
||||
text { font: "Sans"; size: 8;
|
||||
min: 0 1;
|
||||
fit: 1 1;
|
||||
ellipsis: -1;
|
||||
align: 0.5 0.5;
|
||||
|
@ -233,15 +107,12 @@ group { name: "e/modules/battery/main";
|
|||
clip_to: "info_clip";
|
||||
description { state: "default" 0.0;
|
||||
align: 0.5 1.0;
|
||||
rel1.relative: 0.0 1.0;
|
||||
rel1.offset: 0 -2;
|
||||
rel1.to_x: "bg";
|
||||
rel1.to_y: "pwr";
|
||||
rel2.offset: -1 1;
|
||||
rel2.to: "bg";
|
||||
color_class: "module_label_plain";
|
||||
color3: 255 255 255 255;
|
||||
text { font: "Sans";
|
||||
rel.to: "bg";
|
||||
rel1.relative: 0.25 0.47;
|
||||
rel2.relative: 0.75 0.85;
|
||||
color: 255 255 255 255;
|
||||
text { font: "Sans"; size: 8;
|
||||
min: 0 1;
|
||||
fit: 1 1;
|
||||
ellipsis: -1;
|
||||
align: 0.5 0.5;
|
||||
|
@ -256,34 +127,28 @@ group { name: "e/modules/battery/main";
|
|||
}
|
||||
}
|
||||
programs {
|
||||
program {
|
||||
signal: "mouse,in"; source: "over";
|
||||
action: STATE_SET "visible" 0.0;
|
||||
transition: LINEAR 0.3;
|
||||
target: "info_clip";
|
||||
program { signal: "load"; source: "";
|
||||
script { set_float(load_time, year_sec()); }
|
||||
}
|
||||
program {
|
||||
signal: "mouse,out"; source: "over";
|
||||
program { signal: "e,state,ac,on"; source: "e";
|
||||
script { run_prog_later(PROGRAM:"ac_on"); }
|
||||
}
|
||||
program { name: "ac_on";
|
||||
action: PLAY_SAMPLE "synth-worble-up" 1.0 ALERT;
|
||||
}
|
||||
program { signal: "e,state,ac,off"; source: "e";
|
||||
script { run_prog_later(PROGRAM:"ac_off"); }
|
||||
}
|
||||
program { name: "ac_off";
|
||||
action: PLAY_SAMPLE "synth-worble-dn" 1.0 ALERT;
|
||||
}
|
||||
program { signal: "e,state,charging"; source: "e";
|
||||
action: STATE_SET "charging" 0.0;
|
||||
target: "fill";
|
||||
}
|
||||
program { signal: "e,state,discharging"; source: "e";
|
||||
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";
|
||||
target: "fill";
|
||||
}
|
||||
program { name: "pulse";
|
||||
signal: "e,action,pulse,start"; source: "e";
|
||||
|
@ -293,36 +158,55 @@ group { name: "e/modules/battery/main";
|
|||
target: "pulse_clip";
|
||||
}
|
||||
program { name: "pulse2";
|
||||
action: STATE_SET "faded" 1.0; transition: ACCELERATE 0.1;
|
||||
action: STATE_SET "default" 0.0;
|
||||
transition: ACCELERATE 0.1;
|
||||
target: "pulse_clip";
|
||||
after: "pulse";
|
||||
}
|
||||
program {
|
||||
program { signal: "e,action,pulse,stop"; source: "e";
|
||||
action: ACTION_STOP;
|
||||
target: "pulse";
|
||||
target: "pulse2";
|
||||
after: "pulse3";
|
||||
}
|
||||
program { name: "pulse3";
|
||||
signal: "e,action,pulse,stop"; source: "e";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "pulse_clip";
|
||||
}
|
||||
program { signal: "mouse,in"; source: "over";
|
||||
action: STATE_SET "visible" 0.0;
|
||||
transition: SINUSOIDAL 0.3;
|
||||
target: "info_clip";
|
||||
target: "fill_clip_dim";
|
||||
}
|
||||
program { signal: "mouse,out"; source: "over";
|
||||
action: STATE_SET "default" 0.0;
|
||||
transition: SINUSOIDAL 0.3;
|
||||
target: "info_clip";
|
||||
target: "fill_clip_dim";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
group { name: "e/modules/battery/popup";
|
||||
min: 240 60;
|
||||
min: 320 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;
|
||||
max: 240 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: FN_COL_DEFAULT;
|
||||
color: 160 160 160 255;
|
||||
text { font: "Sans:style=Bold"; size: 10;
|
||||
text: "Your battery is low!";
|
||||
min: 1 1;
|
||||
|
@ -332,12 +216,11 @@ group { name: "e/modules/battery/popup";
|
|||
}
|
||||
}
|
||||
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: FN_COL_DEFAULT;
|
||||
color: 160 160 160 255;
|
||||
text { font: "Sans"; size: 10;
|
||||
text: "AC power is recommended.";
|
||||
min: 1 1;
|
||||
|
|
|
@ -1,25 +1,30 @@
|
|||
group { name: "e/modules/bluez4/main";
|
||||
images.image: "bt_base.png" COMP;
|
||||
images.image: "bz5_logo.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";
|
||||
rel1.relative: (25/380) (25/380);
|
||||
rel2.relative: (365/380) (365/380);
|
||||
aspect: 1.0 1.0; aspect_preference: BOTH;
|
||||
image.normal: "bz5_logo.png";
|
||||
color: 160 160 160 255;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
group { name: "e/modules/bluez4/inactive";
|
||||
images.image: "bt_base.png" COMP;
|
||||
images.image: "bz5_logo.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;
|
||||
rel1.relative: (25/380) (25/380);
|
||||
rel2.relative: (365/380) (365/380);
|
||||
aspect: 1.0 1.0; aspect_preference: BOTH;
|
||||
image.normal: "bz5_logo.png";
|
||||
color: 160 160 160 128;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -0,0 +1,164 @@
|
|||
#define BZ5_EXIST 1
|
||||
#define BZ5_ON 2
|
||||
#define BZ5_VISIBLE 4
|
||||
#define BZ5_SCAN 8
|
||||
|
||||
group { name: "e/modules/bluez5/main";
|
||||
images.image: "bz5_none.png" COMP;
|
||||
images.image: "bz5_logo.png" COMP;
|
||||
images.image: "radio.png" COMP;
|
||||
max: 160 160;
|
||||
script {
|
||||
public bzmode;
|
||||
eval_mode(m) {
|
||||
new prev = get_int(bzmode);
|
||||
if (m & BZ5_ON)
|
||||
set_state(PART:"base", "on", 0.0);
|
||||
else if (m & BZ5_EXIST)
|
||||
set_state(PART:"base", "exist", 0.0);
|
||||
else
|
||||
set_state(PART:"base", "default", 0.0);
|
||||
|
||||
if ((!(prev & BZ5_VISIBLE)) && ( (m & BZ5_VISIBLE))) {
|
||||
run_program(PROGRAM:"visible0");
|
||||
}
|
||||
else if (( (prev & BZ5_VISIBLE)) && (!(m & BZ5_VISIBLE))) {
|
||||
stop_program(PROGRAM:"visible0");
|
||||
stop_program(PROGRAM:"visible1");
|
||||
run_program(PROGRAM:"visiblereset");
|
||||
}
|
||||
|
||||
if ((!(prev & BZ5_SCAN)) && ( (m & BZ5_SCAN))) {
|
||||
run_program(PROGRAM:"scan0");
|
||||
}
|
||||
else if (( (prev & BZ5_SCAN)) && (!(m & BZ5_SCAN))) {
|
||||
stop_program(PROGRAM:"scan0");
|
||||
stop_program(PROGRAM:"scan1");
|
||||
run_program(PROGRAM:"scanreset");
|
||||
}
|
||||
}
|
||||
flag_set(flag) {
|
||||
new m = get_int(bzmode) | flag;
|
||||
eval_mode(m); set_int(bzmode, m);
|
||||
}
|
||||
flag_unset(flag) {
|
||||
new m = get_int(bzmode) & ~flag;
|
||||
eval_mode(m); set_int(bzmode, m);
|
||||
}
|
||||
}
|
||||
parts {
|
||||
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: "bz5_none.png";
|
||||
color: 160 160 160 255;
|
||||
}
|
||||
description { state: "exist" 0.0;
|
||||
inherit;
|
||||
image.normal: "bz5_logo.png";
|
||||
color: 160 160 160 128;
|
||||
}
|
||||
description { state: "on" 0.0;
|
||||
inherit;
|
||||
image.normal: "bz5_logo.png";
|
||||
color: 160 160 160 255;
|
||||
}
|
||||
}
|
||||
part { name: "visible";
|
||||
description { state: "default" 0.0;
|
||||
rel.to: "base";
|
||||
rel1.relative: 0.0 0.8;
|
||||
rel2.relative: 0.2 1.0;
|
||||
aspect: 1.0 1.0; aspect_preference: BOTH;
|
||||
image.normal: "radio.png";
|
||||
color: 51 153 255 255;
|
||||
visible: 0;
|
||||
min: 1 1;
|
||||
}
|
||||
description { state: "on" 0.0;
|
||||
inherit;
|
||||
visible: 1;
|
||||
}
|
||||
}
|
||||
part { name: "scan";
|
||||
description { state: "default" 0.0;
|
||||
rel.to: "base";
|
||||
rel1.relative: 0.8 0.8;
|
||||
rel2.relative: 1.0 1.0;
|
||||
aspect: 1.0 1.0; aspect_preference: BOTH;
|
||||
image.normal: "radio.png";
|
||||
color: 255 153 51 255;
|
||||
visible: 0;
|
||||
min: 1 1;
|
||||
}
|
||||
description { state: "on" 0.0;
|
||||
inherit;
|
||||
visible: 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
programs {
|
||||
program { signal: "e,state,exist"; source: "e";
|
||||
script { flag_set(BZ5_EXIST); }
|
||||
}
|
||||
program { signal: "e,state,noexist"; source: "e";
|
||||
script { flag_unset(BZ5_EXIST); }
|
||||
}
|
||||
program { signal: "e,state,on"; source: "e";
|
||||
script { flag_set(BZ5_ON); }
|
||||
}
|
||||
program { signal: "e,state,off"; source: "e";
|
||||
script { flag_unset(BZ5_ON); }
|
||||
}
|
||||
program { signal: "e,state,visible"; source: "e";
|
||||
script { flag_set(BZ5_VISIBLE); }
|
||||
}
|
||||
program { signal: "e,state,invisible"; source: "e";
|
||||
script { flag_unset(BZ5_VISIBLE); }
|
||||
}
|
||||
program { signal: "e,state,scanning"; source: "e";
|
||||
// action: STATE_SET "on" 0.0;
|
||||
// target: "scan";
|
||||
script { flag_set(BZ5_SCAN); }
|
||||
}
|
||||
program { signal: "e,state,unscanning"; source: "e";
|
||||
// action: STATE_SET "default" 0.0;
|
||||
// target: "scan";
|
||||
script { flag_unset(BZ5_SCAN); }
|
||||
}
|
||||
program { name: "visible0";
|
||||
action: STATE_SET "on" 0.0;
|
||||
target: "visible";
|
||||
in: 0.5 0.0;
|
||||
after: "visible1";
|
||||
}
|
||||
program { name: "visible1";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "visible";
|
||||
in: 0.5 0.0;
|
||||
after: "visible0";
|
||||
}
|
||||
program { name: "visiblereset";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "visible";
|
||||
}
|
||||
program { name: "scan0";
|
||||
action: STATE_SET "on" 0.0;
|
||||
target: "scan";
|
||||
in: 0.5 0.0;
|
||||
after: "scan1";
|
||||
}
|
||||
program { name: "scan1";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "scan";
|
||||
in: 0.5 0.0;
|
||||
after: "scan0";
|
||||
}
|
||||
program { name: "scanreset";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "scan";
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,42 +0,0 @@
|
|||
#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
|
@ -4,86 +4,26 @@ group { name: "e/bryce/default/base"; nomouse;
|
|||
* when auto-hiding the bryce */
|
||||
item: "hidden_state_size" "2";
|
||||
}
|
||||
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 {
|
||||
rect { "mouse"; mouse;
|
||||
desc { color: 0 0 0 0; }
|
||||
}
|
||||
part { name: "bg";
|
||||
part { name: "bg"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
image.normal: "vgrad_med.png";
|
||||
fill.smooth: 0;
|
||||
TILED_HORIZ(120)
|
||||
color_class: "bryce_base";
|
||||
color: 64 64 64 255;
|
||||
}
|
||||
description { state: "vert" 0.0;
|
||||
image.normal: "vgrad_tall.png";
|
||||
fill.smooth: 0;
|
||||
TILED_HORIZ(40)
|
||||
color_class: "bryce_base";
|
||||
}
|
||||
}
|
||||
part { name: "bevel";
|
||||
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";
|
||||
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";
|
||||
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)
|
||||
color: 64 64 64 255;
|
||||
}
|
||||
}
|
||||
spacer { "sizer";
|
||||
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;
|
||||
rel1.offset: 4 0;
|
||||
rel2.offset: -5 -1;
|
||||
}
|
||||
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;
|
||||
rel1.offset: 0 4;
|
||||
rel2.offset: -1 -5;
|
||||
}
|
||||
}
|
||||
part { name: "e.swallow.content"; type: SWALLOW; mouse;
|
||||
|
@ -96,15 +36,6 @@ group { name: "e/bryce/default/base"; nomouse;
|
|||
link.base: "e,state,hidden" "e";
|
||||
}
|
||||
}
|
||||
part { name: "shine";
|
||||
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)
|
||||
}
|
||||
}
|
||||
rect { "text_fader"; mouse;
|
||||
desc { hid;
|
||||
color: 0 0 0 0;
|
||||
|
@ -146,8 +77,6 @@ group { name: "e/bryce/default/base"; nomouse;
|
|||
action: STATE_SET _STATE 0.0; \
|
||||
target: "bg"; \
|
||||
target: "sizer"; \
|
||||
target: "dots_start"; \
|
||||
target: "dots_end"; \
|
||||
}
|
||||
}
|
||||
ORIENT_SATE("horizontal", "default")
|
||||
|
@ -156,6 +85,20 @@ group { name: "e/bryce/default/base"; nomouse;
|
|||
}
|
||||
}
|
||||
|
||||
group { name: "e/bryce/alternate/base"; nomouse;
|
||||
inherit: "e/bryce/default/base";
|
||||
parts {
|
||||
part { name: "bg"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
color: 32 32 32 255;
|
||||
}
|
||||
description { state: "vert" 0.0;
|
||||
color: 32 32 32 255;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
group { name: "e/bryce/invisible/base"; nomouse;
|
||||
inherit: "e/bryce/default/base";
|
||||
data.item: "noshadow" "1";
|
||||
|
@ -168,48 +111,6 @@ group { name: "e/bryce/invisible/base"; nomouse;
|
|||
visible: 0;
|
||||
}
|
||||
}
|
||||
part { name: "bevel";
|
||||
description { state: "default" 0.0;
|
||||
visible: 0;
|
||||
}
|
||||
}
|
||||
part { name: "shine";
|
||||
description { state: "default" 0.0;
|
||||
visible: 0;
|
||||
}
|
||||
}
|
||||
part { name: "dots_start";
|
||||
description { state: "default" 0.0;
|
||||
rel1.offset: 0 0;
|
||||
rel2.offset: -1 -1;
|
||||
min: 0 0;
|
||||
max: 0 0;
|
||||
visible: 0;
|
||||
}
|
||||
description { state: "vert" 0.0;
|
||||
rel1.offset: 0 0;
|
||||
rel2.offset: -1 -1;
|
||||
min: 0 0;
|
||||
max: 0 0;
|
||||
visible: 0;
|
||||
}
|
||||
}
|
||||
part { name: "dots_end";
|
||||
description { state: "default" 0.0;
|
||||
rel1.offset: 0 0;
|
||||
rel2.offset: -1 -1;
|
||||
min: 0 0;
|
||||
max: 0 0;
|
||||
visible: 0;
|
||||
}
|
||||
description { state: "vert" 0.0;
|
||||
rel1.offset: 0 0;
|
||||
rel2.offset: -1 -1;
|
||||
min: 0 0;
|
||||
max: 0 0;
|
||||
visible: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -219,20 +120,10 @@ group { name: "e/bryce/translucent/base"; nomouse;
|
|||
parts {
|
||||
part { name: "bg";
|
||||
description { state: "default" 0.0;
|
||||
color: 127 127 127 135;
|
||||
color: 32 32 32 128;
|
||||
}
|
||||
description { state: "vert" 0.0;
|
||||
color: 127 127 127 135;
|
||||
}
|
||||
}
|
||||
part { name: "bevel";
|
||||
description { state: "default" 0.0;
|
||||
color: 127 127 127 135;
|
||||
}
|
||||
}
|
||||
part { name: "shine";
|
||||
description { state: "default" 0.0;
|
||||
color: 127 127 127 135;
|
||||
color: 32 32 32 128;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -254,12 +145,12 @@ group { name: "e/bryce/default/inset"; nomouse;
|
|||
}
|
||||
spacer { "sizer";
|
||||
description { state: "default" 0.0;
|
||||
rel1.offset: 4 1;
|
||||
rel2.offset: -5 -2;
|
||||
rel1.offset: 3 0;
|
||||
rel2.offset: -4 -1;
|
||||
}
|
||||
description { state: "vert" 0.0;
|
||||
rel1.offset: 1 4;
|
||||
rel2.offset: -2 -5;
|
||||
rel1.offset: 0 3;
|
||||
rel2.offset: -1 -4;
|
||||
}
|
||||
}
|
||||
part { name: "e.swallow.content"; type: SWALLOW; mouse;
|
||||
|
@ -321,9 +212,13 @@ group { name: "e/bryce/default/plain"; nomouse;
|
|||
}
|
||||
}
|
||||
spacer { "sizer";
|
||||
desc {
|
||||
rel1.offset: 1 1;
|
||||
rel2.offset: -2 -2;
|
||||
description { state: "default" 0.0;
|
||||
rel1.offset: 3 1;
|
||||
rel2.offset: -4 -2;
|
||||
}
|
||||
description { state: "vert" 0.0;
|
||||
rel1.offset: 1 3;
|
||||
rel2.offset: -2 -4;
|
||||
}
|
||||
}
|
||||
part { name: "e.swallow.content"; type: SWALLOW; mouse;
|
||||
|
@ -340,6 +235,17 @@ group { name: "e/bryce/default/plain"; nomouse;
|
|||
desc { color: 0 0 0 0; }
|
||||
}
|
||||
}
|
||||
programs {
|
||||
#define ORIENT_SATE(_ORIENT, _STATE) \
|
||||
program { \
|
||||
signal: "e,state,orient,"_ORIENT; source: "e"; \
|
||||
action: STATE_SET _STATE 0.0; \
|
||||
target: "sizer"; \
|
||||
}
|
||||
ORIENT_SATE("horiontal", "default")
|
||||
ORIENT_SATE("vertical", "vert")
|
||||
#undef ORIENT_SATE
|
||||
}
|
||||
}
|
||||
|
||||
group { "elm/scroller/base/bryce";
|
||||
|
@ -356,6 +262,6 @@ group { "elm/scroller/base/bryce";
|
|||
link.base: "e,state,orient,vertical" "e";
|
||||
}
|
||||
}
|
||||
swallow { "elm.swallow.content" clip: "clip"; }
|
||||
swallow { "elm.swallow.content" clip: "clip"; description {rel1.offset: -1 -1; rel2.offset: 0 0; }}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,21 +1,32 @@
|
|||
group { name: "e/widgets/button";
|
||||
images.image: "button_normal.png" COMP;
|
||||
images.image: "button_clicked.png" COMP;
|
||||
images.image: "win_glow.png" COMP;
|
||||
group { name: "e/widgets/button";
|
||||
images.image: "win_shadow.png" COMP;
|
||||
parts {
|
||||
part { name: "base";
|
||||
part { name: "shadow"; mouse_events: 0;
|
||||
scale: 1;
|
||||
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;
|
||||
rel.to: "base";
|
||||
WIN_SHADOW_SMALL;
|
||||
}
|
||||
description { state: "clicked" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
image.normal: "button_clicked.png";
|
||||
image.border: 5 5 4 6;
|
||||
inherit;
|
||||
image.border_scale_by: 0.25;
|
||||
rel1.offset: -5 -3;
|
||||
rel2.offset: 4 6;
|
||||
}
|
||||
}
|
||||
rect { "base";
|
||||
scale: 1;
|
||||
desc { "default";
|
||||
color: 51 153 255 255;
|
||||
rel1.offset: 2 2;
|
||||
rel2.offset: -3 -3;
|
||||
offscale;
|
||||
}
|
||||
desc { "clicked"; inherit;
|
||||
color: 255 153 51 255;
|
||||
}
|
||||
desc { "disabled"; inherit;
|
||||
color: 64 64 64 255;
|
||||
}
|
||||
}
|
||||
part { name: "icon_clip"; type: RECT;
|
||||
|
@ -28,25 +39,35 @@
|
|||
}
|
||||
part { name: "e.swallow.icon"; type: SWALLOW; mouse_events: 0;
|
||||
clip_to: "icon_clip";
|
||||
description { state: "default" 0.0;
|
||||
scale: 1;
|
||||
desc { "default";
|
||||
fixed: 1 0;
|
||||
align: 0.0 0.5;
|
||||
rel1.offset: 6 5;
|
||||
rel1.to: "base";
|
||||
rel.to: "base";
|
||||
rel1.offset: 0 4;
|
||||
rel2.relative: 0.0 1.0;
|
||||
rel2.offset: 6 -8;
|
||||
rel2.to: "base";
|
||||
rel2.offset: -1 -5;
|
||||
visible: 0;
|
||||
max: 0 999999;
|
||||
offscale;
|
||||
}
|
||||
description { state: "combo" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
desc { "combo"; inherit;
|
||||
fixed: 1 0;
|
||||
rel1.offset: 4 4;
|
||||
rel2.relative: 0.0 1.0;
|
||||
rel2.offset: 4 -5;
|
||||
aspect: 1.0 1.0; aspect_preference: VERTICAL;
|
||||
visible: 1;
|
||||
min: 16 16;
|
||||
}
|
||||
description { state: "icon" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
min: 17 17;
|
||||
aspect: 1.0 1.0; aspect_preference: BOTH;
|
||||
fixed: 0 0;
|
||||
align: 0.5 0.5;
|
||||
rel1.offset: 4 4;
|
||||
rel2.relative: 1.0 1.0;
|
||||
rel2.offset: -7 -8;
|
||||
rel2.offset: -5 -5;
|
||||
visible: 1;
|
||||
min: 16 16;
|
||||
}
|
||||
}
|
||||
part { name: "label_clip"; type: RECT;
|
||||
|
@ -58,93 +79,58 @@
|
|||
}
|
||||
}
|
||||
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";
|
||||
fixed: 0 0;
|
||||
color: 255 255 255 255;
|
||||
rel1.offset: 4 4;
|
||||
rel1.relative: 1.0 0.0;
|
||||
rel1.to_x: "e.swallow.icon";
|
||||
rel1.to_y: "base";
|
||||
rel2.offset: -7 -7;
|
||||
rel2.to: "base";
|
||||
color_class: "button_text";
|
||||
color3: 255 255 255 255;
|
||||
rel2.offset: -5 -5;
|
||||
text { font: FN; size: 10;
|
||||
align: 0.5 0.5;
|
||||
min: 1 1;
|
||||
ellipsis: -1;
|
||||
align: 0.5 0.5;
|
||||
text_class: "button";
|
||||
}
|
||||
offscale;
|
||||
}
|
||||
description { state: "disabled" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color_class: "button_text_disabled";
|
||||
color3: 255 255 255 255;
|
||||
color: 96 96 96 255;
|
||||
}
|
||||
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_class: "button_text_disabled";
|
||||
color3: 255 255 255 255;
|
||||
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;
|
||||
color: 255 255 255 255;
|
||||
}
|
||||
}
|
||||
part { name: "glow"; mouse_events: 0;
|
||||
part { name: "glow"; type: RECT; 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;
|
||||
rel.to: "base";
|
||||
rel1.relative: 0.0 1.0;
|
||||
color: 255 255 255 255;
|
||||
align: 0.5 1.0;
|
||||
visible: 0;
|
||||
}
|
||||
description { state: "focused" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: 255 255 255 150;
|
||||
min: 0 5;
|
||||
visible: 1;
|
||||
}
|
||||
}
|
||||
part { name: "event"; type: RECT;
|
||||
ignore_flags: ON_HOLD;
|
||||
description { state: "default" 0.0;
|
||||
rel.to: "base";
|
||||
color: 0 0 0 0;
|
||||
}
|
||||
description { state: "disabled" 0.0;
|
||||
|
@ -157,14 +143,16 @@
|
|||
program {
|
||||
signal: "mouse,down,1"; source: "event";
|
||||
action: STATE_SET "clicked" 0.0;
|
||||
target: "shadow";
|
||||
target: "base";
|
||||
target: "base2";
|
||||
target: "e.text.label";
|
||||
}
|
||||
program {
|
||||
signal: "mouse,up,1"; source: "event";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "shadow";
|
||||
target: "base";
|
||||
target: "base2";
|
||||
target: "e.text.label";
|
||||
}
|
||||
program {
|
||||
signal: "mouse,clicked,1*"; source: "event";
|
||||
|
@ -192,17 +180,17 @@
|
|||
signal: "e,state,disabled"; source: "e";
|
||||
action: STATE_SET "disabled" 0.0;
|
||||
target: "event";
|
||||
target: "base";
|
||||
target: "icon_clip";
|
||||
target: "label_clip";
|
||||
target: "label2";
|
||||
target: "e.text.label";
|
||||
}
|
||||
program {
|
||||
signal: "e,state,enabled"; source: "e";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "event";
|
||||
target: "base";
|
||||
target: "icon_clip";
|
||||
target: "label_clip";
|
||||
target: "label2";
|
||||
target: "e.text.label";
|
||||
}
|
||||
program { signal: "e,state,focused"; source: "e";
|
||||
action: STATE_SET "focused" 0.0;
|
||||
|
|
|
@ -1,91 +1,74 @@
|
|||
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;
|
||||
scale: 1;
|
||||
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;
|
||||
rel1.offset: 4 4;
|
||||
rel2.offset: 4 -5;
|
||||
rel2.relative: 0.0 1.0;
|
||||
align: 0.0 0.5;
|
||||
color: 0 0 0 64;
|
||||
offscale;
|
||||
fixed: 1 1;
|
||||
}
|
||||
description { state: "disabled" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: 0 0 0 16;
|
||||
}
|
||||
}
|
||||
part { name: "clip"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
}
|
||||
description { state: "disabled" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: 255 255 255 64;
|
||||
color: 153 153 153 255;
|
||||
}
|
||||
}
|
||||
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;
|
||||
rel.to: "base";
|
||||
image.normal: "i-check";
|
||||
min: 15 15;
|
||||
max: 15 15;
|
||||
visible: 0;
|
||||
color: 160 160 160 255;
|
||||
}
|
||||
description { state: "selected" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
visible: 1;
|
||||
}
|
||||
description { state: "pressed" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: 255 255 255 255;
|
||||
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.offset: 4 4;
|
||||
rel1.to_x: "base";
|
||||
rel1.relative: 1.0 0.0;
|
||||
rel2.offset: -3 -3;
|
||||
color_class: "check_text";
|
||||
color3: 255 255 255 255;
|
||||
rel2.offset: -5 -5;
|
||||
color: 160 160 160 255;
|
||||
text { font: FN; size: 10;
|
||||
min: 1 1;
|
||||
ellipsis: -1;
|
||||
align: 0.0 0.5;
|
||||
text_class: "check_button";
|
||||
}
|
||||
offscale;
|
||||
}
|
||||
description { state: "disabled" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color_class: "check_text_disabled";
|
||||
color3: 255 255 255 255;
|
||||
color: 96 96 96 255;
|
||||
}
|
||||
description { state: "pressed" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: 255 255 255 255;
|
||||
}
|
||||
}
|
||||
part { name: "event"; type: RECT;
|
||||
|
@ -100,34 +83,37 @@ group { name: "e/widgets/check";
|
|||
}
|
||||
}
|
||||
programs {
|
||||
program {
|
||||
signal: "e,state,checked"; source: "e";
|
||||
program { signal: "e,state,checked"; source: "e";
|
||||
action: STATE_SET "selected" 0.0;
|
||||
target: "indicator";
|
||||
}
|
||||
program {
|
||||
signal: "e,state,unchecked"; source: "e";
|
||||
program { signal: "e,state,unchecked"; source: "e";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "indicator";
|
||||
}
|
||||
program {
|
||||
signal: "mouse,up,1"; source: "event";
|
||||
program { signal: "mouse,down,1"; source: "event";
|
||||
action: STATE_SET "pressed" 0.0;
|
||||
// target: "indicator";
|
||||
target: "e.text.label";
|
||||
}
|
||||
program { signal: "mouse,up,1"; source: "event";
|
||||
action: STATE_SET "default" 0.0;
|
||||
// target: "indicator";
|
||||
target: "e.text.label";
|
||||
}
|
||||
program { signal: "mouse,clicked,1"; source: "event";
|
||||
action: SIGNAL_EMIT "e,action,toggle" "";
|
||||
}
|
||||
program {
|
||||
signal: "e,state,disabled"; source: "e";
|
||||
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";
|
||||
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";
|
||||
|
@ -139,23 +125,29 @@ group { name: "e/widgets/check_icon";
|
|||
inherit: "e/widgets/check";
|
||||
parts {
|
||||
part { name: "e.swallow.icon"; type: SWALLOW;
|
||||
scale: 1;
|
||||
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;
|
||||
rel1.offset: 4 4;
|
||||
rel1.relative: 1.0 0.0;
|
||||
rel1.to_x: "base";
|
||||
rel2.offset: 4 -5;
|
||||
rel2.relative: 1.0 1.0;
|
||||
rel1.to_x: "inset";
|
||||
rel2.to_x: "base";
|
||||
align: 0.0 0.5;
|
||||
aspect: 1.0 1.0; aspect_preference: VERTICAL;
|
||||
offscale;
|
||||
}
|
||||
}
|
||||
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: 96 96 96 255;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,21 +1,20 @@
|
|||
group { name: "e/modules/clock/digital";
|
||||
alias: "e/gadget/clock/digital";
|
||||
min: 64 16;
|
||||
max: 512 128;
|
||||
images.image: "O/digit_na.png" COMP;
|
||||
images.image: "O/digit_nm.png" COMP;
|
||||
images.image: "O/digit_0.png" COMP;
|
||||
images.image: "O/digit_1.png" COMP;
|
||||
images.image: "O/digit_2.png" COMP;
|
||||
images.image: "O/digit_3.png" COMP;
|
||||
images.image: "O/digit_4.png" COMP;
|
||||
images.image: "O/digit_5.png" COMP;
|
||||
images.image: "O/digit_6.png" COMP;
|
||||
images.image: "O/digit_7.png" COMP;
|
||||
images.image: "O/digit_8.png" COMP;
|
||||
images.image: "O/digit_9.png" COMP;
|
||||
images.image: "O/digit_am.png" COMP;
|
||||
images.image: "O/digit_pm.png" COMP;
|
||||
images.image: "hole_tiny.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: "digit_am.png" COMP;
|
||||
images.image: "digit_pm.png" COMP;
|
||||
images.image: "digit_sep.png" COMP;
|
||||
script {
|
||||
public do_seconds, do_24h, do_date, tick_timer;
|
||||
|
||||
|
@ -186,8 +185,8 @@ group { name: "e/modules/clock/digital";
|
|||
}
|
||||
part { name: "hours1"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
rel1.relative: (0/16) 0.0;
|
||||
rel2.relative: (2/16) 1.0;
|
||||
rel1.relative: (0/30) 0.0;
|
||||
rel2.relative: (4/30) 1.0;
|
||||
rel1.to: "timearea";
|
||||
rel2.to: "timearea";
|
||||
visible: 0;
|
||||
|
@ -195,8 +194,8 @@ group { name: "e/modules/clock/digital";
|
|||
}
|
||||
part { name: "hours2"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
rel1.relative: (2/16) 0.0;
|
||||
rel2.relative: (4/16) 1.0;
|
||||
rel1.relative: (4/30) 0.0;
|
||||
rel2.relative: (8/30) 1.0;
|
||||
rel1.to: "timearea";
|
||||
rel2.to: "timearea";
|
||||
visible: 0;
|
||||
|
@ -204,8 +203,8 @@ group { name: "e/modules/clock/digital";
|
|||
}
|
||||
part { name: "mins1"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
rel1.relative: (5/16) 0.0;
|
||||
rel2.relative: (7/16) 1.0;
|
||||
rel1.relative: (9/30) 0.0;
|
||||
rel2.relative: (13/30) 1.0;
|
||||
rel1.to: "timearea";
|
||||
rel2.to: "timearea";
|
||||
visible: 0;
|
||||
|
@ -213,8 +212,8 @@ group { name: "e/modules/clock/digital";
|
|||
}
|
||||
part { name: "mins2"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
rel1.relative: (7/16) 0.0;
|
||||
rel2.relative: (9/16) 1.0;
|
||||
rel1.relative: (13/30) 0.0;
|
||||
rel2.relative: (17/30) 1.0;
|
||||
rel1.to: "timearea";
|
||||
rel2.to: "timearea";
|
||||
visible: 0;
|
||||
|
@ -222,8 +221,8 @@ group { name: "e/modules/clock/digital";
|
|||
}
|
||||
part { name: "secs1"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
rel1.relative: (10/16) 0.0;
|
||||
rel2.relative: (12/16) 1.0;
|
||||
rel1.relative: (18/30) 0.0;
|
||||
rel2.relative: (22/30) 1.0;
|
||||
rel1.to: "timearea";
|
||||
rel2.to: "timearea";
|
||||
visible: 0;
|
||||
|
@ -231,8 +230,8 @@ group { name: "e/modules/clock/digital";
|
|||
}
|
||||
part { name: "secs2"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
rel1.relative: (12/16) 0.0;
|
||||
rel2.relative: (14/16) 1.0;
|
||||
rel1.relative: (22/30) 0.0;
|
||||
rel2.relative: (26/30) 1.0;
|
||||
rel1.to: "timearea";
|
||||
rel2.to: "timearea";
|
||||
visible: 0;
|
||||
|
@ -240,8 +239,8 @@ group { name: "e/modules/clock/digital";
|
|||
}
|
||||
part { name: "ampm"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
rel1.relative: (14/16) 0.0;
|
||||
rel2.relative: (16/16) 1.0;
|
||||
rel1.relative: (26/30) 0.0;
|
||||
rel2.relative: (30/30) 1.0;
|
||||
rel1.to: "timearea";
|
||||
rel2.to: "timearea";
|
||||
visible: 0;
|
||||
|
@ -250,55 +249,47 @@ group { name: "e/modules/clock/digital";
|
|||
part { name: "c00";
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "hours2";
|
||||
rel1.relative: 1.0 0.5;
|
||||
rel1.offset: 0 -2;
|
||||
rel1.relative: 1.0 0.39;
|
||||
rel2.to: "mins1";
|
||||
rel2.relative: 0.0 0.5;
|
||||
rel2.offset: 0 -2;
|
||||
align: 0.5 1.0;
|
||||
FIXED_SIZE(4, 4)
|
||||
image.normal: "hole_tiny.png";
|
||||
rel2.relative: 0.0 0.45;
|
||||
image.normal: "digit_sep.png";
|
||||
color: 160 160 160 255;
|
||||
aspect: 1.0 1.0; aspect_preference: BOTH;
|
||||
}
|
||||
}
|
||||
part { name: "c01";
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "hours2";
|
||||
rel1.relative: 1.0 0.5;
|
||||
rel1.offset: 0 1;
|
||||
rel1.relative: 1.0 0.55;
|
||||
rel2.to: "mins1";
|
||||
rel2.relative: 0.0 0.5;
|
||||
rel2.offset: 0 1;
|
||||
align: 0.5 0.0;
|
||||
FIXED_SIZE(4, 4)
|
||||
image.normal: "hole_tiny.png";
|
||||
rel2.relative: 0.0 0.61;
|
||||
image.normal: "digit_sep.png";
|
||||
color: 160 160 160 255;
|
||||
aspect: 1.0 1.0; aspect_preference: BOTH;
|
||||
}
|
||||
}
|
||||
part { name: "c10";
|
||||
clip_to: "secclip";
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "mins2";
|
||||
rel1.relative: 1.0 0.5;
|
||||
rel1.offset: 0 -2;
|
||||
rel1.relative: 1.0 0.39;
|
||||
rel2.to: "secs1";
|
||||
rel2.relative: 0.0 0.5;
|
||||
rel2.offset: 0 -2;
|
||||
align: 0.5 1.0;
|
||||
FIXED_SIZE(4, 4)
|
||||
image.normal: "hole_tiny.png";
|
||||
rel2.relative: 0.0 0.45;
|
||||
image.normal: "digit_sep.png";
|
||||
color: 160 160 160 255;
|
||||
aspect: 1.0 1.0; aspect_preference: BOTH;
|
||||
}
|
||||
}
|
||||
part { name: "c11";
|
||||
clip_to: "secclip";
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "mins2";
|
||||
rel1.relative: 1.0 0.5;
|
||||
rel1.offset: 0 1;
|
||||
rel1.relative: 1.0 0.55;
|
||||
rel2.to: "secs1";
|
||||
rel2.relative: 0.0 0.5;
|
||||
rel2.offset: 0 1;
|
||||
align: 0.5 0.0;
|
||||
FIXED_SIZE(4, 4)
|
||||
image.normal: "hole_tiny.png";
|
||||
rel2.relative: 0.0 0.61;
|
||||
image.normal: "digit_sep.png";
|
||||
color: 160 160 160 255;
|
||||
aspect: 1.0 1.0; aspect_preference: BOTH;
|
||||
}
|
||||
}
|
||||
#define ELEM(_NAME, _TO, _DIGIT) \
|
||||
|
@ -306,14 +297,14 @@ group { name: "e/modules/clock/digital";
|
|||
description { state: "default" 0.0; \
|
||||
rel1.to: _TO; rel2.to: _TO; \
|
||||
aspect: (52/72) (52/72); aspect_preference: BOTH; \
|
||||
image.normal: "O/digit_"_DIGIT".png"; \
|
||||
image.normal: "digit_"_DIGIT".png"; \
|
||||
visible: 0; \
|
||||
color: 255 255 255 0; \
|
||||
color: 160 160 160 0; \
|
||||
} \
|
||||
description { state: "active" 0.0; \
|
||||
inherit: "default" 0.0; \
|
||||
visible: 1; \
|
||||
color: 255 255 255 255; \
|
||||
color: 160 160 160 255; \
|
||||
} \
|
||||
}
|
||||
#define DIGIT(_NAME, _TO) \
|
||||
|
@ -333,14 +324,14 @@ group { name: "e/modules/clock/digital";
|
|||
description { state: "default" 0.0; \
|
||||
rel1.to: _TO; rel2.to: _TO; \
|
||||
aspect: (52/72) (52/72); aspect_preference: BOTH; \
|
||||
image.normal: "O/digit_"_DIGIT".png"; \
|
||||
image.normal: "digit_"_DIGIT".png"; \
|
||||
visible: 0; \
|
||||
color: 255 255 255 0; \
|
||||
color: 160 160 160 0; \
|
||||
} \
|
||||
description { state: "active" 0.0; \
|
||||
inherit: "default" 0.0; \
|
||||
visible: 1; \
|
||||
color: 255 255 255 255; \
|
||||
color: 160 160 160 255; \
|
||||
} \
|
||||
}
|
||||
#define DIGITC(_NAME, _TO, _CLIP) \
|
||||
|
@ -361,42 +352,14 @@ group { name: "e/modules/clock/digital";
|
|||
description { state: "default" 0.0; \
|
||||
rel1.to: _TO; rel2.to: _TO; \
|
||||
aspect: (48/31) (48/31); aspect_preference: BOTH; \
|
||||
image.normal: "O/digit_am.png"; \
|
||||
image.normal: "digit_am.png"; \
|
||||
color: 160 160 160 255; \
|
||||
} \
|
||||
description { state: "active" 0.0; \
|
||||
inherit: "default" 0.0; \
|
||||
image.normal: "O/digit_pm.png"; \
|
||||
image.normal: "digit_pm.png"; \
|
||||
} \
|
||||
}
|
||||
#define BASE(_NAME, _BASE, _IMG) \
|
||||
part { name: _NAME; \
|
||||
description { state: "default" 0.0; \
|
||||
rel1.to: _BASE; \
|
||||
rel2.to: _BASE; \
|
||||
image.normal: _IMG; \
|
||||
color: 255 255 255 128; \
|
||||
} \
|
||||
}
|
||||
#define BASEC(_NAME, _CLIP, _BASE, _IMG) \
|
||||
part { name: _NAME; \
|
||||
clip_to: _CLIP; \
|
||||
description { state: "default" 0.0; \
|
||||
rel1.to: _BASE; \
|
||||
rel2.to: _BASE; \
|
||||
image.normal: _IMG; \
|
||||
color: 255 255 255 128; \
|
||||
} \
|
||||
}
|
||||
|
||||
BASE ("ha", "h0-0", "O/digit_na.png")
|
||||
BASE ("hb", "h1-0", "O/digit_na.png")
|
||||
BASE ("ma", "m0-0", "O/digit_na.png")
|
||||
BASE ("mb", "m1-0", "O/digit_na.png")
|
||||
|
||||
BASEC("sa", "secclip", "s0-0", "O/digit_na.png")
|
||||
BASEC("sb", "secclip", "s1-0", "O/digit_na.png")
|
||||
BASEC("aa", "ampmclip", "ap", "O/digit_nm.png")
|
||||
|
||||
DIGIT ("h0", "hours1")
|
||||
DIGIT ("h1", "hours2")
|
||||
DIGIT ("m0", "mins1")
|
||||
|
@ -408,20 +371,17 @@ group { name: "e/modules/clock/digital";
|
|||
#undef TAG
|
||||
#undef ELEM
|
||||
#undef ELEMC
|
||||
#undef BASE
|
||||
#undef BASEC
|
||||
#undef DIGIT
|
||||
#undef DIGITC
|
||||
|
||||
part { name: "e.text.today"; type: TEXT;
|
||||
effect: GLOW;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
rel1.relative: 0.0 1.0;
|
||||
rel1.offset: 0 1;
|
||||
rel2.offset: -1 1;
|
||||
rel2.offset: -1 -1;
|
||||
align: 0.5 1.0;
|
||||
color: FN_COL_HIGHLIGHT;
|
||||
color: 160 160 160 255;
|
||||
text { font: FN; size: 8;
|
||||
text_class: "module_small";
|
||||
align: 0.5 0.5;
|
||||
|
@ -434,11 +394,10 @@ group { name: "e/modules/clock/digital";
|
|||
inherit: "default" 0.0;
|
||||
visible: 1;
|
||||
fixed: 1 1;
|
||||
text.min: 1 1;
|
||||
text.ellipsis: -1;
|
||||
text.min: 0 1;
|
||||
text.ellipsis: 0;
|
||||
}
|
||||
}
|
||||
|
||||
part { name: "event"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
color: 0 0 0 0;
|
||||
|
@ -506,13 +465,12 @@ group { name: "e/modules/clock/digital";
|
|||
program { \
|
||||
signal: "show,"_NAME; source: "c"; \
|
||||
action: STATE_SET "active" 0.0; \
|
||||
transition: BOUNCE 0.3 0.5 2; \
|
||||
target: _NAME; \
|
||||
} \
|
||||
program { \
|
||||
signal: "hide,"_NAME; source: "c"; \
|
||||
action: STATE_SET "default" 0.0; \
|
||||
transition: DECELERATE 0.3; \
|
||||
transition: DECELERATE 0.1; \
|
||||
target: _NAME; \
|
||||
}
|
||||
#define DIGPRGS(_NAME) \
|
||||
|
@ -539,107 +497,62 @@ group { name: "e/modules/clock/digital";
|
|||
}
|
||||
|
||||
group { name: "e/modules/clock/main";
|
||||
alias: "e/gadget/clock/analog";
|
||||
images.image: "clock_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; }
|
||||
}
|
||||
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; }
|
||||
set { name: "tacho_hand_small_sec";
|
||||
image { image: "tacho_hand_small_sec.png" COMP; size: 73 73 99999 99999; }
|
||||
image { image: "tacho_hand_small_sec2.png" COMP; size: 37 37 72 72; }
|
||||
image { image: "tacho_hand_small_sec3.png" COMP; size: 19 19 36 36; }
|
||||
image { image: "tacho_hand_small_sec4.png" COMP; size: 0 0 18 18; }
|
||||
}
|
||||
min: 16 16;
|
||||
max: 160 160;
|
||||
script {
|
||||
public do_seconds, tick_timer;
|
||||
|
||||
|
||||
public clock_cb(val) {
|
||||
new year, month, day, yearday, weekday, hour, minute;
|
||||
new Float:second;
|
||||
new v, dosec, tim;
|
||||
|
||||
|
||||
date(year, month, day, yearday, weekday, hour, minute, second);
|
||||
dosec = get_int(do_seconds);
|
||||
if (dosec) {
|
||||
v = round(second, FLOOR);
|
||||
tim = timer(1.0 - (second - v), "clock_cb", 1);
|
||||
|
||||
|
||||
custom_state(PART:"seconds", "default", 0.0);
|
||||
set_state_val(PART:"seconds", STATE_MAP_ROT_Z, (v * 360.0) / 60.0);
|
||||
set_state(PART:"seconds", "custom", 0.0);
|
||||
|
||||
custom_state(PART:"seconds-sh", "default", 0.0);
|
||||
set_state_val(PART:"seconds-sh", STATE_MAP_ROT_Z, (v * 360.0) / 60.0);
|
||||
set_state(PART:"seconds-sh", "custom", 0.0);
|
||||
}
|
||||
else {
|
||||
tim = timer(60.0 - (second), "clock_cb", 1);
|
||||
}
|
||||
set_int(tick_timer, tim);
|
||||
|
||||
|
||||
custom_state(PART:"minutes", "default", 0.0);
|
||||
set_state_val(PART:"minutes", STATE_MAP_ROT_Z, (float(minute) * 360.0) / 60.0);
|
||||
set_state(PART:"minutes", "custom", 0.0);
|
||||
|
||||
custom_state(PART:"minutes-sh", "default", 0.0);
|
||||
set_state_val(PART:"minutes-sh", STATE_MAP_ROT_Z, (float(minute) * 360.0) / 60.0);
|
||||
set_state(PART:"minutes-sh", "custom", 0.0);
|
||||
|
||||
|
||||
custom_state(PART:"hours", "default", 0.0);
|
||||
set_state_val(PART:"hours", STATE_MAP_ROT_Z, ((float(hour) + (float(minute) / 60.0)) * 360.0) / 12.0);
|
||||
set_state(PART:"hours", "custom", 0.0);
|
||||
|
||||
custom_state(PART:"hours-sh", "default", 0.0);
|
||||
set_state_val(PART:"hours-sh", STATE_MAP_ROT_Z, ((float(hour) + (float(minute) / 60.0)) * 360.0) / 12.0);
|
||||
set_state(PART:"hours-sh", "custom", 0.0);
|
||||
}
|
||||
}
|
||||
parts {
|
||||
part { name: "event"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
color: 0 0 0 0;
|
||||
}
|
||||
}
|
||||
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";
|
||||
parts {
|
||||
part { name: "base"; mouse_events: 0;
|
||||
description { state: "default" 0.0;
|
||||
rel1.relative: (25/380) (25/380);
|
||||
rel2.relative: (365/380) (365/380);
|
||||
|
@ -647,24 +560,9 @@ group { name: "e/modules/clock/main";
|
|||
image.normal: "clock_base.png";
|
||||
}
|
||||
}
|
||||
part { name: "seconds-sh"; mouse_events: 0;
|
||||
description { state: "default" 0.0;
|
||||
image.normal: "tacho_hand_big_shadow.png";
|
||||
rel1.to: "hours-sh";
|
||||
rel2.to: "hours-sh";
|
||||
map {
|
||||
on: 1;
|
||||
rotation.center: "seconds-sh";
|
||||
}
|
||||
}
|
||||
description { state: "hidden" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
visible: 0;
|
||||
}
|
||||
}
|
||||
part { name: "seconds"; mouse_events: 0;
|
||||
description { state: "default" 0.0;
|
||||
image.normal: "tacho_hand_big";
|
||||
image.normal: "tacho_hand_small_sec";
|
||||
color: 255 0 0 255;
|
||||
rel1.to: "base";
|
||||
rel2.to: "base";
|
||||
|
@ -678,17 +576,6 @@ group { name: "e/modules/clock/main";
|
|||
visible: 0;
|
||||
}
|
||||
}
|
||||
part { name: "minutes-sh"; mouse_events: 0;
|
||||
description { state: "default" 0.0;
|
||||
image.normal: "tacho_hand_big_shadow.png";
|
||||
rel1.to: "hours-sh";
|
||||
rel2.to: "hours-sh";
|
||||
map {
|
||||
on: 1;
|
||||
rotation.center: "minutes-sh";
|
||||
}
|
||||
}
|
||||
}
|
||||
part { name: "minutes"; mouse_events: 0;
|
||||
description { state: "default" 0.0000;
|
||||
color: 255 255 255 255;
|
||||
|
@ -701,21 +588,6 @@ group { name: "e/modules/clock/main";
|
|||
}
|
||||
}
|
||||
}
|
||||
part { name: "hours-sh"; mouse_events: 0;
|
||||
description { state: "default" 0.0;
|
||||
image.normal: "tacho_hand_small_shadow.png";
|
||||
rel1.to: "hours";
|
||||
rel1.relative: 0.0 (15/380);
|
||||
rel1.offset: 0 1;
|
||||
rel2.to: "hours";
|
||||
rel2.relative: 1.0 (395/380);
|
||||
rel2.offset: -1 0;
|
||||
map {
|
||||
on: 1;
|
||||
rotation.center: "hours-sh";
|
||||
}
|
||||
}
|
||||
}
|
||||
part { name: "hours"; mouse_events: 0;
|
||||
description { state: "default" 0.0;
|
||||
image.normal: "tacho_hand_small_min";
|
||||
|
@ -728,33 +600,9 @@ group { name: "e/modules/clock/main";
|
|||
}
|
||||
}
|
||||
}
|
||||
part { name: "over"; mouse_events: 0;
|
||||
part { name: "event"; type: RECT;
|
||||
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";
|
||||
color: 0 0 0 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -769,13 +617,12 @@ group { name: "e/modules/clock/main";
|
|||
signal: "e,state,seconds,on"; source: "e";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "seconds";
|
||||
target: "seconds-sh";
|
||||
after: "sec2";
|
||||
}
|
||||
program { name: "sec2";
|
||||
script {
|
||||
new tim;
|
||||
|
||||
|
||||
set_int(do_seconds, 1);
|
||||
tim = get_int(tick_timer);
|
||||
if (tim) {
|
||||
|
@ -789,13 +636,12 @@ group { name: "e/modules/clock/main";
|
|||
signal: "e,state,seconds,off"; source: "e";
|
||||
action: STATE_SET "hidden" 0.0;
|
||||
target: "seconds";
|
||||
target: "seconds-sh";
|
||||
after: "sec3";
|
||||
}
|
||||
program { name: "sec3";
|
||||
script {
|
||||
new tim;
|
||||
|
||||
|
||||
set_int(do_seconds, 0);
|
||||
tim = get_int(tick_timer);
|
||||
if (tim) {
|
||||
|
@ -809,12 +655,12 @@ group { name: "e/modules/clock/main";
|
|||
}
|
||||
|
||||
group { name: "e/modules/clock/calendar/dayname";
|
||||
alias: "e/gadget/clock/calendar/dayname";
|
||||
parts {
|
||||
part { name: "e.text.label"; type: TEXT; mouse_events: 0;
|
||||
effect: SHADOW BOTTOM;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
color: FN_COL_DISABLE;
|
||||
color: 160 160 160 255;
|
||||
text { font: FN; size: 8;
|
||||
text: "WWe";
|
||||
min: 1 1;
|
||||
|
@ -825,7 +671,7 @@ group { name: "e/modules/clock/calendar/dayname";
|
|||
}
|
||||
description { state: "weekend" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: 48 48 48 255;
|
||||
color: 51 153 255 255;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -844,39 +690,56 @@ group { name: "e/modules/clock/calendar/dayname";
|
|||
}
|
||||
|
||||
group { name: "e/modules/clock/calendar/day";
|
||||
alias: "e/gadget/clock/calendar/day";
|
||||
script {
|
||||
public day_state = 0;
|
||||
evalstate() {
|
||||
new vv = get_int(day_state);
|
||||
|
||||
|
||||
if (vv & 2)
|
||||
{
|
||||
set_state(PART:"e.text.label", "today", 0.0);
|
||||
set_state(PART:"label2", "today", 0.0);
|
||||
set_state(PART:"base", "today", 0.0);
|
||||
}
|
||||
else if (vv & 4)
|
||||
{
|
||||
set_state(PART:"e.text.label", "hidden", 0.0);
|
||||
set_state(PART:"label2", "default", 0.0);
|
||||
set_state(PART:"base", "default", 0.0);
|
||||
}
|
||||
else if (vv & 1)
|
||||
{
|
||||
set_state(PART:"e.text.label", "weekend", 0.0);
|
||||
set_state(PART:"label2", "default", 0.0);
|
||||
}
|
||||
set_state(PART:"label2", "default", 0.0);
|
||||
set_state(PART:"base", "default", 0.0);
|
||||
}
|
||||
else
|
||||
{
|
||||
set_state(PART:"e.text.label", "default", 0.0);
|
||||
set_state(PART:"label2", "default", 0.0);
|
||||
set_state(PART:"base", "default", 0.0);
|
||||
}
|
||||
}
|
||||
}
|
||||
parts {
|
||||
part { name: "base"; type: RECT; mouse_events: 0;
|
||||
description { state: "default" 0.0;
|
||||
color: 0 0 0 64;
|
||||
visible: 0;
|
||||
}
|
||||
description { state: "today" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
visible: 1;
|
||||
}
|
||||
}
|
||||
part { name: "e.text.label"; type: TEXT; mouse_events: 0;
|
||||
effect: SHADOW BOTTOM;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
color: FN_COL_DEFAULT;
|
||||
color: 160 160 160 255;
|
||||
rel1.offset: 3 3;
|
||||
rel2.offset: -4 -4;
|
||||
offscale;
|
||||
text { font: FN; size: 10;
|
||||
text: "00";
|
||||
min: 1 1;
|
||||
|
@ -890,22 +753,19 @@ group { name: "e/modules/clock/calendar/day";
|
|||
}
|
||||
description { state: "weekend" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: FN_COL_MID_GREY;
|
||||
color: 51 153 255 255;
|
||||
}
|
||||
description { state: "hidden" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: FN_COL_DISABLE;
|
||||
color: 40 40 40 255;
|
||||
}
|
||||
}
|
||||
part { name: "label2"; type: TEXT; mouse_events: 0;
|
||||
effect: GLOW;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
rel1.offset: -3 -3;
|
||||
color: 255 255 255 255;
|
||||
rel1.to: "e.text.label";
|
||||
rel2.offset: 2 1;
|
||||
rel2.to: "e.text.label";
|
||||
color: FN_COL_HIGHLIGHT;
|
||||
text { font: FN; size: 10;
|
||||
text_source: "e.text.label";
|
||||
min: 1 1;
|
||||
|
@ -937,7 +797,7 @@ group { name: "e/modules/clock/calendar/day";
|
|||
evalstate();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
program {
|
||||
signal: "e,state,today"; source: "e";
|
||||
script {
|
||||
|
@ -954,7 +814,7 @@ group { name: "e/modules/clock/calendar/day";
|
|||
evalstate();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
program {
|
||||
signal: "e,state,hidden"; source: "e";
|
||||
script {
|
||||
|
@ -975,14 +835,9 @@ group { name: "e/modules/clock/calendar/day";
|
|||
}
|
||||
|
||||
group { name: "e/modules/clock/calendar";
|
||||
images.image: "separator_horiz.png" COMP;
|
||||
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;
|
||||
alias: "e/gadget/clock/calendar";
|
||||
parts {
|
||||
part { name: "e.text.month"; type: TEXT;
|
||||
effect: SHADOW BOTTOM;
|
||||
mouse_events: 1;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
|
@ -990,8 +845,9 @@ group { name: "e/modules/clock/calendar";
|
|||
align: 0.0 0.0;
|
||||
rel1.to_x: "prev";
|
||||
rel1.relative: 1.0 0.0;
|
||||
rel1.offset: 4 0;
|
||||
rel2.relative: 1.0 0.0;
|
||||
color: FN_COL_DEFAULT;
|
||||
color: 160 160 160 255;
|
||||
text { font: FNBD; size: 10;
|
||||
text: "000000000000";
|
||||
align: 0.0 0.5;
|
||||
|
@ -1001,15 +857,15 @@ group { name: "e/modules/clock/calendar";
|
|||
}
|
||||
}
|
||||
part { name: "e.text.year"; type: TEXT; mouse_events: 0;
|
||||
effect: SHADOW BOTTOM;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
fixed: 0 1;
|
||||
align: 1.0 0.0;
|
||||
rel1.relative: 0.0 0.0;
|
||||
rel2.to_x: "next";
|
||||
rel2.offset: -5 -1;
|
||||
rel2.relative: 0.0 0.0;
|
||||
color: FN_COL_DEFAULT;
|
||||
color: 160 160 160 255;
|
||||
text { font: FNBD; size: 10;
|
||||
text: "0000";
|
||||
align: 1.0 0.5;
|
||||
|
@ -1019,16 +875,18 @@ group { name: "e/modules/clock/calendar";
|
|||
}
|
||||
}
|
||||
part { name: "previm"; mouse_events: 0;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
fixed: 1 1;
|
||||
min: 15 15;
|
||||
max: 15 15;
|
||||
rel1.to: "prev";
|
||||
rel2.to: "prev";
|
||||
image.normal: "sym_left_light_normal.png";
|
||||
rel.to: "prev";
|
||||
image.normal: "i-arrow-l";
|
||||
color: 160 160 160 255;
|
||||
}
|
||||
description { state: "pressed" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
image.normal: "sym_left_glow_normal.png";
|
||||
color: 255 255 255 255;
|
||||
}
|
||||
}
|
||||
part { name: "prev"; type: RECT;
|
||||
|
@ -1057,16 +915,18 @@ group { name: "e/modules/clock/calendar";
|
|||
}
|
||||
}
|
||||
part { name: "nextim"; mouse_events: 0;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
fixed: 1 1;
|
||||
min: 15 15;
|
||||
max: 15 15;
|
||||
rel1.to: "next";
|
||||
rel2.to: "next";
|
||||
image.normal: "sym_right_light_normal.png";
|
||||
rel.to: "next";
|
||||
image.normal: "i-arrow-r";
|
||||
color: 160 160 160 255;
|
||||
}
|
||||
description { state: "pressed" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
image.normal: "sym_right_glow_normal.png";
|
||||
color: 255 255 255 255;
|
||||
}
|
||||
}
|
||||
part { name: "next"; type: RECT;
|
||||
|
@ -1094,29 +954,30 @@ group { name: "e/modules/clock/calendar";
|
|||
action: SIGNAL_EMIT "e,action,next" "";
|
||||
}
|
||||
}
|
||||
part { name: "sel";
|
||||
part { name: "sep"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
image.normal: "separator_horiz.png";
|
||||
color: 80 80 80 255;
|
||||
rel1.relative: 0.0 1.0;
|
||||
rel1.offset: 0 0;
|
||||
rel1.offset: 8 0;
|
||||
rel1.to: "e.table.daynames";
|
||||
rel2.offset: -1 1;
|
||||
rel2.to: "e.table.daynames";
|
||||
min: 0 2;
|
||||
fill.smooth: 0;
|
||||
rel2.relative: 1.0 0.0;
|
||||
rel2.offset: -9 -1;
|
||||
rel2.to_y: "e.table.days";
|
||||
min: 0 1;
|
||||
max: 99999 1;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
part { name: "e.table.daynames"; type: TABLE;
|
||||
description { state: "default" 0.0;
|
||||
fixed: 0 1;
|
||||
align: 0.5 0.0;
|
||||
rel1.to_y: "e.text.month";
|
||||
rel1.relative: 0.0 1.0;
|
||||
rel1.offset: 2 2;
|
||||
rel1.offset: 8 2;
|
||||
rel2.to_y: "e.text.month";
|
||||
rel2.relative: 1.0 1.0;
|
||||
rel2.offset: -3 2;
|
||||
rel2.offset: -9 2;
|
||||
step: 7 1;
|
||||
table { homogeneous: TABLE;
|
||||
padding: 1 1;
|
||||
|
@ -1143,8 +1004,8 @@ item { \
|
|||
description { state: "default" 0.0;
|
||||
rel1.to_y: "e.table.daynames";
|
||||
rel1.relative: 0.0 1.0;
|
||||
rel1.offset: 2 2;
|
||||
rel2.offset: -3 -3;
|
||||
rel1.offset: 8 16;
|
||||
rel2.offset: -9 -9;
|
||||
step: 7 5;
|
||||
table { homogeneous: TABLE;
|
||||
padding: 1 1;
|
||||
|
|
|
@ -1,53 +1,33 @@
|
|||
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;
|
||||
images.image: "diagonal_stripes.png" COMP;
|
||||
parts {
|
||||
part { name: "bg"; type: RECT;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
rel1.offset: 3 3;
|
||||
rel2.offset: -4 -4;
|
||||
color: 48 48 48 255;
|
||||
rel1.offset: 2 2;
|
||||
rel2.offset: -3 -3;
|
||||
color: DARK_GREY_BG_COLOR;
|
||||
min: 18 18;
|
||||
offscale;
|
||||
}
|
||||
}
|
||||
part { name: "pat";
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "bg";
|
||||
rel2.to: "bg";
|
||||
image.normal: "dot_pattern.png";
|
||||
TILED_PATTERN(256, 256)
|
||||
rel.to: "bg";
|
||||
rel1.offset: 2 2;
|
||||
rel2.offset: -3 -3;
|
||||
image.normal: "diagonal_stripes.png";
|
||||
color: 255 255 255 64;
|
||||
TILED_PATTERN(240, 240)
|
||||
offscale;
|
||||
}
|
||||
}
|
||||
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;
|
||||
rel.to: "pat";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -55,16 +35,6 @@ group { name: "e/modules/conf_colors/preview/solid";
|
|||
|
||||
group { name: "e/modules/conf_colors/preview/text";
|
||||
parts {
|
||||
part { name: "shadow"; type: TEXT; mouse_events: 0;
|
||||
description { state: "default" 0.0;
|
||||
color: FN_COL_SHADOW;
|
||||
text { font: FN; size: 10;
|
||||
text: "Text";
|
||||
min: 1 1;
|
||||
ellipsis: -1;
|
||||
}
|
||||
}
|
||||
}
|
||||
part { name: "e.text"; type: TEXT; mouse_events: 0;
|
||||
effect: OUTLINE_SHADOW;
|
||||
description { state: "default" 0.0;
|
||||
|
@ -81,32 +51,36 @@ group { name: "e/modules/conf_colors/preview/text";
|
|||
}
|
||||
|
||||
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;
|
||||
images.image: "diagonal_stripes.png" COMP;
|
||||
parts {
|
||||
part { name: "bg"; type: RECT;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
rel1.offset: 3 3;
|
||||
rel2.offset: -4 -4;
|
||||
color: 48 48 48 255;
|
||||
rel1.offset: 2 2;
|
||||
rel2.offset: -3 -3;
|
||||
color: DARK_GREY_BG_COLOR;
|
||||
min: 18 18;
|
||||
offscale;
|
||||
}
|
||||
}
|
||||
part { name: "pat";
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "bg";
|
||||
rel2.to: "bg";
|
||||
image.normal: "dot_pattern.png";
|
||||
TILED_PATTERN(256, 256)
|
||||
rel.to: "bg";
|
||||
rel1.offset: 2 2;
|
||||
rel2.offset: -3 -3;
|
||||
image.normal: "diagonal_stripes.png";
|
||||
color: 255 255 255 64;
|
||||
TILED_PATTERN(240, 240)
|
||||
offscale;
|
||||
}
|
||||
}
|
||||
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";
|
||||
rel1.to: "pat";
|
||||
rel2.to: "pat";
|
||||
rel2.relative: 0.333 1.0;
|
||||
}
|
||||
}
|
||||
|
@ -116,7 +90,7 @@ group { name: "e/modules/conf_colors/preview/unknown";
|
|||
color_class: "color_preview_c2";
|
||||
rel1.to: "c1";
|
||||
rel1.relative: 1.0 0.0;
|
||||
rel2.to: "bg";
|
||||
rel2.to: "pat";
|
||||
rel2.relative: 0.667 1.0;
|
||||
}
|
||||
}
|
||||
|
@ -126,30 +100,7 @@ group { name: "e/modules/conf_colors/preview/unknown";
|
|||
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;
|
||||
rel2.to: "pat";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,76 +1,55 @@
|
|||
group { name: "e/widgets/color_well";
|
||||
images.image: "inset_shadow.png" COMP;
|
||||
images.image: "bevel_in.png" COMP;
|
||||
images.image: "dot_pattern.png" COMP;
|
||||
images.image: "diagonal_stripes.png" COMP;
|
||||
parts {
|
||||
part { name: "bg"; type: RECT;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "e.swallow.content";
|
||||
rel2.to: "e.swallow.content";
|
||||
color: 48 48 48 255;
|
||||
rel1.offset: 2 2;
|
||||
rel2.offset: -3 -3;
|
||||
color: DARK_GREY_BG_COLOR;
|
||||
min: 18 18;
|
||||
offscale;
|
||||
}
|
||||
}
|
||||
part { name: "pat";
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "bg";
|
||||
rel2.to: "bg";
|
||||
image.normal: "dot_pattern.png";
|
||||
TILED_PATTERN(256, 256)
|
||||
}
|
||||
scale: 1;
|
||||
description
|
||||
{ state: "default" 0.0;
|
||||
rel.to: "bg";
|
||||
rel1.offset: 2 2;
|
||||
rel2.offset: -3 -3;
|
||||
image.normal:
|
||||
"diagonal_stripes.png";
|
||||
color: 255 255 255 64;
|
||||
TILED_PATTERN(240, 240)
|
||||
offscale;
|
||||
}
|
||||
}
|
||||
part { name: "clipper"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "e.swallow.content";
|
||||
rel2.to: "e.swallow.content";
|
||||
rel.to: "pat";
|
||||
}
|
||||
description { state: "disabled" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: 255 255 255 64;
|
||||
}
|
||||
}
|
||||
part { name: "e.swallow.content"; type: SWALLOW;
|
||||
part { name: "e.swallow.content"; type: SWALLOW; mouse_events: 0;
|
||||
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;
|
||||
rel.to: "pat";
|
||||
}
|
||||
}
|
||||
}
|
||||
programs {
|
||||
program {
|
||||
signal: "mouse,clicked,1"; source: "inset";
|
||||
program { signal: "mouse,clicked,1"; source: "pat";
|
||||
action: SIGNAL_EMIT "e,action,click" "";
|
||||
}
|
||||
program {
|
||||
signal: "e,state,disabled"; source: "e";
|
||||
program { signal: "e,state,disabled"; source: "e";
|
||||
action: STATE_SET "disabled" 0.0;
|
||||
target: "clipper";
|
||||
}
|
||||
program {
|
||||
signal: "e,state,enabled"; source: "e";
|
||||
program { signal: "e,state,enabled"; source: "e";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "clipper";
|
||||
}
|
||||
|
|
|
@ -6,9 +6,8 @@ group { name: "e/comp/preview";
|
|||
}
|
||||
part { name: "e.text.label"; type: TEXT; mouse_events: 0;
|
||||
scale: 1;
|
||||
effect: SHADOW BOTTOM;
|
||||
description { state: "default" 0.0;
|
||||
color: FN_COL_DEFAULT;
|
||||
color: 255 255 255 255;
|
||||
text { font: FNBD; size: 10;
|
||||
text_class: "fileman_icon";
|
||||
align: 0.5 0.5;
|
||||
|
@ -22,7 +21,7 @@ group { name: "e/comp/preview";
|
|||
}
|
||||
|
||||
group { name: "e/comp/screen/base/default";
|
||||
alias: "e/comp/screen/base/noeffects";
|
||||
alias: "e/comp/screen/base/noeffects"; // legacy
|
||||
parts {
|
||||
part { name: "clip"; type: RECT; mouse_events: 0;
|
||||
description { state: "default" 0.0;
|
||||
|
@ -37,6 +36,7 @@ group { name: "e/comp/screen/base/default";
|
|||
}
|
||||
|
||||
group { name: "e/comp/screen/overlay/default";
|
||||
alias: "e/comp/screen/overlay/noeffects"; // legacy
|
||||
images.image: "screen_circular_shadow.png" COMP;
|
||||
data.item: "restarted" "on";
|
||||
parts {
|
||||
|
@ -86,167 +86,100 @@ group { name: "e/comp/screen/overlay/default";
|
|||
}
|
||||
}
|
||||
programs {
|
||||
program {
|
||||
name: "screensaver_on";
|
||||
signal: "e,state,screensaver,on"; source: "e";
|
||||
program { signal: "e,state,screensaver,on"; source: "e";
|
||||
action: STATE_SET "visible" 0.0;
|
||||
transition: ACCELERATE 3.0 CURRENT;
|
||||
transition: ACCELERATE 3.0 USE_DURATION_FACTOR 1 CURRENT;
|
||||
target: "blanker";
|
||||
sequence {
|
||||
action: SIGNAL_EMIT "e,state,screensaver,active" "e";
|
||||
}
|
||||
}
|
||||
program {
|
||||
name: "screensaver_on2";
|
||||
signal: "e,state,screensaver,on"; source: "e";
|
||||
program { signal: "e,state,screensaver,on"; source: "e";
|
||||
action: STATE_SET "visible" 0.0;
|
||||
transition: DECELERATE 1.5 CURRENT;
|
||||
transition: DECELERATE 3.0 USE_DURATION_FACTOR 1 CURRENT;
|
||||
target: "shadow";
|
||||
}
|
||||
program {
|
||||
name: "screensaver_off";
|
||||
signal: "e,state,screensaver,off"; source: "e";
|
||||
program { signal: "e,state,screensaver,off"; source: "e";
|
||||
action: STATE_SET "default" 0.0;
|
||||
transition: ACCELERATE 0.5 CURRENT;
|
||||
transition: ACCELERATE 0.5 USE_DURATION_FACTOR 1 CURRENT;
|
||||
target: "blanker";
|
||||
}
|
||||
program {
|
||||
name: "screensaver_off2";
|
||||
signal: "e,state,screensaver,off"; source: "e";
|
||||
program { signal: "e,state,screensaver,off"; source: "e";
|
||||
action: STATE_SET "default" 0.0;
|
||||
transition: ACCELERATE 0.25 CURRENT;
|
||||
transition: ACCELERATE 0.5 USE_DURATION_FACTOR 1 CURRENT;
|
||||
target: "shadow";
|
||||
}
|
||||
program {
|
||||
name: "suspend";
|
||||
signal: "e,state,sys,suspend"; source: "e";
|
||||
program { signal: "e,state,sys,suspend"; source: "e";
|
||||
action: STATE_SET "visible" 0.0;
|
||||
transition: ACCELERATE 0.5 CURRENT;
|
||||
transition: ACCELERATE 0.5 USE_DURATION_FACTOR 1 CURRENT;
|
||||
target: "suspender";
|
||||
sequence {
|
||||
action: SIGNAL_EMIT "e,state,sys,suspend,done" "e";
|
||||
}
|
||||
}
|
||||
program {
|
||||
name: "hibernate";
|
||||
signal: "e,state,sys,hibernate"; source: "e";
|
||||
program { signal: "e,state,sys,hibernate"; source: "e";
|
||||
action: STATE_SET "visible" 0.0;
|
||||
transition: ACCELERATE 0.5 CURRENT;
|
||||
transition: ACCELERATE 0.5 USE_DURATION_FACTOR 1 CURRENT;
|
||||
target: "suspender";
|
||||
sequence {
|
||||
action: SIGNAL_EMIT "e,state,sys,hibernate,done" "e";
|
||||
}
|
||||
}
|
||||
program {
|
||||
name: "resume";
|
||||
signal: "e,state,sys,resume"; source: "e";
|
||||
program { signal: "e,state,sys,resume"; source: "e";
|
||||
action: STATE_SET "default" 0.0;
|
||||
transition: DECELERATE 1.0 CURRENT;
|
||||
transition: DECELERATE 0.5 USE_DURATION_FACTOR 1 CURRENT;
|
||||
target: "suspender";
|
||||
}
|
||||
program {
|
||||
name: "reboot";
|
||||
signal: "e,state,sys,reboot"; source: "e";
|
||||
program { signal: "e,state,sys,reboot"; source: "e";
|
||||
action: STATE_SET "visible" 0.0;
|
||||
transition: ACCELERATE 0.5 CURRENT;
|
||||
transition: ACCELERATE 0.5 USE_DURATION_FACTOR 1 CURRENT;
|
||||
target: "suspender";
|
||||
sequence {
|
||||
action: SIGNAL_EMIT "e,state,sys,reboot,done" "e";
|
||||
}
|
||||
}
|
||||
program {
|
||||
name: "halt";
|
||||
signal: "e,state,sys,halt"; source: "e";
|
||||
program { signal: "e,state,sys,halt"; source: "e";
|
||||
action: STATE_SET "visible" 0.0;
|
||||
transition: ACCELERATE 0.5 CURRENT;
|
||||
transition: ACCELERATE 0.5 USE_DURATION_FACTOR 1 CURRENT;
|
||||
target: "suspender";
|
||||
sequence {
|
||||
action: SIGNAL_EMIT "e,state,sys,halt,done" "e";
|
||||
}
|
||||
}
|
||||
program {
|
||||
name: "logout";
|
||||
signal: "e,state,sys,logout"; source: "e";
|
||||
program { signal: "e,state,sys,logout"; source: "e";
|
||||
action: STATE_SET "visible" 0.0;
|
||||
transition: ACCELERATE 0.5 CURRENT;
|
||||
transition: ACCELERATE 0.5 USE_DURATION_FACTOR 1 CURRENT;
|
||||
target: "suspender";
|
||||
sequence {
|
||||
action: SIGNAL_EMIT "e,state,sys,logout,done" "e";
|
||||
}
|
||||
}
|
||||
program { signal: "e,state,sys,restart"; source: "e";
|
||||
action: STATE_SET "visible" 0.0;
|
||||
transition: ACCELERATE 0.5 USE_DURATION_FACTOR 1 CURRENT;
|
||||
target: "suspender";
|
||||
sequence {
|
||||
action: SIGNAL_EMIT "e,state,sys,restart,done" "e";
|
||||
program { signal: "e,state,sys,restart"; source: "e";
|
||||
action: STATE_SET "visible" 0.0;
|
||||
transition: ACCELERATE 0.5 USE_DURATION_FACTOR 1 CURRENT;
|
||||
target: "suspender";
|
||||
sequence {
|
||||
action: SIGNAL_EMIT "e,state,sys,restart,done" "e";
|
||||
}
|
||||
}
|
||||
}
|
||||
program { signal: "e,state,sys,restarted"; source: "e";
|
||||
action: STATE_SET "visible" 0.0;
|
||||
target: "suspender";
|
||||
}
|
||||
program { signal: "e,state,sys,restarted,show"; source: "e";
|
||||
action: STATE_SET "default" 0.0;
|
||||
transition: ACCELERATE 0.5 USE_DURATION_FACTOR 1 CURRENT;
|
||||
target: "suspender";
|
||||
sequence {
|
||||
action: SIGNAL_EMIT "e,state,sys,restarted,show,done" "e";
|
||||
program { signal: "e,state,sys,restarted"; source: "e";
|
||||
action: STATE_SET "visible" 0.0;
|
||||
target: "suspender";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
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";
|
||||
transition: ACCELERATE 0 CURRENT;
|
||||
}
|
||||
program {
|
||||
name: "hibernate";
|
||||
transition: ACCELERATE 0 CURRENT;
|
||||
}
|
||||
program {
|
||||
name: "resume";
|
||||
transition: DECELERATE 0 CURRENT;
|
||||
}
|
||||
program {
|
||||
name: "reboot";
|
||||
transition: DECELERATE 0 CURRENT;
|
||||
}
|
||||
program {
|
||||
name: "halt";
|
||||
transition: DECELERATE 0 CURRENT;
|
||||
}
|
||||
program {
|
||||
name: "logout";
|
||||
transition: DECELERATE 0 CURRENT;
|
||||
program { signal: "e,state,sys,restarted,show"; source: "e";
|
||||
action: STATE_SET "default" 0.0;
|
||||
transition: ACCELERATE 0.5 USE_DURATION_FACTOR 1 CURRENT;
|
||||
target: "suspender";
|
||||
sequence {
|
||||
action: SIGNAL_EMIT "e,state,sys,restarted,show,done" "e";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
group { name: "e/comp/frame/default";
|
||||
images.image: "win_glow.png" COMP;
|
||||
images.image: "win_shadow.png" COMP;
|
||||
alias: "e/comp/frame/default/fast"; // legacy
|
||||
images.image: "win_shad_flat.png" COMP;
|
||||
script {
|
||||
public message(Msg_Type:type, id, ...) {
|
||||
if ((type == MSG_INT) && (id == 0)) {
|
||||
|
@ -288,41 +221,17 @@ group { name: "e/comp/frame/default";
|
|||
visible: 1;
|
||||
}
|
||||
}
|
||||
part { name: "shadow"; mouse_events: 0;
|
||||
part { name: "shadow"; type: RECT;
|
||||
clip_to: "clipper";
|
||||
description { state: "default" 0.0;
|
||||
rel.to: "e.swallow.content";
|
||||
WIN_SHADOW;
|
||||
rel.to: "clipper";
|
||||
}
|
||||
description { state: "hidden" 0.0;
|
||||
inherit;
|
||||
visible: 0;
|
||||
}
|
||||
}
|
||||
rect { "focus_clip"; clip: "clipper";
|
||||
desc {
|
||||
rel1.offset: -9999 -9999;
|
||||
rel2.offset: 9999 9999;
|
||||
}
|
||||
desc { "hid"; hid; }
|
||||
}
|
||||
part { name: "glow"; mouse_events: 0;
|
||||
clip_to: "focus_clip";
|
||||
description { state: "default" 0.0;
|
||||
image.normal: "win_glow.png";
|
||||
image.border: 9 9 9 9;
|
||||
image.middle: 0;
|
||||
rel.to: "gspacer";
|
||||
fill.smooth: 0;
|
||||
color: 255 255 255 0;
|
||||
visible: 0;
|
||||
}
|
||||
description { state: "focused" 0.0;
|
||||
inherit;
|
||||
color: 255 255 255 255;
|
||||
visible: 1;
|
||||
}
|
||||
}
|
||||
WIN_SHAD("e.swallow.content", "shadow", "win_shad_flat.png", 21, 21, 14, 28, 0.5)
|
||||
part { name: "shower"; type: SPACER;
|
||||
description { state: "default" 0.0;
|
||||
rel1.relative: 0.05 0.05;
|
||||
|
@ -345,6 +254,7 @@ group { name: "e/comp/frame/default";
|
|||
description { state: "focused" 0.0;
|
||||
inherit;
|
||||
color_class: "comp_focus_color";
|
||||
color: 255 255 255 255;
|
||||
}
|
||||
}
|
||||
part { name: "e.swallow.content"; type: SWALLOW;
|
||||
|
@ -356,61 +266,56 @@ group { name: "e/comp/frame/default";
|
|||
spacer { "gspacer";
|
||||
desc {
|
||||
rel.to: "e.swallow.content";
|
||||
rel1.offset: -5 -5;
|
||||
rel2.offset: 4 4;
|
||||
rel1.offset: -5 -5;
|
||||
rel2.offset: 4 4;
|
||||
}
|
||||
}
|
||||
}
|
||||
programs {
|
||||
program {
|
||||
signal: "e,state,shadow,on"; source: "e";
|
||||
program { signal: "e,state,shadow,on"; source: "e";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "shadow";
|
||||
}
|
||||
program {
|
||||
signal: "e,state,shadow,off"; source: "e";
|
||||
program { signal: "e,state,shadow,off"; source: "e";
|
||||
action: STATE_SET "hidden" 0.0;
|
||||
target: "shadow";
|
||||
}
|
||||
program {
|
||||
name: "visible_on";
|
||||
program { name: "visible_on";
|
||||
signal: "e,state,visible"; source: "e";
|
||||
action: STATE_SET "visible" 0.0;
|
||||
transition: DECELERATE 0.15;
|
||||
transition: DECELERATE 0.15 USE_DURATION_FACTOR 1;
|
||||
targets: "clipper" "shower";
|
||||
sequence {
|
||||
action: SIGNAL_EMIT "e,action,show,done" "e";
|
||||
}
|
||||
}
|
||||
program {
|
||||
signal: "e,state,visible"; source: "e";
|
||||
program { signal: "e,state,visible"; source: "e";
|
||||
action: ACTION_STOP;
|
||||
target: "visible_off";
|
||||
}
|
||||
program {
|
||||
signal: "e,state,hidden"; source: "e";
|
||||
program { signal: "e,state,hidden"; source: "e";
|
||||
action: ACTION_STOP;
|
||||
target: "visible_on";
|
||||
}
|
||||
program {
|
||||
name: "visible_off";
|
||||
program { name: "visible_off";
|
||||
signal: "e,state,hidden"; source: "e";
|
||||
action: STATE_SET "default" 0.0;
|
||||
transition: DECELERATE 0.30;
|
||||
transition: DECELERATE 0.30 USE_DURATION_FACTOR 1;
|
||||
targets: "clipper" "shower";
|
||||
sequence {
|
||||
action: SIGNAL_EMIT "e,action,hide,done" "e";
|
||||
}
|
||||
}
|
||||
/*
|
||||
program {
|
||||
name: "focus_on";
|
||||
signal: "e,state,focused"; source: "e";
|
||||
action: STATE_SET "focused" 0.0;
|
||||
transition: SINUSOIDAL 0.1;
|
||||
transition: SINUSOIDAL 0.1 USE_DURATION_FACTOR 1;
|
||||
targets: "glow" "focus-clipper";
|
||||
sequence {
|
||||
action: STATE_SET "default" 0.0;
|
||||
transition: SINUSOIDAL 0.4;
|
||||
transition: SINUSOIDAL 0.4 USE_DURATION_FACTOR 1;
|
||||
target: "glow";
|
||||
}
|
||||
}
|
||||
|
@ -418,7 +323,7 @@ group { name: "e/comp/frame/default";
|
|||
name: "focus_off";
|
||||
signal: "e,state,unfocused"; source: "e";
|
||||
action: STATE_SET "default" 0.0;
|
||||
transition: SINUSOIDAL 0.1;
|
||||
transition: SINUSOIDAL 0.1 USE_DURATION_FACTOR 1;
|
||||
target: "focus-clipper";
|
||||
sequence {
|
||||
action: STATE_SET "default" 0.0;
|
||||
|
@ -428,11 +333,11 @@ group { name: "e/comp/frame/default";
|
|||
program { name: "urgent1";
|
||||
signal: "e,state,urgent"; source: "e";
|
||||
action: STATE_SET "focused" 0.0;
|
||||
transition: SINUSOIDAL 0.3;
|
||||
transition: SINUSOIDAL 0.3 USE_DURATION_FACTOR 1;
|
||||
target: "glow";
|
||||
sequence {
|
||||
action: STATE_SET "default" 0.0;
|
||||
transition: SINUSOIDAL 0.3;
|
||||
transition: SINUSOIDAL 0.3 USE_DURATION_FACTOR 1;
|
||||
target: "glow";
|
||||
after: "urgent1";
|
||||
}
|
||||
|
@ -440,7 +345,7 @@ group { name: "e/comp/frame/default";
|
|||
program {
|
||||
signal: "e,state,not_urgent"; source: "e";
|
||||
action: STATE_SET "default" 0.0;
|
||||
transition: SINUSOIDAL 0.6 CURRENT;
|
||||
transition: SINUSOIDAL 0.6 CURRENT USE_DURATION_FACTOR 1;
|
||||
target: "glow";
|
||||
}
|
||||
program { signal: "e,state,focus,disabled"; source: "e";
|
||||
|
@ -451,10 +356,12 @@ group { name: "e/comp/frame/default";
|
|||
action: STATE_SET "default";
|
||||
target: "focus_clip";
|
||||
}
|
||||
*/
|
||||
}
|
||||
}
|
||||
|
||||
group { name: "e/comp/frame/rotate";
|
||||
alias: "e/comp/frame/rotate/fast"; // legacy
|
||||
inherit: "e/comp/frame/default";
|
||||
parts {
|
||||
part { name: "e.swallow.content";
|
||||
|
@ -480,34 +387,21 @@ group { name: "e/comp/frame/rotate";
|
|||
}
|
||||
}
|
||||
programs {
|
||||
program { name: "focus3";
|
||||
signal: "e,state,focused"; source: "e";
|
||||
program { signal: "e,state,focused"; source: "e";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "e.swallow.content";
|
||||
transition: LINEAR 0.3;
|
||||
transition: LINEAR 0.3 USE_DURATION_FACTOR 1;
|
||||
}
|
||||
program { name: "focus_off3";
|
||||
signal: "e,state,unfocused"; source: "e";
|
||||
program { signal: "e,state,unfocused"; source: "e";
|
||||
action: STATE_SET "focus-out" 0.0;
|
||||
target: "e.swallow.content";
|
||||
transition: LINEAR 0.3;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
group { name: "e/comp/frame/rotate/fast";
|
||||
inherit: "e/comp/frame/rotate";
|
||||
programs {
|
||||
program { name: "focus3";
|
||||
transition: LINEAR 0;
|
||||
}
|
||||
program { name: "focus_off3";
|
||||
transition: LINEAR 0;
|
||||
transition: LINEAR 0.3 USE_DURATION_FACTOR 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
group { name: "e/comp/frame/flip";
|
||||
alias: "e/comp/frame/flip/fast"; // legacy
|
||||
inherit: "e/comp/frame/rotate";
|
||||
parts {
|
||||
part { name: "e.swallow.content";
|
||||
|
@ -532,63 +426,9 @@ group { name: "e/comp/frame/flip";
|
|||
}
|
||||
}
|
||||
|
||||
group { name: "e/comp/frame/flip/fast";
|
||||
inherit: "e/comp/frame/flip";
|
||||
programs {
|
||||
program { name: "focus3";
|
||||
transition: LINEAR 0;
|
||||
}
|
||||
program { name: "focus_off3";
|
||||
transition: LINEAR 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
group { name: "e/comp/frame/popup";
|
||||
alias: "e/comp/frame/popup/fast"; // legacy
|
||||
inherit: "e/comp/frame/default";
|
||||
images.image: "win_shadow.png" COMP;
|
||||
parts {
|
||||
part { name: "focus-clipper";
|
||||
description { state: "default";
|
||||
color_class: "";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
group { name: "e/comp/frame/default/fast";
|
||||
inherit: "e/comp/frame/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;
|
||||
targets: "glow" "focus-clipper";
|
||||
sequence {
|
||||
action: STATE_SET "default" 0.0;
|
||||
transition: SINUSOIDAL 0.1;
|
||||
target: "glow";
|
||||
}
|
||||
}
|
||||
program {
|
||||
name: "focus_off";
|
||||
transition: SINUSOIDAL 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
group { name: "e/comp/frame/popup/fast";
|
||||
inherit: "e/comp/frame/default/fast";
|
||||
images.image: "win_shadow.png" COMP;
|
||||
parts {
|
||||
part { name: "focus-clipper";
|
||||
description { state: "default";
|
||||
|
@ -606,18 +446,17 @@ group { name: "e/comp/frame/none";
|
|||
}
|
||||
}
|
||||
programs {
|
||||
program {
|
||||
signal: "e,state,visible"; source: "e";
|
||||
program { signal: "e,state,visible"; source: "e";
|
||||
action: SIGNAL_EMIT "e,action,show,done" "e";
|
||||
}
|
||||
program {
|
||||
signal: "e,state,hidden"; source: "e";
|
||||
program { signal: "e,state,hidden"; source: "e";
|
||||
action: SIGNAL_EMIT "e,action,hide,done" "e";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
group { name: "e/comp/frame/still";
|
||||
alias: "e/comp/frame/still/fast"; // legacy
|
||||
inherit: "e/comp/frame/default";
|
||||
parts {
|
||||
part { name: "shower";
|
||||
|
@ -629,69 +468,30 @@ group { name: "e/comp/frame/still";
|
|||
}
|
||||
}
|
||||
|
||||
group { name: "e/comp/frame/still/fast";
|
||||
inherit: "e/comp/frame/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/frame/menu";
|
||||
alias: "e/comp/frame/menu/fast"; // legacy
|
||||
inherit: "e/comp/frame/popup";
|
||||
images.image: "win_menu_shadow.png" COMP;
|
||||
images.image: "win_shad_angle.png" COMP;
|
||||
parts {
|
||||
part { name: "shadow";
|
||||
description { state: "default" 0.0;
|
||||
WIN_MENU_SHADOW;
|
||||
}
|
||||
}
|
||||
WIN_SHAD("e.swallow.content", "shadow", "win_shad_angle.png", 21, 21, 14, 28, 0.5)
|
||||
part { name: "shower";
|
||||
description { state: "default" 0.0;
|
||||
rel1.relative: 0.05 0.0;
|
||||
rel2.relative: 0.95 0.9;
|
||||
}
|
||||
}
|
||||
image { "glow";
|
||||
desc { "focused"; hid; }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
group { name: "e/comp/frame/menu/fast";
|
||||
inherit: "e/comp/frame/popup/fast";
|
||||
parts {
|
||||
part { name: "shower";
|
||||
description { state: "default" 0.0;
|
||||
rel1.relative: 0.05 0.0;
|
||||
rel2.relative: 0.95 0.9;
|
||||
}
|
||||
}
|
||||
image { "glow";
|
||||
desc { "focused"; hid; }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
group { name: "e/comp/frame/everything";
|
||||
alias: "e/comp/frame/everything/fast"; // legacy
|
||||
inherit: "e/comp/frame/popup";
|
||||
parts {
|
||||
part { name: "shower";
|
||||
description { state: "default" 0.0;
|
||||
rel1.relative: -0.3 -0.3;
|
||||
rel2.relative: 1.3 1.3;
|
||||
part { name: "shadow";
|
||||
description { state: "hidden" 0.0;
|
||||
visible: 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
group { name: "e/comp/frame/everything/fast";
|
||||
inherit: "e/comp/frame/popup/fast";
|
||||
parts {
|
||||
part { name: "shower";
|
||||
description { state: "default" 0.0;
|
||||
rel1.relative: -0.3 -0.3;
|
||||
|
@ -702,6 +502,7 @@ group { name: "e/comp/frame/everything/fast";
|
|||
}
|
||||
|
||||
group { name: "e/comp/frame/fullscreen";
|
||||
alias: "e/comp/frame/fullscreen/fast"; // legacy
|
||||
images.image: "screen_circular_shadow.png" COMP;
|
||||
data.item: "screen.bg" "fullscreen.bg";
|
||||
parts {
|
||||
|
@ -803,83 +604,49 @@ group { name: "e/comp/frame/fullscreen";
|
|||
}
|
||||
}
|
||||
programs {
|
||||
program {
|
||||
name: "visible_on";
|
||||
program { name: "visible_on";
|
||||
signal: "e,state,visible"; source: "e";
|
||||
action: STATE_SET "visible" 0.0;
|
||||
transition: DECELERATE 0.25;
|
||||
transition: DECELERATE 0.25 USE_DURATION_FACTOR 1;
|
||||
targets: "scr_shadow" "scr_shade";
|
||||
}
|
||||
program {
|
||||
name: "visible_on2";
|
||||
program { name: "visible_on2";
|
||||
signal: "e,state,visible"; source: "e";
|
||||
action: STATE_SET "visible1" 0.0;
|
||||
transition: DECELERATE 0.05;
|
||||
transition: DECELERATE 0.05 USE_DURATION_FACTOR 1;
|
||||
targets: "clipper" "shower" "fader";
|
||||
sequence {
|
||||
action: STATE_SET "visible2" 0.0;
|
||||
transition: DECELERATE 0.20;
|
||||
transition: DECELERATE 0.20 USE_DURATION_FACTOR 1;
|
||||
targets: "clipper" "shower" "fader";
|
||||
action: SIGNAL_EMIT "e,action,show,done" "e";
|
||||
}
|
||||
}
|
||||
program {
|
||||
signal: "e,state,visible"; source: "e";
|
||||
program { signal: "e,state,visible"; source: "e";
|
||||
action: ACTION_STOP;
|
||||
targets: "visible_off" "visible_off2";
|
||||
}
|
||||
program {
|
||||
signal: "e,state,hidden"; source: "e";
|
||||
program { signal: "e,state,hidden"; source: "e";
|
||||
action: ACTION_STOP;
|
||||
targets: "visible_on" "visible_on2";
|
||||
}
|
||||
program {
|
||||
name: "visible_off";
|
||||
program { name: "visible_off";
|
||||
signal: "e,state,hidden"; source: "e";
|
||||
action: STATE_SET "default" 0.0;
|
||||
transition: DECELERATE 0.25;
|
||||
transition: DECELERATE 0.25 USE_DURATION_FACTOR 1;
|
||||
targets: "scr_shadow" "scr_shade";
|
||||
}
|
||||
program {
|
||||
name: "visible_off2";
|
||||
program { name: "visible_off2";
|
||||
signal: "e,state,hidden"; source: "e";
|
||||
action: STATE_SET "visible1" 0.0;
|
||||
transition: DECELERATE 0.2;
|
||||
transition: DECELERATE 0.2 USE_DURATION_FACTOR 1;
|
||||
targets: "clipper" "shower" "fader";
|
||||
sequence {
|
||||
action: STATE_SET "default" 0.0;
|
||||
transition: DECELERATE 0.05;
|
||||
transition: DECELERATE 0.05 USE_DURATION_FACTOR 1;
|
||||
targets: "clipper" "shower" "fader";
|
||||
action: SIGNAL_EMIT "e,action,hide,done" "e";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
group { name: "e/comp/frame/fullscreen/fast";
|
||||
inherit: "e/comp/frame/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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
group { name: "e/comp/border/default";
|
||||
images.image: "win_shadow.png" COMP;
|
||||
images.image: "win_glow.png" COMP;
|
||||
alias: "e/comp/border/default/fast"; // legacy
|
||||
images.image: "win_shad_flat.png" COMP;
|
||||
parts {
|
||||
part { name: "clipper"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
|
@ -17,38 +17,17 @@ group { name: "e/comp/border/default";
|
|||
visible: 1;
|
||||
}
|
||||
}
|
||||
part { name: "shadow"; mouse_events: 0;
|
||||
part { name: "shadow"; type: RECT; mouse_events: 0;
|
||||
clip_to: "clipper";
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "e.swallow.content";
|
||||
rel2.to: "e.swallow.content";
|
||||
WIN_SHADOW;
|
||||
rel.to: "clipper";
|
||||
}
|
||||
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;
|
||||
}
|
||||
}
|
||||
WIN_SHAD("e.swallow.content", "shadow", "win_shad_flat.png", 21, 21, 14, 28, 0.5)
|
||||
part { name: "shower"; type: SPACER;
|
||||
description { state: "default" 0.0;
|
||||
rel1.relative: 0.05 0.05;
|
||||
|
@ -66,8 +45,7 @@ group { name: "e/comp/border/default";
|
|||
mouse_events: 0;
|
||||
description { state: "default" 0.0;
|
||||
color_class: "comp_alpha";
|
||||
rel1.to: "clipper";
|
||||
rel2.to: "clipper";
|
||||
rel.to: "clipper";
|
||||
}
|
||||
}
|
||||
part { name: "focus-clipper";
|
||||
|
@ -76,20 +54,18 @@ group { name: "e/comp/border/default";
|
|||
mouse_events: 0;
|
||||
description { state: "default" 0.0;
|
||||
color_class: "comp_focus-out_color";
|
||||
rel1.to: "clipper";
|
||||
rel2.to: "clipper";
|
||||
rel.to: "clipper";
|
||||
}
|
||||
description { state: "focused" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color_class: "";
|
||||
color_class: "comp_focus_color";
|
||||
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";
|
||||
rel.to: "shower";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -108,7 +84,7 @@ group { name: "e/comp/border/default";
|
|||
name: "visible_on";
|
||||
signal: "e,state,visible,on"; source: "e";
|
||||
action: STATE_SET "visible" 0.0;
|
||||
transition: DECELERATE 0.15;
|
||||
transition: DECELERATE 0.15 USE_DURATION_FACTOR 1;
|
||||
target: "clipper";
|
||||
target: "shower";
|
||||
after: "show2";
|
||||
|
@ -120,7 +96,7 @@ group { name: "e/comp/border/default";
|
|||
name: "visible_off";
|
||||
signal: "e,state,visible,off"; source: "e";
|
||||
action: STATE_SET "default" 0.0;
|
||||
transition: DECELERATE 0.30;
|
||||
transition: DECELERATE 0.30 USE_DURATION_FACTOR 1;
|
||||
target: "clipper";
|
||||
target: "shower";
|
||||
after: "hide2";
|
||||
|
@ -128,57 +104,60 @@ group { name: "e/comp/border/default";
|
|||
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;
|
||||
transition: SINUSOIDAL 0.1 USE_DURATION_FACTOR 1;
|
||||
target: "glow";
|
||||
target: "focus-clipper";
|
||||
after: "focus2";
|
||||
}
|
||||
program { name: "focus2";
|
||||
action: STATE_SET "default" 0.0;
|
||||
transition: SINUSOIDAL 0.4;
|
||||
transition: SINUSOIDAL 0.4 USE_DURATION_FACTOR 1;
|
||||
target: "glow";
|
||||
}
|
||||
program {
|
||||
name: "focus_off";
|
||||
signal: "e,state,focus,off"; source: "e";
|
||||
action: STATE_SET "default" 0.0;
|
||||
transition: SINUSOIDAL 0.1;
|
||||
transition: SINUSOIDAL 0.1 USE_DURATION_FACTOR 1;
|
||||
target: "focus-clipper";
|
||||
after: "focus_off2";
|
||||
}
|
||||
program {
|
||||
name: "focus_off2";
|
||||
action: STATE_SET "default" 0.0;
|
||||
transition: SINUSOIDAL 0.4;
|
||||
transition: SINUSOIDAL 0.4 USE_DURATION_FACTOR 1;
|
||||
target: "glow";
|
||||
}
|
||||
program { name: "urgent1";
|
||||
signal: "e,state,urgent,on"; source: "e";
|
||||
action: STATE_SET "focused" 0.0;
|
||||
transition: SINUSOIDAL 0.3;
|
||||
transition: SINUSOIDAL 0.3 USE_DURATION_FACTOR 1;
|
||||
target: "glow";
|
||||
after: "urgent2";
|
||||
}
|
||||
program { name: "urgent2";
|
||||
action: STATE_SET "default" 0.0;
|
||||
transition: SINUSOIDAL 0.3;
|
||||
transition: SINUSOIDAL 0.3 USE_DURATION_FACTOR 1;
|
||||
target: "glow";
|
||||
after: "urgent1";
|
||||
}
|
||||
program {
|
||||
signal: "e,state,urgent,off"; source: "e";
|
||||
action: STATE_SET "default" 0.0;
|
||||
transition: SINUSOIDAL 0.6 CURRENT;
|
||||
transition: SINUSOIDAL 0.6 CURRENT USE_DURATION_FACTOR 1;
|
||||
target: "glow";
|
||||
}
|
||||
*/
|
||||
}
|
||||
}
|
||||
|
||||
group { name: "e/comp/border/rotate";
|
||||
alias: "e/comp/border/rotate/fast"; // legacy
|
||||
inherit: "e/comp/border/default";
|
||||
parts {
|
||||
part { name: "e.swallow.content";
|
||||
|
@ -208,30 +187,19 @@ group { name: "e/comp/border/rotate";
|
|||
signal: "e,state,focus,on"; source: "e";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "e.swallow.content";
|
||||
transition: LINEAR 0.3;
|
||||
transition: LINEAR 0.3 USE_DURATION_FACTOR 1;
|
||||
}
|
||||
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;
|
||||
transition: LINEAR 0.3 USE_DURATION_FACTOR 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
group { name: "e/comp/border/flip";
|
||||
alias: "e/comp/border/flip/fast"; // legacy
|
||||
inherit: "e/comp/border/rotate";
|
||||
parts {
|
||||
part { name: "e.swallow.content";
|
||||
|
@ -256,19 +224,8 @@ group { name: "e/comp/border/flip";
|
|||
}
|
||||
}
|
||||
|
||||
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";
|
||||
alias: "e/comp/border/popup/fast"; // legacy
|
||||
inherit: "e/comp/border/default";
|
||||
parts {
|
||||
part { name: "focus-clipper";
|
||||
|
@ -279,49 +236,6 @@ group { name: "e/comp/border/popup";
|
|||
}
|
||||
}
|
||||
|
||||
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;
|
||||
|
@ -342,6 +256,7 @@ group { name: "e/comp/border/none";
|
|||
}
|
||||
|
||||
group { name: "e/comp/border/still";
|
||||
alias: "e/comp/border/still/fast"; // legacy
|
||||
inherit: "e/comp/border/default";
|
||||
parts {
|
||||
part { name: "shower";
|
||||
|
@ -353,19 +268,8 @@ group { name: "e/comp/border/still";
|
|||
}
|
||||
}
|
||||
|
||||
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";
|
||||
alias: "e/comp/border/menu/fast"; // legacy
|
||||
inherit: "e/comp/border/popup";
|
||||
parts {
|
||||
part { name: "shower";
|
||||
|
@ -377,19 +281,8 @@ group { name: "e/comp/border/menu";
|
|||
}
|
||||
}
|
||||
|
||||
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";
|
||||
alias: "e/comp/border/everything/fast"; // legacy
|
||||
inherit: "e/comp/border/popup";
|
||||
parts {
|
||||
part { name: "shower";
|
||||
|
@ -401,19 +294,8 @@ group { name: "e/comp/border/everything";
|
|||
}
|
||||
}
|
||||
|
||||
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";
|
||||
alias: "e/comp/border/fullscreen/fast"; // legacy
|
||||
images.image: "screen_circular_shadow.png" COMP;
|
||||
data.item: "screen.bg" "fullscreen.bg";
|
||||
parts {
|
||||
|
@ -519,7 +401,7 @@ group { name: "e/comp/border/fullscreen";
|
|||
name: "visible_on";
|
||||
signal: "e,state,visible,on"; source: "e";
|
||||
action: STATE_SET "visible" 0.0;
|
||||
transition: DECELERATE 0.25;
|
||||
transition: DECELERATE 0.25 USE_DURATION_FACTOR 1;
|
||||
target: "scr_shadow";
|
||||
target: "scr_shade";
|
||||
}
|
||||
|
@ -527,7 +409,7 @@ group { name: "e/comp/border/fullscreen";
|
|||
name: "visible_on2";
|
||||
signal: "e,state,visible,on"; source: "e";
|
||||
action: STATE_SET "visible1" 0.0;
|
||||
transition: DECELERATE 0.05;
|
||||
transition: DECELERATE 0.05 USE_DURATION_FACTOR 1;
|
||||
target: "clipper";
|
||||
target: "shower";
|
||||
target: "fader";
|
||||
|
@ -535,7 +417,7 @@ group { name: "e/comp/border/fullscreen";
|
|||
}
|
||||
program { name: "show2";
|
||||
action: STATE_SET "visible2" 0.0;
|
||||
transition: DECELERATE 0.20;
|
||||
transition: DECELERATE 0.20 USE_DURATION_FACTOR 1;
|
||||
target: "clipper";
|
||||
target: "shower";
|
||||
target: "fader";
|
||||
|
@ -548,7 +430,7 @@ group { name: "e/comp/border/fullscreen";
|
|||
name: "visible_off";
|
||||
signal: "e,state,visible,off"; source: "e";
|
||||
action: STATE_SET "default" 0.0;
|
||||
transition: DECELERATE 0.25;
|
||||
transition: DECELERATE 0.25 USE_DURATION_FACTOR 1;
|
||||
target: "scr_shadow";
|
||||
target: "scr_shade";
|
||||
}
|
||||
|
@ -556,7 +438,7 @@ group { name: "e/comp/border/fullscreen";
|
|||
name: "visible_off2";
|
||||
signal: "e,state,visible,off"; source: "e";
|
||||
action: STATE_SET "visible1" 0.0;
|
||||
transition: DECELERATE 0.2;
|
||||
transition: DECELERATE 0.2 USE_DURATION_FACTOR 1;
|
||||
target: "clipper";
|
||||
target: "shower";
|
||||
target: "fader";
|
||||
|
@ -564,7 +446,7 @@ group { name: "e/comp/border/fullscreen";
|
|||
}
|
||||
program { name: "hide2";
|
||||
action: STATE_SET "default" 0.0;
|
||||
transition: DECELERATE 0.05;
|
||||
transition: DECELERATE 0.05 USE_DURATION_FACTOR 1;
|
||||
target: "clipper";
|
||||
target: "shower";
|
||||
target: "fader";
|
||||
|
@ -575,31 +457,3 @@ group { name: "e/comp/border/fullscreen";
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#define COMP_EFFECT_DURATION 0.4
|
||||
#define COMP_EFFECT_DURATION_FAST 0.2
|
||||
#define COMP_EFFECT_DURATION 0.2
|
||||
#define COMP_EFFECT_DURATION_FAST 0.15
|
||||
|
||||
group { name: "e/comp/effects/none";
|
||||
parts {
|
||||
|
@ -55,7 +55,7 @@ group { name: "e/comp/effects/move";
|
|||
source: "e";
|
||||
filter: "mover" "default";
|
||||
action: STATE_SET "custom" 0.0;
|
||||
transition: DECELERATE COMP_EFFECT_DURATION CURRENT;
|
||||
transition: DECELERATE COMP_EFFECT_DURATION USE_DURATION_FACTOR 1 CURRENT;
|
||||
target: "mover";
|
||||
after: "done";
|
||||
}
|
||||
|
@ -65,7 +65,7 @@ group { name: "e/comp/effects/move";
|
|||
source: "e";
|
||||
filter: "mover" "custom";
|
||||
action: STATE_SET "default" 0.0;
|
||||
transition: DECELERATE COMP_EFFECT_DURATION CURRENT;
|
||||
transition: DECELERATE COMP_EFFECT_DURATION USE_DURATION_FACTOR 1 CURRENT;
|
||||
target: "mover";
|
||||
after: "done";
|
||||
}
|
||||
|
@ -135,7 +135,7 @@ group { name: "e/comp/effects/auto/pane";
|
|||
source: "e";
|
||||
filter: "mover" "default";
|
||||
action: STATE_SET "custom" 0.0;
|
||||
transition: DECELERATE COMP_EFFECT_DURATION CURRENT;
|
||||
transition: DECELERATE COMP_EFFECT_DURATION USE_DURATION_FACTOR 1 CURRENT;
|
||||
target: "mover";
|
||||
after: "done";
|
||||
}
|
||||
|
@ -145,7 +145,7 @@ group { name: "e/comp/effects/auto/pane";
|
|||
source: "e";
|
||||
filter: "mover" "custom";
|
||||
action: STATE_SET "default" 0.0;
|
||||
transition: DECELERATE COMP_EFFECT_DURATION CURRENT;
|
||||
transition: DECELERATE COMP_EFFECT_DURATION USE_DURATION_FACTOR 1 CURRENT;
|
||||
target: "mover";
|
||||
after: "done";
|
||||
}
|
||||
|
@ -298,7 +298,7 @@ group { name: "e/comp/effects/auto/zoom";
|
|||
source: "e";
|
||||
filter: "mover" "default";
|
||||
action: STATE_SET "hidden" 0.0;
|
||||
transition: ACCELERATE COMP_EFFECT_DURATION CURRENT;
|
||||
transition: ACCELERATE COMP_EFFECT_DURATION USE_DURATION_FACTOR 1 CURRENT;
|
||||
target: "clip";
|
||||
}
|
||||
program {
|
||||
|
@ -307,7 +307,7 @@ group { name: "e/comp/effects/auto/zoom";
|
|||
source: "e";
|
||||
filter: "mover" "custom";
|
||||
action: STATE_SET "default" 0.0;
|
||||
transition: ACCELERATE COMP_EFFECT_DURATION CURRENT;
|
||||
transition: ACCELERATE COMP_EFFECT_DURATION USE_DURATION_FACTOR 1 CURRENT;
|
||||
target: "clip";
|
||||
}
|
||||
}
|
||||
|
@ -358,7 +358,7 @@ group { name: "e/comp/effects/auto/blend";
|
|||
source: "e";
|
||||
filter: "clip" "default";
|
||||
action: STATE_SET "hidden" 0.0;
|
||||
transition: LINEAR COMP_EFFECT_DURATION CURRENT;
|
||||
transition: LINEAR COMP_EFFECT_DURATION USE_DURATION_FACTOR 1 CURRENT;
|
||||
target: "clip";
|
||||
after: "done";
|
||||
}
|
||||
|
@ -368,7 +368,7 @@ group { name: "e/comp/effects/auto/blend";
|
|||
source: "e";
|
||||
filter: "clip" "hidden";
|
||||
action: STATE_SET "default" 0.0;
|
||||
transition: LINEAR COMP_EFFECT_DURATION CURRENT;
|
||||
transition: LINEAR COMP_EFFECT_DURATION USE_DURATION_FACTOR 1 CURRENT;
|
||||
target: "clip";
|
||||
after: "done";
|
||||
}
|
||||
|
@ -453,7 +453,7 @@ group { name: "e/comp/effects/visibility/vertical";
|
|||
source: "e";
|
||||
filter: "clip" "default";
|
||||
action: STATE_SET "hid" 0.0;
|
||||
transition: DECELERATE COMP_EFFECT_DURATION CURRENT;
|
||||
transition: DECELERATE COMP_EFFECT_DURATION USE_DURATION_FACTOR 1 CURRENT;
|
||||
target: "clip";
|
||||
after: "done";
|
||||
}
|
||||
|
@ -463,7 +463,7 @@ group { name: "e/comp/effects/visibility/vertical";
|
|||
source: "e";
|
||||
filter: "clip" "hid";
|
||||
action: STATE_SET "default" 0.0;
|
||||
transition: DECELERATE COMP_EFFECT_DURATION CURRENT;
|
||||
transition: DECELERATE COMP_EFFECT_DURATION USE_DURATION_FACTOR 1 CURRENT;
|
||||
target: "clip";
|
||||
after: "done";
|
||||
}
|
||||
|
@ -547,7 +547,7 @@ group { name: "e/comp/effects/visibility/tooltip";
|
|||
source: "e";
|
||||
filter: "mover" "default";
|
||||
action: STATE_SET "custom" 0.0;
|
||||
transition: DECELERATE COMP_EFFECT_DURATION CURRENT;
|
||||
transition: DECELERATE COMP_EFFECT_DURATION USE_DURATION_FACTOR 1 CURRENT;
|
||||
target: "mover";
|
||||
after: "done";
|
||||
}
|
||||
|
@ -557,7 +557,7 @@ group { name: "e/comp/effects/visibility/tooltip";
|
|||
source: "e";
|
||||
filter: "mover" "custom";
|
||||
action: STATE_SET "default" 0.0;
|
||||
transition: DECELERATE COMP_EFFECT_DURATION CURRENT;
|
||||
transition: DECELERATE COMP_EFFECT_DURATION USE_DURATION_FACTOR 1 CURRENT;
|
||||
target: "mover";
|
||||
after: "done";
|
||||
}
|
||||
|
@ -626,7 +626,7 @@ group { name: "e/comp/effects/iconify/default";
|
|||
source: "e";
|
||||
filter: "mover" "default";
|
||||
action: STATE_SET "custom" 0.0;
|
||||
transition: ACCELERATE_FACTOR COMP_EFFECT_DURATION 2 CURRENT;
|
||||
transition: ACCELERATE_FACTOR COMP_EFFECT_DURATION 2 USE_DURATION_FACTOR 1 CURRENT;
|
||||
target: "mover";
|
||||
after: "done";
|
||||
}
|
||||
|
@ -636,7 +636,7 @@ group { name: "e/comp/effects/iconify/default";
|
|||
source: "e";
|
||||
filter: "mover" "custom";
|
||||
action: STATE_SET "default" 0.0;
|
||||
transition: DECELERATE_FACTOR COMP_EFFECT_DURATION_FAST 2 CURRENT;
|
||||
transition: DECELERATE_FACTOR COMP_EFFECT_DURATION_FAST 2 USE_DURATION_FACTOR 1 CURRENT;
|
||||
target: "mover";
|
||||
after: "done";
|
||||
}
|
||||
|
@ -716,7 +716,7 @@ group { name: "e/comp/effects/auto/rotate";
|
|||
signal: "e,action,go";
|
||||
source: "e";
|
||||
action: STATE_SET "hidden" 0.0;
|
||||
transition: DECELERATE COMP_EFFECT_DURATION CURRENT;
|
||||
transition: DECELERATE COMP_EFFECT_DURATION USE_DURATION_FACTOR 1 CURRENT;
|
||||
target: "proxy";
|
||||
}
|
||||
program {
|
||||
|
@ -724,7 +724,7 @@ group { name: "e/comp/effects/auto/rotate";
|
|||
signal: "e,action,go";
|
||||
source: "e";
|
||||
action: STATE_SET "default" 0.0;
|
||||
transition: DECELERATE COMP_EFFECT_DURATION CURRENT;
|
||||
transition: DECELERATE COMP_EFFECT_DURATION USE_DURATION_FACTOR 1 CURRENT;
|
||||
target: "proxy";
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,42 +1,30 @@
|
|||
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";
|
||||
part { name: "separator"; type: RECT; mouse_events: 0;
|
||||
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;
|
||||
min: 16 1;
|
||||
max: 99999 1;
|
||||
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;
|
||||
color: 72 72 72 255;
|
||||
}
|
||||
}
|
||||
part { name: "e.swallow.content"; type: SWALLOW;
|
||||
description { state: "default" 0.0;
|
||||
rel1.offset: 4 4;
|
||||
rel1.offset: 0 8;
|
||||
rel1.to_x: "base";
|
||||
rel2.relative: 1.0 0.0;
|
||||
rel2.offset: -5 -8;
|
||||
rel2.offset: -1 -17;
|
||||
rel2.to_y: "e.swallow.button";
|
||||
}
|
||||
}
|
||||
|
@ -44,9 +32,9 @@ group { name: "e/widgets/configure/main";
|
|||
description { state: "default" 0.0;
|
||||
align: 0.5 1.0;
|
||||
rel1.relative: 0.5 1.0;
|
||||
rel1.offset: 0 -5;
|
||||
rel1.offset: 0 -9;
|
||||
rel2.relative: 0.5 1.0;
|
||||
rel2.offset: -1 -5;
|
||||
rel2.offset: -1 -9;
|
||||
fixed: 1 1;
|
||||
}
|
||||
}
|
||||
|
@ -54,61 +42,31 @@ group { name: "e/widgets/configure/main";
|
|||
}
|
||||
|
||||
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;
|
||||
images.image: "spanner.png" COMP;
|
||||
min: 16 16;
|
||||
max: 80 80;
|
||||
parts {
|
||||
part { name: "base";
|
||||
part { name: "base"; type: RECT;
|
||||
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;
|
||||
color: 0 0 0 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;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
aspect: 1.0 1.0; aspect_preference: BOTH;
|
||||
max: 80 80;
|
||||
rel.to: "base";
|
||||
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;
|
||||
image.normal: "spanner.png";
|
||||
offscale;
|
||||
color: 160 160 160 255;
|
||||
}
|
||||
description { state: "clicked" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
visible: 1;
|
||||
color: 255 255 255 255;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -117,26 +75,17 @@ group { name: "e/modules/conf/main";
|
|||
signal: "mouse,down,1"; source: "base";
|
||||
action: STATE_SET "clicked" 0.0;
|
||||
target: "base";
|
||||
target: "spanner";
|
||||
}
|
||||
program {
|
||||
signal: "mouse,up,1"; source: "base";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "base";
|
||||
target: "spanner_glow";
|
||||
target: "spanner";
|
||||
}
|
||||
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";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,143 +1,137 @@
|
|||
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;
|
||||
images.image: "cloud-conn.png" COMP;
|
||||
|
||||
images.image: "eth-top.png" COMP;
|
||||
images.image: "eth-base.png" COMP;
|
||||
|
||||
images.image: "wifi-1.png" COMP;
|
||||
images.image: "wifi-2.png" COMP;
|
||||
images.image: "wifi-3.png" COMP;
|
||||
images.image: "wifi-4.png" COMP;
|
||||
images.image: "wifi-5.png" COMP;
|
||||
|
||||
images.image: "bt-1.png" COMP;
|
||||
images.image: "bt-2.png" COMP;
|
||||
images.image: "bt-base.png" COMP;
|
||||
|
||||
images.image: "cell-1.png" COMP;
|
||||
images.image: "cell-2.png" COMP;
|
||||
images.image: "cell-3.png" COMP;
|
||||
images.image: "cell-4.png" COMP;
|
||||
images.image: "cell-base.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;
|
||||
scale: 1;
|
||||
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";
|
||||
min: 11 10;
|
||||
rel1.relative: (20/160) (50/160);
|
||||
rel2.relative: (135/160) (150/160);
|
||||
aspect: (115/105) (115/105); aspect_preference: BOTH;
|
||||
image.normal: "cloud-conn.png";
|
||||
}
|
||||
}
|
||||
///////////////////////
|
||||
part { name: "eth_base"; mouse_events: 0;
|
||||
part { name: "eth-base"; mouse_events: 0;
|
||||
scale: 1;
|
||||
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";
|
||||
min: 6 13;
|
||||
aspect: (60/130) (60/130); aspect_preference: BOTH;
|
||||
rel1.relative: (50/160) (15/160);
|
||||
rel2.relative: (110/160) (145/160);
|
||||
image.normal: "eth-base.png";
|
||||
color: 160 160 160 128;
|
||||
}
|
||||
description { state: "connected" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: 160 160 160 255;
|
||||
}
|
||||
description { state: "online" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: 51 153 255 255;
|
||||
}
|
||||
}
|
||||
part { name: "eth"; mouse_events: 0;
|
||||
scale: 1;
|
||||
clip_to: "clip_eth";
|
||||
description { state: "default" 0.0;
|
||||
rel.to: "eth-base";
|
||||
image.normal: "eth-top.png";
|
||||
color: 160 160 160 128;
|
||||
}
|
||||
description { state: "connected" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: 160 160 160 255;
|
||||
}
|
||||
description { state: "online" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: 160 160 160 255;
|
||||
}
|
||||
}
|
||||
///////////////////////
|
||||
part { name: "wifi_base"; mouse_events: 0;
|
||||
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";
|
||||
image.normal: "wifi-1.png";
|
||||
color: 160 160 160 255;
|
||||
}
|
||||
description { state: "connected" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: 160 160 160 255;
|
||||
}
|
||||
description { state: "online" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: 51 153 255 255;
|
||||
}
|
||||
}
|
||||
part { name: "wifi_1"; mouse_events: 0;
|
||||
part { name: "wifi"; 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;
|
||||
rel.to: "wifi-base";
|
||||
image.normal: "wifi-1.png";
|
||||
color: 0 0 0 0;
|
||||
}
|
||||
description { state: "partly" 0.0;
|
||||
description { state: "default" 0.25;
|
||||
inherit: "default" 0.0;
|
||||
color: 255 255 255 128;
|
||||
visible: 1;
|
||||
image.normal: "wifi-2.png";
|
||||
color: 160 160 160 255;
|
||||
}
|
||||
description { state: "visible" 0.0;
|
||||
description { state: "default" 0.5;
|
||||
inherit: "default" 0.0;
|
||||
visible: 1;
|
||||
image.normal: "wifi-3.png";
|
||||
color: 160 160 160 255;
|
||||
}
|
||||
}
|
||||
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;
|
||||
description { state: "default" 0.75;
|
||||
inherit: "default" 0.0;
|
||||
color: 255 255 255 128;
|
||||
visible: 1;
|
||||
image.normal: "wifi-4.png";
|
||||
color: 160 160 160 255;
|
||||
}
|
||||
description { state: "visible" 0.0;
|
||||
description { state: "default" 1.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;
|
||||
image.normal: "wifi-5.png";
|
||||
color: 160 160 160 255;
|
||||
}
|
||||
}
|
||||
///////////////////////
|
||||
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";
|
||||
image.normal: "bt-base.png";
|
||||
color: 160 160 160 255;
|
||||
}
|
||||
}
|
||||
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";
|
||||
rel.to: "bt_base";
|
||||
image.normal: "bt-1.png";
|
||||
color: 160 160 160 255;
|
||||
visible: 0;
|
||||
}
|
||||
description { state: "partly" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: 255 255 255 128;
|
||||
color: 160 160 160 128;
|
||||
visible: 1;
|
||||
}
|
||||
description { state: "visible" 0.0;
|
||||
|
@ -148,14 +142,14 @@ group { name: "e/modules/connman/main";
|
|||
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";
|
||||
rel.to: "bt_base";
|
||||
image.normal: "bt-2.png";
|
||||
color: 160 160 160 255;
|
||||
visible: 0;
|
||||
}
|
||||
description { state: "partly" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: 255 255 255 128;
|
||||
color: 160 160 160 128;
|
||||
visible: 1;
|
||||
}
|
||||
description { state: "visible" 0.0;
|
||||
|
@ -167,24 +161,21 @@ group { name: "e/modules/connman/main";
|
|||
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";
|
||||
image.normal: "cell-base.png";
|
||||
color: 160 160 160 255;
|
||||
}
|
||||
}
|
||||
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";
|
||||
rel.to: "cell_base";
|
||||
image.normal: "cell-1.png";
|
||||
color: 160 160 160 255;
|
||||
visible: 0;
|
||||
}
|
||||
description { state: "partly" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: 255 255 255 128;
|
||||
color: 160 160 160 128;
|
||||
visible: 1;
|
||||
}
|
||||
description { state: "visible" 0.0;
|
||||
|
@ -195,14 +186,14 @@ group { name: "e/modules/connman/main";
|
|||
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";
|
||||
rel.to: "cell_base";
|
||||
image.normal: "cell-2.png";
|
||||
color: 160 160 160 255;
|
||||
visible: 0;
|
||||
}
|
||||
description { state: "partly" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: 255 255 255 128;
|
||||
color: 160 160 160 128;
|
||||
visible: 1;
|
||||
}
|
||||
description { state: "visible" 0.0;
|
||||
|
@ -213,14 +204,14 @@ group { name: "e/modules/connman/main";
|
|||
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";
|
||||
rel.to: "cell_base";
|
||||
image.normal: "cell-3.png";
|
||||
color: 160 160 160 255;
|
||||
visible: 0;
|
||||
}
|
||||
description { state: "partly" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: 255 255 255 128;
|
||||
color: 160 160 160 128;
|
||||
visible: 1;
|
||||
}
|
||||
description { state: "visible" 0.0;
|
||||
|
@ -231,14 +222,14 @@ group { name: "e/modules/connman/main";
|
|||
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";
|
||||
rel.to: "cell_base";
|
||||
image.normal: "cell-4.png";
|
||||
color: 160 160 160 255;
|
||||
visible: 0;
|
||||
}
|
||||
description { state: "partly" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: 255 255 255 128;
|
||||
color: 160 160 160 128;
|
||||
visible: 1;
|
||||
}
|
||||
description { state: "visible" 0.0;
|
||||
|
@ -247,30 +238,6 @@ group { name: "e/modules/connman/main";
|
|||
}
|
||||
}
|
||||
///////////////////////
|
||||
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;
|
||||
|
@ -356,27 +323,6 @@ group { name: "e/modules/connman/main";
|
|||
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;
|
||||
|
@ -389,41 +335,7 @@ 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); \
|
||||
} \
|
||||
set_state(PART:"wifi", "default", float(signl) / 100.0); \
|
||||
if (signl <= 20) { \
|
||||
set_state(PART:"bt_1", "default", 0.0); \
|
||||
set_state(PART:"bt_2", "default", 0.0); \
|
||||
|
@ -499,17 +411,31 @@ 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"); \
|
||||
set_state(PART:"wifi-base", "default", 0.0); \
|
||||
set_state(PART:"eth-base", "default", 0.0); \
|
||||
set_state(PART:"eth", "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); \
|
||||
else if ((state == 4)) { \
|
||||
set_state(PART:"wifi-base", "connected", 0.0); \
|
||||
set_state(PART:"eth-base", "connected", 0.0); \
|
||||
set_state(PART:"eth", "connected", 0.0); \
|
||||
} \
|
||||
else if ((state == 5)) { \
|
||||
set_state(PART:"wifi-base", "online", 0.0); \
|
||||
set_state(PART:"eth-base", "online", 0.0); \
|
||||
set_state(PART:"eth", "online", 0.0); \
|
||||
} \
|
||||
else { \
|
||||
set_state(PART:"wifi-base", "default", 0.0); \
|
||||
set_state(PART:"eth-base", "default", 0.0); \
|
||||
set_state(PART:"eth", "default", 0.0); \
|
||||
} } } }
|
||||
|
||||
SCRIPT_MESSAGE()
|
||||
programs {
|
||||
/*
|
||||
program { name: "connecting";
|
||||
action: STATE_SET "connected" 0.0;
|
||||
target: "led";
|
||||
|
@ -522,6 +448,7 @@ else { set_state(PART:"led", "default", 0.0); \
|
|||
in: 0.3 0.0;
|
||||
after: "connecting";
|
||||
}
|
||||
*/
|
||||
// program {
|
||||
// signal: "e,available"; source: "e";
|
||||
// }
|
||||
|
@ -589,8 +516,7 @@ group { name: "e/modules/connman/icon/wifi";
|
|||
inherit: "e/modules/connman/main";
|
||||
SCRIPT_MESSAGE()
|
||||
programs {
|
||||
program {
|
||||
signal: "load"; source: "";
|
||||
program { signal: "load"; source: "";
|
||||
action: STATE_SET "wifi" 0.0;
|
||||
target: "clip_exclam";
|
||||
target: "clip_wifi";
|
||||
|
@ -605,8 +531,7 @@ group { name: "e/modules/connman/icon/ethernet";
|
|||
inherit: "e/modules/connman/main";
|
||||
SCRIPT_MESSAGE()
|
||||
programs {
|
||||
program {
|
||||
signal: "load"; source: "";
|
||||
program { signal: "load"; source: "";
|
||||
action: STATE_SET "eth" 0.0;
|
||||
target: "clip_exclam";
|
||||
target: "clip_wifi";
|
||||
|
@ -621,8 +546,7 @@ group { name: "e/modules/connman/icon/bluetooth";
|
|||
inherit: "e/modules/connman/main";
|
||||
SCRIPT_MESSAGE()
|
||||
programs {
|
||||
program {
|
||||
signal: "load"; source: "";
|
||||
program { signal: "load"; source: "";
|
||||
action: STATE_SET "bt" 0.0;
|
||||
target: "clip_exclam";
|
||||
target: "clip_wifi";
|
||||
|
@ -637,8 +561,7 @@ group { name: "e/modules/connman/icon/cellular";
|
|||
inherit: "e/modules/connman/main";
|
||||
SCRIPT_MESSAGE()
|
||||
programs {
|
||||
program {
|
||||
signal: "load"; source: "";
|
||||
program { signal: "load"; source: "";
|
||||
action: STATE_SET "cell" 0.0;
|
||||
target: "clip_exclam";
|
||||
target: "clip_wifi";
|
||||
|
@ -650,61 +573,56 @@ group { name: "e/modules/connman/icon/cellular";
|
|||
}
|
||||
|
||||
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";
|
||||
image.normal: "i-unlock";
|
||||
aspect: 1.0 1.0; aspect_preference: BOTH;
|
||||
color: 160 160 160 255;
|
||||
visible: 0;
|
||||
}
|
||||
description { state: "none" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
image.normal: "glow_lock_unlocked.png";
|
||||
image.normal: "i-unlock";
|
||||
color: 160 160 160 255;
|
||||
visible: 1;
|
||||
}
|
||||
description { state: "wep" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
image.normal: "glow_lock_locked.png";
|
||||
image.normal: "i-lock";
|
||||
color: 160 160 160 255;
|
||||
visible: 1;
|
||||
}
|
||||
description { state: "psk" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
image.normal: "glow_lock_double.png";
|
||||
image.normal: "i-lock-double";
|
||||
color: 160 160 160 255;
|
||||
visible: 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
programs {
|
||||
program {
|
||||
signal: "e,security,off"; source: "e";
|
||||
program { signal: "e,security,off"; source: "e";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "base";
|
||||
}
|
||||
program {
|
||||
signal: "e,security,none"; source: "e";
|
||||
program { signal: "e,security,none"; source: "e";
|
||||
action: STATE_SET "none" 0.0;
|
||||
target: "base";
|
||||
}
|
||||
program {
|
||||
signal: "e,security,wep"; source: "e";
|
||||
program { signal: "e,security,wep"; source: "e";
|
||||
action: STATE_SET "wep" 0.0;
|
||||
target: "base";
|
||||
}
|
||||
program {
|
||||
signal: "e,security,psk"; source: "e";
|
||||
program { signal: "e,security,psk"; source: "e";
|
||||
action: STATE_SET "psk" 0.0;
|
||||
target: "base";
|
||||
}
|
||||
program {
|
||||
signal: "e,security,ieee8021x"; source: "e";
|
||||
program { signal: "e,security,ieee8021x"; source: "e";
|
||||
action: STATE_SET "psk" 0.0;
|
||||
target: "base";
|
||||
}
|
||||
program {
|
||||
signal: "e,security,wps"; source: "e";
|
||||
program { signal: "e,security,wps"; source: "e";
|
||||
action: STATE_SET "wep" 0.0;
|
||||
target: "base";
|
||||
}
|
||||
|
|
|
@ -0,0 +1,241 @@
|
|||
group { name: "e/gadget/cpuclock/main";
|
||||
alias: "e/gadget/cpuclock/main_vert";
|
||||
images.image: "cpu_base.png" COMP;
|
||||
images.image: "cpu_clip1.png" COMP;
|
||||
images.image: "cpu_clip2.png" COMP;
|
||||
images.image: "cpu_clip3.png" COMP;
|
||||
set { name: "marker";
|
||||
image { image: "cpu_marker.png" COMP; size: 72 72 99999 99999; }
|
||||
image { image: "cpu_marker2.png" COMP; size: 36 36 72 72; }
|
||||
image { image: "cpu_marker3.png" COMP; size: 18 18 36 36; }
|
||||
image { image: "cpu_marker4.png" COMP; size: 0 0 4 18; }
|
||||
}
|
||||
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);
|
||||
|
||||
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);
|
||||
|
||||
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);
|
||||
|
||||
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);
|
||||
}
|
||||
|
||||
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: "clip1";
|
||||
clip_to: "fade_clip";
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "base";
|
||||
rel2.to: "base";
|
||||
image.normal: "cpu_clip1.png";
|
||||
}
|
||||
}
|
||||
part { name: "clip2";
|
||||
clip_to: "fade_clip";
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "base";
|
||||
rel2.to: "base";
|
||||
image.normal: "cpu_clip2.png";
|
||||
}
|
||||
}
|
||||
part { name: "clip3";
|
||||
clip_to: "fade_clip";
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "base";
|
||||
rel2.to: "base";
|
||||
image.normal: "cpu_clip3.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: "cpu_base.png";
|
||||
}
|
||||
}
|
||||
part { name: "meter_min"; mouse_events: 0;
|
||||
clip_to: "clip3";
|
||||
description { state: "default" 0.0;
|
||||
image.normal: "marker";
|
||||
color: 51 153 255 255;
|
||||
rel1.to: "base";
|
||||
rel2.to: "base";
|
||||
map {
|
||||
on: 1;
|
||||
rotation.center: "base";
|
||||
}
|
||||
}
|
||||
}
|
||||
part { name: "meter_max"; mouse_events: 0;
|
||||
clip_to: "clip1";
|
||||
description { state: "default" 0.0;
|
||||
image.normal: "marker";
|
||||
color: 255 0 0 255;
|
||||
rel1.to: "base";
|
||||
rel2.to: "base";
|
||||
map {
|
||||
on: 1;
|
||||
rotation.center: "base";
|
||||
}
|
||||
}
|
||||
}
|
||||
part { name: "meter"; mouse_events: 0;
|
||||
clip_to: "clip2";
|
||||
description { state: "default" 0.0000;
|
||||
color: 255 153 51 255;
|
||||
image.normal: "marker";
|
||||
rel1.to: "base";
|
||||
rel2.to: "base";
|
||||
map {
|
||||
on: 1;
|
||||
rotation.center: "base";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
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";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,64 +1,40 @@
|
|||
group { name: "e/modules/cpufreq/main";
|
||||
alias: "e/gadget/cpuclock/main";
|
||||
alias: "e/gadget/cpuclock/main_vert";
|
||||
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; }
|
||||
images.image: "cpu_base.png" COMP;
|
||||
images.image: "cpu_clip1.png" COMP;
|
||||
images.image: "cpu_clip2.png" COMP;
|
||||
images.image: "cpu_clip3.png" COMP;
|
||||
set { name: "marker";
|
||||
image { image: "cpu_marker.png" COMP; size: 72 72 99999 99999; }
|
||||
image { image: "cpu_marker2.png" COMP; size: 36 36 72 72; }
|
||||
image { image: "cpu_marker3.png" COMP; size: 18 18 36 36; }
|
||||
image { image: "cpu_marker4.png" COMP; size: 0 0 4 18; }
|
||||
}
|
||||
script {
|
||||
public available_frequencies;
|
||||
public available_governors;
|
||||
|
||||
|
||||
// public cur_freq_anim;
|
||||
|
||||
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) {
|
||||
|
||||
public show_freq(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;
|
||||
|
@ -66,16 +42,13 @@ group { name: "e/modules/cpufreq/main";
|
|||
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;
|
||||
|
@ -83,16 +56,13 @@ group { name: "e/modules/cpufreq/main";
|
|||
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;
|
||||
|
@ -100,23 +70,24 @@ group { name: "e/modules/cpufreq/main";
|
|||
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 slide_cur_freq(val, Float:v) {
|
||||
// v = (1.0 - cos(v * 3.141592654)) / 2.0;
|
||||
// show_freq(v);
|
||||
// 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) {
|
||||
|
@ -125,7 +96,7 @@ group { name: "e/modules/cpufreq/main";
|
|||
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) {
|
||||
|
@ -136,11 +107,11 @@ group { name: "e/modules/cpufreq/main";
|
|||
append_str(available_governors, text);
|
||||
}
|
||||
} else if ((type == MSG_INT_SET) && (id == 3)) { // avg freq
|
||||
new f;
|
||||
new ani, curf, minf, maxf;
|
||||
// new ani;
|
||||
new f, curf, minf, maxf;
|
||||
new text[100];
|
||||
|
||||
f = getarg(2);
|
||||
|
||||
f = getarg(2);
|
||||
if (f < 1000000) {
|
||||
f += 500;
|
||||
snprintf(text, 100, "%i", f / 1000);
|
||||
|
@ -150,26 +121,28 @@ group { name: "e/modules/cpufreq/main";
|
|||
(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);
|
||||
|
||||
// ani = get_int(cur_freq_anim);
|
||||
// if (ani > 0) cancel_anim(ani);
|
||||
// ani = anim(0.2, "slide_cur_freq", 0);
|
||||
// set_int(cur_freq_anim, ani);
|
||||
show_freq(1.0);
|
||||
|
||||
} else if ((type == MSG_STRING) && (id == 4)) {
|
||||
new text[100];
|
||||
snprintf(text, 100, "%s", getarg(2));
|
||||
|
@ -185,22 +158,28 @@ group { name: "e/modules/cpufreq/main";
|
|||
color: 255 255 255 128;
|
||||
}
|
||||
}
|
||||
part { name: "base-sh";
|
||||
part { name: "clip1";
|
||||
clip_to: "fade_clip";
|
||||
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";
|
||||
image.normal: "cpu_clip1.png";
|
||||
}
|
||||
}
|
||||
part { name: "base-hi";
|
||||
part { name: "clip2";
|
||||
clip_to: "fade_clip";
|
||||
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";
|
||||
image.normal: "cpu_clip2.png";
|
||||
}
|
||||
}
|
||||
part { name: "clip3";
|
||||
clip_to: "fade_clip";
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "base";
|
||||
rel2.to: "base";
|
||||
image.normal: "cpu_clip3.png";
|
||||
}
|
||||
}
|
||||
part { name: "base";
|
||||
|
@ -208,43 +187,27 @@ group { name: "e/modules/cpufreq/main";
|
|||
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";
|
||||
image.normal: "cpu_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_class: "module_label";
|
||||
color3: 255 255 255 255;
|
||||
text { font: FNBOLD; size: 6;
|
||||
align: 0.5 0.5;
|
||||
rel1.relative: (56/144) (56/144);
|
||||
rel2.relative: (88/144) (88/144);
|
||||
color: 255 255 255 255;
|
||||
text { font: FN; size: 6;
|
||||
min: 1 1;
|
||||
ellipsis: -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";
|
||||
clip_to: "clip3";
|
||||
description { state: "default" 0.0;
|
||||
image.normal: "tacho_hand_small_min";
|
||||
image.normal: "marker";
|
||||
color: 51 153 255 255;
|
||||
rel1.to: "base";
|
||||
rel2.to: "base";
|
||||
|
@ -254,23 +217,11 @@ group { name: "e/modules/cpufreq/main";
|
|||
}
|
||||
}
|
||||
}
|
||||
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";
|
||||
clip_to: "clip1";
|
||||
description { state: "default" 0.0;
|
||||
image.normal: "tacho_hand_small_min";
|
||||
color: 255 153 51 255;
|
||||
image.normal: "marker";
|
||||
color: 255 0 0 255;
|
||||
rel1.to: "base";
|
||||
rel2.to: "base";
|
||||
map {
|
||||
|
@ -279,27 +230,11 @@ group { name: "e/modules/cpufreq/main";
|
|||
}
|
||||
}
|
||||
}
|
||||
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";
|
||||
clip_to: "clip2";
|
||||
description { state: "default" 0.0000;
|
||||
color: 255 0 0 255;
|
||||
image.normal: "tacho_hand_big";
|
||||
color: 255 153 51 255;
|
||||
image.normal: "marker";
|
||||
rel1.to: "base";
|
||||
rel2.to: "base";
|
||||
map {
|
||||
|
@ -308,35 +243,6 @@ group { name: "e/modules/cpufreq/main";
|
|||
}
|
||||
}
|
||||
}
|
||||
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 {
|
||||
|
@ -352,18 +258,3 @@ group { name: "e/modules/cpufreq/main";
|
|||
}
|
||||
}
|
||||
|
||||
group { name: "e/gadget/cpuclock/main";
|
||||
alias: "e/gadget/cpuclock/main_vert";
|
||||
inherit: "e/modules/cpufreq/main";
|
||||
parts {
|
||||
part { name: "readout"; type: TEXT; mouse_events: 0;
|
||||
scale: 1;
|
||||
effect: SHADOW BOTTOM;
|
||||
clip_to: "fade_clip";
|
||||
description { state: "default" 0.0;
|
||||
visible: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1,16 +1,16 @@
|
|||
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;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "e.swallow.content";
|
||||
rel2.to: "e.swallow.content";
|
||||
color: 48 48 48 255;
|
||||
rel1.offset: 2 2;
|
||||
rel2.offset: -3 -3;
|
||||
color: DARK_GREY_BG_COLOR;
|
||||
offscale;
|
||||
}
|
||||
}
|
||||
part { name: "clipper"; type: RECT;
|
||||
|
@ -25,78 +25,36 @@ group { name: "e/widgets/cslider";
|
|||
}
|
||||
part { name: "e.swallow.content"; type: SWALLOW;
|
||||
clip_to: "clipper";
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
rel1.offset: 3 3;
|
||||
rel2.offset: -4 -4;
|
||||
rel1.offset: 2 2;
|
||||
rel2.offset: -3 -3;
|
||||
offscale;
|
||||
}
|
||||
}
|
||||
part { name: "e.dragable.cursor"; type: RECT;
|
||||
clip_to: "clipper";
|
||||
part { name: "e.dragable.cursor"; type: RECT; mouse_events: 0;
|
||||
dragable.confine: "e.swallow.content";
|
||||
dragable.x: 1 1 0;
|
||||
dragable.y: -1 1 0;
|
||||
description { state: "default" 0.0;
|
||||
fixed: 1 1;
|
||||
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;
|
||||
clip_to: "clipper";
|
||||
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;
|
||||
color: 255 255 255 192;
|
||||
}
|
||||
description { state: "vertical" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
|
@ -106,41 +64,22 @@ group { name: "e/widgets/cslider";
|
|||
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";
|
||||
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";
|
||||
program { signal: "mouse,clicked,1"; source: "inset";
|
||||
action: SIGNAL_EMIT "e,action,click" "";
|
||||
}
|
||||
program {
|
||||
signal: "e,state,disabled"; source: "e";
|
||||
program { signal: "e,state,disabled"; source: "e";
|
||||
action: STATE_SET "disabled" 0.0;
|
||||
target: "clipper";
|
||||
}
|
||||
program {
|
||||
signal: "e,state,enabled"; source: "e";
|
||||
program { signal: "e,state,enabled"; source: "e";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "clipper";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1,22 +1,37 @@
|
|||
group { name: "e/desklock/background";
|
||||
images.image: "bg_radgrad.png" COMP;
|
||||
images.image: "dot_pattern.png" COMP;
|
||||
data.item: "hide_signal" "1";
|
||||
parts {
|
||||
part { name: "bg";
|
||||
part { name: "clip"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
image.normal: "bg_radgrad.png";
|
||||
image.scale_hint: STATIC;
|
||||
fill.smooth: 0;
|
||||
ASPECT_FILL((1024/653))
|
||||
color: 255 255 255 0;
|
||||
visible: 0;
|
||||
}
|
||||
description { state: "visible" 0.0;
|
||||
color: 255 255 255 255;
|
||||
visible: 1;
|
||||
}
|
||||
}
|
||||
part { name: "pat";
|
||||
part { name: "bg"; type: RECT;
|
||||
clip_to: "clip";
|
||||
description { state: "default" 0.0;
|
||||
image.normal: "dot_pattern.png";
|
||||
TILED_PATTERN(256, 256)
|
||||
color: 48 48 48 255;
|
||||
}
|
||||
}
|
||||
program { signal: "show"; source: "";
|
||||
action: STATE_SET "visible" 0.0;
|
||||
transition: SINUSOIDAL 0.5 USE_DURATION_FACTOR 1;
|
||||
target: "clip";
|
||||
}
|
||||
program { signal: "e,action,hide"; source: "e";
|
||||
action: STATE_SET "default" 0.0;
|
||||
transition: SINUSOIDAL 0.5 USE_DURATION_FACTOR 1;
|
||||
target: "clip";
|
||||
sequence {
|
||||
action: SIGNAL_EMIT "e,action,hide,done" "e";
|
||||
}
|
||||
}
|
||||
part { name: "e.swallow.login_box"; type: SWALLOW;
|
||||
clip_to: "clip";
|
||||
description { state: "default" 0.0;
|
||||
}
|
||||
}
|
||||
|
@ -24,13 +39,16 @@ group { name: "e/desklock/background";
|
|||
}
|
||||
|
||||
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;
|
||||
set { name: "logo_mono";
|
||||
image { image: "logo.png" COMP; size: 601 601 99999 99999; }
|
||||
image { image: "logo2.png" COMP; size: 301 301 600 600; }
|
||||
image { image: "logo3.png" COMP; size: 151 151 300 300; }
|
||||
image { image: "logo4.png" COMP; size: 76 76 150 150; }
|
||||
image { image: "logo5.png" COMP; size: 0 0 75 75; }
|
||||
}
|
||||
IMAGE_RING("ringa", 160)
|
||||
IMAGE_RING("ringb", 160)
|
||||
IMAGE_RING("ringc", 160)
|
||||
parts {
|
||||
part { name: "logo_clip"; type: RECT;
|
||||
description { state: "default";
|
||||
|
@ -41,43 +59,28 @@ group { name: "e/desklock/login_box";
|
|||
visible: 0;
|
||||
}
|
||||
}
|
||||
part { name: "logo"; clip_to: "logo_clip";
|
||||
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"; clip_to: "logo_clip";
|
||||
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";
|
||||
rel1.to_x: "logo";
|
||||
rel1.to_y: "e.text.password";
|
||||
rel1.relative: 0.3 0.0;
|
||||
rel1.offset: -100 -4;
|
||||
rel2.to_x: "logo";
|
||||
rel2.to_y: "e.text.password";
|
||||
rel2.relative: 0.7 1.0;
|
||||
rel2.offset: 99 196;
|
||||
}
|
||||
}
|
||||
part { name: "logo"; clip_to: "logo_clip";
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
image.normal: "logo_mono";
|
||||
rel1.relative: 0.5 0.5;
|
||||
rel2.relative: 0.5 0.5;
|
||||
FIXED_SIZE(150, 150)
|
||||
}
|
||||
}
|
||||
part { name: "e.text.title"; type: TEXT;
|
||||
effect: SHADOW BOTTOM;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
rel1.relative: 0.0 1.0;
|
||||
|
@ -98,7 +101,6 @@ group { name: "e/desklock/login_box";
|
|||
}
|
||||
}
|
||||
part { name: "e.text.hint"; type: TEXT;
|
||||
effect: SHADOW BOTTOM;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
rel1.relative: 0.0 1.0;
|
||||
|
@ -107,7 +109,7 @@ group { name: "e/desklock/login_box";
|
|||
rel2.relative: 1.0 1.0;
|
||||
rel2.offset: -4 3;
|
||||
rel2.to_y: "e.text.password";
|
||||
color: FN_COL_DEFAULT;
|
||||
color: 160 160 160 255;
|
||||
align: 0.5 0.0;
|
||||
text { font: FNBD; size: 10;
|
||||
min: 1 1;
|
||||
|
@ -131,20 +133,18 @@ group { name: "e/desklock/login_box";
|
|||
}
|
||||
}
|
||||
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_x: "clipper";
|
||||
rel1.to_y: "e.text.title";
|
||||
rel2.relative: 0.0 1.0;
|
||||
rel2.offset: 3 10;
|
||||
rel2.to_x: "inset";
|
||||
rel2.to_x: "clipper";
|
||||
rel2.to_y: "e.text.title";
|
||||
color: FN_COL_DEFAULT;
|
||||
color_class: "desklock_passwd";
|
||||
color: 255 255 255 255;
|
||||
align: 0.0 0.0;
|
||||
text { font: FN; size: 10;
|
||||
min: 1 1;
|
||||
|
@ -155,175 +155,64 @@ group { name: "e/desklock/login_box";
|
|||
fixed: 1 1;
|
||||
}
|
||||
}
|
||||
part { name: "cursor"; mouse_events: 0;
|
||||
part { name: "cursor"; type: RECT; 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;
|
||||
rel1.offset: 0 -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;
|
||||
rel2.offset: -1 3;
|
||||
color: 255 255 255 255;
|
||||
min: 1 10;
|
||||
fixed: 1 1;
|
||||
visible: 0;
|
||||
}
|
||||
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";
|
||||
part { name: "busy_area"; type: SPACER;
|
||||
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";
|
||||
min: 20 20;
|
||||
max: 160 160;
|
||||
rel1.to: "clipper";
|
||||
rel1.relative: 0.0 0.5;
|
||||
rel2.to: "clipper";
|
||||
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;
|
||||
}
|
||||
program { signal: "e,action,hide"; source: "e";
|
||||
action: SIGNAL_EMIT "e,state,invalid" "e";
|
||||
}
|
||||
BUSY("busy_area", "e,state,checking", "e", "e,state,invalid", "e")
|
||||
}
|
||||
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_show_timer";
|
||||
in: 0.4 0.0;
|
||||
after: "cursor_hide";
|
||||
}
|
||||
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;
|
||||
in: 0.4 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";
|
||||
program { signal: "e,state,selected"; source: "e";
|
||||
action: STATE_SET "active" 0.0;
|
||||
target: "selection";
|
||||
}
|
||||
program {
|
||||
signal: "e,state,unselected"; source: "e";
|
||||
program { signal: "e,state,unselected"; source: "e";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "selection";
|
||||
}
|
||||
|
@ -341,14 +230,13 @@ group { name: "e/desklock/login_box";
|
|||
group { name: "e/desklock/pin_box";
|
||||
parts {
|
||||
part { name: "e.text.title"; type: TEXT;
|
||||
effect: SHADOW BOTTOM;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
rel1.offset: 3 3;
|
||||
rel1.relative: 0.0 1.0;
|
||||
rel1.to_y: "e.swallow.buttons";
|
||||
rel2.offset: -4 -3;
|
||||
color: FN_COL_DEFAULT;
|
||||
color: 160 160 160 255;
|
||||
align: 0.5 0.0;
|
||||
text { font: "Sans:style=Bold"; size: 10;
|
||||
min: 0 1;
|
||||
|
@ -372,15 +260,13 @@ group { name: "e/desklock/pin_box";
|
|||
}
|
||||
}
|
||||
part { name: "e.text.password"; type: TEXT;
|
||||
effect: SHADOW BOTTOM;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
rel1.relative: 0.5 0.0;
|
||||
rel1.offset: 3 2;
|
||||
rel2.relative: 0.5 0.0;
|
||||
rel2.offset: 3 -2;
|
||||
color: FN_COL_DEFAULT;
|
||||
color_class: "desklock_passwd";
|
||||
color: 255 255 255 255;
|
||||
text { font: "Sans"; size: 10;
|
||||
min: 1 1;
|
||||
ellipsis: -1;
|
||||
|
@ -390,18 +276,15 @@ group { name: "e/desklock/pin_box";
|
|||
fixed: 1 1;
|
||||
}
|
||||
}
|
||||
part { name: "cursor"; mouse_events: 0;
|
||||
part { name: "cursor"; type: RECT; mouse_events: 0;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "e.text.password";
|
||||
rel1.relative: 1.0 0.0;
|
||||
rel1.offset: -4 -4;
|
||||
rel1.offset: 0 0;
|
||||
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;
|
||||
rel2.offset: 1 -1;
|
||||
color: 255 255 255 0;
|
||||
min: 9 10;
|
||||
min: 1 3;
|
||||
fixed: 1 1;
|
||||
}
|
||||
description { state: "visible" 0.0;
|
||||
|
@ -431,27 +314,25 @@ group { name: "e/desklock/pin_box";
|
|||
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";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "cursor";
|
||||
transition: SINUSOIDAL 0.2 USE_DURATION_FACTOR 1;
|
||||
after: "cursor_hide_timer";
|
||||
}
|
||||
program { name: "cursor_hide_timer";
|
||||
in: 0.2 0.0;
|
||||
after: "cursor_show";
|
||||
}
|
||||
program {
|
||||
signal: "e,state,selected"; source: "e";
|
||||
program { signal: "e,state,selected"; source: "e";
|
||||
action: STATE_SET "active" 0.0;
|
||||
target: "selection";
|
||||
}
|
||||
program {
|
||||
signal: "e,state,unselected"; source: "e";
|
||||
program { signal: "e,state,unselected"; source: "e";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "selection";
|
||||
}
|
||||
|
|
|
@ -2,24 +2,15 @@ group { name: "e/deskmirror/frame/default";
|
|||
alias: "e/deskmirror/frame/dialog";
|
||||
alias: "e/deskmirror/frame/urgent";
|
||||
alias: "e/deskmirror/frame/sparkle";
|
||||
images.image: "mini_box_bevel_shadow.png" COMP;
|
||||
images.image: "shine.png" COMP;
|
||||
images.image: "vgrad_med_lighter.png" COMP;
|
||||
images.image: "vgrad_med_dark.png" COMP;
|
||||
images.image: "bevel_out.png" COMP;
|
||||
images.image: "bevel_dark_out.png" COMP;
|
||||
images.image: "pager_mini_win_shadow.png" COMP;
|
||||
script {
|
||||
public message(Msg_Type:type, id, ...) {
|
||||
if ((type == MSG_FLOAT) && (id == 0)) {
|
||||
new Float:sc = getfarg(2);
|
||||
|
||||
|
||||
custom_state(PART:"top_spacer", "default", 0.0);
|
||||
set_state_val(PART:"top_spacer", STATE_REL2, 1.0, sc);
|
||||
set_state(PART:"top_spacer", "custom", 0.0);
|
||||
|
||||
custom_state(PART:"bottom_spacer", "default", 0.0);
|
||||
set_state_val(PART:"bottom_spacer", STATE_REL1, 0.0, 1.0 - sc);
|
||||
set_state(PART:"bottom_spacer", "custom", 0.0);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -28,6 +19,7 @@ group { name: "e/deskmirror/frame/default";
|
|||
description { state: "default";
|
||||
}
|
||||
description { state: "iconic";
|
||||
inherit: "default" 0.0;
|
||||
rel1.relative: 0.0 1.0;
|
||||
rel2.relative: 0.0 1.0;
|
||||
}
|
||||
|
@ -36,32 +28,30 @@ group { name: "e/deskmirror/frame/default";
|
|||
description { state: "default" 0.0;
|
||||
rel1.to: "spacer";
|
||||
rel2.to_x: "spacer";
|
||||
rel2.to_y: "title2";
|
||||
rel2.to_y: "e.text.title";
|
||||
rel2.offset: -1 -4;
|
||||
align: 0.5 0.0;
|
||||
}
|
||||
}
|
||||
part { name: "bottom_spacer"; type: SPACER;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "bottom_size";
|
||||
rel2.to: "bottom_size";
|
||||
align: 0.5 1.0;
|
||||
}
|
||||
}
|
||||
part { name: "bottom_size"; type: SPACER;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to_x: "spacer";
|
||||
rel1.relative: 0.0 1.0;
|
||||
rel1.offset: 0 -3;
|
||||
rel1.offset: 0 -1;
|
||||
rel2.to: "spacer";
|
||||
min: 0 1;
|
||||
fixed: 0 1;
|
||||
}
|
||||
description { state: "hidden" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
min: 0 0;
|
||||
max: 0 0;
|
||||
}
|
||||
}
|
||||
part { name: "shadow";
|
||||
mouse_events: 0;
|
||||
description { state: "default" 0.0;
|
||||
image.normal: "mini_box_bevel_shadow.png";
|
||||
image.normal: "pager_mini_win_shadow.png";
|
||||
image.border: 7 7 7 7;
|
||||
image.middle: 0;
|
||||
rel1.to: "top";
|
||||
|
@ -69,14 +59,14 @@ group { name: "e/deskmirror/frame/default";
|
|||
rel2.to: "bottom";
|
||||
rel2.offset: 4 4;
|
||||
fill.smooth: 0;
|
||||
color: 255 255 255 128;
|
||||
}
|
||||
description { state: "off";
|
||||
inherit: "default" 0.0;
|
||||
visible: 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
part { name: "client_clip"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to_y: "top";
|
||||
|
@ -94,19 +84,30 @@ group { name: "e/deskmirror/frame/default";
|
|||
rel2.relative: 1.0 0.0;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
part { name: "top"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "top_spacer";
|
||||
rel2.to: "top_spacer";
|
||||
color: 64 64 64 255;
|
||||
min: 0 1;
|
||||
}
|
||||
description { state: "focused" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: 32 32 32 255;
|
||||
}
|
||||
}
|
||||
|
||||
part { name: "e.text.title"; type: TEXT; mouse_events: 0;
|
||||
scale: 1;
|
||||
effect: SHADOW BOTTOM;
|
||||
description { state: "default" 0.0;
|
||||
color_class: "border_title";
|
||||
rel1.offset: 1 3;
|
||||
rel1.to: "spacer";
|
||||
rel2.relative: 1.0 0.0;
|
||||
rel2.offset: -2 3;
|
||||
rel2.to: "spacer";
|
||||
align: 0.5 0.0;
|
||||
color: FN_COL_DISABLE;
|
||||
color: 160 160 160 255;
|
||||
text { font: FNBD; size: 10;
|
||||
text_class: "title_bar";
|
||||
align: 0.5 0.0;
|
||||
|
@ -115,71 +116,25 @@ group { name: "e/deskmirror/frame/default";
|
|||
visible: 0;
|
||||
fixed: 0 1;
|
||||
}
|
||||
}
|
||||
part { name: "title2"; type: TEXT; mouse_events: 0;
|
||||
scale: 1;
|
||||
effect: SOFT_SHADOW BOTTOM;
|
||||
description { state: "default" 0.0;
|
||||
color_class: "border_title_active";
|
||||
rel1.offset: 1 2;
|
||||
rel1.to: "spacer";
|
||||
rel2.relative: 1.0 0.0;
|
||||
rel2.offset: -1 2;
|
||||
rel2.to: "spacer";
|
||||
align: 0.5 0.0;
|
||||
color: FN_COL_DEFAULT_SOFT_SHADOW;
|
||||
text { font: FNBD; size: 10;
|
||||
text_source: "e.text.title";
|
||||
text_class: "title_bar";
|
||||
align: 0.5 0.0;
|
||||
min: 0 1;
|
||||
}
|
||||
visible: 0;
|
||||
fixed: 0 1;
|
||||
}
|
||||
}
|
||||
|
||||
part { name: "top";
|
||||
description { state: "default" 0.0;
|
||||
color_class: "border_top";
|
||||
image.normal: "vgrad_med_lighter.png";
|
||||
fill.smooth: 0;
|
||||
TILED_HORIZ(120)
|
||||
rel1.to: "top_spacer";
|
||||
rel2.to: "top_spacer";
|
||||
min: 0 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: "top";
|
||||
rel2.to: "top";
|
||||
fill.smooth: 0;
|
||||
description { state: "focused" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: 255 255 255 255;
|
||||
}
|
||||
}
|
||||
|
||||
part { name: "bottom"; type: RECT; mouse_events: 0;
|
||||
description { state: "default" 0.0;
|
||||
color_class: "border_bottom";
|
||||
rel1.to: "bottom_spacer";
|
||||
rel2.to: "bottom_spacer";
|
||||
rel1.to: "bottom_size";
|
||||
rel2.to: "bottom_size";
|
||||
color: 64 64 64 255;
|
||||
}
|
||||
}
|
||||
part { name: "bevel2"; mouse_events: 0;
|
||||
description { state: "default" 0.0;
|
||||
image.normal: "bevel_dark_out.png";
|
||||
image.border: 1 1 1 1;
|
||||
image.middle: 0;
|
||||
rel1.to: "bottom";
|
||||
rel2.to: "bottom";
|
||||
fill.smooth: 0;
|
||||
description { state: "hidden" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
max: 0 0;
|
||||
visible: 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
part { name: "clone"; type: PROXY; mouse_events: 0;
|
||||
description { state: "default";
|
||||
source: "e.swallow.client";
|
||||
|
@ -204,18 +159,6 @@ group { name: "e/deskmirror/frame/default";
|
|||
proxy.source_clip: 0;
|
||||
}
|
||||
}
|
||||
part { name: "shine"; mouse_events: 0;
|
||||
description { state: "default" 0.0;
|
||||
fixed: 0 1;
|
||||
image.normal: "shine.png";
|
||||
rel1.offset: 0 -1;
|
||||
rel1.to: "top";
|
||||
rel2.relative: 1.0 0.0;
|
||||
rel2.offset: -1 1;
|
||||
rel2.to: "top";
|
||||
max: 69 3;
|
||||
}
|
||||
}
|
||||
}
|
||||
programs {
|
||||
program { name: "urgent";
|
||||
|
@ -232,7 +175,7 @@ group { name: "e/deskmirror/frame/default";
|
|||
}
|
||||
program { name: "go_big2";
|
||||
action: STATE_SET "urgent2" 0.0;
|
||||
transition: LINEAR 0.5;
|
||||
transition: LINEAR 0.5 USE_DURATION_FACTOR 1;
|
||||
target: "clone";
|
||||
after: "go_big";
|
||||
}
|
||||
|
@ -245,7 +188,7 @@ group { name: "e/deskmirror/frame/default";
|
|||
}
|
||||
program { name: "go_hid";
|
||||
action: STATE_SET "default" 0.0;
|
||||
transition: LINEAR 0.5;
|
||||
transition: LINEAR 0.5 USE_DURATION_FACTOR 1;
|
||||
target: "clone";
|
||||
}
|
||||
program { name: "shon";
|
||||
|
@ -261,44 +204,27 @@ group { name: "e/deskmirror/frame/default";
|
|||
program {
|
||||
name: "focus";
|
||||
signal: "e,state,focused"; source: "e";
|
||||
script {
|
||||
custom_state(PART:"top", "default", 0.0);
|
||||
set_state_val(PART:"top", STATE_IMAGE, get_image_id("vgrad_med_dark.png"));
|
||||
set_state(PART:"top", "custom", 0.0);
|
||||
}
|
||||
action: STATE_SET "focused" 0.0;
|
||||
target: "e.text.title";
|
||||
target: "top";
|
||||
}
|
||||
program {
|
||||
name: "unfocus";
|
||||
signal: "e,state,unfocused"; source: "e";
|
||||
script {
|
||||
custom_state(PART:"top", "default", 0.0);
|
||||
set_state_val(PART:"top", STATE_IMAGE, get_image_id("vgrad_med_lighter.png"));
|
||||
set_state(PART:"top", "custom", 0.0);
|
||||
}
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "e.text.title";
|
||||
target: "top";
|
||||
}
|
||||
program {
|
||||
name: "shade";
|
||||
signal: "e,state,shaded"; source: "e";
|
||||
script {
|
||||
custom_state(PART:"bottom", "default", 0.0);
|
||||
set_state_val(PART:"bottom", STATE_VISIBLE, 0);
|
||||
set_state(PART:"bottom", "custom", 0.0);
|
||||
custom_state(PART:"bevel2", "default", 0.0);
|
||||
set_state_val(PART:"bevel2", STATE_VISIBLE, 0);
|
||||
set_state(PART:"bevel2", "custom", 0.0);
|
||||
}
|
||||
action: STATE_SET "hidden" 0.0;
|
||||
target: "bottom";
|
||||
}
|
||||
program {
|
||||
signal: "e,state,maximize*"; source: "e";
|
||||
script {
|
||||
custom_state(PART:"bottom", "default", 0.0);
|
||||
set_state_val(PART:"bottom", STATE_VISIBLE, 0);
|
||||
set_state_val(PART:"bottom", STATE_MAX, 0, 0);
|
||||
set_state(PART:"bottom", "custom", 0.0);
|
||||
custom_state(PART:"bevel2", "default", 0.0);
|
||||
set_state_val(PART:"bevel2", STATE_VISIBLE, 0);
|
||||
set_state(PART:"bevel2", "custom", 0.0);
|
||||
}
|
||||
action: STATE_SET "hidden" 0.0;
|
||||
target: "bottom";
|
||||
}
|
||||
program {
|
||||
signal: "e,state,unmaximize*"; source: "e";
|
||||
|
@ -311,24 +237,17 @@ group { name: "e/deskmirror/frame/default";
|
|||
program {
|
||||
name: "unshade";
|
||||
signal: "e,state,unshading"; source: "e";
|
||||
script {
|
||||
custom_state(PART:"bottom", "default", 0.0);
|
||||
set_state_val(PART:"bottom", STATE_VISIBLE, 1);
|
||||
set_state_val(PART:"bottom", STATE_MAX, 99999, 99999);
|
||||
set_state(PART:"bottom", "custom", 0.0);
|
||||
custom_state(PART:"bevel2", "default", 0.0);
|
||||
set_state_val(PART:"bevel2", STATE_VISIBLE, 1);
|
||||
set_state(PART:"bevel2", "custom", 0.0);
|
||||
}
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "bottom";
|
||||
}
|
||||
program { name: "iconify";
|
||||
action: STATE_SET "iconic" 0.0;
|
||||
transition: ACCELERATE 0.2 CURRENT;
|
||||
transition: ACCELERATE 0.2 CURRENT USE_DURATION_FACTOR 1;
|
||||
target: "spacer";
|
||||
}
|
||||
program { name: "uniconify";
|
||||
action: STATE_SET "default" 0.0;
|
||||
transition: DECELERATE 0.2 CURRENT;
|
||||
transition: DECELERATE 0.2 CURRENT USE_DURATION_FACTOR 1;
|
||||
target: "spacer";
|
||||
}
|
||||
program {
|
||||
|
@ -366,11 +285,6 @@ group { name: "e/deskmirror/frame/noresize";
|
|||
visible: 0;
|
||||
}
|
||||
}
|
||||
part { name: "bevel2";
|
||||
description { state: "default" 0.0;
|
||||
visible: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -394,11 +308,6 @@ group { name: "e/deskmirror/frame/noresize_dialog";
|
|||
visible: 0;
|
||||
}
|
||||
}
|
||||
part { name: "bevel2";
|
||||
description { state: "default" 0.0;
|
||||
visible: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -413,7 +322,6 @@ group { name: "e/deskmirror/frame/pixel";
|
|||
part { name: "frame"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
color: 0 0 0 255;
|
||||
rel2.offset: 0 0;
|
||||
}
|
||||
description { state: "focused" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
|
@ -424,6 +332,48 @@ group { name: "e/deskmirror/frame/pixel";
|
|||
clip_to: "client_clip";
|
||||
description { state: "default" 0.0;
|
||||
rel1.offset: 1 1;
|
||||
rel2.offset: -2 -2;
|
||||
}
|
||||
}
|
||||
}
|
||||
programs {
|
||||
program {
|
||||
name: "focus";
|
||||
signal: "e,state,focused"; source: "e";
|
||||
action: STATE_SET "focused" 0.0;
|
||||
target: "frame";
|
||||
}
|
||||
program {
|
||||
name: "unfocus";
|
||||
signal: "e,state,unfocused"; source: "e";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "frame";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
group { name: "e/deskmirror/frame/tiling";
|
||||
parts {
|
||||
part { name: "client_clip"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "e.swallow.client";
|
||||
rel2.to: "e.swallow.client";
|
||||
}
|
||||
}
|
||||
part { name: "frame"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
color: 0 0 0 0;
|
||||
rel1.offset: -1 -1;
|
||||
rel2.offset: 0 0;
|
||||
}
|
||||
description { state: "focused" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: 51 153 255 255;
|
||||
}
|
||||
}
|
||||
part { name: "e.swallow.client"; type: SWALLOW;
|
||||
clip_to: "client_clip";
|
||||
description { state: "default" 0.0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -476,12 +426,12 @@ group { "e/deskmirror/frame/borderless";
|
|||
}
|
||||
program { name: "iconify";
|
||||
action: STATE_SET "iconic" 0.0;
|
||||
transition: ACCELERATE 0.2 CURRENT;
|
||||
transition: ACCELERATE 0.2 CURRENT USE_DURATION_FACTOR 1;
|
||||
target: "spacer";
|
||||
}
|
||||
program { name: "uniconify";
|
||||
action: STATE_SET "default" 0.0;
|
||||
transition: DECELERATE 0.2 CURRENT;
|
||||
transition: DECELERATE 0.2 CURRENT USE_DURATION_FACTOR 1;
|
||||
target: "spacer";
|
||||
}
|
||||
program {
|
||||
|
@ -510,7 +460,7 @@ group { "e/deskmirror/frame/borderless";
|
|||
}
|
||||
program { name: "go_big2";
|
||||
action: STATE_SET "urgent2" 0.0;
|
||||
transition: LINEAR 0.5;
|
||||
transition: LINEAR 0.5 USE_DURATION_FACTOR 1;
|
||||
target: "clone";
|
||||
after: "go_big";
|
||||
}
|
||||
|
@ -523,7 +473,7 @@ group { "e/deskmirror/frame/borderless";
|
|||
}
|
||||
program { name: "go_hid";
|
||||
action: STATE_SET "default" 0.0;
|
||||
transition: LINEAR 0.5;
|
||||
transition: LINEAR 0.5 USE_DURATION_FACTOR 1;
|
||||
target: "clone";
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,14 +1,8 @@
|
|||
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";
|
||||
insert_after: "e.swallow.content";
|
||||
description { state: "default" 0.0;
|
||||
color: 0 0 0 0;
|
||||
}
|
||||
|
|
|
@ -1,51 +1,42 @@
|
|||
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";
|
||||
part { name: "separator"; type: RECT; mouse_events: 0;
|
||||
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;
|
||||
min: 16 1;
|
||||
max: 99999 1;
|
||||
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;
|
||||
color: 72 72 72 255;
|
||||
fixed: 0 1;
|
||||
link.base: "e,state,buttons,on" "e";
|
||||
visible: 1;
|
||||
}
|
||||
desc { "hid"; hid;
|
||||
image.normal: "separator_horiz.png";
|
||||
visible: 0;
|
||||
link.base: "e,state,buttons,off" "e";
|
||||
}
|
||||
}
|
||||
part { name: "e.swallow.icon"; type: SWALLOW;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
align: 0.0 0.5;
|
||||
rel1.relative: 0.0 0.0;
|
||||
rel1.offset: 4 4;
|
||||
rel1.offset: 8 8;
|
||||
rel2.relative: 0.0 1.0;
|
||||
rel2.offset: -1 0;
|
||||
rel2.to_y: "button_spacer";
|
||||
fixed: 1 0;
|
||||
visible: 0;
|
||||
offscale;
|
||||
}
|
||||
description { state: "icon" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
|
@ -53,12 +44,14 @@ group { name: "e/widgets/dialog/main";
|
|||
}
|
||||
}
|
||||
part { name: "e.swallow.content"; type: SWALLOW;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
rel1.offset: 4 4;
|
||||
rel1.offset: 8 8;
|
||||
rel1.to_x: "base";
|
||||
rel2.to_x: "base";
|
||||
rel2.offset: -5 -1;
|
||||
rel2.offset: -9 -1;
|
||||
rel2.to_y: "button_spacer";
|
||||
offscale;
|
||||
}
|
||||
description { state: "icon" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
|
@ -67,11 +60,13 @@ group { name: "e/widgets/dialog/main";
|
|||
}
|
||||
}
|
||||
spacer { "button_spacer";
|
||||
scale: 1;
|
||||
desc {
|
||||
rel2.relative: 1.0 0.0;
|
||||
rel2.offset: -5 -8;
|
||||
rel2.offset: -9 -17;
|
||||
rel2.to_y: "e.swallow.buttons";
|
||||
link.base: "e,state,buttons,on" "e";
|
||||
offscale;
|
||||
}
|
||||
desc { "hid";
|
||||
link.base: "e,state,buttons,off" "e";
|
||||
|
@ -79,13 +74,15 @@ group { name: "e/widgets/dialog/main";
|
|||
}
|
||||
}
|
||||
part { name: "e.swallow.buttons"; type: SWALLOW;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
align: 0.5 1.0;
|
||||
rel1.relative: 0.0 1.0;
|
||||
rel1.offset: 4 -5;
|
||||
rel1.offset: 8 -9;
|
||||
rel2.relative: 1.0 1.0;
|
||||
rel2.offset: -5 -5;
|
||||
rel2.offset: -9 -9;
|
||||
fixed: 0 1;
|
||||
offscale;
|
||||
}
|
||||
desc { "hid"; hid; }
|
||||
}
|
||||
|
@ -109,7 +106,7 @@ group { name: "e/widgets/dialog/main";
|
|||
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";
|
||||
base: "font="FN" font_size=10 text_class=tb_plain align=center color=#a0a0a0 wrap=word";
|
||||
tag: "br" "\n";
|
||||
tag: "hilight" "+ font="FNBD" text_class=tb_light";
|
||||
}
|
||||
|
|
|
@ -13,7 +13,7 @@ group { name: "e/modules/conf_edgebindings/selection";
|
|||
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";
|
||||
base: "font="FN" font_size=10 text_class=tb_plain align=center color=#a0a0a0 wrap=word";
|
||||
tag: "br" "\n";
|
||||
tag: "hilight" "+ font="FNBD" text_class=tb_light";
|
||||
}
|
||||
|
@ -21,166 +21,113 @@ group { name: "e/modules/conf_edgebindings/selection";
|
|||
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;
|
||||
rel.to: "e.swallow.background";
|
||||
color: DARK_GREY_BG_COLOR;
|
||||
}
|
||||
}
|
||||
part { name: "pat";
|
||||
part { name: "e.swallow.background"; type: SWALLOW;
|
||||
scale: 1;
|
||||
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;
|
||||
min: 320 180;
|
||||
align: 0 0.5;
|
||||
rel1.offset: 4 4;
|
||||
rel1.offset: 2 2;
|
||||
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_square.png";
|
||||
image.border: 6 6 6 6;
|
||||
fill.smooth: 0;
|
||||
fixed: 1 1;
|
||||
rel2.offset: -3 -3;
|
||||
offscale;
|
||||
}
|
||||
}
|
||||
part { name: "e.text.selection"; type: TEXT; mouse_events: 0;
|
||||
effect: SHADOW BOTTOM;
|
||||
description { state: "default" 0.0;
|
||||
rel.to: "e.swallow.background";
|
||||
rel1.relative: 0.5 0.5;
|
||||
rel1.to: "e.swallow.background";
|
||||
rel2.relative: 0.5 0.5;
|
||||
rel2.to: "e.swallow.background";
|
||||
color: FN_COL_DEFAULT;
|
||||
color_class: "label_text";
|
||||
color: 255 255 255 255;
|
||||
fixed: 1 1;
|
||||
text { font: FN; size: 10;
|
||||
text { font: FNBD; size: 10;
|
||||
text_class: "label";
|
||||
min: 1 1;
|
||||
ellipsis: -1;
|
||||
}
|
||||
}
|
||||
}
|
||||
part { name: "shadow"; mouse_events: 0;
|
||||
part { name: "e.edge.left"; type: RECT;
|
||||
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";
|
||||
rel.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;
|
||||
max: 5 99999;
|
||||
color: 51 153 255 255;
|
||||
}
|
||||
}
|
||||
part { name: "e.edge.right";
|
||||
part { name: "e.edge.right"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "e.swallow.background";
|
||||
rel.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;
|
||||
max: 5 99999;
|
||||
color: 51 153 255 255;
|
||||
}
|
||||
}
|
||||
part { name: "e.edge.top";
|
||||
part { name: "e.edge.top"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "e.swallow.background";
|
||||
rel.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;
|
||||
max: 99999 5;
|
||||
color: 51 153 255 255;
|
||||
}
|
||||
}
|
||||
part { name: "e.edge.bottom";
|
||||
part { name: "e.edge.bottom"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "e.swallow.background";
|
||||
rel.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;
|
||||
max: 99999 5;
|
||||
color: 51 153 255 255;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
part { name: "e.edge.top_left";
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "e.swallow.background";
|
||||
rel2.to: "e.swallow.background";
|
||||
rel.to: "e.swallow.background";
|
||||
max: 10 10;
|
||||
image.normal: "mini_blue_glow_arrow_2.png";
|
||||
align: 0.0 0.0;
|
||||
color: 51 153 255 255;
|
||||
}
|
||||
}
|
||||
part { name: "e.edge.top_right";
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "e.swallow.background";
|
||||
rel2.to: "e.swallow.background";
|
||||
rel.to: "e.swallow.background";
|
||||
max: 10 10;
|
||||
image.normal: "mini_blue_glow_arrow_3.png";
|
||||
align: 1.0 0.0;
|
||||
color: 51 153 255 255;
|
||||
}
|
||||
}
|
||||
part { name: "e.edge.bottom_right";
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "e.swallow.background";
|
||||
rel2.to: "e.swallow.background";
|
||||
rel.to: "e.swallow.background";
|
||||
max: 10 10;
|
||||
image.normal: "mini_blue_glow_arrow_0.png";
|
||||
align: 1.0 1.0;
|
||||
color: 51 153 255 255;
|
||||
}
|
||||
}
|
||||
part { name: "e.edge.bottom_left";
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "e.swallow.background";
|
||||
rel2.to: "e.swallow.background";
|
||||
rel.to: "e.swallow.background";
|
||||
max: 10 10;
|
||||
image.normal: "mini_blue_glow_arrow_1.png";
|
||||
align: 0.0 1.0;
|
||||
color: 51 153 255 255;
|
||||
}
|
||||
}
|
||||
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 {
|
||||
|
|
|
@ -13,7 +13,6 @@ Group: efl/bg (@since 1.23)
|
|||
|
||||
group { "efl/bg";
|
||||
data.item: "version" "123";
|
||||
images.image: "bevel_dark_out.png" COMP;
|
||||
parts {
|
||||
part { name: "clipper"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
|
@ -21,7 +20,6 @@ group { "efl/bg";
|
|||
}
|
||||
part { name: "base"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
color_class: "dialog_base";
|
||||
color: 64 64 64 255;
|
||||
}
|
||||
}
|
||||
|
@ -35,14 +33,6 @@ group { "efl/bg";
|
|||
fixed: 1 1;
|
||||
}
|
||||
}
|
||||
part { name: "bevel";
|
||||
description { state: "default" 0.0;
|
||||
image.normal: "bevel_dark_out.png";
|
||||
image.border: 1 1 1 1;
|
||||
image.middle: 0;
|
||||
fill.smooth: 0;
|
||||
}
|
||||
}
|
||||
part { name: "efl.content"; type: SWALLOW; required;
|
||||
description { state: "default" 0.0;
|
||||
}
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -26,145 +26,64 @@ Group: efl/button:anchor (@since 1.23)
|
|||
Signal: efl,text,set
|
||||
Signal: efl,text,unset
|
||||
*/
|
||||
group { name: "efl/button"; data.item: "version" "123";
|
||||
images.image: "button_normal.png" COMP;
|
||||
images.image: "button_clicked.png" COMP;
|
||||
|
||||
#undef ICON
|
||||
#define ICON 1
|
||||
#define LABEL 2
|
||||
#define MASK 3
|
||||
#define DISABLE 4
|
||||
#define PRESSED 8
|
||||
#define ICON 1
|
||||
#define LABEL 2
|
||||
#define MASK 3
|
||||
#define DISABLE 4
|
||||
#define PRESSED 8
|
||||
#define BACKGROUND 16
|
||||
|
||||
group { name: "efl/button";
|
||||
data.item: "version" "123";
|
||||
script {
|
||||
public btmode;
|
||||
public eval_mode(m) {
|
||||
new m1 = m & MASK;
|
||||
new d = m & DISABLE;
|
||||
new p = m & PRESSED;
|
||||
new bg = m & BACKGROUND;
|
||||
if (bg) {
|
||||
set_state(PART:"base", "hidden", 0.0);
|
||||
set_state(PART:"efl.background", "visible", 0.0);
|
||||
} else {
|
||||
set_state(PART:"efl.background", "default", 0.0);
|
||||
if (!d) {
|
||||
if (!p)
|
||||
{
|
||||
set_state(PART:"base", "default", 0.0);
|
||||
set_state(PART:"base", "default", 0.0);
|
||||
}
|
||||
else {
|
||||
set_state(PART:"base", "pressed", 0.0);
|
||||
}
|
||||
} else {
|
||||
set_state(PART:"base", "disabled", 0.0);
|
||||
}
|
||||
}
|
||||
if (m1 == (ICON | LABEL)) {
|
||||
if (!d) {
|
||||
set_state(PART:"efl.content", "visible", 0.0);
|
||||
set_state(PART:"sizer_content", "visible", 0.0);
|
||||
set_state(PART:"event", "default", 0.0);
|
||||
if (!p) {
|
||||
set_state(PART:"efl.text", "visible", 0.0);
|
||||
set_state(PART:"icon_clip", "default", 0.0);
|
||||
} else {
|
||||
set_state(PART:"efl.text", "pressed_visible", 0.0);
|
||||
set_state(PART:"icon_clip", "pressed", 0.0);
|
||||
}
|
||||
} else {
|
||||
set_state(PART:"efl.content", "visible", 0.0);
|
||||
set_state(PART:"sizer_content", "visible", 0.0);
|
||||
set_state(PART:"efl.text", "disabled_visible", 0.0);
|
||||
set_state(PART:"icon_clip", "disabled", 0.0);
|
||||
set_state(PART:"event", "disabled", 0.0);
|
||||
}
|
||||
} else if (m1 == (ICON)) {
|
||||
if (!d) {
|
||||
set_state(PART:"efl.content", "icononly", 0.0);
|
||||
set_state(PART:"sizer_content", "icononly", 0.0);
|
||||
set_state(PART:"event", "default", 0.0);
|
||||
set_state(PART:"efl.text", "default", 0.0);
|
||||
if (!p)
|
||||
set_state(PART:"icon_clip", "default", 0.0);
|
||||
else
|
||||
set_state(PART:"icon_clip", "pressed", 0.0);
|
||||
} else {
|
||||
set_state(PART:"efl.content", "icononly", 0.0);
|
||||
set_state(PART:"sizer_content", "icononly", 0.0);
|
||||
set_state(PART:"efl.text", "default", 0.0);
|
||||
set_state(PART:"icon_clip", "disabled", 0.0);
|
||||
set_state(PART:"event", "disabled", 0.0);
|
||||
}
|
||||
} else if (m1 == (LABEL)) {
|
||||
if (!d) {
|
||||
set_state(PART:"efl.content", "default", 0.0);
|
||||
set_state(PART:"sizer_content", "default", 0.0);
|
||||
set_state(PART:"icon_clip", "default", 0.0);
|
||||
set_state(PART:"event", "default", 0.0);
|
||||
if (!p)
|
||||
set_state(PART:"efl.text", "textonly", 0.0);
|
||||
else
|
||||
set_state(PART:"efl.text", "pressed_textonly", 0.0);
|
||||
} else {
|
||||
set_state(PART:"efl.content", "default", 0.0);
|
||||
set_state(PART:"sizer_content", "default", 0.0);
|
||||
set_state(PART:"efl.text", "disabled_textonly", 0.0);
|
||||
set_state(PART:"icon_clip", "disabled", 0.0);
|
||||
set_state(PART:"event", "disabled", 0.0);
|
||||
}
|
||||
} else {
|
||||
if (!d) {
|
||||
set_state(PART:"efl.content", "default", 0.0);
|
||||
set_state(PART:"sizer_content", "default", 0.0);
|
||||
set_state(PART:"icon_clip", "default", 0.0);
|
||||
set_state(PART:"event", "default", 0.0);
|
||||
} else {
|
||||
set_state(PART:"efl.content", "default", 0.0);
|
||||
set_state(PART:"sizer_content", "default", 0.0);
|
||||
set_state(PART:"icon_clip", "disabled", 0.0);
|
||||
set_state(PART:"event", "disabled", 0.0);
|
||||
}
|
||||
}
|
||||
}
|
||||
BUTTONMODE_SCRIPT2
|
||||
}
|
||||
images.image: "win_shadow.png" COMP;
|
||||
parts {
|
||||
image { "base";
|
||||
desc { "default";
|
||||
image.normal: "button_normal.png";
|
||||
image.border: 4 4 3 5;
|
||||
image.middle: SOLID;
|
||||
rel1.offset: -1 0;
|
||||
part { name: "shadow"; mouse_events: 0;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
rel.to: "base";
|
||||
WIN_SHADOW_SMALL;
|
||||
}
|
||||
description { state: "pressed" 0.0; inherit;
|
||||
image.border_scale_by: 0.1;
|
||||
rel1.offset: -2 -1;
|
||||
rel2.offset: 0 1;
|
||||
fill.smooth: 0;
|
||||
color_class: "button_bg";
|
||||
}
|
||||
desc { "pressed";
|
||||
inherit: "default";
|
||||
image.normal: "button_clicked.png";
|
||||
image.border: 5 5 4 6;
|
||||
color_class: "button_bg_pressed";
|
||||
description { state: "disabled" 0.0; inherit;
|
||||
image.border_scale_by: 0.1;
|
||||
rel1.offset: -2 -1;
|
||||
rel2.offset: 0 1;
|
||||
}
|
||||
desc { "disabled";
|
||||
inherit: "default";
|
||||
color_class: "button_bg_disabled";
|
||||
}
|
||||
rect { "base";
|
||||
scale: 1;
|
||||
desc { "default";
|
||||
color: 96 96 96 255;
|
||||
rel1.offset: 2 2;
|
||||
rel2.offset: -3 -3;
|
||||
offscale;
|
||||
}
|
||||
desc { "hidden";
|
||||
inherit: "default";
|
||||
desc { "pressed"; inherit;
|
||||
color: 128 128 128 255;
|
||||
rel1.offset: 3 3;
|
||||
rel2.offset: -4 -4;
|
||||
offscale;
|
||||
}
|
||||
desc { "disabled"; inherit;
|
||||
color: 72 72 72 255;
|
||||
}
|
||||
desc { "hidden"; inherit;
|
||||
visible: 0;
|
||||
}
|
||||
}
|
||||
swallow { "efl.background"; nomouse;
|
||||
required;
|
||||
swallow { "efl.background"; nomouse; required;
|
||||
desc { "default";
|
||||
rel1.to: "base";
|
||||
rel2.to: "base";
|
||||
rel.to: "base";
|
||||
visible: 0;
|
||||
}
|
||||
desc { "visible";
|
||||
inherit: "default";
|
||||
desc { "visible"; inherit;
|
||||
visible: 1;
|
||||
}
|
||||
}
|
||||
|
@ -172,290 +91,224 @@ group { name: "efl/button"; data.item: "version" "123";
|
|||
desc { "default";
|
||||
color_class: "button_icon";
|
||||
}
|
||||
desc { "pressed";
|
||||
inherit: "default";
|
||||
desc { "pressed"; inherit;
|
||||
color_class: "button_icon_pressed";
|
||||
}
|
||||
desc { "disabled";
|
||||
inherit: "default";
|
||||
desc { "disabled"; inherit;
|
||||
color_class: "button_icon_disabled";
|
||||
}
|
||||
}
|
||||
swallow { "efl.content"; nomouse;
|
||||
swallow { "efl.content"; nomouse; required;
|
||||
clip_to: "icon_clip";
|
||||
required;
|
||||
scale: 1;
|
||||
desc { "default";
|
||||
fixed: 1 0;
|
||||
align: 0.0 0.5;
|
||||
rel1.offset: 6 5;
|
||||
rel1.to: "base";
|
||||
rel1.offset: 6 6;
|
||||
rel2.relative: 0.0 1.0;
|
||||
rel2.offset: 6 -8;
|
||||
rel2.to: "base";
|
||||
rel2.offset: 6 -7;
|
||||
visible: 0;
|
||||
offscale;
|
||||
}
|
||||
desc { "visible";
|
||||
inherit: "default";
|
||||
desc { "visible"; inherit;
|
||||
fixed: 1 0;
|
||||
aspect: 1.0 1.0;
|
||||
visible: 1;
|
||||
}
|
||||
desc { "icononly";
|
||||
inherit: "default";
|
||||
desc { "icononly"; inherit;
|
||||
fixed: 0 0;
|
||||
align: 0.5 0.5;
|
||||
rel2.relative: 1.0 1.0;
|
||||
rel2.offset: -7 -8;
|
||||
rel2.offset: -5 -5;
|
||||
visible: 1;
|
||||
}
|
||||
}
|
||||
text { "sizer_content"; nomouse;
|
||||
scale: 1;
|
||||
desc { "default";
|
||||
// fixed: 1 1;
|
||||
fixed: 1 1;
|
||||
visible: 0;
|
||||
text { font: FN; size: 10;
|
||||
min: 0 0;
|
||||
text_class: "button_text";
|
||||
}
|
||||
}
|
||||
desc { "visible";
|
||||
inherit: "default";
|
||||
rel1.to: "efl.content";
|
||||
rel2.to: "efl.content";
|
||||
desc { "visible"; inherit;
|
||||
rel.to: "efl.content";
|
||||
text {
|
||||
min: 1 1;
|
||||
ellipsis: -1;
|
||||
text: "M";
|
||||
text: SPACER_TEXT;
|
||||
}
|
||||
}
|
||||
desc { "icononly";
|
||||
inherit: "default";
|
||||
rel1.to: "efl.content";
|
||||
rel2.to: "efl.content";
|
||||
desc { "icononly"; inherit;
|
||||
fixed: 0 0;
|
||||
rel.to: "efl.content";
|
||||
text {
|
||||
min: 1 1;
|
||||
ellipsis: -1;
|
||||
text: "M";
|
||||
text: SPACER_TEXT;
|
||||
}
|
||||
}
|
||||
}
|
||||
text { "efl.text"; nomouse;
|
||||
effect: SHADOW BOTTOM;
|
||||
scale;
|
||||
required;
|
||||
text { "efl.text"; nomouse; required;
|
||||
scale: 1;
|
||||
desc { "default";
|
||||
rel1.offset: 0 5;
|
||||
fixed: 0 0;
|
||||
color: 192 192 192 255;
|
||||
rel1.offset: 0 6;
|
||||
rel1.relative: 1.0 0.0;
|
||||
rel1.to_x: "efl.content";
|
||||
rel1.to_y: "base";
|
||||
rel2.offset: -8 -8;
|
||||
rel2.to: "base";
|
||||
color_class: "button_text";
|
||||
color3: 255 255 255 255;
|
||||
rel2.offset: -7 -7;
|
||||
text { font: FN; size: 10;
|
||||
align: 0.5 0.5;
|
||||
min: 0 0;
|
||||
text_class: "button";
|
||||
}
|
||||
visible: 0;
|
||||
fixed: 1 1;
|
||||
offscale;
|
||||
}
|
||||
desc { "visible";
|
||||
inherit: "default";
|
||||
rel1.offset: 2 5;
|
||||
desc { "visible"; inherit;
|
||||
fixed: 0 0;
|
||||
rel1.offset: 6 6;
|
||||
text.min: 1 1;
|
||||
text.ellipsis: -1;
|
||||
visible: 1;
|
||||
fixed: 0 0;
|
||||
}
|
||||
desc { "pressed_visible";
|
||||
inherit: "default";
|
||||
rel1.offset: 2 5;
|
||||
desc { "pressed_visible"; inherit;
|
||||
fixed: 0 0;
|
||||
color: 255 255 255 255;
|
||||
rel1.offset: 6 6;
|
||||
text.min: 1 1;
|
||||
text.ellipsis: -1;
|
||||
visible: 1;
|
||||
fixed: 0 0;
|
||||
color_class: "button_text_pressed";
|
||||
}
|
||||
desc { "textonly";
|
||||
inherit: "default";
|
||||
desc { "textonly"; inherit;
|
||||
fixed: 0 0;
|
||||
text.min: 1 1;
|
||||
text.ellipsis: -1;
|
||||
visible: 1;
|
||||
fixed: 0 0;
|
||||
}
|
||||
desc { "pressed_textonly";
|
||||
inherit: "default";
|
||||
desc { "pressed_textonly"; inherit;
|
||||
fixed: 0 0;
|
||||
color: 255 255 255 255;
|
||||
text.min: 1 1;
|
||||
text.ellipsis: -1;
|
||||
visible: 1;
|
||||
fixed: 0 0;
|
||||
color_class: "button_text_pressed";
|
||||
}
|
||||
desc { "disabled_visible";
|
||||
inherit: "default";
|
||||
rel1.offset: 2 5;
|
||||
color_class: "button_text_disabled";
|
||||
color3: 255 255 255 255;
|
||||
desc { "disabled_visible"; inherit;
|
||||
fixed: 0 0;
|
||||
color: 96 96 96 255;
|
||||
rel1.offset: 6 6;
|
||||
text.min: 1 1;
|
||||
text.ellipsis: -1;
|
||||
visible: 1;
|
||||
fixed: 0 0;
|
||||
}
|
||||
desc { "disabled_textonly";
|
||||
inherit: "default";
|
||||
color_class: "button_text_disabled";
|
||||
color3: 255 255 255 255;
|
||||
desc { "disabled_textonly"; inherit;
|
||||
fixed: 0 0;
|
||||
color: 96 96 96 255;
|
||||
text.min: 1 1;
|
||||
text.ellipsis: -1;
|
||||
visible: 1;
|
||||
fixed: 0 0;
|
||||
}
|
||||
}
|
||||
rect { "event";
|
||||
ignore_flags: ON_HOLD;
|
||||
desc { "default";
|
||||
color: 0 0 0 0;
|
||||
}
|
||||
desc { "disabled";
|
||||
inherit: "default";
|
||||
desc { "disabled"; inherit;
|
||||
visible: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
programs {
|
||||
EFL_UI_CLICKABLE_PART_BIND("event")
|
||||
program {
|
||||
signal: "mouse,down,1"; source: "event";
|
||||
program { signal: "mouse,down,1"; source: "event";
|
||||
after: "button_click_anim";
|
||||
}
|
||||
program { name: "button_click_anim";
|
||||
script {
|
||||
new m = get_int(btmode);
|
||||
m |= PRESSED; set_int(btmode, m);
|
||||
eval_mode(m);
|
||||
}
|
||||
script { flag_set(PRESSED); }
|
||||
}
|
||||
program { name: "button_unclick";
|
||||
signal: "mouse,up,1"; source: "event";
|
||||
after: "button_unclick_anim";
|
||||
}
|
||||
program { name: "button_unclick_anim";
|
||||
script {
|
||||
new m = get_int(btmode);
|
||||
m &= ~PRESSED; set_int(btmode, m);
|
||||
eval_mode(m);
|
||||
}
|
||||
script { flag_unset(PRESSED); }
|
||||
}
|
||||
program { name: "buttonactivate";
|
||||
signal: "efl,state,animation,activated"; source: "efl";
|
||||
program { signal: "efl,state,animation,activated"; source: "efl";
|
||||
action: STATE_SET "pressed" 0.0;
|
||||
target: "shadow";
|
||||
target: "base";
|
||||
after: "button_unpressed_anim";
|
||||
}
|
||||
program { name: "button_unpressed_anim";
|
||||
action: STATE_SET "default" 0.0;
|
||||
in: 0.5 0.0;
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "shadow";
|
||||
target: "base";
|
||||
}
|
||||
program { name: "button_text_visible";
|
||||
signal: "efl,text,set"; source: "efl";
|
||||
script {
|
||||
new m = get_int(btmode);
|
||||
m |= LABEL; set_int(btmode, m);
|
||||
eval_mode(m);
|
||||
}
|
||||
program { signal: "efl,text,set"; source: "efl";
|
||||
script { flag_set(LABEL); }
|
||||
}
|
||||
program { name: "button_text_hidden";
|
||||
signal: "efl,text,unset"; source: "efl";
|
||||
script {
|
||||
new m = get_int(btmode);
|
||||
m &= ~LABEL; set_int(btmode, m);
|
||||
eval_mode(m);
|
||||
}
|
||||
program { signal: "efl,text,unset"; source: "efl";
|
||||
script { flag_unset(LABEL); }
|
||||
}
|
||||
program { name: "button_icon_visible";
|
||||
signal: "efl,content,set"; source: "efl";
|
||||
script {
|
||||
new m = get_int(btmode);
|
||||
m |= ICON; set_int(btmode, m);
|
||||
eval_mode(m);
|
||||
}
|
||||
program { signal: "efl,content,set"; source: "efl";
|
||||
script { flag_set(ICON); }
|
||||
}
|
||||
program { name: "button_icon_hidden";
|
||||
signal: "efl,content,unset"; source: "efl";
|
||||
script {
|
||||
new m = get_int(btmode);
|
||||
m &= ~ICON; set_int(btmode, m);
|
||||
eval_mode(m);
|
||||
}
|
||||
program { signal: "efl,content,unset"; source: "efl";
|
||||
script { flag_unset(ICON); }
|
||||
}
|
||||
program { name: "button_background_visible";
|
||||
signal: "efl,state,background,set"; source: "efl";
|
||||
script {
|
||||
new m = get_int(btmode);
|
||||
m |= BACKGROUND; set_int(btmode, m);
|
||||
eval_mode(m);
|
||||
}
|
||||
program { signal: "efl,state,background,set"; source: "efl";
|
||||
script { flag_set(BACKGROUND); }
|
||||
}
|
||||
program { name: "button_background_hidden";
|
||||
signal: "efl,state,background,unset"; source: "efl";
|
||||
script {
|
||||
new m = get_int(btmode);
|
||||
m &= ~BACKGROUND; set_int(btmode, m);
|
||||
eval_mode(m);
|
||||
}
|
||||
program { signal: "efl,state,background,unset"; source: "efl";
|
||||
script { flag_unset(BACKGROUND); }
|
||||
}
|
||||
program { name: "button_state_disabled";
|
||||
signal: "efl,state,disabled"; source: "efl";
|
||||
script {
|
||||
new m = get_int(btmode);
|
||||
m |= DISABLE; set_int(btmode, m);
|
||||
eval_mode(m);
|
||||
}
|
||||
program { signal: "efl,state,disabled"; source: "efl";
|
||||
script { flag_set(DISABLE); }
|
||||
}
|
||||
program { name: "button_state_enabled";
|
||||
signal: "efl,state,enabled"; source: "efl";
|
||||
script {
|
||||
new m = get_int(btmode);
|
||||
m &= ~DISABLE; set_int(btmode, m);
|
||||
eval_mode(m);
|
||||
}
|
||||
program { signal: "efl,state,enabled"; source: "efl";
|
||||
script { flag_unset(DISABLE); }
|
||||
}
|
||||
}
|
||||
#undef ICON
|
||||
#undef LABEL
|
||||
#undef MASK
|
||||
#undef DISABLE
|
||||
#undef PRESSED
|
||||
#undef BACKGROUND
|
||||
}
|
||||
|
||||
group { name: "efl/button:anchor"; data.item: "version" "123";
|
||||
images.image: "horizontal_separated_bar_small_glow.png" COMP;
|
||||
#define ICON 1
|
||||
#define LABEL 2
|
||||
#define MASK 3
|
||||
#define DISABLE 4
|
||||
group { name: "efl/button:anchor";
|
||||
data.item: "version" "123";
|
||||
script {
|
||||
public btmode;
|
||||
public eval_mode(m) {
|
||||
new m1 = m & MASK;
|
||||
new d = m & DISABLE;
|
||||
new p = m & PRESSED;
|
||||
if (!d) {
|
||||
if (!p) {
|
||||
set_state(PART:"bar", "default", 0.0);
|
||||
}
|
||||
else {
|
||||
set_state(PART:"bar", "pressed", 0.0);
|
||||
}
|
||||
} else {
|
||||
set_state(PART:"bar", "disabled", 0.0);
|
||||
}
|
||||
if (m1 == (ICON | LABEL)) {
|
||||
if (!d) {
|
||||
set_state(PART:"efl.content", "visible", 0.0);
|
||||
set_state(PART:"sizer_content", "visible", 0.0);
|
||||
set_state(PART:"efl.text", "visible", 0.0);
|
||||
if (!p) {
|
||||
set_state(PART:"efl.text", "visible", 0.0);
|
||||
} else {
|
||||
set_state(PART:"efl.text", "pressed_visible", 0.0);
|
||||
}
|
||||
set_state(PART:"icon_clip", "default", 0.0);
|
||||
set_state(PART:"bar", "default", 0.0);
|
||||
set_state(PART:"event", "default", 0.0);
|
||||
} else {
|
||||
set_state(PART:"efl.content", "visible", 0.0);
|
||||
set_state(PART:"sizer_content", "visible", 0.0);
|
||||
set_state(PART:"efl.text", "disabled_visible", 0.0);
|
||||
set_state(PART:"icon_clip", "disabled", 0.0);
|
||||
set_state(PART:"bar", "disabled", 0.0);
|
||||
set_state(PART:"event", "disabled", 0.0);
|
||||
}
|
||||
} else if (m1 == (ICON)) {
|
||||
|
@ -464,30 +317,30 @@ group { name: "efl/button:anchor"; data.item: "version" "123";
|
|||
set_state(PART:"sizer_content", "icononly", 0.0);
|
||||
set_state(PART:"efl.text", "default", 0.0);
|
||||
set_state(PART:"icon_clip", "default", 0.0);
|
||||
set_state(PART:"bar", "default", 0.0);
|
||||
set_state(PART:"event", "default", 0.0);
|
||||
} else {
|
||||
set_state(PART:"efl.content", "icononly", 0.0);
|
||||
set_state(PART:"sizer_content", "icononly", 0.0);
|
||||
set_state(PART:"efl.text", "default", 0.0);
|
||||
set_state(PART:"icon_clip", "disabled", 0.0);
|
||||
set_state(PART:"bar", "disabled", 0.0);
|
||||
set_state(PART:"event", "disabled", 0.0);
|
||||
}
|
||||
} else if (m1 == (LABEL)) {
|
||||
if (!d) {
|
||||
set_state(PART:"efl.content", "default", 0.0);
|
||||
set_state(PART:"sizer_content", "default", 0.0);
|
||||
set_state(PART:"efl.text", "textonly", 0.0);
|
||||
if (!p) {
|
||||
set_state(PART:"efl.text", "textonly", 0.0);
|
||||
} else {
|
||||
set_state(PART:"efl.text", "pressed_textonly", 0.0);
|
||||
}
|
||||
set_state(PART:"icon_clip", "default", 0.0);
|
||||
set_state(PART:"bar", "default", 0.0);
|
||||
set_state(PART:"event", "default", 0.0);
|
||||
} else {
|
||||
set_state(PART:"efl.content", "default", 0.0);
|
||||
set_state(PART:"sizer_content", "default", 0.0);
|
||||
set_state(PART:"efl.text", "disabled_textonly", 0.0);
|
||||
set_state(PART:"icon_clip", "disabled", 0.0);
|
||||
set_state(PART:"bar", "disabled", 0.0);
|
||||
set_state(PART:"event", "disabled", 0.0);
|
||||
}
|
||||
} else {
|
||||
|
@ -495,13 +348,11 @@ group { name: "efl/button:anchor"; data.item: "version" "123";
|
|||
set_state(PART:"efl.content", "default", 0.0);
|
||||
set_state(PART:"sizer_content", "default", 0.0);
|
||||
set_state(PART:"icon_clip", "default", 0.0);
|
||||
set_state(PART:"bar", "default", 0.0);
|
||||
set_state(PART:"event", "default", 0.0);
|
||||
} else {
|
||||
set_state(PART:"efl.content", "default", 0.0);
|
||||
set_state(PART:"sizer_content", "default", 0.0);
|
||||
set_state(PART:"icon_clip", "disabled", 0.0);
|
||||
set_state(PART:"bar", "disabled", 0.0);
|
||||
set_state(PART:"event", "disabled", 0.0);
|
||||
}
|
||||
}
|
||||
|
@ -512,6 +363,15 @@ group { name: "efl/button:anchor"; data.item: "version" "123";
|
|||
desc { "default";
|
||||
color: 0 0 0 0;
|
||||
}
|
||||
desc { "pressed"; inherit;
|
||||
inherit: "default";
|
||||
}
|
||||
desc { "disabled"; inherit;
|
||||
inherit: "default";
|
||||
}
|
||||
desc { "hidden"; inherit;
|
||||
inherit: "default";
|
||||
}
|
||||
}
|
||||
rect { "icon_clip";
|
||||
desc { "default";
|
||||
|
@ -523,8 +383,7 @@ group { name: "efl/button:anchor"; data.item: "version" "123";
|
|||
}
|
||||
swallow { "efl.background"; nomouse; required;
|
||||
desc { "default";
|
||||
rel1.to: "base";
|
||||
rel2.to: "base";
|
||||
rel.to: "base";
|
||||
visible: 0;
|
||||
}
|
||||
desc { "visible";
|
||||
|
@ -537,10 +396,10 @@ group { name: "efl/button:anchor"; data.item: "version" "123";
|
|||
desc { "default";
|
||||
fixed: 1 0;
|
||||
align: 0.0 0.5;
|
||||
rel1.offset: 0 4;
|
||||
rel1.offset: 4 4;
|
||||
rel1.to: "base";
|
||||
rel2.relative: 0.0 1.0;
|
||||
rel2.offset: 0 -5;
|
||||
rel2.offset: 4 -5;
|
||||
rel2.to: "base";
|
||||
visible: 0;
|
||||
}
|
||||
|
@ -555,141 +414,116 @@ group { name: "efl/button:anchor"; data.item: "version" "123";
|
|||
fixed: 0 0;
|
||||
align: 0.5 0.5;
|
||||
rel2.relative: 1.0 1.0;
|
||||
rel2.offset: -1 -5;
|
||||
rel2.offset: -5 -5;
|
||||
visible: 1;
|
||||
}
|
||||
}
|
||||
text { "sizer_content"; nomouse;
|
||||
scale: 1;
|
||||
desc { "default";
|
||||
fixed: 1 1;
|
||||
visible: 0;
|
||||
text { font: FN; size: 10;
|
||||
min: 0 0;
|
||||
text_class: "button_text";
|
||||
}
|
||||
}
|
||||
desc { "visible";
|
||||
inherit: "default";
|
||||
rel1.to: "efl.content";
|
||||
rel2.to: "efl.content";
|
||||
desc { "visible"; inherit;
|
||||
rel.to: "efl.content";
|
||||
text {
|
||||
min: 1 1;
|
||||
ellipsis: -1;
|
||||
text: "M";
|
||||
text: SPACER_TEXT;
|
||||
}
|
||||
}
|
||||
desc { "icononly";
|
||||
inherit: "default";
|
||||
rel1.to: "efl.content";
|
||||
rel2.to: "efl.content";
|
||||
desc { "icononly"; inherit;
|
||||
fixed: 0 0;
|
||||
rel.to: "efl.content";
|
||||
text {
|
||||
min: 1 1;
|
||||
ellipsis: -1;
|
||||
text: "M";
|
||||
text: SPACER_TEXT;
|
||||
}
|
||||
}
|
||||
}
|
||||
text { "efl.text"; nomouse;
|
||||
effect: GLOW;
|
||||
text { "efl.text"; nomouse; required;
|
||||
scale: 1;
|
||||
desc { "default";
|
||||
rel1.offset: -2 0;
|
||||
rel1.offset: 0 4;
|
||||
rel1.relative: 1.0 0.0;
|
||||
rel1.to_x: "efl.content";
|
||||
rel1.to_y: "base";
|
||||
rel2.offset: -1 -1;
|
||||
rel2.offset: -5 -5;
|
||||
rel2.to: "base";
|
||||
color_class: "button_text_anchor";
|
||||
color2: 255 255 255 255;
|
||||
color3: 255 255 255 255;
|
||||
color: 51 153 255 255;
|
||||
text { font: FN; size: 10;
|
||||
align: 0.5 0.5;
|
||||
min: 0 0;
|
||||
text_class: "button_anchor";
|
||||
}
|
||||
visible: 0;
|
||||
}
|
||||
desc { "visible";
|
||||
inherit: "default";
|
||||
rel1.offset: 0 0;
|
||||
rel1.offset: 4 4;
|
||||
text.min: 1 1;
|
||||
text.ellipsis: -1;
|
||||
visible: 1;
|
||||
}
|
||||
desc { "textonly";
|
||||
desc { "pressed_visible";
|
||||
inherit: "default";
|
||||
color: 255 255 255 255;
|
||||
rel1.offset: 4 4;
|
||||
text.min: 1 1;
|
||||
text.ellipsis: -1;
|
||||
visible: 1;
|
||||
fixed: 0 0;
|
||||
}
|
||||
desc { "textonly";
|
||||
inherit: "default";
|
||||
rel1.offset: 0 4;
|
||||
text.min: 1 1;
|
||||
text.ellipsis: -1;
|
||||
visible: 1;
|
||||
}
|
||||
desc { "pressed_textonly";
|
||||
inherit: "default";
|
||||
color: 255 255 255 255;
|
||||
text.min: 1 1;
|
||||
text.ellipsis: -1;
|
||||
visible: 1;
|
||||
fixed: 0 0;
|
||||
}
|
||||
desc { "disabled_visible";
|
||||
inherit: "default";
|
||||
rel1.offset: 0 0;
|
||||
color_class: "button_text_anchor_disabled";
|
||||
color: 96 96 96 255;
|
||||
text.min: 1 1;
|
||||
text.ellipsis: -1;
|
||||
visible: 1;
|
||||
}
|
||||
desc { "disabled_textonly";
|
||||
inherit: "default";
|
||||
color_class: "button_text_anchor_disabled";
|
||||
rel1.offset: 0 4;
|
||||
color: 96 96 96 255;
|
||||
text.min: 1 1;
|
||||
text.ellipsis: -1;
|
||||
visible: 1;
|
||||
}
|
||||
}
|
||||
text { "text2"; nomouse;
|
||||
effect: GLOW;
|
||||
scale: 1;
|
||||
rect { "bar"; nomouse;
|
||||
desc { "default";
|
||||
fixed: 1 1;
|
||||
rel1.to: "efl.text";
|
||||
rel2.to: "efl.text";
|
||||
color_class: "button_text_anchor";
|
||||
color2: 255 255 255 255;
|
||||
color3: 255 255 255 255;
|
||||
text { font: FN; size: 10;
|
||||
text_source: "efl.text";
|
||||
min: 1 1;
|
||||
ellipsis: -1;
|
||||
text_class: "button_anchor";
|
||||
}
|
||||
visible: 0;
|
||||
}
|
||||
desc { "clicked";
|
||||
inherit: "default";
|
||||
visible: 1;
|
||||
}
|
||||
}
|
||||
image { "bar"; nomouse;
|
||||
desc { "default";
|
||||
image.normal: "horizontal_separated_bar_small_glow.png";
|
||||
image.border: 4 4 4 4;
|
||||
fill.smooth: 0;
|
||||
fixed: 0 1;
|
||||
color: 51 153 255 255;
|
||||
rel1.relative: 0.0 1.0;
|
||||
rel1.offset: -3 -6;
|
||||
rel2.offset: 2 3;
|
||||
rel1.offset: 2 -3;
|
||||
rel2.offset: -3 -3;
|
||||
}
|
||||
desc { "pressed";
|
||||
inherit: "default";
|
||||
color: 255 255 255 255;
|
||||
}
|
||||
desc { "disabled";
|
||||
inherit: "default";
|
||||
color: 255 255 255 64;
|
||||
}
|
||||
}
|
||||
image { "bar2"; nomouse;
|
||||
desc { "default";
|
||||
image.normal: "horizontal_separated_bar_small_glow.png";
|
||||
image.border: 4 4 4 4;
|
||||
fill.smooth: 0;
|
||||
rel1.to: "bar";
|
||||
rel2.to: "bar";
|
||||
color: 255 255 255 0;
|
||||
visible: 0;
|
||||
}
|
||||
desc { "clicked";
|
||||
inherit: "default";
|
||||
color: 255 255 255 255;
|
||||
visible: 1;
|
||||
color: 96 96 96 255;
|
||||
}
|
||||
}
|
||||
rect { "event";
|
||||
|
@ -704,89 +538,80 @@ group { name: "efl/button:anchor"; data.item: "version" "123";
|
|||
}
|
||||
programs {
|
||||
EFL_UI_CLICKABLE_PART_BIND("event")
|
||||
program {
|
||||
signal: "mouse,down,1"; source: "event";
|
||||
program { signal: "mouse,down,1"; source: "event";
|
||||
after: "button_click_anim";
|
||||
}
|
||||
program { name: "button_click_anim";
|
||||
action: STATE_SET "clicked" 0.0;
|
||||
target: "bar2";
|
||||
target: "text2";
|
||||
script {
|
||||
new m = get_int(btmode);
|
||||
m |= PRESSED; set_int(btmode, m);
|
||||
eval_mode(m);
|
||||
}
|
||||
}
|
||||
program {
|
||||
signal: "mouse,up,1"; source: "event";
|
||||
program { signal: "mouse,up,1"; source: "event";
|
||||
after: "button_unclick_anim";
|
||||
}
|
||||
program { name: "button_unclick_anim";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "bar2";
|
||||
target: "text2";
|
||||
script {
|
||||
new m = get_int(btmode);
|
||||
m &= ~PRESSED; set_int(btmode, m);
|
||||
eval_mode(m);
|
||||
}
|
||||
}
|
||||
program {
|
||||
signal: "efl,state,animation,activated"; source: "efl";
|
||||
action: STATE_SET "clicked" 0.0;
|
||||
target: "bar2";
|
||||
target: "text2";
|
||||
program { signal: "efl,state,animation,activated"; source: "efl";
|
||||
action: STATE_SET "pressed" 0.0;
|
||||
target: "base";
|
||||
after: "button_unpressed_anim";
|
||||
}
|
||||
program { name: "button_unpressed_anim";
|
||||
action: STATE_SET "default" 0.0;
|
||||
in: 0.5 0.0;
|
||||
target: "bar2";
|
||||
target: "text2";
|
||||
target: "base";
|
||||
}
|
||||
program { name: "button_text_visible";
|
||||
signal: "efl,text,set"; source: "efl";
|
||||
program { signal: "efl,text,set"; source: "efl";
|
||||
script {
|
||||
new m = get_int(btmode);
|
||||
m |= LABEL; set_int(btmode, m);
|
||||
eval_mode(m);
|
||||
}
|
||||
}
|
||||
program { name: "button_text_hidden";
|
||||
signal: "efl,text,unset"; source: "efl";
|
||||
program { signal: "efl,text,unset"; source: "efl";
|
||||
script {
|
||||
new m = get_int(btmode);
|
||||
m &= ~LABEL; set_int(btmode, m);
|
||||
eval_mode(m);
|
||||
}
|
||||
}
|
||||
program { name: "button_icon_visible";
|
||||
signal: "efl,content,set"; source: "efl";
|
||||
program { signal: "efl,content,set"; source: "efl";
|
||||
script {
|
||||
new m = get_int(btmode);
|
||||
m |= ICON; set_int(btmode, m);
|
||||
eval_mode(m);
|
||||
}
|
||||
}
|
||||
program { name: "button_icon_hidden";
|
||||
signal: "efl,content,unset"; source: "efl";
|
||||
program { signal: "efl,content,unset"; source: "efl";
|
||||
script {
|
||||
new m = get_int(btmode);
|
||||
m &= ~ICON; set_int(btmode, m);
|
||||
eval_mode(m);
|
||||
}
|
||||
}
|
||||
program { name: "button_background_visible";
|
||||
signal: "efl,state,background,set"; source: "efl";
|
||||
program { signal: "efl,state,background,set"; source: "efl";
|
||||
action: STATE_SET "visible" 0.0;
|
||||
target: "efl.background";
|
||||
}
|
||||
program { name: "button_background_hidden";
|
||||
signal: "efl,state,background,unset"; source: "efl";
|
||||
program { signal: "efl,state,background,unset"; source: "efl";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "efl.background";
|
||||
}
|
||||
program { name: "button_state_disabled";
|
||||
signal: "efl,state,disabled"; source: "efl";
|
||||
program { signal: "efl,state,disabled"; source: "efl";
|
||||
script {
|
||||
new m = get_int(btmode);
|
||||
m |= DISABLE; set_int(btmode, m);
|
||||
eval_mode(m);
|
||||
}
|
||||
}
|
||||
program { name: "button_state_enabled";
|
||||
signal: "efl,state,enabled"; source: "efl";
|
||||
program { signal: "efl,state,enabled"; source: "efl";
|
||||
script {
|
||||
new m = get_int(btmode);
|
||||
m &= ~DISABLE; set_int(btmode, m);
|
||||
|
@ -794,8 +619,4 @@ group { name: "efl/button:anchor"; data.item: "version" "123";
|
|||
}
|
||||
}
|
||||
}
|
||||
#undef ICON
|
||||
#undef LABEL
|
||||
#undef MASK
|
||||
#undef DISABLE
|
||||
}
|
||||
|
|
|
@ -1,12 +1,21 @@
|
|||
#define CIT_STYLE\
|
||||
#define CIT_STYLES\
|
||||
style { name: "efl_ui_calendar_date_style";\
|
||||
base: "font="FN" font_size=10 color=#ffffff style=shadow,bottom shadow_color=#00000080 align=center text_class=calendar_day_text color_class=calendar_day_text";\
|
||||
base: "font="FN" font_size=10 color=#a0a0a0 align=center text_class=calendar_day_text";\
|
||||
}\
|
||||
style { name: "efl_ui_calendar_date_holiday_style";\
|
||||
base: "font="FN" font_size=10 color=#3399ff align=center text_class=calendar_day_text_holiday";\
|
||||
}\
|
||||
style { name: "efl_ui_calendar_date_today_style";\
|
||||
base: "font="FN" font_size=10 color=#3399ff style=glow glow_color=#3399ff18 align=center text_class=calendar_day_text_today color_class=calendar_day_text_today";\
|
||||
base: "font="FN" font_size=10 color=#ffffff align=center text_class=calendar_day_text_today";\
|
||||
}\
|
||||
style { name: "efl_ui_calendar_date_disabled_style";\
|
||||
base: "font="FN" font_size=10 color=#151515 style=shadow,bottom shadow_color=#ffffffc0 align=center text_class=calendar_day_text_disabled text_class=calendar_day_text_disabled";\
|
||||
base: "font="FN" font_size=10 color=#282828 align=center text_class=calendar_day_text_disabled";\
|
||||
}\
|
||||
style { name: "efl_ui_calendar_date_weekend1_style";\
|
||||
base: "font="FN" font_size=10 color=#3399ff align=center text_class=calendar_day_text_weekend1";\
|
||||
}\
|
||||
style { name: "efl_ui_calendar_date_weekend2_style";\
|
||||
base: "font="FN" font_size=10 color=#3399ff align=center text_class=calendar_day_text_weekend2";\
|
||||
}\
|
||||
|
||||
#define CAL_SPIN(_sufix, _text, _relative)\
|
||||
|
@ -21,8 +30,8 @@
|
|||
offset: 0 -1;\
|
||||
}\
|
||||
align: 0.0 0.5;\
|
||||
min: 15 15;\
|
||||
max: 15 15;\
|
||||
min: 25 25;\
|
||||
max: 25 25;\
|
||||
}\
|
||||
}\
|
||||
part { name: "right_bt"#_sufix; type: RECT;\
|
||||
|
@ -36,125 +45,110 @@
|
|||
offset: -1 -1;\
|
||||
}\
|
||||
align: 1.0 0.5;\
|
||||
min: 15 15;\
|
||||
max: 15 15;\
|
||||
min: 25 25;\
|
||||
max: 25 25;\
|
||||
color: 0 0 0 0;\
|
||||
}\
|
||||
}\
|
||||
part { name: "efl.calendar.button"#_sufix".left";\
|
||||
type: SWALLOW;\
|
||||
part { name: "efl.calendar.button"#_sufix".left"; type: SWALLOW;\
|
||||
scale: 1;\
|
||||
description { state: "default" 0.0;\
|
||||
fixed: 1 1;\
|
||||
rel1.to: "left_bt"#_sufix;\
|
||||
rel2.to: "left_bt"#_sufix;\
|
||||
rel.to: "left_bt"#_sufix;\
|
||||
min: 15 15;\
|
||||
max: 15 15;\
|
||||
}\
|
||||
description { state: "rtl" 0.0;\
|
||||
inherit: "default" 0.0;\
|
||||
rel1.to: "right_bt"#_sufix;\
|
||||
rel2.to: "right_bt"#_sufix;\
|
||||
rel.to: "right_bt"#_sufix;\
|
||||
}\
|
||||
}\
|
||||
part { name: "efl.calendar.button"#_sufix".right";\
|
||||
type: SWALLOW;\
|
||||
part { name: "efl.calendar.button"#_sufix".right"; type: SWALLOW;\
|
||||
scale: 1;\
|
||||
description { state: "default" 0.0;\
|
||||
fixed: 1 1;\
|
||||
rel1.to: "right_bt"#_sufix;\
|
||||
rel2.to: "right_bt"#_sufix;\
|
||||
rel.to: "right_bt"#_sufix;\
|
||||
min: 15 15;\
|
||||
max: 15 15;\
|
||||
}\
|
||||
description { state: "rtl" 0.0;\
|
||||
inherit: "default" 0.0;\
|
||||
rel1.to: "left_bt"#_sufix;\
|
||||
rel2.to: "left_bt"#_sufix;\
|
||||
rel.to: "left_bt"#_sufix;\
|
||||
}\
|
||||
}\
|
||||
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;\
|
||||
offset: 8 8;\
|
||||
}\
|
||||
rel2 { relative: 0.0 1.0;\
|
||||
to: "right_bt"#_sufix;\
|
||||
offset: -9 -9;\
|
||||
}\
|
||||
offscale;\
|
||||
text { font: FNBD; size: 10;\
|
||||
min: 0 1;\
|
||||
text_class: "calendar_"#_text; \
|
||||
}\
|
||||
color_class: "calendar_"#_text; \
|
||||
color: 160 160 160 255; \
|
||||
}\
|
||||
}
|
||||
|
||||
#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"; \
|
||||
} \
|
||||
rel.to: "header";\
|
||||
rel1.relative: (_pos % 7 / 7) 0.0; \
|
||||
rel2.relative: (_pos % 7 / 7 + 1 / 7) 1.0; \
|
||||
} \
|
||||
} \
|
||||
part { name: "efl.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"; \
|
||||
rel.to: "ch_"#_pos"_base"; \
|
||||
rel1.offset: 0 3; \
|
||||
rel2.offset: -1 -4; \
|
||||
offscale;\
|
||||
text { font: FN; size: 8; \
|
||||
min: 1 1; \
|
||||
ellipsis: -1; \
|
||||
text_class: "calendar_weekday_text"; \
|
||||
} \
|
||||
color_class: "calendar_weekday_text"; \
|
||||
color: 160 160 160 255; \
|
||||
} \
|
||||
} \
|
||||
part { name: "ch_"#_pos"_clipper"; type: RECT; \
|
||||
description { state: "default" 0.0; \
|
||||
rel1.to: "ch_"#_pos"_base"; \
|
||||
rel2.to: "ch_"#_pos"_base"; \
|
||||
rel.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"; \
|
||||
} \
|
||||
rel.to: "base"; \
|
||||
rel1.relative: (_pos % 7 / 7) (_pos / 7 / 6 - _pos % 7 / 7 / 6); \
|
||||
rel2.relative: (_pos % 7 / 7 + 1 / 7) (_pos / 7 / 6 + 1 / 6 - _pos % 7 / 7 / 6); \
|
||||
} \
|
||||
} \
|
||||
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"; \
|
||||
rel.to: "cit_"#_pos"_rect"; \
|
||||
color: 0 0 0 0; \
|
||||
} \
|
||||
description { state: "today" 0.0; \
|
||||
inherit: "default" 0.0; \
|
||||
color: 0 0 0 64; \
|
||||
} \
|
||||
} \
|
||||
part { name: "cit_"#_pos"_pat"; mouse_events: 0; \
|
||||
part { name: "cit_"#_pos"_selected"; type: RECT; 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) \
|
||||
color_class: "calendar_day_selected"; \
|
||||
rel.to: "cit_"#_pos"_rect"; \
|
||||
color: 51 153 255 128; \
|
||||
visible: 0; \
|
||||
} \
|
||||
description { state: "selected" 0.0; \
|
||||
|
@ -162,13 +156,10 @@
|
|||
visible: 1; \
|
||||
} \
|
||||
} \
|
||||
part { name: "cit_"#_pos"_selected"; mouse_events: 0; \
|
||||
part { name: "cit_"#_pos"_focus"; type: RECT; 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; \
|
||||
color_class: "calendar_day_selected"; \
|
||||
rel.to: "cit_"#_pos"_rect"; \
|
||||
color: 255 153 51 128; \
|
||||
visible: 0; \
|
||||
} \
|
||||
description { state: "selected" 0.0; \
|
||||
|
@ -176,44 +167,20 @@
|
|||
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; \
|
||||
color: 255 255 255 128; \
|
||||
color_class: "calendar_day_highlighted"; \
|
||||
visible: 0; \
|
||||
} \
|
||||
description { state: "highlighted" 0.0; \
|
||||
inherit: "default" 0.0; \
|
||||
visible: 1; \
|
||||
} \
|
||||
} \
|
||||
part { name: "cit_"#_pos"_glow"; mouse_events: 0; \
|
||||
description { state: "default" 0.0; \
|
||||
rel1.to: "cit_"#_pos"_rect"; \
|
||||
rel2.to: "cit_"#_pos"_rect"; \
|
||||
image.normal: "box_glow.png"; \
|
||||
image.border: 12 12 12 12; \
|
||||
image.middle: 0; \
|
||||
fill.smooth: 0; \
|
||||
visible: 0; \
|
||||
} \
|
||||
description { state: "focused" 0.0; \
|
||||
inherit: "default" 0.0; \
|
||||
visible: 1; \
|
||||
} \
|
||||
} \
|
||||
part { name: "efl.cit_"#_pos".text"; type: TEXTBLOCK; mouse_events: 0; \
|
||||
scale: 1; \
|
||||
description { state: "default" 0.0; \
|
||||
rel1.to: "cit_"#_pos"_rect"; \
|
||||
rel2.to: "cit_"#_pos"_rect"; \
|
||||
rel.to: "cit_"#_pos"_rect"; \
|
||||
rel1.offset: 3 0; \
|
||||
rel2.offset: -4 -1; \
|
||||
text.style: "efl_ui_calendar_date_style"; \
|
||||
text.min: 1 1; \
|
||||
text.ellipsis: -1; \
|
||||
offscale; \
|
||||
} \
|
||||
description { state: "holiday" 0.0; \
|
||||
inherit: "default" 0.0; \
|
||||
text.style: "efl_ui_calendar_date_holiday_style"; \
|
||||
} \
|
||||
description { state: "today" 0.0; \
|
||||
inherit: "default" 0.0; \
|
||||
|
@ -223,25 +190,26 @@
|
|||
inherit: "default" 0.0; \
|
||||
text.style: "efl_ui_calendar_date_disabled_style"; \
|
||||
} \
|
||||
description { state: "weekend/day1" 0.0; \
|
||||
inherit: "default" 0.0; \
|
||||
text.style: "efl_ui_calendar_date_weekend1_style"; \
|
||||
} \
|
||||
description { state: "weekend/day2" 0.0; \
|
||||
inherit: "default" 0.0; \
|
||||
text.style: "efl_ui_calendar_date_weekend2_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; \
|
||||
rel.to: "cit_"#_pos"_rect"; \
|
||||
rel1.relative: 0.6 0.5; \
|
||||
min: 15 15; \
|
||||
max: 15 15; \
|
||||
align: 0.0 1.0;\
|
||||
image.normal: "icon_border_remember.png"; \
|
||||
color_class: "calendar_day_checked"; \
|
||||
image.normal: "i-check"; \
|
||||
color: 53 153 255 255; \
|
||||
visible: 0; \
|
||||
} \
|
||||
description { state: "visible" 0.0; \
|
||||
|
@ -251,8 +219,7 @@
|
|||
} \
|
||||
part { name: "efl.cit_"#_pos".access"; type: RECT; repeat_events: 1; \
|
||||
description { state: "default" 0.0; \
|
||||
rel1.to: "cit_"#_pos"_event"; \
|
||||
rel2.to: "cit_"#_pos"_event"; \
|
||||
rel.to: "cit_"#_pos"_event"; \
|
||||
color: 0 0 0 0; \
|
||||
} \
|
||||
} \
|
||||
|
@ -262,7 +229,6 @@
|
|||
signal: "cit_"#_pos",selected"; \
|
||||
source: "efl"; \
|
||||
action: STATE_SET "selected" 0.0; \
|
||||
target: "cit_"#_pos"_pat"; \
|
||||
target: "cit_"#_pos"_selected"; \
|
||||
} \
|
||||
program { \
|
||||
|
@ -270,7 +236,6 @@
|
|||
signal: "cit_"#_pos",unselected"; \
|
||||
source: "efl"; \
|
||||
action: STATE_SET "default" 0.0; \
|
||||
target: "cit_"#_pos"_pat"; \
|
||||
target: "cit_"#_pos"_selected"; \
|
||||
} \
|
||||
program { \
|
||||
|
@ -281,7 +246,7 @@
|
|||
set_int(item_focus_enabled, 1); \
|
||||
set_int(last_focused_item, _pos); \
|
||||
if (get_int(win_focus_enabled) == 1) \
|
||||
set_state(PART:"cit_"#_pos"_glow", "focused", 0.0); \
|
||||
set_state(PART:"cit_"#_pos"_focus", "selected", 0.0); \
|
||||
} \
|
||||
} \
|
||||
program { \
|
||||
|
@ -290,7 +255,7 @@
|
|||
source: "efl"; \
|
||||
script { \
|
||||
set_int(item_focus_enabled, 0); \
|
||||
set_state(PART:"cit_"#_pos"_glow", "default", 0.0); \
|
||||
set_state(PART:"cit_"#_pos"_focus", "default", 0.0); \
|
||||
} \
|
||||
} \
|
||||
program { \
|
||||
|
@ -299,6 +264,7 @@
|
|||
source: "efl"; \
|
||||
action: STATE_SET "today" 0.0; \
|
||||
target: "efl.cit_"#_pos".text"; \
|
||||
target: "cit_"#_pos"_event";\
|
||||
} \
|
||||
program { \
|
||||
name: "cit_"#_pos"_not_today"; \
|
||||
|
@ -306,6 +272,7 @@
|
|||
source: "efl"; \
|
||||
action: STATE_SET "default" 0.0; \
|
||||
target: "efl.cit_"#_pos".text"; \
|
||||
target: "cit_"#_pos"_event";\
|
||||
} \
|
||||
program { \
|
||||
name: "cit_"#_pos"_enable"; \
|
||||
|
@ -330,15 +297,15 @@
|
|||
source: "cit_"#_pos"_clicked"; \
|
||||
signal: "mouse,down,1"; \
|
||||
source: "cit_"#_pos"_event"; \
|
||||
action: STATE_SET "highlighted" 0.0; \
|
||||
target: "cit_"#_pos"_selected2"; \
|
||||
action: STATE_SET "selected" 0.0; \
|
||||
target: "cit_"#_pos"_selected"; \
|
||||
} \
|
||||
program { \
|
||||
source: "cit_"#_pos"_clicked"; \
|
||||
signal: "mouse,up,1"; \
|
||||
source: "cit_"#_pos"_event"; \
|
||||
action: STATE_SET "default" 0.0; \
|
||||
target: "cit_"#_pos"_selected2"; \
|
||||
target: "cit_"#_pos"_selected"; \
|
||||
} \
|
||||
program { \
|
||||
source: "cit_"#_pos"_clicked"; \
|
||||
|
@ -420,15 +387,8 @@
|
|||
} \
|
||||
}
|
||||
|
||||
group { "efl/calendar"; data.item: "version" "123";
|
||||
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: "box_glow.png" COMP;
|
||||
images.image: "diagonal_stripes.png" COMP;
|
||||
group { name: "efl/calendar";
|
||||
data.item: "version" "123";
|
||||
data.item: "focus_highlight" "on";
|
||||
script {
|
||||
public rtl;
|
||||
|
@ -437,32 +397,34 @@ group { "efl/calendar"; data.item: "version" "123";
|
|||
public last_focused_item;
|
||||
}
|
||||
styles {
|
||||
CIT_STYLE
|
||||
CIT_STYLES
|
||||
}
|
||||
parts {
|
||||
part { name: "bg"; type: SPACER;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
rel1.offset: 1 1;
|
||||
rel2.offset: -2 -2;
|
||||
rel1.offset: 8 8;
|
||||
rel2.offset: -9 -9;
|
||||
offscale;
|
||||
}
|
||||
}
|
||||
part { name: "efl.background"; type: SWALLOW;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "bg";
|
||||
rel2.to: "bg";
|
||||
rel.to: "bg";
|
||||
}
|
||||
}
|
||||
part { name: "spinner-base1"; type: SPACER;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
min: 24 16;
|
||||
max: 999999 16;
|
||||
rel1.to: "bg";
|
||||
rel2.to: "bg";
|
||||
rel.to: "bg";
|
||||
rel2.relative: 1.0 (1/8);
|
||||
align: 0.5 0.0;
|
||||
}
|
||||
}
|
||||
part { name: "table-base"; type: SPACER;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
min: 70 60;
|
||||
rel1.to_x: "bg";
|
||||
|
@ -471,29 +433,31 @@ group { "efl/calendar"; data.item: "version" "123";
|
|||
rel1.relative: 0.0 1.0;
|
||||
rel2.to: "bg";
|
||||
rel2.offset: -4 -4;
|
||||
offscale;
|
||||
}
|
||||
}
|
||||
part { name: "header"; type: SPACER;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "table-base";
|
||||
rel2.to: "table-base";
|
||||
rel.to: "table-base";
|
||||
rel2.relative: 1.0 (1/7);
|
||||
align: 0.5 0.0;
|
||||
min: 0 16;
|
||||
min: 0 25;
|
||||
}
|
||||
}
|
||||
part { name: "header_separator"; mouse_events: 0;
|
||||
part { name: "header_separator"; type: RECT; mouse_events: 0;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
fixed: 1 1;
|
||||
rel1.to: "header";
|
||||
rel.to: "header";
|
||||
rel1.relative: 0.0 1.0;
|
||||
rel1.offset: 0 -2;
|
||||
rel2.to: "header";
|
||||
image.normal: "separator_horiz.png";
|
||||
fill.smooth: 0;
|
||||
rel1.offset: 8 -1;
|
||||
rel2.offset: -9 -1;
|
||||
color: 80 80 80 255;
|
||||
offscale;
|
||||
}
|
||||
}
|
||||
part { name: "base"; type: SPACER;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to_x: "table-base";
|
||||
rel1.to_y: "header";
|
||||
|
@ -501,6 +465,7 @@ group { "efl/calendar"; data.item: "version" "123";
|
|||
rel1.offset: 3 0;
|
||||
rel2.to: "table-base";
|
||||
rel2.offset: -3 0;
|
||||
offscale;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -537,182 +502,148 @@ group { "efl/calendar"; data.item: "version" "123";
|
|||
}
|
||||
}
|
||||
|
||||
group { name: "efl/calendar/inc_button";
|
||||
data.item: "version" "123";
|
||||
script {
|
||||
public mouse_down = 0;
|
||||
public multi_down = 0;
|
||||
}
|
||||
parts {
|
||||
part { name: "arrow.image";
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
min: 15 15; max: 15 15;
|
||||
color: 160 160 160 255;
|
||||
image.normal: "i-arrow-r";
|
||||
}
|
||||
description { state: "pressed" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: 255 255 255 255;
|
||||
}
|
||||
description { state: "disabled" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: 96 96 96 255;
|
||||
}
|
||||
}
|
||||
part { name: "over"; type: RECT;
|
||||
repeat_events: 1;
|
||||
description { state: "default" 0.0;
|
||||
color: 0 0 0 0;
|
||||
}
|
||||
}
|
||||
part { name: "disabler"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
color: 0 0 0 0;
|
||||
visible: 0;
|
||||
}
|
||||
description { state: "disabled" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
visible: 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
programs {
|
||||
program { signal: "mouse,down,1"; source: "over";
|
||||
script {
|
||||
if ((get_int(multi_down) == 0) &&
|
||||
(get_int(mouse_down) == 0)) {
|
||||
set_int(mouse_down, 1);
|
||||
run_program(PROGRAM:"button_press2");
|
||||
}
|
||||
}
|
||||
}
|
||||
program { name: "button_press2";
|
||||
action: SIGNAL_EMIT "efl,action,press" "";
|
||||
after: "button_press_anim";
|
||||
}
|
||||
program { name: "button_press_anim";
|
||||
action: STATE_SET "pressed" 0.0;
|
||||
target: "arrow.image";
|
||||
}
|
||||
program { signal: "mouse,up,1"; source: "over";
|
||||
script {
|
||||
if (get_int(mouse_down) == 1) {
|
||||
set_int(mouse_down, 0);
|
||||
run_program(PROGRAM:"button_unpress2");
|
||||
run_program(PROGRAM:"button_unpress_anim");
|
||||
}
|
||||
}
|
||||
}
|
||||
program { name: "button_unpress2";
|
||||
action: SIGNAL_EMIT "efl,action,unpress" "";
|
||||
}
|
||||
program { name: "button_unpress_anim";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "arrow.image";
|
||||
}
|
||||
program { signal: "mouse,clicked,1"; source: "over";
|
||||
script {
|
||||
if (get_int(multi_down) == 0) {
|
||||
run_program(PROGRAM:"button_click2");
|
||||
}
|
||||
}
|
||||
}
|
||||
program { signal: "efl,action,unpressed"; source: "efl";
|
||||
after: "button_unpress_anim";
|
||||
}
|
||||
program { signal: "efl,action,pressed"; source: "efl";
|
||||
after: "button_press_anim";
|
||||
}
|
||||
program { name: "button_click2";
|
||||
action: SIGNAL_EMIT "efl,action,click" "";
|
||||
}
|
||||
program { signal: "efl,state,animation,activated"; source: "efl";
|
||||
action: STATE_SET "pressed" 0.0;
|
||||
target: "arrow.image";
|
||||
after: "access_pressed_anim";
|
||||
}
|
||||
program { name: "access_pressed_anim";
|
||||
action: STATE_SET "default" 0.0;
|
||||
transition: DECELERATE 0.1;
|
||||
target: "arrow.image";
|
||||
}
|
||||
program { signal: "efl,state,disabled"; source: "efl";
|
||||
action: STATE_SET "disabled" 0.0;
|
||||
target: "arrow.image";
|
||||
target: "disabler";
|
||||
}
|
||||
program { signal: "efl,state,enabled"; source: "efl";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "arrow.image";
|
||||
target: "disabler";
|
||||
}
|
||||
program { signal: "efl,action,multi,down"; source: "efl";
|
||||
script {
|
||||
set_int(multi_down, 1);
|
||||
}
|
||||
}
|
||||
program { signal: "efl,action,multi,up"; source: "efl";
|
||||
script {
|
||||
set_int(multi_down, 0);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
group { name: "efl/calendar/dec_button";
|
||||
inherit: "efl/calendar/inc_button";
|
||||
data.item: "version" "123";
|
||||
parts {
|
||||
part { name: "arrow.image";
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
image.normal: "i-arrow-l";
|
||||
}
|
||||
description { state: "pressed" 0.0;
|
||||
image.normal: "i-arrow-l";
|
||||
}
|
||||
description { state: "disabled" 0.0;
|
||||
image.normal: "i-arrow-l";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#undef CIT_STYLES
|
||||
#undef CAL_SPIN
|
||||
#undef CIT
|
||||
#undef CH
|
||||
|
||||
group { name: "efl/calendar/inc_button"; data.item: "version" "123";
|
||||
images.image: "sym_right_light_normal.png" COMP;
|
||||
images.image: "sym_right_glow_normal.png" COMP;
|
||||
images.image: "sym_right_dark_normal.png" COMP;
|
||||
script {
|
||||
public mouse_down = 0;
|
||||
public multi_down = 0;
|
||||
}
|
||||
parts {
|
||||
part { name: "arrow.image";
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
min: 15 15;
|
||||
max: 15 15;
|
||||
color_class: "F032L1";
|
||||
image.normal: "sym_right_light_normal.png";
|
||||
}
|
||||
description { state: "pressed" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
image.normal: "sym_right_glow_normal.png";
|
||||
}
|
||||
description { state: "disabled" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
image.normal: "sym_right_dark_normal.png";
|
||||
}
|
||||
}
|
||||
part { name: "over";
|
||||
type: RECT;
|
||||
repeat_events: 1;
|
||||
description { state: "default" 0.0;
|
||||
color: 0 0 0 0;
|
||||
}
|
||||
}
|
||||
part { name: "disabler";
|
||||
type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
color: 0 0 0 0;
|
||||
visible: 0;
|
||||
}
|
||||
description { state: "disabled" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
visible: 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
programs {
|
||||
program { name: "button_press";
|
||||
signal: "mouse,down,1";
|
||||
source: "over";
|
||||
script {
|
||||
if ((get_int(multi_down) == 0) &&
|
||||
(get_int(mouse_down) == 0)) {
|
||||
set_int(mouse_down, 1);
|
||||
run_program(PROGRAM:"button_press2");
|
||||
}
|
||||
}
|
||||
}
|
||||
program { name: "button_press2";
|
||||
action: SIGNAL_EMIT "efl,action,press" "";
|
||||
after: "button_press_anim";
|
||||
}
|
||||
program { name: "button_press_anim";
|
||||
action: STATE_SET "pressed" 0.0;
|
||||
target: "arrow.image";
|
||||
}
|
||||
program { name: "button_unpress";
|
||||
signal: "mouse,up,1";
|
||||
source: "over";
|
||||
script {
|
||||
if (get_int(mouse_down) == 1) {
|
||||
set_int(mouse_down, 0);
|
||||
run_program(PROGRAM:"button_unpress2");
|
||||
run_program(PROGRAM:"button_unpress_anim");
|
||||
}
|
||||
}
|
||||
}
|
||||
program { name: "button_unpress2";
|
||||
action: SIGNAL_EMIT "efl,action,unpress" "";
|
||||
}
|
||||
program { name: "button_unpress_anim";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "arrow.image";
|
||||
}
|
||||
program { name: "button_click";
|
||||
signal: "mouse,clicked,1";
|
||||
source: "over";
|
||||
script {
|
||||
if (get_int(multi_down) == 0) {
|
||||
run_program(PROGRAM:"button_click2");
|
||||
}
|
||||
}
|
||||
}
|
||||
program { name: "action_unpressed";
|
||||
signal: "efl,action,unpressed";
|
||||
source: "efl";
|
||||
after: "button_unpress_anim";
|
||||
}
|
||||
program { name: "action_pressed";
|
||||
signal: "efl,action,pressed";
|
||||
source: "efl";
|
||||
after: "button_press_anim";
|
||||
}
|
||||
program { name: "button_click2";
|
||||
action: SIGNAL_EMIT "efl,action,click" "";
|
||||
}
|
||||
program { name: "access_pressed";
|
||||
signal: "efl,state,animation,activated";
|
||||
source: "efl";
|
||||
action: STATE_SET "pressed" 0.0;
|
||||
target: "arrow.image";
|
||||
after: "access_pressed_anim";
|
||||
}
|
||||
program { name: "access_pressed_anim";
|
||||
action: STATE_SET "default" 0.0;
|
||||
transition: DECELERATE 0.1;
|
||||
target: "arrow.image";
|
||||
}
|
||||
program { name: "disable";
|
||||
signal: "efl,state,disabled";
|
||||
source: "efl";
|
||||
action: STATE_SET "disabled" 0.0;
|
||||
target: "arrow.image";
|
||||
target: "disabler";
|
||||
}
|
||||
program { name: "enable";
|
||||
signal: "efl,state,enabled";
|
||||
source: "efl";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "arrow.image";
|
||||
target: "disabler";
|
||||
}
|
||||
program {
|
||||
name: "multi_down";
|
||||
signal: "efl,action,multi,down";
|
||||
source: "efl";
|
||||
script {
|
||||
set_int(multi_down, 1);
|
||||
}
|
||||
}
|
||||
program {
|
||||
name: "multi_up";
|
||||
signal: "efl,action,multi,up";
|
||||
source: "efl";
|
||||
script {
|
||||
set_int(multi_down, 0);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
group { name: "efl/calendar/dec_button";
|
||||
inherit: "efl/calendar/inc_button";
|
||||
data.item: "version" "123";
|
||||
images.image: "sym_left_light_normal.png" COMP;
|
||||
images.image: "sym_left_glow_normal.png" COMP;
|
||||
images.image: "sym_left_dark_normal.png" COMP;
|
||||
parts {
|
||||
part { name: "arrow.image";
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
min: 15 15;
|
||||
max: 15 15;
|
||||
image.normal: "sym_left_light_normal.png";
|
||||
}
|
||||
description { state: "pressed" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
image.normal: "sym_left_glow_normal.png";
|
||||
}
|
||||
description { state: "disabled" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
image.normal: "sym_left_dark_normal.png";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -78,10 +78,12 @@
|
|||
// "watch"
|
||||
// "xterm"
|
||||
|
||||
group { name: "efl/cursor/hand1"; data.item: "version" "123";
|
||||
group { name: "efl/cursor/hand1";
|
||||
data.item: "version" "123";
|
||||
images.image: "pointer_hand1.png" COMP;
|
||||
parts {
|
||||
part { name: "base"; mouse_events: 0; scale: 1;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
FIXED_SIZE(32, 32)
|
||||
image.normal: "pointer_hand1.png";
|
||||
|
@ -91,10 +93,10 @@ group { name: "efl/cursor/hand1"; data.item: "version" "123";
|
|||
description { state: "default" 0.0;
|
||||
visible: 0;
|
||||
fixed: 1 1;
|
||||
rel1.relative: (26/32) (9/32);
|
||||
rel1.relative: (21/32) (7/32);
|
||||
rel1.to: "base";
|
||||
rel2.to: "base";
|
||||
rel2.relative: (26/32) (9/32);
|
||||
rel2.relative: (21/32) (7/32);
|
||||
rel2.offset: 0 0;
|
||||
}
|
||||
}
|
||||
|
@ -103,7 +105,8 @@ group { name: "efl/cursor/hand1"; data.item: "version" "123";
|
|||
}
|
||||
}
|
||||
|
||||
group { name: "efl/cursor/blank"; data.item: "version" "123";
|
||||
group { name: "efl/cursor/blank";
|
||||
data.item: "version" "123";
|
||||
parts {
|
||||
part { name: "efl.hotspot"; type: SWALLOW;
|
||||
description { state: "default" 0.0;
|
||||
|
@ -116,26 +119,22 @@ group { name: "efl/cursor/blank"; data.item: "version" "123";
|
|||
}
|
||||
}
|
||||
|
||||
group { name: "efl/cursor/xterm"; data.item: "version" "123";
|
||||
images.image: "pointer_entry_bar.png" COMP;
|
||||
images.image: "led_dot_white.png" COMP;
|
||||
group { name: "efl/cursor/xterm";
|
||||
data.item: "version" "123";
|
||||
images.image: "pointer_entry.png" COMP;
|
||||
parts {
|
||||
part { name: "base"; mouse_events: 0; scale: 1;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
min: 15 20;
|
||||
max: 15 99999;
|
||||
image.normal: "pointer_entry_bar.png";
|
||||
image.border: 0 0 10 10;
|
||||
rel1.offset: 0 2;
|
||||
rel2.offset: -1 -3;
|
||||
image.normal: "pointer_entry.png";
|
||||
FIXED_SIZE(16, 32)
|
||||
}
|
||||
}
|
||||
part { name: "efl.hotspot"; type: SWALLOW;
|
||||
description { state: "default" 0.0;
|
||||
visible: 0;
|
||||
fixed: 1 1;
|
||||
rel1.to: "base";
|
||||
rel2.to: "base";
|
||||
rel.to: "base";
|
||||
rel1.relative: 0.5 0.5;
|
||||
rel2.relative: 0.5 0.5;
|
||||
rel2.offset: 0 0;
|
||||
|
@ -143,15 +142,5 @@ group { name: "efl/cursor/xterm"; data.item: "version" "123";
|
|||
}
|
||||
/* efl.content.hotspot is the old name for the above part */
|
||||
alias: "efl.content.hotspot" "efl.hotspot";
|
||||
part { name: "shine";
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "base";
|
||||
rel2.to: "base";
|
||||
image.normal: "led_dot_white.png";
|
||||
max: 27 27;
|
||||
aspect: 1.0 1.0;
|
||||
aspect_preference: VERTICAL;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -17,60 +17,44 @@ Group: efl/datepicker/spin_button (@since 1.23)
|
|||
Signal: efl,state,disabled
|
||||
Signal: efl,state,enabled
|
||||
*/
|
||||
group { "efl/datepicker"; data.item: "version" "123";
|
||||
group { "efl/datepicker";
|
||||
data.item: "version" "123";
|
||||
parts {
|
||||
spacer { "base";
|
||||
scale;
|
||||
desc { "default";
|
||||
min: 150 170;
|
||||
}
|
||||
}
|
||||
rect { "base_bg";
|
||||
scale;
|
||||
desc { "default";
|
||||
rel.to: "base";
|
||||
color_class: "datepicker_bg";
|
||||
min: 160 40;
|
||||
}
|
||||
}
|
||||
spacer { "padding_bg_top";
|
||||
scale;
|
||||
desc { "default";
|
||||
min: 0 10;
|
||||
max: -1 10;
|
||||
min: 0 5;
|
||||
max: -1 5;
|
||||
fixed: 0 1;
|
||||
rel1 {
|
||||
relative: 0.0 0.0;
|
||||
to: "base_bg";
|
||||
}
|
||||
rel2 {
|
||||
relative: 1.0 0.0;
|
||||
to: "base_bg";
|
||||
}
|
||||
rel.to: "base";
|
||||
rel1.relative: 0.0 0.0;
|
||||
rel2.relative: 1.0 0.0;
|
||||
align: 0.5 0.0;
|
||||
}
|
||||
}
|
||||
spacer { "padding_bg_bottom";
|
||||
scale;
|
||||
desc { "default";
|
||||
min: 0 10;
|
||||
max: -1 10;
|
||||
min: 0 5;
|
||||
max: -1 5;
|
||||
fixed: 0 1;
|
||||
rel1 {
|
||||
relative: 0.0 1.0;
|
||||
to: "base_bg";
|
||||
}
|
||||
rel2 {
|
||||
relative: 1.0 1.0;
|
||||
to: "base_bg";
|
||||
}
|
||||
rel.to: "base";
|
||||
rel1.relative: 0.0 1.0;
|
||||
rel2.relative: 1.0 1.0;
|
||||
align: 0.5 1.0;
|
||||
}
|
||||
}
|
||||
spacer { "bg";
|
||||
scale;
|
||||
desc { "default";
|
||||
min: 150 150;
|
||||
max: 150 150;
|
||||
min: 160 40;
|
||||
max: 160 40;
|
||||
rel1 {
|
||||
relative: 0.0 1.0;
|
||||
to: "padding_bg_top";
|
||||
|
@ -87,14 +71,9 @@ group { "efl/datepicker"; data.item: "version" "123";
|
|||
min: 5 0;
|
||||
max: 5 -1;
|
||||
fixed: 1 0;
|
||||
rel1 {
|
||||
relative: 0.0 0.0;
|
||||
to: "bg";
|
||||
}
|
||||
rel2 {
|
||||
relative: 0.0 1.0;
|
||||
to: "bg";
|
||||
}
|
||||
rel.to: "bg";
|
||||
rel1.relative: 0.0 0.0;
|
||||
rel2.relative: 0.0 1.0;
|
||||
align: 0.0 0.0;
|
||||
}
|
||||
}
|
||||
|
@ -104,15 +83,9 @@ group { "efl/datepicker"; data.item: "version" "123";
|
|||
min: 5 0;
|
||||
max: 5 -1;
|
||||
fixed: 1 0;
|
||||
rel2.to: "bg";
|
||||
rel1 {
|
||||
relative: 1.0 0.0;
|
||||
to: "bg";
|
||||
}
|
||||
rel2 {
|
||||
relative: 1.0 1.0;
|
||||
to: "bg";
|
||||
}
|
||||
rel.to: "bg";
|
||||
rel1.relative: 1.0 0.0;
|
||||
rel2.relative: 1.0 1.0;
|
||||
align: 1.0 1.0;
|
||||
}
|
||||
}
|
||||
|
@ -120,13 +93,10 @@ group { "efl/datepicker"; data.item: "version" "123";
|
|||
mouse;
|
||||
scale;
|
||||
desc { "default";
|
||||
fixed: 1 0;
|
||||
fixed: 1 1;
|
||||
min: 40 0;
|
||||
rel1 {
|
||||
relative: 1.0 0.0;
|
||||
to: "padding_left";
|
||||
}
|
||||
rel2.to: "padding_left";
|
||||
rel.to: "padding_left";
|
||||
rel1.relative: 1.0 0.0;
|
||||
align: 0.0 0.5;
|
||||
}
|
||||
}
|
||||
|
@ -134,13 +104,10 @@ group { "efl/datepicker"; data.item: "version" "123";
|
|||
scale;
|
||||
desc { "default";
|
||||
fixed: 1 0;
|
||||
min: 10 0;
|
||||
max: 10 -1;
|
||||
rel1 {
|
||||
relative: 1.0 0.0;
|
||||
to: "efl.field0";
|
||||
}
|
||||
rel2.to: "efl.field0";
|
||||
min: 5 0;
|
||||
max: 5 -1;
|
||||
rel.to: "efl.field0";
|
||||
rel1.relative: 1.0 0.0;
|
||||
align: 0.0 0.5;
|
||||
}
|
||||
}
|
||||
|
@ -148,7 +115,7 @@ group { "efl/datepicker"; data.item: "version" "123";
|
|||
mouse;
|
||||
scale;
|
||||
desc { "default";
|
||||
fixed: 1 0;
|
||||
fixed: 1 1;
|
||||
min: 40 0;
|
||||
rel1 {
|
||||
relative: 1.0 0.0;
|
||||
|
@ -167,11 +134,8 @@ group { "efl/datepicker"; data.item: "version" "123";
|
|||
fixed: 1 0;
|
||||
min: 10 0;
|
||||
max: 10 -1;
|
||||
rel1.to: "efl.field2";
|
||||
rel2 {
|
||||
relative: 0.0 1.0;
|
||||
to: "efl.field2";
|
||||
}
|
||||
rel.to: "efl.field2";
|
||||
rel2.relative: 0.0 1.0;
|
||||
align: 1.0 0.5;
|
||||
}
|
||||
}
|
||||
|
@ -179,13 +143,10 @@ group { "efl/datepicker"; data.item: "version" "123";
|
|||
mouse;
|
||||
scale;
|
||||
desc { "default";
|
||||
fixed: 1 0;
|
||||
fixed: 1 1;
|
||||
min: 40 0;
|
||||
rel1.to: "padding_right";
|
||||
rel2 {
|
||||
relative: 0.0 1.0;
|
||||
to: "padding_right";
|
||||
}
|
||||
rel.to: "padding_right";
|
||||
rel2.relative: 0.0 1.0;
|
||||
align: 1.0 0.5;
|
||||
}
|
||||
}
|
||||
|
@ -193,15 +154,15 @@ group { "efl/datepicker"; data.item: "version" "123";
|
|||
repeat;
|
||||
desc { "default";
|
||||
fixed: 1 1;
|
||||
rel1.to: "bg";
|
||||
rel2.to: "bg";
|
||||
rel.to: "bg";
|
||||
color: 0 0 0 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
group { "efl/datepicker/spin_button"; data.item: "version" "123";
|
||||
group { "efl/datepicker/spin_button";
|
||||
data.item: "version" "123";
|
||||
parts {
|
||||
rect { "clip";
|
||||
desc { "default";
|
||||
|
@ -211,13 +172,7 @@ group { "efl/datepicker/spin_button"; data.item: "version" "123";
|
|||
spacer { "base";
|
||||
scale;
|
||||
desc { "default";
|
||||
min: 40 150;
|
||||
}
|
||||
}
|
||||
rect { "bg";
|
||||
scale;
|
||||
desc { "default";
|
||||
color_class: "spinner_bg";
|
||||
min: 20 60;
|
||||
}
|
||||
}
|
||||
rect { "access";
|
||||
|
@ -225,8 +180,7 @@ group { "efl/datepicker/spin_button"; data.item: "version" "123";
|
|||
desc { "default";
|
||||
fixed: 1 1;
|
||||
color: 0 0 0 0;
|
||||
rel1.to: "base";
|
||||
rel2.to: "base";
|
||||
rel.to: "base";
|
||||
hid;
|
||||
}
|
||||
desc { "active";
|
||||
|
@ -238,8 +192,8 @@ group { "efl/datepicker/spin_button"; data.item: "version" "123";
|
|||
scale;
|
||||
desc { "default";
|
||||
align: 0.5 0.0;
|
||||
min: 40 40;
|
||||
max: 40 40;
|
||||
min: 20 20;
|
||||
max: 20 20;
|
||||
fixed: 1 1;
|
||||
}
|
||||
}
|
||||
|
@ -247,8 +201,8 @@ group { "efl/datepicker/spin_button"; data.item: "version" "123";
|
|||
scale;
|
||||
desc { "default";
|
||||
align: 0.5 1.0;
|
||||
min: 40 40;
|
||||
max: 40 40;
|
||||
min: 20 20;
|
||||
max: 20 20;
|
||||
fixed: 1 1;
|
||||
}
|
||||
}
|
||||
|
@ -256,8 +210,7 @@ group { "efl/datepicker/spin_button"; data.item: "version" "123";
|
|||
clip: "clip";
|
||||
desc { "default";
|
||||
fixed: 1 1;
|
||||
rel1.to: "efl.text_button";
|
||||
rel2.to: "efl.text_button";
|
||||
rel.to: "efl.text_button";
|
||||
hid;
|
||||
}
|
||||
desc { "active";
|
||||
|
@ -277,8 +230,8 @@ group { "efl/datepicker/spin_button"; data.item: "version" "123";
|
|||
to_y: "efl.dec_button";
|
||||
relative: 1.0 0.0;
|
||||
}
|
||||
min: 0 70;
|
||||
max: -1 70;
|
||||
min: 0 20;
|
||||
max: -1 20;
|
||||
fixed: 0 1;
|
||||
}
|
||||
desc { "inactive";
|
||||
|
@ -300,51 +253,35 @@ group { "efl/datepicker/spin_button"; data.item: "version" "123";
|
|||
}
|
||||
}
|
||||
programs {
|
||||
program { "entry_active";
|
||||
signal: "efl,entry,visible,on";
|
||||
source: "efl";
|
||||
program { signal: "efl,entry,visible,on"; source: "efl";
|
||||
action: STATE_SET "active";
|
||||
target: "efl.entry";
|
||||
}
|
||||
program { "entry_inactive";
|
||||
signal: "efl,entry,visible,off";
|
||||
source: "efl";
|
||||
program { signal: "efl,entry,visible,off"; source: "efl";
|
||||
action: STATE_SET "default";
|
||||
target: "efl.entry";
|
||||
}
|
||||
program { "text_button_active";
|
||||
signal: "efl,button,visible,on";
|
||||
source: "efl";
|
||||
program { signal: "efl,button,visible,on"; source: "efl";
|
||||
action: STATE_SET "default";
|
||||
target: "efl.text_button";
|
||||
}
|
||||
program { "text_button_inactive";
|
||||
signal: "efl,button,visible,off";
|
||||
source: "efl";
|
||||
program { signal: "efl,button,visible,off"; source: "efl";
|
||||
action: STATE_SET "inactive";
|
||||
target: "efl.text_button";
|
||||
}
|
||||
program { "access_activate";
|
||||
signal: "efl,state,access,active";
|
||||
source: "efl";
|
||||
program { signal: "efl,state,access,active"; source: "efl";
|
||||
action: STATE_SET "active";
|
||||
target: "access";
|
||||
}
|
||||
program { "access_inactivate";
|
||||
signal: "efl,state,access,inactive";
|
||||
source: "efl";
|
||||
program { signal: "efl,state,access,inactive"; source: "efl";
|
||||
action: STATE_SET "default";
|
||||
target: "access";
|
||||
}
|
||||
program { "disable";
|
||||
signal: "efl,state,disabled";
|
||||
source: "efl";
|
||||
program { signal: "efl,state,disabled"; source: "efl";
|
||||
action: STATE_SET "disabled";
|
||||
target: "disabler";
|
||||
}
|
||||
program { "enable";
|
||||
signal: "efl,state,enabled";
|
||||
source: "efl";
|
||||
program { signal: "efl,state,enabled"; source: "efl";
|
||||
action: STATE_SET "default";
|
||||
target: "disabler";
|
||||
}
|
||||
|
|
|
@ -5,9 +5,8 @@ Group: efl/focus_highlight/top (@since 1.23)
|
|||
Signal: efl,state,animating,stopped
|
||||
Group: efl/focus_highlight/top:blank (@since 1.23)
|
||||
*/
|
||||
group { name: "efl/focus_highlight/top"; data.item: "version" "123";
|
||||
images.image: "box_glow.png" COMP;
|
||||
images.image: "box_outline.png" COMP;
|
||||
group { name: "efl/focus_highlight/top";
|
||||
data.item: "version" "123";
|
||||
data.item: "animate" "on";
|
||||
script {
|
||||
public s_x, s_y, s_w, s_h; /* source */
|
||||
|
@ -34,14 +33,14 @@ group { name: "efl/focus_highlight/top"; data.item: "version" "123";
|
|||
|
||||
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);
|
||||
set_state_val(PART:"base", STATE_REL2_OFFSET, x + w - 1, y + h - 1);
|
||||
}
|
||||
|
||||
public message(Msg_Type:type, id, ...) {
|
||||
if ((type == MSG_INT_SET) && (id == 1)) {
|
||||
new x1, y1, w1, h1, x2, y2, w2, h2;
|
||||
new anim_id;
|
||||
|
||||
|
||||
anim_id = get_int(g_anim_id);
|
||||
if (anim_id != 0) {
|
||||
cancel_anim(anim_id);
|
||||
|
@ -70,7 +69,7 @@ group { name: "efl/focus_highlight/top"; data.item: "version" "123";
|
|||
set_state_val(PART:"base", STATE_REL2, 0.0, 0.0);
|
||||
update_offset(x1, y1, w1, h1);
|
||||
set_state(PART:"base", "custom", 0.0);
|
||||
|
||||
|
||||
anim_id = anim(0.2, "animator1", 1);
|
||||
set_int(g_anim_id, anim_id);
|
||||
}
|
||||
|
@ -84,38 +83,106 @@ group { name: "efl/focus_highlight/top"; data.item: "version" "123";
|
|||
}
|
||||
part { name: "clip"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "glow";
|
||||
rel2.to: "glow";
|
||||
rel.to: "base";
|
||||
rel1.relative: -1.0 -1.0;
|
||||
rel1.offset: -999 -999;
|
||||
rel2.relative: 2.0 2.0;
|
||||
rel2.offset: 999 999;
|
||||
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: "glow"; mouse_events: 0;
|
||||
part { name: "top"; type: RECT;
|
||||
clip_to: "clip";
|
||||
scale: 1;
|
||||
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;
|
||||
rel.to: "base";
|
||||
color: 51 153 255 255;
|
||||
rel2.relative: 1.0 0.0;
|
||||
min: 4 4;
|
||||
}
|
||||
description { state: "hi" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: 255 255 255 255;
|
||||
}
|
||||
}
|
||||
part { name: "sel"; mouse_events: 0;
|
||||
part { name: "topl"; type: RECT;
|
||||
clip_to: "clip";
|
||||
scale: 1;
|
||||
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;
|
||||
rel.to: "top";
|
||||
color: 51 153 255 255;
|
||||
rel1.relative: 0.0 1.0;
|
||||
rel2.relative: 0.0 1.0;
|
||||
align: 0.0 0.0;
|
||||
min: 4 4;
|
||||
}
|
||||
description { state: "hi" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: 255 255 255 255;
|
||||
}
|
||||
}
|
||||
part { name: "topr"; type: RECT;
|
||||
clip_to: "clip";
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
rel.to: "top";
|
||||
color: 51 153 255 255;
|
||||
rel1.relative: 1.0 1.0;
|
||||
rel2.relative: 1.0 1.0;
|
||||
align: 1.0 0.0;
|
||||
min: 4 4;
|
||||
}
|
||||
description { state: "hi" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: 255 255 255 255;
|
||||
}
|
||||
}
|
||||
part { name: "bot"; type: RECT;
|
||||
clip_to: "clip";
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
rel.to: "base";
|
||||
color: 51 153 255 255;
|
||||
rel1.relative: 0.0 1.0;
|
||||
min: 4 4;
|
||||
}
|
||||
description { state: "hi" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: 255 255 255 255;
|
||||
}
|
||||
}
|
||||
part { name: "botl"; type: RECT;
|
||||
clip_to: "clip";
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
rel.to: "bot";
|
||||
color: 51 153 255 255;
|
||||
rel1.relative: 0.0 0.0;
|
||||
rel2.relative: 0.0 0.0;
|
||||
align: 0.0 1.0;
|
||||
min: 4 4;
|
||||
}
|
||||
description { state: "hi" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: 255 255 255 255;
|
||||
}
|
||||
}
|
||||
part { name: "botr"; type: RECT;
|
||||
clip_to: "clip";
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
rel.to: "bot";
|
||||
color: 51 153 255 255;
|
||||
rel1.relative: 1.0 0.0;
|
||||
rel2.relative: 1.0 0.0;
|
||||
align: 1.0 1.0;
|
||||
min: 4 4;
|
||||
}
|
||||
description { state: "hi" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
|
@ -124,8 +191,7 @@ group { name: "efl/focus_highlight/top"; data.item: "version" "123";
|
|||
}
|
||||
}
|
||||
programs {
|
||||
program {
|
||||
signal: "efl,focus,visible,on"; source: "efl";
|
||||
program { signal: "efl,focus,visible,on"; source: "efl";
|
||||
action: ACTION_STOP;
|
||||
target: "pulse";
|
||||
target: "pulse2";
|
||||
|
@ -141,8 +207,7 @@ group { name: "efl/focus_highlight/top"; data.item: "version" "123";
|
|||
program { name: "go3";
|
||||
action: SIGNAL_EMIT "efl,focus,visible,on,done" "efl";
|
||||
}
|
||||
program {
|
||||
signal: "efl,focus,visible,off"; source: "efl";
|
||||
program { signal: "efl,focus,visible,off"; source: "efl";
|
||||
action: STATE_SET "default" 0.0;
|
||||
transition: DECELERATE 0.4;
|
||||
target: "clip";
|
||||
|
@ -161,24 +226,34 @@ group { name: "efl/focus_highlight/top"; data.item: "version" "123";
|
|||
action: STATE_SET "hi" 0.0;
|
||||
transition: SINUSOIDAL 0.2;
|
||||
in: 3.0 0.0;
|
||||
target: "sel";
|
||||
target: "top";
|
||||
target: "topl";
|
||||
target: "topr";
|
||||
target: "bot";
|
||||
target: "botl";
|
||||
target: "botr";
|
||||
after: "pulse2";
|
||||
}
|
||||
program { name: "pulse2";
|
||||
action: STATE_SET "default" 0.0;
|
||||
transition: SINUSOIDAL 0.4;
|
||||
target: "sel";
|
||||
target: "top";
|
||||
target: "topl";
|
||||
target: "topr";
|
||||
target: "bot";
|
||||
target: "botl";
|
||||
target: "botr";
|
||||
after: "pulse";
|
||||
}
|
||||
program {
|
||||
signal: "efl,state,animating,stopped"; source: "efl";
|
||||
program { signal: "efl,state,animating,stopped"; source: "efl";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "base";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
group { name: "efl/focus_highlight/top:blank"; data.item: "version" "123";
|
||||
group { name: "efl/focus_highlight/top:blank";
|
||||
data.item: "version" "123";
|
||||
parts {
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,113 +1,85 @@
|
|||
group { name: "efl/frame"; data.item: "version" "123";
|
||||
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;
|
||||
group { name: "efl/frame";
|
||||
data.item: "version" "123";
|
||||
images.image: "win_shad_flat.png" COMP;
|
||||
parts {
|
||||
part { name: "shadow"; mouse_events: 0;
|
||||
part { name: "shadow"; type: RECT;
|
||||
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;
|
||||
rel.to: "_sh1";
|
||||
}
|
||||
description { state: "hidden" 0.0;
|
||||
inherit;
|
||||
visible: 0;
|
||||
}
|
||||
}
|
||||
WIN_SHAD("base", "shadow", "win_shad_flat.png", 10, 10, 7, 14, 0.25);
|
||||
part { name: "base"; type: RECT;
|
||||
scale: 1;
|
||||
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;
|
||||
rel1.offset: 6 6;
|
||||
rel2.offset: -7 -7;
|
||||
color: 80 80 80 255;
|
||||
offscale;
|
||||
}
|
||||
}
|
||||
part { name: "top";
|
||||
part { name: "top"; type: SPACER;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
image.normal: "vgrad_med_curved.png";
|
||||
rel1.offset: 2 2;
|
||||
rel1.to: "base";
|
||||
rel2.to_x: "base";
|
||||
rel2.to_y: "efl.text";
|
||||
rel2.offset: -3 -1;
|
||||
fill.smooth: 0;
|
||||
TILED_HORIZ(120)
|
||||
}
|
||||
}
|
||||
part { name: "edge1";
|
||||
description { state: "default" 0.0;
|
||||
image.normal: "holes_tiny_vert.png";
|
||||
rel1.offset: 4 0;
|
||||
rel1.to_y: "efl.text";
|
||||
rel2.offset: 4 -1;
|
||||
rel2.relative: 0.0 1.0;
|
||||
rel2.to_y: "efl.text";
|
||||
align: 0.0 0.5;
|
||||
FIXED_SIZE(3, 11)
|
||||
}
|
||||
}
|
||||
part { name: "edge2";
|
||||
description { state: "default" 0.0;
|
||||
image.normal: "holes_tiny_vert.png";
|
||||
rel1.offset: -5 0;
|
||||
rel1.to_y: "efl.text";
|
||||
rel1.relative: 1.0 0.0;
|
||||
rel2.offset: -5 -1;
|
||||
rel2.relative: 1.0 1.0;
|
||||
rel2.to_y: "efl.text";
|
||||
align: 1.0 0.5;
|
||||
FIXED_SIZE(3, 11)
|
||||
rel2.offset: -1 3;
|
||||
offscale;
|
||||
}
|
||||
}
|
||||
part { name: "efl.text"; type: TEXT;
|
||||
scale: 1;
|
||||
effect: SHADOW BOTTOM;
|
||||
description { state: "default" 0.0;
|
||||
color_class: "frame";
|
||||
rel1.relative: 1.0 0.0;
|
||||
rel1.offset: 1 2;
|
||||
rel1.to_x: "edge1";
|
||||
rel2.relative: 0.0 0.0;
|
||||
rel2.offset: -3 1;
|
||||
rel2.to_x: "edge2";
|
||||
rel1.offset: 4 4;
|
||||
rel1.to: "base";
|
||||
rel2.relative: 1.0 0.0;
|
||||
rel2.offset: -5 4;
|
||||
rel2.to: "base";
|
||||
align: 0.0 0.0;
|
||||
color: FN_COL_DISABLE;
|
||||
color: 255 255 255 255;
|
||||
text { font: FNBD; size: 10;
|
||||
text_class: "frame";
|
||||
align: 0.0 0.0;
|
||||
min: 0 1;
|
||||
}
|
||||
fixed: 0 1;
|
||||
offscale;
|
||||
}
|
||||
}
|
||||
part { name: "bg"; type: RECT;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to_x: "base";
|
||||
rel1.to_y: "top";
|
||||
rel1.relative: 0.0 1.0;
|
||||
rel2.to: "base";
|
||||
color: 64 64 64 255;
|
||||
}
|
||||
}
|
||||
part { name: "clip"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
rel1.relative: 0.0 1.0;
|
||||
rel1.offset: 5 0;
|
||||
rel1.to_y: "efl.text";
|
||||
rel2.offset: -7 -7;
|
||||
rel1.to: "bg";
|
||||
rel2.to: "bg";
|
||||
}
|
||||
}
|
||||
part { name: "efl.content"; type: SWALLOW;
|
||||
clip_to: "clip";
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
align: 0.0 1.0;
|
||||
rel1.relative: 0.0 1.0;
|
||||
rel1.offset: 5 0;
|
||||
rel1.to_y: "efl.text";
|
||||
rel2.offset: -7 -7;
|
||||
rel.to: "bg";
|
||||
rel1.offset: 4 4;
|
||||
rel2.offset: -5 -5;
|
||||
offscale;
|
||||
}
|
||||
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;
|
||||
rel1.offset: 4 0;
|
||||
rel2.offset: -5 -1;
|
||||
}
|
||||
}
|
||||
part { name: "event"; type: RECT; ignore_flags: ON_HOLD;
|
||||
|
@ -119,6 +91,7 @@ group { name: "efl/frame"; data.item: "version" "123";
|
|||
}
|
||||
}
|
||||
programs {
|
||||
EFL_UI_CLICKABLE_PART_BIND("event")
|
||||
program { name: "collapse";
|
||||
action: STATE_SET "collapsed" 0.0;
|
||||
target: "efl.content";
|
||||
|
@ -131,9 +104,10 @@ group { name: "efl/frame"; data.item: "version" "123";
|
|||
transition: DECELERATE 0.3;
|
||||
after: "signal";
|
||||
}
|
||||
EFL_UI_CLICKABLE_PART_BIND("event")
|
||||
program {
|
||||
signal: "efl,action,toggle"; source: "efl";
|
||||
program { signal: "mouse,up,1"; source: "event";
|
||||
action: SIGNAL_EMIT "efl,action,click" "efl";
|
||||
}
|
||||
program { signal: "efl,action,toggle"; source: "efl";
|
||||
script {
|
||||
new st[31];
|
||||
new Float:vl;
|
||||
|
@ -144,8 +118,7 @@ group { name: "efl/frame"; data.item: "version" "123";
|
|||
run_program(PROGRAM:"expand");
|
||||
}
|
||||
}
|
||||
program {
|
||||
signal: "efl,action,switch"; source: "efl";
|
||||
program { signal: "efl,action,switch"; source: "efl";
|
||||
script {
|
||||
new st[31];
|
||||
new Float:vl;
|
||||
|
|
|
@ -41,265 +41,163 @@ group { "efl/view_grid";
|
|||
data.item: "version" "123";
|
||||
}
|
||||
|
||||
group { "efl/grid_item"; data.item: "version" "124";
|
||||
group { "efl/grid_item";
|
||||
data.item: "version" "124";
|
||||
data.item: "selectraise" "on";
|
||||
data.item: "focusraise" "on";
|
||||
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;
|
||||
data.item: "texts" "elm.text";
|
||||
parts {
|
||||
//---------------------------------------------------------------------------
|
||||
#define BASEP() \
|
||||
part { name: "base"; type: RECT; mouse_events: 0; \
|
||||
description { state: "default" 0.0; \
|
||||
color: 64 64 64 255; \
|
||||
} \
|
||||
} \
|
||||
part { name: "sel_base"; type: RECT; mouse_events: 0; \
|
||||
description { state: "default" 0.0; \
|
||||
color: 51 153 255 255; \
|
||||
visible: 0; \
|
||||
} \
|
||||
description { state: "selected" 0.0; \
|
||||
inherit: "default" 0.0; \
|
||||
visible: 1; \
|
||||
} \
|
||||
} \
|
||||
program { signal: "efl,state,selected"; source: "efl"; \
|
||||
action: STATE_SET "selected" 0.0; \
|
||||
target: "sel_base"; \
|
||||
} \
|
||||
program { signal: "efl,state,unselected"; source: "efl"; \
|
||||
action: STATE_SET "default" 0.0; \
|
||||
target: "sel_base"; \
|
||||
} \
|
||||
program { signal: "efl,state,disabled"; source: "efl"; \
|
||||
action: STATE_SET "disabled" 0.0; \
|
||||
target: "event"; \
|
||||
} \
|
||||
program { signal: "efl,state,enabled"; source: "efl"; \
|
||||
action: STATE_SET "default" 0.0; \
|
||||
target: "event"; \
|
||||
}
|
||||
#define TOPP() \
|
||||
part { name: "event"; type: RECT; \
|
||||
repeat_events: 1; \
|
||||
description { state: "default" 0.0; \
|
||||
color: 0 0 0 0; \
|
||||
} \
|
||||
description { state: "disabled" 0.0; \
|
||||
inherit: "default" 0.0; \
|
||||
visible: 0; \
|
||||
} \
|
||||
} \
|
||||
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: "efl,state,disabled"; source: "efl"; \
|
||||
action: STATE_SET "disabled" 0.0; \
|
||||
target: "event_block"; \
|
||||
} \
|
||||
program { signal: "efl,state,enabled"; source: "efl"; \
|
||||
action: STATE_SET "default" 0.0; \
|
||||
target: "event_block"; \
|
||||
}
|
||||
//---------------------------------------------------------------------------
|
||||
BASEP()
|
||||
|
||||
// BASE PARTS //
|
||||
rect { "base"; mouse;
|
||||
desc { "default";
|
||||
}
|
||||
}
|
||||
image { "bevel"; nomouse;
|
||||
desc { "default";
|
||||
image.normal: "bevel_dark_out.png";
|
||||
image.border: 2 2 2 2;
|
||||
image.middle: 0;
|
||||
fill.smooth: 0;
|
||||
}
|
||||
}
|
||||
image { "sel_shadow"; nomouse;
|
||||
desc { "default";
|
||||
image.normal: "shadow_rounded_horiz.png";
|
||||
image.border: 0 0 9 9;
|
||||
rel1.offset: 0 -4;
|
||||
rel2.offset: -1 5;
|
||||
fill.smooth: 0;
|
||||
hid;
|
||||
}
|
||||
desc { "selected";
|
||||
inherit: "default";
|
||||
vis;
|
||||
}
|
||||
}
|
||||
image { "sel_base"; nomouse;
|
||||
desc { "default";
|
||||
image.normal: "vgrad_med_dark.png";
|
||||
fill.smooth: 0;
|
||||
hid;
|
||||
TILED_HORIZ(120)
|
||||
}
|
||||
desc { "selected";
|
||||
inherit: "default";
|
||||
vis;
|
||||
}
|
||||
}
|
||||
image { "sel_bevel"; nomouse;
|
||||
desc { "default";
|
||||
image.normal: "bevel_out.png";
|
||||
image.border: 2 2 2 2;
|
||||
image.middle: 0;
|
||||
fill.smooth: 0;
|
||||
hid;
|
||||
}
|
||||
desc { "selected";
|
||||
inherit: "default";
|
||||
vis;
|
||||
}
|
||||
}
|
||||
// BASE PARTS //
|
||||
|
||||
// TEXT PARTS //
|
||||
text { "efl.text"; nomouse;
|
||||
effect: SHADOW BOTTOM;
|
||||
//##//
|
||||
part { name: "efl.text"; type: TEXT; mouse_events: 0;
|
||||
scale: 1;
|
||||
desc { "default";
|
||||
description { state: "default" 0.0;
|
||||
fixed: 0 1;
|
||||
rel1.relative: 0.0 1.0;
|
||||
rel1.offset: 5 -5;
|
||||
rel2.relative: 1.0 1.0;
|
||||
rel1.offset: 4 -5;
|
||||
rel2.offset: -5 -5;
|
||||
color: FN_COL_DEFAULT;
|
||||
color_class: "grid_item";
|
||||
color: 160 160 160 255;
|
||||
align: 0.5 1.0;
|
||||
offscale;
|
||||
text { font: FN; size: 10;
|
||||
min: 0 1;
|
||||
align: 0.5 1.0;
|
||||
text_class: "grid_item";
|
||||
}
|
||||
}
|
||||
desc { "selected";
|
||||
inherit: "default";
|
||||
hid;
|
||||
description { state: "selected" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: 255 255 255 255;
|
||||
}
|
||||
desc { "disabled";
|
||||
inherit: "default";
|
||||
hid;
|
||||
description { state: "disabled" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: 80 80 80 255;
|
||||
}
|
||||
}
|
||||
text { "label2"; nomouse;
|
||||
effect: SHADOW BOTTOM;
|
||||
program { signal: "efl,state,selected"; source: "efl";
|
||||
action: STATE_SET "selected" 0.0;
|
||||
target: "efl.text";
|
||||
}
|
||||
program { signal: "efl,state,unselected"; source: "efl";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "efl.text";
|
||||
}
|
||||
program { signal: "efl,state,disabled"; source: "efl";
|
||||
action: STATE_SET "disabled" 0.0;
|
||||
target: "efl.text";
|
||||
target: "icon_area";
|
||||
}
|
||||
program { signal: "efl,state,enabled"; source: "efl";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "efl.text";
|
||||
target: "icon_area";
|
||||
}
|
||||
//##//
|
||||
part { name: "icon_area"; type: RECT;
|
||||
scale: 1;
|
||||
desc { "default";
|
||||
rel1.to: "efl.text";
|
||||
rel2.to: "efl.text";
|
||||
color: FN_COL_DISABLE;
|
||||
color_class: "grid_item_disabled";
|
||||
text { font: FN; size: 10;
|
||||
text_source: "efl.text";
|
||||
align: 0.5 1.0;
|
||||
text_class: "grid_item";
|
||||
}
|
||||
hid;
|
||||
}
|
||||
desc { "selected";
|
||||
inherit: "default";
|
||||
hid;
|
||||
}
|
||||
desc { "disabled";
|
||||
inherit: "default";
|
||||
vis;
|
||||
}
|
||||
}
|
||||
text { "label3"; nomouse;
|
||||
effect: GLOW;
|
||||
scale: 1;
|
||||
desc { "default";
|
||||
rel1.offset: -2 -2;
|
||||
rel1.to: "efl.text";
|
||||
rel2.offset: 1 0;
|
||||
rel2.to: "efl.text";
|
||||
color: FN_COL_HIGHLIGHT;
|
||||
color_class: "grid_item_selected";
|
||||
text { font: FN; size: 10;
|
||||
text_source: "efl.text";
|
||||
align: 0.5 1.0;
|
||||
text_class: "grid_item";
|
||||
}
|
||||
hid;
|
||||
}
|
||||
desc { "selected";
|
||||
inherit: "default";
|
||||
vis;
|
||||
}
|
||||
desc { "disabled";
|
||||
inherit: "default";
|
||||
hid;
|
||||
}
|
||||
}
|
||||
// TEXT PARTS //
|
||||
|
||||
// CONTENT PARTS //
|
||||
rect { "icon_area";
|
||||
desc { "default";
|
||||
fixed: 1 0;
|
||||
rel1.offset: 2 2;
|
||||
description { state: "default" 0.0;
|
||||
rel1.offset: 4 4;
|
||||
rel2.to_y: "efl.text";
|
||||
rel2.relative: 1.0 0.0;
|
||||
rel2.offset: -3 -3;
|
||||
rel2.offset: -5 -5;
|
||||
offscale;
|
||||
}
|
||||
desc { "disabled";
|
||||
inherit: "default";
|
||||
description { state: "disabled" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: 255 255 255 64;
|
||||
}
|
||||
}
|
||||
rect { "event";
|
||||
desc { "default";
|
||||
color: 0 0 0 0;
|
||||
}
|
||||
desc { "disabled";
|
||||
inherit: "default";
|
||||
hid;
|
||||
part { name: "efl.icon"; type: SWALLOW;
|
||||
clip_to: "icon_area";
|
||||
description { state: "default" 0.0;
|
||||
rel.to: "icon_area";
|
||||
}
|
||||
}
|
||||
swallow { "efl.icon";
|
||||
part { name: "efl.extra"; type: SWALLOW;
|
||||
scale: 1;
|
||||
clip_to: "icon_area";
|
||||
desc { "default";
|
||||
rel1.to: "icon_area";
|
||||
rel2.to: "icon_area";
|
||||
}
|
||||
}
|
||||
swallow { "efl.extra";
|
||||
clip_to: "icon_area";
|
||||
desc { "default";
|
||||
fixed: 1 1;
|
||||
description { state: "default" 0.0;
|
||||
min: ICMIN ICMIN;
|
||||
align: 1.0 0.0;
|
||||
rel.to: "icon_area";
|
||||
rel1.relative: 1.0 0.0;
|
||||
rel1.offset: -3 2;
|
||||
rel1.offset: -5 4;
|
||||
rel2.relative: 1.0 0.0;
|
||||
rel2.offset: -3 2;
|
||||
rel2.offset: -5 4;
|
||||
offscale;
|
||||
}
|
||||
}
|
||||
// CONTENT PARTS //
|
||||
//##//
|
||||
|
||||
// TOP PARTS //
|
||||
image { "sel_shine"; nomouse;
|
||||
desc { "default";
|
||||
image.normal: "shine.png";
|
||||
rel1.offset: 0 -2;
|
||||
rel1.to: "sel_base";
|
||||
rel2.relative: 1.0 0.0;
|
||||
rel2.offset: -1 2;
|
||||
rel2.to: "sel_base";
|
||||
hid;
|
||||
FIXED_SIZE(69, 5)
|
||||
}
|
||||
desc { "selected";
|
||||
inherit: "default";
|
||||
vis;
|
||||
}
|
||||
}
|
||||
rect { "event_block";
|
||||
desc { "default";
|
||||
color: 0 0 0 0;
|
||||
hid;
|
||||
}
|
||||
desc { "disabled";
|
||||
inherit: "default";
|
||||
vis;
|
||||
}
|
||||
}
|
||||
// TOP PARTS //
|
||||
TOPP()
|
||||
}
|
||||
programs {
|
||||
EFL_UI_CLICKABLE_PART_BIND("event")
|
||||
program {
|
||||
signal: "efl,state,selected"; source: "efl";
|
||||
action: STATE_SET "selected";
|
||||
target: "sel_shadow";
|
||||
target: "sel_base";
|
||||
target: "sel_bevel";
|
||||
target: "sel_shine";
|
||||
target: "efl.text";
|
||||
target: "label2";
|
||||
target: "label3";
|
||||
}
|
||||
program {
|
||||
signal: "efl,state,unselected"; source: "efl";
|
||||
action: STATE_SET "default";
|
||||
target: "sel_shadow";
|
||||
target: "sel_base";
|
||||
target: "sel_bevel";
|
||||
target: "sel_shine";
|
||||
target: "efl.text";
|
||||
target: "label2";
|
||||
target: "label3";
|
||||
}
|
||||
program {
|
||||
signal: "efl,state,disabled"; source: "efl";
|
||||
action: STATE_SET "disabled";
|
||||
target: "event";
|
||||
target: "event_block";
|
||||
target: "efl.text";
|
||||
target: "label2";
|
||||
target: "label3";
|
||||
target: "icon_area";
|
||||
}
|
||||
program {
|
||||
signal: "efl,state,enabled"; source: "efl";
|
||||
action: STATE_SET "default";
|
||||
target: "event";
|
||||
target: "event_block";
|
||||
target: "efl.text";
|
||||
target: "label2";
|
||||
target: "label3";
|
||||
target: "icon_area";
|
||||
}
|
||||
}
|
||||
}
|
||||
#undef BASEP
|
||||
#undef TOPP
|
||||
|
|
|
@ -7,56 +7,29 @@ Group: efl/group_item (@since 1.23)
|
|||
Signal: efl,state,enabled
|
||||
|
||||
*/
|
||||
|
||||
group { "efl/group_item"; data.item: "version" "124"; nomouse; program_source: "efl";
|
||||
images.image: "shadow_square_tiny.png" COMP;
|
||||
images.image: "bevel_out.png" COMP;
|
||||
images.image: "horizontal_separated_bar_small_glow.png" COMP;
|
||||
|
||||
group { "efl/group_item";
|
||||
data.item: "version" "124";
|
||||
nomouse;
|
||||
program_source: "efl";
|
||||
parts {
|
||||
image { "shadow_vbar";
|
||||
rect { "base";
|
||||
desc { "default";
|
||||
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;
|
||||
color: 32 32 32 255;
|
||||
}
|
||||
}
|
||||
image { "base_vbar";
|
||||
desc { "default";
|
||||
image.normal: "vgrad_med_lighter.png";
|
||||
fill.smooth: 0;
|
||||
min: 5 13;
|
||||
TILED_HORIZ(120)
|
||||
}
|
||||
}
|
||||
image { "bevel_vbar";
|
||||
desc { "default";
|
||||
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: 5 5;
|
||||
}
|
||||
}
|
||||
|
||||
text { "efl.text";
|
||||
effect: SHADOW BOTTOM;
|
||||
scale;
|
||||
desc { "default";
|
||||
rel1.offset: 2 3;
|
||||
offscale;
|
||||
min: 0 ICMIN;
|
||||
rel1.offset: 4 4;
|
||||
rel1.relative: 1.0 0.0;
|
||||
rel1.to_x: "efl.icon";
|
||||
rel2.offset: -3 -3;
|
||||
rel2.offset: -5 -5;
|
||||
rel2.relative: 0.0 1.0;
|
||||
rel2.to_x: "efl.extra";
|
||||
color: FN_COL_DEFAULT;
|
||||
color_class: "list_group_item";
|
||||
align: 0.0 0.5;
|
||||
color: 255 255 255 255;
|
||||
text { font: FNBD; size: 10;
|
||||
min: 1 1;
|
||||
ellipsis: -1;
|
||||
|
@ -67,56 +40,33 @@ group { "efl/group_item"; data.item: "version" "124"; nomouse; program_source: "
|
|||
}
|
||||
desc { "disabled";
|
||||
inherit: "default";
|
||||
color: FN_COL_DISABLE;
|
||||
color_class: "list_group_item_disabled";
|
||||
color: 80 80 80 255;
|
||||
link.base: "efl,state,disabled";
|
||||
}
|
||||
}
|
||||
swallow { "pad"; mouse;
|
||||
desc { "default";
|
||||
fixed: 1 0;
|
||||
align: 0.0 0.5;
|
||||
rel1.offset: 2 2;
|
||||
rel2.relative: 0.0 1.0;
|
||||
rel2.offset: 2 -3;
|
||||
}
|
||||
}
|
||||
swallow { "efl.icon"; mouse;
|
||||
scale;
|
||||
desc { "default";
|
||||
offscale;
|
||||
min: ICMIN ICMIN;
|
||||
fixed: 1 0;
|
||||
align: 0.0 0.5;
|
||||
rel1.to_x: "pad";
|
||||
rel1.relative: 1.0 0.0;
|
||||
rel1.offset: -1 2;
|
||||
rel2.to_x: "pad";
|
||||
rel2.relative: 1.0 1.0;
|
||||
rel2.offset: -1 -3;
|
||||
rel1.relative: 0.0 0.0;
|
||||
rel1.offset: 4 2;
|
||||
rel2.relative: 0.0 1.0;
|
||||
rel2.offset: 4 -3;
|
||||
}
|
||||
}
|
||||
swallow { "efl.extra"; mouse;
|
||||
scale;
|
||||
desc { "default";
|
||||
offscale;
|
||||
min: ICMIN ICMIN;
|
||||
fixed: 1 0;
|
||||
align: 1.0 0.5;
|
||||
rel1.offset: -3 2;
|
||||
rel1.offset: -5 4;
|
||||
rel1.relative: 1.0 0.0;
|
||||
rel2.offset: -3 -3;
|
||||
}
|
||||
}
|
||||
image { "bar";
|
||||
desc { "default";
|
||||
image.normal: "horizontal_separated_bar_small_glow.png";
|
||||
image.border: 4 4 4 4;
|
||||
fill.smooth: 0;
|
||||
fixed: 0 1;
|
||||
rel1.relative: 0.0 1.0;
|
||||
rel1.offset: -3 -6;
|
||||
rel2.offset: 2 3;
|
||||
link.base: "efl,state,enabled";
|
||||
}
|
||||
desc { "disabled";
|
||||
inherit: "default";
|
||||
color: 255 255 255 64;
|
||||
link.base: "efl,state,disabled";
|
||||
rel2.offset: -5 -5;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -17,101 +17,22 @@ Group: efl/image_zoomable (@since 1.23)
|
|||
group { name: "efl/image_zoomable";
|
||||
inherit: "efl/scroller";
|
||||
data.item: "version" "123";
|
||||
images.image: "knob_round_busy.png" COMP;
|
||||
images.image: "glow_round_corners.png" COMP;
|
||||
IMAGE_RING("ringa", 160)
|
||||
IMAGE_RING("ringb", 160)
|
||||
IMAGE_RING("ringc", 160)
|
||||
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";
|
||||
BUSY("base", "elm,state,pulse,started", "efl", "elm,state,pulse,stopped", "efl")
|
||||
part { name: "base"; type: RECT;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
image.normal: "knob_round_busy.png";
|
||||
color: 0 0 0 0;
|
||||
rel1.offset: 4 4;
|
||||
rel2.offset: -5 -5;
|
||||
align: 1.0 1.0;
|
||||
min: 40 40;
|
||||
max: 40 40;
|
||||
align: 0.0 0.0;
|
||||
rel1.offset: 3 3;
|
||||
rel2.offset: 3 3;
|
||||
fixed: 1 1;
|
||||
offscale;
|
||||
}
|
||||
}
|
||||
part { name: "knob_spinner"; mouse_events: 0;
|
||||
clip_to: "busy_clip";
|
||||
description { state: "default" 0.0;
|
||||
fixed: 1 1;
|
||||
rel1.to: "knob";
|
||||
rel2.to: "knob";
|
||||
image.normal: "glow_round_corners.png";
|
||||
map.on: 1;
|
||||
map.smooth: 1;
|
||||
map.rotation.center: "knob";
|
||||
}
|
||||
description { state: "spin" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
map.rotation.z: 360;
|
||||
}
|
||||
}
|
||||
}
|
||||
programs {
|
||||
program { name: "spin";
|
||||
signal: "efl,state,busy,started"; source: "efl";
|
||||
action: ACTION_STOP;
|
||||
target: "spin";
|
||||
target: "spin0";
|
||||
target: "spin1";
|
||||
target: "spin2";
|
||||
target: "spin3";
|
||||
target: "spin4";
|
||||
after: "spin0";
|
||||
}
|
||||
program { name: "spin0";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "knob_spinner";
|
||||
after: "spin1";
|
||||
}
|
||||
program { name: "spin1";
|
||||
action: STATE_SET "spin" 0.0;
|
||||
transition: LINEAR 1.0;
|
||||
target: "knob_spinner";
|
||||
after: "spin2";
|
||||
}
|
||||
program { name: "spin2";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "knob_spinner";
|
||||
after: "spin1";
|
||||
}
|
||||
|
||||
program {
|
||||
signal: "efl,state,busy,started"; source: "efl";
|
||||
action: STATE_SET "active" 0.0;
|
||||
transition: SINUSOIDAL 0.25;
|
||||
target: "busy_clip";
|
||||
}
|
||||
|
||||
program {
|
||||
signal: "efl,state,busy,stopped"; source: "efl";
|
||||
action: STATE_SET "default" 0.0;
|
||||
transition: SINUSOIDAL 1.0;
|
||||
target: "busy_clip";
|
||||
after: "spin3";
|
||||
}
|
||||
program { name: "spin3";
|
||||
action: ACTION_STOP;
|
||||
target: "spin";
|
||||
target: "spin2";
|
||||
after: "spin4";
|
||||
}
|
||||
program { name: "spin4";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "knob_spinner";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -56,32 +56,27 @@ group { "efl/list_view";
|
|||
data.item: "version" "123";
|
||||
}
|
||||
|
||||
group { "efl/list_item"; data.item: "version" "124";
|
||||
group { "efl/list_item";
|
||||
data.item: "version" "124";
|
||||
data.item: "selectraise" "on";
|
||||
data.item: "focusraise" "on";
|
||||
images.image: "bevel_curved_horiz_out.png" COMP;
|
||||
images.image: "shadow_rounded_horiz.png" COMP;
|
||||
images.image: "vgrad_med_dark.png" COMP;
|
||||
images.image: "bevel_horiz_out.png" COMP;
|
||||
images.image: "shine.png" COMP;
|
||||
parts {
|
||||
rect { "base"; nomouse;
|
||||
desc { "default";
|
||||
color: 64 64 64 255;
|
||||
color_class: "list_item_base";
|
||||
}
|
||||
desc { "odd";
|
||||
color: 56 56 56 255;
|
||||
color_class: "list_item_base_odd";
|
||||
}
|
||||
}
|
||||
|
||||
image { "bevel"; nomouse;
|
||||
rect { "sel_base"; nomouse;
|
||||
desc { "default";
|
||||
image.normal: "bevel_curved_horiz_out.png";
|
||||
image.border: 0 0 2 2;
|
||||
image.middle: 0;
|
||||
fill.smooth: 0;
|
||||
color: 51 153 255 255;
|
||||
hid;
|
||||
}
|
||||
desc { "selected";
|
||||
inherit: "default";
|
||||
vis;
|
||||
}
|
||||
}
|
||||
swallow { "efl.background";
|
||||
|
@ -90,123 +85,32 @@ group { "efl/list_item"; data.item: "version" "124";
|
|||
vis;
|
||||
}
|
||||
}
|
||||
image { "sel_shadow"; nomouse;
|
||||
desc { "default";
|
||||
image.normal: "shadow_rounded_horiz.png";
|
||||
image.border: 0 0 9 9;
|
||||
rel1.offset: 0 -4;
|
||||
rel2.offset: -1 5;
|
||||
fill.smooth: 0;
|
||||
hid;
|
||||
}
|
||||
desc { "selected";
|
||||
inherit: "default";
|
||||
vis;
|
||||
}
|
||||
}
|
||||
image { "sel_base"; nomouse;
|
||||
desc { "default";
|
||||
image.normal: "vgrad_med_dark.png";
|
||||
fill.smooth: 0;
|
||||
hid;
|
||||
TILED_HORIZ(120)
|
||||
}
|
||||
desc { "selected";
|
||||
inherit: "default";
|
||||
vis;
|
||||
}
|
||||
}
|
||||
image { "sel_bevel"; nomouse;
|
||||
desc { "default";
|
||||
image.normal: "bevel_horiz_out.png";
|
||||
image.border: 0 0 2 2;
|
||||
image.middle: 0;
|
||||
fill.smooth: 0;
|
||||
hid;
|
||||
}
|
||||
desc { "selected";
|
||||
inherit: "default";
|
||||
vis;
|
||||
}
|
||||
}
|
||||
|
||||
//##//
|
||||
text { "efl.text"; nomouse;
|
||||
effect: SHADOW BOTTOM;
|
||||
scale: 1;
|
||||
desc { "default";
|
||||
rel1.offset: 2 3;
|
||||
rel1.offset: 4 4;
|
||||
rel1.relative: 1.0 0.0;
|
||||
rel1.to_x: "efl.icon";
|
||||
rel2.offset: -3 -3;
|
||||
rel2.offset: -5 -5;
|
||||
rel2.relative: 0.0 1.0;
|
||||
rel2.to_x: "efl.extra";
|
||||
color: FN_COL_DEFAULT;
|
||||
color_class: "list_item";
|
||||
color: 160 160 160 255;
|
||||
text { font: FN; size: 10;
|
||||
min: 1 1;
|
||||
ellipsis: -1;
|
||||
align: 0.0 0.5;
|
||||
text_class: "list_item";
|
||||
}
|
||||
offscale;
|
||||
}
|
||||
desc { "selected";
|
||||
inherit: "default";
|
||||
hid;
|
||||
color: 255 255 255 255;
|
||||
}
|
||||
desc { "disabled";
|
||||
inherit: "default";
|
||||
hid;
|
||||
}
|
||||
}
|
||||
text { "label2"; nomouse;
|
||||
effect: SHADOW BOTTOM;
|
||||
scale: 1;
|
||||
desc { "default";
|
||||
rel1.to: "efl.text";
|
||||
rel2.to: "efl.text";
|
||||
color: FN_COL_DISABLE;
|
||||
color_class: "list_item_disabled";
|
||||
text { font: FN; size: 10;
|
||||
text_source: "efl.text";
|
||||
align: 0.0 0.5;
|
||||
text_class: "list_item";
|
||||
}
|
||||
hid;
|
||||
}
|
||||
desc { "selected";
|
||||
inherit: "default";
|
||||
hid;
|
||||
}
|
||||
desc { "disabled";
|
||||
inherit: "default";
|
||||
vis;
|
||||
}
|
||||
}
|
||||
text { "label3"; nomouse;
|
||||
effect: GLOW;
|
||||
scale: 1;
|
||||
desc { "default";
|
||||
rel1.offset: -2 -3;
|
||||
rel1.to: "efl.text";
|
||||
rel2.offset: 1 1;
|
||||
rel2.to: "efl.text";
|
||||
color: FN_COL_HIGHLIGHT;
|
||||
color_class: "list_item_selected";
|
||||
text { font: FN; size: 10;
|
||||
text_source: "efl.text";
|
||||
align: 0.0 0.5;
|
||||
text_class: "list_item";
|
||||
}
|
||||
hid;
|
||||
}
|
||||
desc { "selected";
|
||||
inherit: "default";
|
||||
vis;
|
||||
}
|
||||
desc { "disabled";
|
||||
inherit: "default";
|
||||
hid;
|
||||
color: 80 80 80 255;
|
||||
}
|
||||
}
|
||||
rect { "event";
|
||||
|
@ -220,40 +124,27 @@ group { "efl/list_item"; data.item: "version" "124";
|
|||
}
|
||||
//##//
|
||||
swallow { "efl.icon";
|
||||
scale: 1;
|
||||
desc { "default";
|
||||
fixed: 1 0;
|
||||
align: 0.0 0.5;
|
||||
aspect: 1.0 1.0;
|
||||
rel1.offset: 2 2;
|
||||
rel1.offset: 4 4;
|
||||
rel2.relative: 0.0 1.0;
|
||||
rel2.offset: 2 -3;
|
||||
rel2.offset: 4 -5;
|
||||
min: ICMIN ICMIN;
|
||||
offscale;
|
||||
}
|
||||
}
|
||||
swallow { "efl.extra";
|
||||
scale: 1;
|
||||
desc { "default";
|
||||
fixed: 1 0;
|
||||
align: 1.0 0.5;
|
||||
aspect: 1.0 1.0;
|
||||
rel1.offset: -3 2;
|
||||
rel1.offset: -5 4;
|
||||
rel1.relative: 1.0 0.0;
|
||||
rel2.offset: -3 -3;
|
||||
}
|
||||
}
|
||||
//##//
|
||||
image { "sel_shine"; nomouse;
|
||||
desc { "default";
|
||||
image.normal: "shine.png";
|
||||
rel1.offset: 0 -2;
|
||||
rel1.to: "sel_base";
|
||||
rel2.relative: 1.0 0.0;
|
||||
rel2.offset: -1 2;
|
||||
rel2.to: "sel_base";
|
||||
hid;
|
||||
FIXED_SIZE(69, 5)
|
||||
}
|
||||
desc { "selected";
|
||||
inherit: "default";
|
||||
vis;
|
||||
rel2.offset: -5 -5;
|
||||
min: ICMIN ICMIN;
|
||||
offscale;
|
||||
}
|
||||
}
|
||||
rect { "event_block";
|
||||
|
@ -269,107 +160,68 @@ group { "efl/list_item"; data.item: "version" "124";
|
|||
}
|
||||
programs {
|
||||
EFL_UI_CLICKABLE_PART_BIND("event")
|
||||
program {
|
||||
signal: "efl,state,odd"; source: "efl";
|
||||
program { signal: "efl,state,odd"; source: "efl";
|
||||
action: STATE_SET "odd";
|
||||
target: "base";
|
||||
}
|
||||
program {
|
||||
signal: "efl,state,even"; source: "efl";
|
||||
program { signal: "efl,state,even"; source: "efl";
|
||||
action: STATE_SET "default";
|
||||
target: "base";
|
||||
}
|
||||
program {
|
||||
signal: "efl,state,pressed"; source: "efl";
|
||||
program { signal: "efl,state,pressed"; source: "efl";
|
||||
action: STATE_SET "selected";
|
||||
target: "sel_shadow";
|
||||
target: "sel_base";
|
||||
target: "sel_bevel";
|
||||
target: "efl.text";
|
||||
target: "label2";
|
||||
target: "label3";
|
||||
target: "sel_shine";
|
||||
}
|
||||
program {
|
||||
signal: "efl,state,unpressed"; source: "efl";
|
||||
program { signal: "efl,state,unpressed"; source: "efl";
|
||||
action: STATE_SET "default";
|
||||
target: "sel_shadow";
|
||||
target: "sel_base";
|
||||
target: "sel_bevel";
|
||||
target: "efl.text";
|
||||
target: "label2";
|
||||
target: "label3";
|
||||
target: "sel_shine";
|
||||
}
|
||||
program {
|
||||
signal: "efl,state,selected"; source: "efl";
|
||||
program { signal: "efl,state,selected"; source: "efl";
|
||||
action: STATE_SET "selected";
|
||||
target: "sel_shadow";
|
||||
target: "sel_base";
|
||||
target: "sel_bevel";
|
||||
target: "efl.text";
|
||||
target: "label2";
|
||||
target: "label3";
|
||||
target: "sel_shine";
|
||||
}
|
||||
program {
|
||||
signal: "efl,state,unselected"; source: "efl";
|
||||
program { signal: "efl,state,unselected"; source: "efl";
|
||||
action: STATE_SET "default";
|
||||
target: "sel_shadow";
|
||||
target: "sel_base";
|
||||
target: "sel_bevel";
|
||||
target: "efl.text";
|
||||
target: "label2";
|
||||
target: "label3";
|
||||
target: "sel_shine";
|
||||
}
|
||||
program {
|
||||
signal: "efl,state,disabled"; source: "efl";
|
||||
program { signal: "efl,state,disabled"; source: "efl";
|
||||
action: STATE_SET "disabled";
|
||||
target: "event";
|
||||
target: "efl.text";
|
||||
target: "label2";
|
||||
target: "label3";
|
||||
target: "event_block";
|
||||
}
|
||||
program {
|
||||
signal: "efl,state,enabled"; source: "efl";
|
||||
program { signal: "efl,state,enabled"; source: "efl";
|
||||
action: STATE_SET "default";
|
||||
target: "event";
|
||||
target: "efl.text";
|
||||
target: "label2";
|
||||
target: "label3";
|
||||
target: "event_block";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
group { "efl/list_item:placeholder"; data.item: "version" "124";
|
||||
group { "efl/list_item:placeholder";
|
||||
data.item: "version" "124";
|
||||
data.item: "selectraise" "on";
|
||||
data.item: "focusraise" "on";
|
||||
images.image: "bevel_curved_horiz_out.png" COMP;
|
||||
images.image: "shadow_rounded_horiz.png" COMP;
|
||||
images.image: "vgrad_med_dark.png" COMP;
|
||||
images.image: "bevel_horiz_out.png" COMP;
|
||||
images.image: "shine.png" COMP;
|
||||
parts {
|
||||
rect { "base"; nomouse;
|
||||
desc { "default";
|
||||
color: 64 64 64 255;
|
||||
color_class: "list_item_base";
|
||||
}
|
||||
desc { "odd";
|
||||
color: 56 56 56 255;
|
||||
color_class: "list_item_base_odd";
|
||||
}
|
||||
}
|
||||
|
||||
image { "bevel"; nomouse;
|
||||
rect { "sel_base"; nomouse;
|
||||
desc { "default";
|
||||
image.normal: "bevel_curved_horiz_out.png";
|
||||
image.border: 0 0 2 2;
|
||||
image.middle: 0;
|
||||
fill.smooth: 0;
|
||||
color: 51 153 255 255;
|
||||
hid;
|
||||
}
|
||||
desc { "selected";
|
||||
inherit: "default";
|
||||
vis;
|
||||
}
|
||||
}
|
||||
swallow { "efl.background";
|
||||
|
@ -378,45 +230,7 @@ group { "efl/list_item:placeholder"; data.item: "version" "124";
|
|||
vis;
|
||||
}
|
||||
}
|
||||
image { "sel_shadow"; nomouse;
|
||||
desc { "default";
|
||||
image.normal: "shadow_rounded_horiz.png";
|
||||
image.border: 0 0 9 9;
|
||||
rel1.offset: 0 -4;
|
||||
rel2.offset: -1 5;
|
||||
fill.smooth: 0;
|
||||
hid;
|
||||
}
|
||||
desc { "selected";
|
||||
inherit: "default";
|
||||
vis;
|
||||
}
|
||||
}
|
||||
image { "sel_base"; nomouse;
|
||||
desc { "default";
|
||||
image.normal: "vgrad_med_dark.png";
|
||||
fill.smooth: 0;
|
||||
hid;
|
||||
TILED_HORIZ(120)
|
||||
}
|
||||
desc { "selected";
|
||||
inherit: "default";
|
||||
vis;
|
||||
}
|
||||
}
|
||||
image { "sel_bevel"; nomouse;
|
||||
desc { "default";
|
||||
image.normal: "bevel_horiz_out.png";
|
||||
image.border: 0 0 2 2;
|
||||
image.middle: 0;
|
||||
fill.smooth: 0;
|
||||
hid;
|
||||
}
|
||||
desc { "selected";
|
||||
inherit: "default";
|
||||
vis;
|
||||
}
|
||||
}
|
||||
//##//
|
||||
rect { "event";
|
||||
desc { "default";
|
||||
color: 0 0 0 0;
|
||||
|
@ -427,32 +241,16 @@ group { "efl/list_item:placeholder"; data.item: "version" "124";
|
|||
}
|
||||
}
|
||||
//##//
|
||||
swallow { "efl.content"; mouse;
|
||||
scale;
|
||||
swallow { "efl.content";
|
||||
scale: 1;
|
||||
desc { "default";
|
||||
min: 19 19;
|
||||
rel1.offset: -1 2;
|
||||
rel2.offset: -3 -3;
|
||||
rel1.offset: 4 4;
|
||||
rel2.offset: -5 -5;
|
||||
min: ICMIN ICMIN;
|
||||
offscale;
|
||||
}
|
||||
}
|
||||
//##//
|
||||
image { "sel_shine";
|
||||
desc { "default";
|
||||
image.normal: "shine.png";
|
||||
rel1.offset: 0 -2;
|
||||
rel1.to: "sel_base";
|
||||
rel2.relative: 1.0 0.0;
|
||||
rel2.offset: -1 2;
|
||||
rel2.to: "sel_base";
|
||||
hid;
|
||||
FIXED_SIZE(69, 5)
|
||||
}
|
||||
desc { "selected";
|
||||
inherit: "default";
|
||||
vis;
|
||||
}
|
||||
}
|
||||
rect { "event_block"; mouse;
|
||||
rect { "event_block";
|
||||
desc { "default";
|
||||
color: 0 0 0 0;
|
||||
hid;
|
||||
|
@ -465,59 +263,37 @@ group { "efl/list_item:placeholder"; data.item: "version" "124";
|
|||
}
|
||||
programs {
|
||||
EFL_UI_CLICKABLE_PART_BIND("event")
|
||||
program {
|
||||
signal: "efl,state,odd"; source: "efl";
|
||||
program { signal: "efl,state,odd"; source: "efl";
|
||||
action: STATE_SET "odd";
|
||||
target: "base";
|
||||
}
|
||||
program {
|
||||
signal: "efl,state,even"; source: "efl";
|
||||
program { signal: "efl,state,even"; source: "efl";
|
||||
action: STATE_SET "default";
|
||||
target: "base";
|
||||
}
|
||||
program {
|
||||
signal: "efl,state,pressed"; source: "efl";
|
||||
program { signal: "efl,state,pressed"; source: "efl";
|
||||
action: STATE_SET "selected";
|
||||
target: "sel_shadow";
|
||||
target: "sel_base";
|
||||
target: "sel_bevel";
|
||||
target: "sel_shine";
|
||||
}
|
||||
program {
|
||||
signal: "efl,state,unpressed"; source: "efl";
|
||||
program { signal: "efl,state,unpressed"; source: "efl";
|
||||
action: STATE_SET "default";
|
||||
target: "sel_shadow";
|
||||
target: "sel_base";
|
||||
target: "sel_bevel";
|
||||
target: "sel_shine";
|
||||
}
|
||||
program {
|
||||
signal: "efl,state,selected"; source: "efl";
|
||||
program { signal: "efl,state,selected"; source: "efl";
|
||||
action: STATE_SET "selected";
|
||||
target: "sel_shadow";
|
||||
target: "sel_base";
|
||||
target: "sel_bevel";
|
||||
target: "sel_shine";
|
||||
}
|
||||
program {
|
||||
signal: "efl,state,unselected"; source: "efl";
|
||||
program { signal: "efl,state,unselected"; source: "efl";
|
||||
action: STATE_SET "default";
|
||||
target: "sel_shadow";
|
||||
target: "sel_base";
|
||||
target: "sel_bevel";
|
||||
target: "sel_shine";
|
||||
}
|
||||
program {
|
||||
signal: "efl,state,disabled"; source: "efl";
|
||||
program { signal: "efl,state,disabled"; source: "efl";
|
||||
action: STATE_SET "disabled";
|
||||
target: "event";
|
||||
target: "event_block";
|
||||
}
|
||||
program {
|
||||
signal: "efl,state,enabled"; source: "efl";
|
||||
program { signal: "efl,state,enabled"; source: "efl";
|
||||
action: STATE_SET "default";
|
||||
target: "event";
|
||||
target: "event_block";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
//Efl.Ui.Navigation_Bar Themes
|
||||
group { "efl/navigation_bar"; data.item: "version" "123";
|
||||
group { "efl/navigation_bar";
|
||||
data.item: "version" "123";
|
||||
styles {
|
||||
style { name: "navigation_bar_text";
|
||||
base: "font="FNBD" font_size=10 text_class=label align=center color=#fff color_class=navigation_bar_text style=shadow,bottom shadow_color=#00000080 ellipsis=1.0 wrap=mixed";
|
||||
base: "font="FNBD" font_size=10 text_class=label align=center color=#fff ellipsis=1.0 wrap=mixed";
|
||||
tag: "br" "\n";
|
||||
tag: "hilight" "+ font="FNBD" text_class=label_light";
|
||||
tag: "b" "+ font="FNBD" text_class=label_light";
|
||||
|
@ -16,6 +17,7 @@ group { "efl/navigation_bar"; data.item: "version" "123";
|
|||
}
|
||||
}
|
||||
swallow { "efl.back_button";
|
||||
scale;
|
||||
desc { "default";
|
||||
fixed: 1 0;
|
||||
min: 0 0;
|
||||
|
@ -27,71 +29,65 @@ group { "efl/navigation_bar"; data.item: "version" "123";
|
|||
}
|
||||
desc { "visible";
|
||||
inherit: "default";
|
||||
min: 40 0;
|
||||
min: 40 20;
|
||||
max: 40 -1;
|
||||
vis;
|
||||
}
|
||||
}
|
||||
swallow { "efl.left_content";
|
||||
scale;
|
||||
desc { "default";
|
||||
rel.to: "base";
|
||||
rel2.relative: 0.0 1.0;
|
||||
align: 0.0 0.5;
|
||||
min: 40 20;
|
||||
max: 40 -1;
|
||||
}
|
||||
}
|
||||
swallow { "efl.right_content";
|
||||
scale;
|
||||
desc { "default";
|
||||
rel.to: "base";
|
||||
rel1.relative: 1.0 0.0;
|
||||
align: 1.0 0.5;
|
||||
min: 40 20;
|
||||
max: 40 -1;
|
||||
}
|
||||
}
|
||||
spacer { "text_base";
|
||||
desc { "default";
|
||||
rel1 {
|
||||
to: "efl.back_button";
|
||||
relative: 1.0 0.0;
|
||||
}
|
||||
rel2 {
|
||||
to: "efl.right_content";
|
||||
relative: 0.0 1.0;
|
||||
}
|
||||
rel1.to: "efl.back_button";
|
||||
rel1.relative: 1.0 0.0;
|
||||
rel2.to: "efl.right_content";
|
||||
rel2.relative: 0.0 1.0;
|
||||
}
|
||||
desc { "left_content";
|
||||
inherit: "default";
|
||||
rel1 {
|
||||
to: "efl.left_content";
|
||||
relative: 1.0 0.0;
|
||||
}
|
||||
rel1.to: "efl.left_content";
|
||||
rel1.relative: 1.0 0.0;
|
||||
}
|
||||
}
|
||||
textblock { "efl.text";
|
||||
scale;
|
||||
desc { "default";
|
||||
text {
|
||||
style: "navigation_bar_text";
|
||||
}
|
||||
rel.to: "text_base";
|
||||
text.style: "navigation_bar_text";
|
||||
}
|
||||
}
|
||||
programs {
|
||||
program {
|
||||
signal: "efl,state,back_button,visible"; source: "efl";
|
||||
program { signal: "efl,state,back_button,visible"; source: "efl";
|
||||
action: STATE_SET "visible" 0.0;
|
||||
target: "efl.back_button";
|
||||
}
|
||||
program {
|
||||
signal: "efl,state,back_button,hidden"; source: "efl";
|
||||
program { signal: "efl,state,back_button,hidden"; source: "efl";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "efl.back_button";
|
||||
}
|
||||
program {
|
||||
signal: "efl,state,left_content,set"; source: "efl";
|
||||
program { signal: "efl,state,left_content,set"; source: "efl";
|
||||
action: STATE_SET "left_content" 0.0;
|
||||
target: "text_base";
|
||||
}
|
||||
program {
|
||||
signal: "efl,state,left_content,unset"; source: "efl";
|
||||
program { signal: "efl,state,left_content,unset"; source: "efl";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "text_base";
|
||||
}
|
||||
|
@ -102,13 +98,12 @@ group { "efl/navigation_bar"; data.item: "version" "123";
|
|||
group { name: "efl/navigation_bar/back_button";
|
||||
inherit: "efl/button";
|
||||
data.item: "version" "123";
|
||||
images.image: "icon_arrow_left.png" COMP;
|
||||
parts {
|
||||
image { name: "icon_arrow_left";
|
||||
insert_before: "efl.content";
|
||||
desc { "default";
|
||||
image.normal: "icon_arrow_left.png";
|
||||
fill.smooth: 0;
|
||||
image.normal: "i-arrow-l";
|
||||
color: 160 160 160 255;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,11 +1,13 @@
|
|||
//Efl.Ui.Navigation_Layout Themes
|
||||
group { "efl/navigation_layout"; data.item: "version" "123";
|
||||
group { "efl/navigation_layout";
|
||||
data.item: "version" "123";
|
||||
parts {
|
||||
spacer { "base";
|
||||
desc { "default";
|
||||
}
|
||||
}
|
||||
swallow { "efl.bar";
|
||||
scale: 1;
|
||||
desc { "default";
|
||||
fixed: 0 1;
|
||||
min: 0 40;
|
||||
|
|
|
@ -1,19 +1,18 @@
|
|||
group { name: "efl/panel"; data.item: "version" "123";
|
||||
data {
|
||||
item: "handler_size" "30";
|
||||
}
|
||||
group { name: "efl/panel";
|
||||
data.item: "version" "123";
|
||||
data.item: "handler_size" "30";
|
||||
parts {
|
||||
part { name: "efl.content";
|
||||
type: SWALLOW;
|
||||
part { name: "efl.content"; type: SWALLOW;
|
||||
description { state: "default" 0.0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
group { name: "efl/panel/scrollable/left"; data.item: "version" "123";
|
||||
|
||||
group { name: "efl/scroller/panel/left";
|
||||
data.item: "version" "123";
|
||||
parts {
|
||||
part { name: "efl.panel_area";
|
||||
type: SWALLOW;
|
||||
part { name: "efl.panel_area"; type: SWALLOW;
|
||||
description { state: "default" 0.0;
|
||||
rel2.relative: 0.0 1.0;
|
||||
align: 0.0 0.5;
|
||||
|
@ -25,17 +24,11 @@ group { name: "efl/panel/scrollable/left"; data.item: "version" "123";
|
|||
visible: 1;
|
||||
}
|
||||
}
|
||||
part { name: "efl.event_area";
|
||||
type: SWALLOW;
|
||||
part { name: "efl.event_area"; type: SWALLOW;
|
||||
description { state: "default" 0.0;
|
||||
rel1 {
|
||||
relative: 1.0 0.0;
|
||||
to: "efl.panel_area";
|
||||
}
|
||||
rel2 {
|
||||
relative: 1.0 1.0;
|
||||
to: "efl.panel_area";
|
||||
}
|
||||
rel.to: "efl.panel_area";
|
||||
rel1.relative: 1.0 0.0;
|
||||
rel2.relative: 1.0 1.0;
|
||||
align: 0.0 0.5;
|
||||
fixed: 1 1;
|
||||
visible: 0;
|
||||
|
@ -45,20 +38,16 @@ group { name: "efl/panel/scrollable/left"; data.item: "version" "123";
|
|||
visible: 1;
|
||||
}
|
||||
}
|
||||
part { name: "access.outline";
|
||||
type: RECT;
|
||||
part { name: "access.outline"; type: RECT;
|
||||
repeat_events: 1;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "efl.panel_area";
|
||||
rel2.to: "efl.panel_area";
|
||||
rel.to: "efl.panel_area";
|
||||
color: 0 0 0 0;
|
||||
}
|
||||
}
|
||||
part { name: "bg";
|
||||
type: RECT;
|
||||
part { name: "bg"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "efl.panel_area";
|
||||
rel2.to: "efl.panel_area";
|
||||
rel.to: "efl.panel_area";
|
||||
color: 64 64 64 255;
|
||||
visible: 0;
|
||||
}
|
||||
|
@ -67,11 +56,9 @@ group { name: "efl/panel/scrollable/left"; data.item: "version" "123";
|
|||
visible: 1;
|
||||
}
|
||||
}
|
||||
part { name: "efl.content";
|
||||
type: SWALLOW;
|
||||
part { name: "efl.content"; type: SWALLOW;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "efl.panel_area";
|
||||
rel2.to: "efl.panel_area";
|
||||
rel.to: "efl.panel_area";
|
||||
visible: 0;
|
||||
}
|
||||
description { state: "visible" 0.0;
|
||||
|
@ -81,18 +68,14 @@ group { name: "efl/panel/scrollable/left"; data.item: "version" "123";
|
|||
}
|
||||
}
|
||||
programs {
|
||||
program { name: "active";
|
||||
signal: "efl,state,content,visible";
|
||||
source: "efl";
|
||||
program { signal: "efl,state,content,visible"; source: "efl";
|
||||
action: STATE_SET "visible" 0.0;
|
||||
target: "efl.panel_area";
|
||||
target: "efl.event_area";
|
||||
target: "bg";
|
||||
target: "efl.content";
|
||||
}
|
||||
program { name: "inactive";
|
||||
signal: "efl,state,content,hidden";
|
||||
source: "efl";
|
||||
program { signal: "efl,state,content,hidden"; source: "efl";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "efl.panel_area";
|
||||
target: "efl.event_area";
|
||||
|
@ -102,10 +85,10 @@ group { name: "efl/panel/scrollable/left"; data.item: "version" "123";
|
|||
}
|
||||
}
|
||||
|
||||
group { name: "efl/panel/scrollable/right"; data.item: "version" "123";
|
||||
group { name: "efl/scroller/panel/right";
|
||||
data.item: "version" "123";
|
||||
parts {
|
||||
part { name: "efl.event_area";
|
||||
type: SWALLOW;
|
||||
part { name: "efl.event_area"; type: SWALLOW;
|
||||
description { state: "default" 0.0;
|
||||
rel2.relative: 0.0 1.0;
|
||||
align: 0.0 0.5;
|
||||
|
@ -117,8 +100,7 @@ group { name: "efl/panel/scrollable/right"; data.item: "version" "123";
|
|||
visible: 1;
|
||||
}
|
||||
}
|
||||
part { name: "efl.panel_area";
|
||||
type: SWALLOW;
|
||||
part { name: "efl.panel_area"; type: SWALLOW;
|
||||
description { state: "default" 0.0;
|
||||
rel1 {
|
||||
relative: 1.0 0.0;
|
||||
|
@ -137,8 +119,7 @@ group { name: "efl/panel/scrollable/right"; data.item: "version" "123";
|
|||
visible: 1;
|
||||
}
|
||||
}
|
||||
part { name: "access.outline";
|
||||
type: RECT;
|
||||
part { name: "access.outline"; type: RECT;
|
||||
repeat_events: 1;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "efl.panel_area";
|
||||
|
@ -146,8 +127,7 @@ group { name: "efl/panel/scrollable/right"; data.item: "version" "123";
|
|||
color: 0 0 0 0;
|
||||
}
|
||||
}
|
||||
part { name: "bg";
|
||||
type: RECT;
|
||||
part { name: "bg"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "efl.panel_area";
|
||||
rel2.to: "efl.panel_area";
|
||||
|
@ -159,8 +139,7 @@ group { name: "efl/panel/scrollable/right"; data.item: "version" "123";
|
|||
visible: 1;
|
||||
}
|
||||
}
|
||||
part { name: "efl.content";
|
||||
type: SWALLOW;
|
||||
part { name: "efl.content"; type: SWALLOW;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "efl.panel_area";
|
||||
rel2.to: "efl.panel_area";
|
||||
|
@ -173,18 +152,14 @@ group { name: "efl/panel/scrollable/right"; data.item: "version" "123";
|
|||
}
|
||||
}
|
||||
programs {
|
||||
program { name: "active";
|
||||
signal: "efl,state,content,visible";
|
||||
source: "efl";
|
||||
program { signal: "efl,state,content,visible"; source: "efl";
|
||||
action: STATE_SET "visible" 0.0;
|
||||
target: "efl.panel_area";
|
||||
target: "efl.event_area";
|
||||
target: "bg";
|
||||
target: "efl.content";
|
||||
}
|
||||
program { name: "inactive";
|
||||
signal: "efl,state,content,hidden";
|
||||
source: "efl";
|
||||
program { signal: "efl,state,content,hidden"; source: "efl";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "efl.panel_area";
|
||||
target: "efl.event_area";
|
||||
|
@ -194,10 +169,10 @@ group { name: "efl/panel/scrollable/right"; data.item: "version" "123";
|
|||
}
|
||||
}
|
||||
|
||||
group { name: "efl/panel/scrollable/top"; data.item: "version" "123";
|
||||
group { name: "efl/scroller/panel/top";
|
||||
data.item: "version" "123";
|
||||
parts {
|
||||
part { name: "efl.panel_area";
|
||||
type: SWALLOW;
|
||||
part { name: "efl.panel_area"; type: SWALLOW;
|
||||
description { state: "default" 0.0;
|
||||
rel2.relative: 1.0 0.0;
|
||||
align: 0.5 0.0;
|
||||
|
@ -209,8 +184,7 @@ group { name: "efl/panel/scrollable/top"; data.item: "version" "123";
|
|||
visible: 1;
|
||||
}
|
||||
}
|
||||
part { name: "efl.event_area";
|
||||
type: SWALLOW;
|
||||
part { name: "efl.event_area"; type: SWALLOW;
|
||||
description { state: "default" 0.0;
|
||||
rel1 {
|
||||
relative: 0.0 1.0;
|
||||
|
@ -229,8 +203,7 @@ group { name: "efl/panel/scrollable/top"; data.item: "version" "123";
|
|||
visible: 1;
|
||||
}
|
||||
}
|
||||
part { name: "access.outline";
|
||||
type: RECT;
|
||||
part { name: "access.outline"; type: RECT;
|
||||
repeat_events: 1;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "efl.panel_area";
|
||||
|
@ -238,8 +211,7 @@ group { name: "efl/panel/scrollable/top"; data.item: "version" "123";
|
|||
color: 0 0 0 0;
|
||||
}
|
||||
}
|
||||
part { name: "bg";
|
||||
type: RECT;
|
||||
part { name: "bg"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "efl.panel_area";
|
||||
rel2.to: "efl.panel_area";
|
||||
|
@ -251,8 +223,7 @@ group { name: "efl/panel/scrollable/top"; data.item: "version" "123";
|
|||
visible: 1;
|
||||
}
|
||||
}
|
||||
part { name: "efl.content";
|
||||
type: SWALLOW;
|
||||
part { name: "efl.content"; type: SWALLOW;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "efl.panel_area";
|
||||
rel2.to: "efl.panel_area";
|
||||
|
@ -265,18 +236,14 @@ group { name: "efl/panel/scrollable/top"; data.item: "version" "123";
|
|||
}
|
||||
}
|
||||
programs {
|
||||
program { name: "active";
|
||||
signal: "efl,state,content,visible";
|
||||
source: "efl";
|
||||
program { signal: "efl,state,content,visible"; source: "efl";
|
||||
action: STATE_SET "visible" 0.0;
|
||||
target: "efl.panel_area";
|
||||
target: "efl.event_area";
|
||||
target: "bg";
|
||||
target: "efl.content";
|
||||
}
|
||||
program { name: "inactive";
|
||||
signal: "efl,state,content,hidden";
|
||||
source: "efl";
|
||||
program { signal: "efl,state,content,hidden"; source: "efl";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "efl.panel_area";
|
||||
target: "efl.event_area";
|
||||
|
@ -286,10 +253,10 @@ group { name: "efl/panel/scrollable/top"; data.item: "version" "123";
|
|||
}
|
||||
}
|
||||
|
||||
group { name: "efl/panel/scrollable/bottom"; data.item: "version" "123";
|
||||
group { name: "efl/scroller/panel/bottom";
|
||||
data.item: "version" "123";
|
||||
parts {
|
||||
part { name: "efl.event_area";
|
||||
type: SWALLOW;
|
||||
part { name: "efl.event_area"; type: SWALLOW;
|
||||
description { state: "default" 0.0;
|
||||
rel2.relative: 1.0 0.0;
|
||||
align: 0.5 0.0;
|
||||
|
@ -301,17 +268,11 @@ group { name: "efl/panel/scrollable/bottom"; data.item: "version" "123";
|
|||
visible: 1;
|
||||
}
|
||||
}
|
||||
part { name: "efl.panel_area";
|
||||
type: SWALLOW;
|
||||
part { name: "efl.panel_area"; type: SWALLOW;
|
||||
description { state: "default" 0.0;
|
||||
rel1 {
|
||||
relative: 0.0 1.0;
|
||||
to: "efl.event_area";
|
||||
}
|
||||
rel2 {
|
||||
relative: 1.0 1.0;
|
||||
to: "efl.event_area";
|
||||
}
|
||||
rel.to: "efl.event_area";
|
||||
rel1.relative: 0.0 1.0;
|
||||
rel2.relative: 1.0 1.0;
|
||||
align: 0.5 0.0;
|
||||
fixed: 1 1;
|
||||
visible: 0;
|
||||
|
@ -321,20 +282,15 @@ group { name: "efl/panel/scrollable/bottom"; data.item: "version" "123";
|
|||
visible: 1;
|
||||
}
|
||||
}
|
||||
part { name: "access.outline";
|
||||
type: RECT;
|
||||
repeat_events: 1;
|
||||
part { name: "access.outline"; type: RECT; repeat_events: 1;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "efl.panel_area";
|
||||
rel2.to: "efl.panel_area";
|
||||
rel.to: "efl.panel_area";
|
||||
color: 0 0 0 0;
|
||||
}
|
||||
}
|
||||
part { name: "bg";
|
||||
type: RECT;
|
||||
part { name: "bg"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "efl.panel_area";
|
||||
rel2.to: "efl.panel_area";
|
||||
rel.to: "efl.panel_area";
|
||||
color: 64 64 64 255;
|
||||
visible: 0;
|
||||
}
|
||||
|
@ -343,11 +299,9 @@ group { name: "efl/panel/scrollable/bottom"; data.item: "version" "123";
|
|||
visible: 1;
|
||||
}
|
||||
}
|
||||
part { name: "efl.content";
|
||||
type: SWALLOW;
|
||||
part { name: "efl.content"; type: SWALLOW;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "efl.panel_area";
|
||||
rel2.to: "efl.panel_area";
|
||||
rel.to: "efl.panel_area";
|
||||
visible: 0;
|
||||
}
|
||||
description { state: "visible" 0.0;
|
||||
|
@ -357,18 +311,14 @@ group { name: "efl/panel/scrollable/bottom"; data.item: "version" "123";
|
|||
}
|
||||
}
|
||||
programs {
|
||||
program { name: "active";
|
||||
signal: "efl,state,content,visible";
|
||||
source: "efl";
|
||||
program { signal: "efl,state,content,visible"; source: "efl";
|
||||
action: STATE_SET "visible" 0.0;
|
||||
target: "efl.panel_area";
|
||||
target: "efl.event_area";
|
||||
target: "bg";
|
||||
target: "efl.content";
|
||||
}
|
||||
program { name: "inactive";
|
||||
signal: "efl,state,content,hidden";
|
||||
source: "efl";
|
||||
program { signal: "efl,state,content,hidden"; source: "efl";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "efl.panel_area";
|
||||
target: "efl.event_area";
|
||||
|
@ -378,49 +328,32 @@ group { name: "efl/panel/scrollable/bottom"; data.item: "version" "123";
|
|||
}
|
||||
}
|
||||
|
||||
group { name: "efl/panel/left"; data.item: "version" "123";
|
||||
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;
|
||||
group { name: "efl/panel/left";
|
||||
data.item: "version" "123";
|
||||
data.item: "focus_highlight" "on";
|
||||
script {
|
||||
public is_rtl = 0;
|
||||
}
|
||||
parts {
|
||||
part { name: "shadow"; mouse_events: 0;
|
||||
scale: 1;
|
||||
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;
|
||||
rel.to: "base";
|
||||
WIN_SHADOW_SMALL;
|
||||
}
|
||||
}
|
||||
part { name: "glow"; mouse_events: 0;
|
||||
part { name: "glow"; type: RECT; mouse_events: 0;
|
||||
scale: 1;
|
||||
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;
|
||||
rel.to: "base";
|
||||
color: 51 153 255 255;
|
||||
visible: 0;
|
||||
offscale;
|
||||
}
|
||||
description { state: "focused" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: 255 255 255 255;
|
||||
rel1.offset: -5 -5;
|
||||
rel2.offset: 4 4;
|
||||
visible: 1;
|
||||
}
|
||||
}
|
||||
|
@ -433,44 +366,23 @@ group { name: "efl/panel/left"; data.item: "version" "123";
|
|||
rel1.to_x: "all";
|
||||
rel2.to_x: "efl.swallow.event";
|
||||
rel2.relative: 0.0 1.0;
|
||||
rel2.offset: -4 -1;
|
||||
color: 64 64 64 255;
|
||||
}
|
||||
}
|
||||
part { name: "efl.content"; type: SWALLOW;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
rel.to: "base";
|
||||
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)
|
||||
offscale;
|
||||
}
|
||||
}
|
||||
part { name: "efl.swallow.event"; type: SWALLOW;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
fixed: 1 1;
|
||||
min: 20 20;
|
||||
max: 20 20;
|
||||
min: 30 30; max: 30 999999;
|
||||
align: 1.0 0.5;
|
||||
rel1.relative: 1.0 0.0;
|
||||
rel2.relative: 1.0 1.0;
|
||||
|
@ -485,54 +397,38 @@ group { name: "efl/panel/left"; data.item: "version" "123";
|
|||
}
|
||||
part { name: "btn"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "efl.swallow.event";
|
||||
rel2.to: "efl.swallow.event";
|
||||
rel.to: "efl.swallow.event";
|
||||
color: 0 0 0 0;
|
||||
}
|
||||
description { state: "hidden" 0.0;
|
||||
rel1.to: "efl.swallow.event";
|
||||
rel2.to: "efl.swallow.event";
|
||||
}
|
||||
}
|
||||
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)
|
||||
rel.to: "efl.swallow.event";
|
||||
}
|
||||
}
|
||||
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";
|
||||
min: 30 30; max: 30 30;
|
||||
rel.to: "btn";
|
||||
image.normal: "i-arrow-l";
|
||||
}
|
||||
description { state: "hidden" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
image.normal: "icon_arrow_right.png";
|
||||
image.normal: "i-arrow-r";
|
||||
}
|
||||
}
|
||||
}
|
||||
programs {
|
||||
program {
|
||||
signal: "mouse,clicked,1"; source: "btn";
|
||||
program { signal: "mouse,clicked,1"; source: "btn";
|
||||
action: SIGNAL_EMIT "efl,action,panel,toggle" "efl";
|
||||
}
|
||||
program {
|
||||
signal: "efl,action,show"; source: "efl";
|
||||
program { signal: "efl,action,show"; source: "efl";
|
||||
action: STATE_SET "default" 0.0;
|
||||
transition: DECELERATE 0.3;
|
||||
transition: DECELERATE 0.2;
|
||||
target: "efl.swallow.event";
|
||||
target: "base";
|
||||
}
|
||||
program {
|
||||
signal: "efl,action,show"; source: "efl";
|
||||
program { signal: "efl,action,show"; source: "efl";
|
||||
script {
|
||||
if (get_int(is_rtl) == 0)
|
||||
set_state(PART:"icn", "default", 0.0);
|
||||
|
@ -540,9 +436,7 @@ group { name: "efl/panel/left"; data.item: "version" "123";
|
|||
set_state(PART:"icn", "hidden", 0.0);
|
||||
}
|
||||
}
|
||||
program {
|
||||
signal: "edje,state,rtl";
|
||||
source: "edje";
|
||||
program { signal: "edje,state,rtl"; source: "edje";
|
||||
script {
|
||||
new st[31];
|
||||
new Float:vl;
|
||||
|
@ -554,9 +448,7 @@ group { name: "efl/panel/left"; data.item: "version" "123";
|
|||
set_int(is_rtl, 1);
|
||||
}
|
||||
}
|
||||
program {
|
||||
signal: "edje,state,ltr";
|
||||
source: "edje";
|
||||
program { signal: "edje,state,ltr"; source: "edje";
|
||||
script {
|
||||
new st[31];
|
||||
new Float:vl;
|
||||
|
@ -568,14 +460,12 @@ group { name: "efl/panel/left"; data.item: "version" "123";
|
|||
set_int(is_rtl, 0);
|
||||
}
|
||||
}
|
||||
program {
|
||||
signal: "efl,action,hide"; source: "efl";
|
||||
program { signal: "efl,action,hide"; source: "efl";
|
||||
action: STATE_SET "hidden" 0.0;
|
||||
transition: ACCELERATE 0.3;
|
||||
transition: ACCELERATE 0.2;
|
||||
target: "efl.swallow.event";
|
||||
}
|
||||
program {
|
||||
signal: "efl,action,hide"; source: "efl";
|
||||
program { signal: "efl,action,hide"; source: "efl";
|
||||
script {
|
||||
if (get_int(is_rtl) == 0)
|
||||
set_state(PART:"icn", "hidden", 0.0);
|
||||
|
@ -587,21 +477,18 @@ group { name: "efl/panel/left"; data.item: "version" "123";
|
|||
signal: "efl,action,hide"; source: "efl";
|
||||
script {
|
||||
new x, y, w, h;
|
||||
if (get_int(is_rtl) == 0)
|
||||
{
|
||||
custom_state(PART:"base", "default", 0.0);
|
||||
set_state_val(PART:"base", STATE_REL1, -1.0, 0.0);
|
||||
get_geometry(PART:"efl.swallow.event", x, y, w, h);
|
||||
set_state_val(PART:"base", STATE_REL1_OFFSET, w, 0);
|
||||
}
|
||||
else
|
||||
{
|
||||
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:"efl.swallow.event", x, y, w, h);
|
||||
set_state_val(PART:"base", STATE_REL2_OFFSET, -w, 0);
|
||||
}
|
||||
if (get_int(is_rtl) == 0) {
|
||||
custom_state(PART:"base", "default", 0.0);
|
||||
set_state_val(PART:"base", STATE_REL1, -1.0, 0.0);
|
||||
get_geometry(PART:"efl.swallow.event", x, y, w, h);
|
||||
set_state_val(PART:"base", STATE_REL1_OFFSET, w, 0);
|
||||
} else {
|
||||
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:"efl.swallow.event", x, y, w, h);
|
||||
set_state_val(PART:"base", STATE_REL2_OFFSET, -w, 0);
|
||||
}
|
||||
}
|
||||
after: "hide2";
|
||||
}
|
||||
|
@ -610,14 +497,12 @@ group { name: "efl/panel/left"; data.item: "version" "123";
|
|||
transition: ACCELERATE 0.3;
|
||||
target: "base";
|
||||
}
|
||||
program {
|
||||
signal: "efl,action,focus_highlight,show"; source: "efl";
|
||||
program { signal: "efl,action,focus_highlight,show"; source: "efl";
|
||||
action: STATE_SET "focused" 0.0;
|
||||
transition: ACCELERATE 0.2;
|
||||
target: "glow";
|
||||
}
|
||||
program {
|
||||
signal: "efl,action,focus_highlight,hide"; source: "efl";
|
||||
program { signal: "efl,action,focus_highlight,hide"; source: "efl";
|
||||
action: STATE_SET "default" 0.0;
|
||||
transition: DECELERATE 0.5;
|
||||
target: "glow";
|
||||
|
@ -626,8 +511,8 @@ group { name: "efl/panel/left"; data.item: "version" "123";
|
|||
}
|
||||
|
||||
group { name: "efl/panel/right";
|
||||
inherit: "efl/panel/left";
|
||||
data.item: "version" "123";
|
||||
inherit: "efl/panel/left";
|
||||
parts {
|
||||
part { name: "base";
|
||||
description { state: "default" 0.0;
|
||||
|
@ -651,17 +536,12 @@ group { name: "efl/panel/right";
|
|||
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";
|
||||
image.normal: "i-arrow-r";
|
||||
}
|
||||
description { state: "hidden" 0.0;
|
||||
image.normal: "icon_arrow_left.png";
|
||||
image.normal: "i-arrow-l";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -669,7 +549,7 @@ group { name: "efl/panel/right";
|
|||
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);
|
||||
|
@ -681,23 +561,22 @@ group { name: "efl/panel/right";
|
|||
}
|
||||
|
||||
group { name: "efl/panel/top";
|
||||
inherit: "efl/panel/left";
|
||||
data.item: "version" "123";
|
||||
inherit: "efl/panel/left";
|
||||
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: "efl.swallow.event";
|
||||
rel2.offset: -1 -4;
|
||||
}
|
||||
}
|
||||
part { name: "efl.swallow.event";
|
||||
description { state: "default" 0.0;
|
||||
min: 30 30; max: 999999 30;
|
||||
align: 0.5 1.0;
|
||||
rel1.relative: 0.0 1.0;
|
||||
rel2.relative: 1.0 1.0;
|
||||
|
@ -708,19 +587,12 @@ group { name: "efl/panel/top";
|
|||
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";
|
||||
image.normal: "i-arrow-u";
|
||||
}
|
||||
description { state: "hidden" 0.0;
|
||||
image.normal: "icon_arrow_down.png";
|
||||
image.normal: "i-arrow-d";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -728,7 +600,6 @@ group { name: "efl/panel/top";
|
|||
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);
|
||||
|
@ -736,14 +607,11 @@ group { name: "efl/panel/top";
|
|||
set_state_val(PART:"base", STATE_REL1_OFFSET, 0, h);
|
||||
}
|
||||
}
|
||||
program {
|
||||
signal: "efl,action,show"; source: "efl";
|
||||
program { signal: "efl,action,show"; source: "efl";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "icn";
|
||||
}
|
||||
program {
|
||||
signal: "edje,state,rtl";
|
||||
source: "edje";
|
||||
program { signal: "edje,state,rtl"; source: "edje";
|
||||
script {
|
||||
new st[31];
|
||||
new Float:vl;
|
||||
|
@ -754,9 +622,7 @@ group { name: "efl/panel/top";
|
|||
set_state(PART:"icn", "hidden", 0.0);
|
||||
}
|
||||
}
|
||||
program {
|
||||
signal: "edje,state,ltr";
|
||||
source: "edje";
|
||||
program { signal: "edje,state,ltr"; source: "edje";
|
||||
script {
|
||||
new st[31];
|
||||
new Float:vl;
|
||||
|
@ -767,8 +633,7 @@ group { name: "efl/panel/top";
|
|||
set_state(PART:"icn", "hidden", 0.0);
|
||||
}
|
||||
}
|
||||
program {
|
||||
signal: "efl,action,hide"; source: "efl";
|
||||
program { signal: "efl,action,hide"; source: "efl";
|
||||
action: STATE_SET "hidden" 0.0;
|
||||
target: "icn";
|
||||
}
|
||||
|
@ -776,19 +641,17 @@ group { name: "efl/panel/top";
|
|||
}
|
||||
|
||||
group { name: "efl/panel/bottom";
|
||||
inherit: "efl/panel/top";
|
||||
data.item: "version" "123";
|
||||
inherit: "efl/panel/top";
|
||||
parts {
|
||||
part { name: "base";
|
||||
description { state: "default" 0.0;
|
||||
rel1.relative: 0.0 1.0;
|
||||
rel1.to_x: "all";
|
||||
rel1.to_y: "efl.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: "efl.swallow.event";
|
||||
|
@ -803,19 +666,12 @@ group { name: "efl/panel/bottom";
|
|||
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";
|
||||
image.normal: "i-arrow-d";
|
||||
}
|
||||
description { state: "hidden" 0.0;
|
||||
image.normal: "icon_arrow_up.png";
|
||||
image.normal: "i-arrow-u";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -832,3 +688,4 @@ group { name: "efl/panel/bottom";
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -9,12 +9,13 @@
|
|||
efl,action,unpress: Used for "unpress" smart callback.
|
||||
*/
|
||||
|
||||
#define PANEMIN 10
|
||||
#define PANEMIN2 16
|
||||
#define PANEWID 32
|
||||
#define PANEMIN 8
|
||||
#define PANEMIN2 24
|
||||
#define PANEWID 24
|
||||
|
||||
group { name: "efl/panes/vertical"; data.item: "version" "123";
|
||||
images.image: "holes_vert.png" COMP;
|
||||
group { name: "efl/panes/vertical";
|
||||
data.item: "version" "123";
|
||||
images.image: "pane_handle_v.png" COMP;
|
||||
parts {
|
||||
//TODO: remove left/right
|
||||
alias: "first" "efl.left";
|
||||
|
@ -55,31 +56,27 @@ group { name: "efl/panes/vertical"; data.item: "version" "123";
|
|||
part { name: "whole_left"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
rel2.to_x: "efl.bar";
|
||||
rel2.relative: 1.0 1.0;
|
||||
rel2.offset: -4 -1;
|
||||
rel2.relative: 0.0 1.0;
|
||||
}
|
||||
}
|
||||
part { name: "whole_right"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to_x: "efl.bar";
|
||||
rel1.relative: 0.0 0.0;
|
||||
rel1.offset: 3 0;
|
||||
rel1.relative: 1.0 0.0;
|
||||
}
|
||||
}
|
||||
part { name: "efl.left"; type: SWALLOW;
|
||||
clip_to: "whole_left";
|
||||
description { state: "default" 0.0;
|
||||
rel2.to_x: "efl.bar";
|
||||
rel2.relative: 1.0 1.0;
|
||||
rel2.offset: -4 -1;
|
||||
rel2.relative: 0.0 1.0;
|
||||
}
|
||||
}
|
||||
part { name: "efl.right"; type: SWALLOW;
|
||||
clip_to: "whole_right";
|
||||
description { state: "default" 0.0;
|
||||
rel1.to_x: "efl.bar";
|
||||
rel1.relative: 0.0 0.0;
|
||||
rel1.offset: 3 0;
|
||||
rel1.relative: 1.0 0.0;
|
||||
}
|
||||
}
|
||||
part { name: "efl.bar"; type: SPACER;
|
||||
|
@ -88,8 +85,8 @@ group { name: "efl/panes/vertical"; data.item: "version" "123";
|
|||
y: 0 0 0;
|
||||
}
|
||||
description { state: "default" 0.0;
|
||||
max: 0 99999;
|
||||
min: 0 14;
|
||||
max: 8 99999;
|
||||
min: 8 24;
|
||||
fixed: 1 1;
|
||||
rel1.relative: 0.0 0.5;
|
||||
rel2.relative: 1.0 0.5;
|
||||
|
@ -97,10 +94,11 @@ group { name: "efl/panes/vertical"; data.item: "version" "123";
|
|||
}
|
||||
part { name: "dots"; mouse_events: 0;
|
||||
description { state: "default" 0.0;
|
||||
image.normal: "holes_vert.png";
|
||||
rel1.to: "efl.bar";
|
||||
rel2.to: "efl.bar";
|
||||
FIXED_SIZE(4, 14)
|
||||
FIXED_SIZE(8, 24)
|
||||
image.normal: "pane_handle_v.png";
|
||||
fill.smooth: 0;
|
||||
rel.to: "efl.bar";
|
||||
color: 160 160 160 255;
|
||||
}
|
||||
}
|
||||
part { name: "efl.event"; type: SWALLOW;
|
||||
|
@ -108,8 +106,7 @@ group { name: "efl/panes/vertical"; data.item: "version" "123";
|
|||
visible: 0;
|
||||
min: PANEMIN PANEMIN2;
|
||||
fixed: 1 1;
|
||||
rel1.to: "efl.bar";
|
||||
rel2.to: "efl.bar";
|
||||
rel.to: "efl.bar";
|
||||
}
|
||||
}
|
||||
part { name: "bar"; type: RECT;
|
||||
|
@ -130,12 +127,12 @@ group { name: "efl/panes/vertical"; data.item: "version" "123";
|
|||
}
|
||||
programs {
|
||||
EFL_UI_CLICKABLE_PART_BIND("bar")
|
||||
program { // for elm_panes_fixed_set()
|
||||
program { // for efl_panes_fixed_set()
|
||||
signal: "efl,panes,fixed"; source: "efl";
|
||||
action: STATE_SET "disabled" 0.0;
|
||||
target: "bar";
|
||||
}
|
||||
program { // for elm_panes_fixed_set()
|
||||
program { // for efl_panes_fixed_set()
|
||||
signal: "efl,panes,unfixed"; source: "efl";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "bar";
|
||||
|
@ -143,8 +140,9 @@ group { name: "efl/panes/vertical"; data.item: "version" "123";
|
|||
}
|
||||
}
|
||||
|
||||
group { name: "efl/panes/horizontal"; data.item: "version" "123";
|
||||
images.image: "holes_horiz.png" COMP;
|
||||
group { name: "efl/panes/horizontal";
|
||||
data.item: "version" "123";
|
||||
images.image: "pane_handle_h.png" COMP;
|
||||
parts {
|
||||
//TODO: remove left/right
|
||||
alias: "first" "efl.left";
|
||||
|
@ -185,31 +183,27 @@ group { name: "efl/panes/horizontal"; data.item: "version" "123";
|
|||
part { name: "whole_left"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
rel2.to_y: "efl.bar";
|
||||
rel2.relative: 1.0 1.0;
|
||||
rel2.offset: -1 -4;
|
||||
rel2.relative: 1.0 0.0;
|
||||
}
|
||||
}
|
||||
part { name: "whole_right"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to_y: "efl.bar";
|
||||
rel1.relative: 0.0 0.0;
|
||||
rel1.offset: 0 3;
|
||||
rel1.relative: 0.0 1.0;
|
||||
}
|
||||
}
|
||||
part { name: "efl.left"; type: SWALLOW;
|
||||
clip_to: "whole_left";
|
||||
description { state: "default" 0.0;
|
||||
rel2.to_y: "efl.bar";
|
||||
rel2.relative: 1.0 1.0;
|
||||
rel2.offset: -1 -4;
|
||||
rel2.relative: 1.0 0.0;
|
||||
}
|
||||
}
|
||||
part { name: "efl.right"; type: SWALLOW;
|
||||
clip_to: "whole_right";
|
||||
description { state: "default" 0.0;
|
||||
rel1.to_y: "efl.bar";
|
||||
rel1.relative: 0.0 0.0;
|
||||
rel1.offset: 0 3;
|
||||
rel1.relative: 0.0 1.0;
|
||||
}
|
||||
}
|
||||
part { name: "efl.bar"; type: SPACER;
|
||||
|
@ -218,8 +212,8 @@ group { name: "efl/panes/horizontal"; data.item: "version" "123";
|
|||
y: 1 1 1;
|
||||
}
|
||||
description { state: "default" 0.0;
|
||||
max: 99999 0;
|
||||
min: 14 0;
|
||||
max: 99999 8;
|
||||
min: 24 8;
|
||||
fixed: 1 1;
|
||||
rel1.relative: 0.5 0.0;
|
||||
rel2.relative: 0.5 1.0;
|
||||
|
@ -227,10 +221,11 @@ group { name: "efl/panes/horizontal"; data.item: "version" "123";
|
|||
}
|
||||
part { name: "dots"; mouse_events: 0;
|
||||
description { state: "default" 0.0;
|
||||
image.normal: "holes_horiz.png";
|
||||
rel1.to: "efl.bar";
|
||||
rel2.to: "efl.bar";
|
||||
FIXED_SIZE(14, 4)
|
||||
FIXED_SIZE(24, 8)
|
||||
image.normal: "pane_handle_h.png";
|
||||
fill.smooth: 0;
|
||||
rel.to: "efl.bar";
|
||||
color: 160 160 160 255;
|
||||
}
|
||||
}
|
||||
part { name: "efl.event"; type: SWALLOW;
|
||||
|
@ -238,8 +233,7 @@ group { name: "efl/panes/horizontal"; data.item: "version" "123";
|
|||
visible: 0;
|
||||
min: PANEMIN2 PANEMIN;
|
||||
fixed: 1 1;
|
||||
rel1.to: "efl.bar";
|
||||
rel2.to: "efl.bar";
|
||||
rel.to: "efl.bar";
|
||||
}
|
||||
}
|
||||
part { name: "bar"; type: RECT;
|
||||
|
@ -260,12 +254,12 @@ group { name: "efl/panes/horizontal"; data.item: "version" "123";
|
|||
}
|
||||
programs {
|
||||
EFL_UI_CLICKABLE_PART_BIND("bar")
|
||||
program { // for elm_panes_fixed_set()
|
||||
program { // for efl_panes_fixed_set()
|
||||
signal: "efl,panes,fixed"; source: "efl";
|
||||
action: STATE_SET "disabled" 0.0;
|
||||
target: "bar";
|
||||
}
|
||||
program { // for elm_panes_fixed_set()
|
||||
program { // for efl_panes_fixed_set()
|
||||
signal: "efl,panes,unfixed"; source: "efl";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "bar";
|
||||
|
@ -273,9 +267,11 @@ group { name: "efl/panes/horizontal"; data.item: "version" "123";
|
|||
}
|
||||
}
|
||||
|
||||
group { name: "efl/panes/vertical:flush"; data.item: "version" "123";
|
||||
images.image: "downlight_glow_left.png" COMP;
|
||||
images.image: "downlight_glow_right.png" COMP;
|
||||
////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
group { name: "efl/panes/vertical:flush";
|
||||
data.item: "version" "123";
|
||||
images.image: "shadow_circle_vert.png" COMP;
|
||||
parts {
|
||||
part { name: "whole"; type: SPACER;
|
||||
description { state: "default" 0.0;
|
||||
|
@ -353,8 +349,7 @@ group { name: "efl/panes/vertical:flush"; data.item: "version" "123";
|
|||
visible: 0;
|
||||
min: PANEMIN PANEMIN2;
|
||||
fixed: 1 1;
|
||||
rel1.to: "efl.bar";
|
||||
rel2.to: "efl.bar";
|
||||
rel.to: "efl.bar";
|
||||
}
|
||||
}
|
||||
part { name: "bar"; type: RECT;
|
||||
|
@ -375,64 +370,81 @@ group { name: "efl/panes/vertical:flush"; data.item: "version" "123";
|
|||
}
|
||||
}
|
||||
part { name: "glow1a"; mouse_events: 0;
|
||||
clip_to: "whole_right";
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
image.normal: "downlight_glow_left.png";
|
||||
image.border: 0 3 0 0;
|
||||
max: 32 99999;
|
||||
image.normal: "shadow_circle_vert.png";
|
||||
rel1.to_x: "efl.bar";
|
||||
rel2.to_x: "efl.bar";
|
||||
color: 255 255 255 0;
|
||||
align: 1.0 0.5;
|
||||
offscale;
|
||||
visible: 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_right.png";
|
||||
max: 4 99999;
|
||||
rel1.to_x: "efl.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;
|
||||
inherit: "default" 0.0;
|
||||
color: 255 255 255 128;
|
||||
rel1.offset: -16 0;
|
||||
rel2.offset: 15 -1;
|
||||
visible: 1;
|
||||
}
|
||||
}
|
||||
part { name: "glow2a"; mouse_events: 0;
|
||||
clip_to: "whole_left";
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
image.normal: "downlight_glow_left.png";
|
||||
max: 4 99999;
|
||||
image.normal: "shadow_circle_vert.png";
|
||||
rel1.to_x: "efl.bar";
|
||||
rel2.to_x: "efl.bar";
|
||||
color: 255 255 255 0;
|
||||
align: 1.0 0.5;
|
||||
offscale;
|
||||
visible: 0;
|
||||
}
|
||||
description { state: "active" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: 255 255 255 255;
|
||||
inherit: "default" 0.0;
|
||||
color: 255 255 255 128;
|
||||
rel1.offset: -16 0;
|
||||
rel2.offset: 15 -1;
|
||||
visible: 1;
|
||||
}
|
||||
}
|
||||
part { name: "glow2b"; mouse_events: 0;
|
||||
part { name: "glowbar1a"; type: RECT; mouse_events: 0;
|
||||
clip_to: "whole_left";
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
image.normal: "downlight_glow_right.png";
|
||||
image.border: 3 0 0 0;
|
||||
max: 32 99999;
|
||||
rel1.to_x: "efl.bar";
|
||||
color: 255 255 255 0;
|
||||
align: 0.0 0.5;
|
||||
rel2.to_x: "efl.bar";
|
||||
color: 51 153 255 255;
|
||||
offscale;
|
||||
visible: 0;
|
||||
}
|
||||
description { state: "active" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: 255 255 255 255;
|
||||
inherit: "default" 0.0;
|
||||
rel1.offset: -5 0;
|
||||
rel2.offset: 4 -1;
|
||||
visible: 1;
|
||||
}
|
||||
}
|
||||
part { name: "glowbar2a"; type: RECT; mouse_events: 0;
|
||||
clip_to: "whole_right";
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to_x: "efl.bar";
|
||||
rel2.to_x: "efl.bar";
|
||||
color: 51 153 255 255;
|
||||
offscale;
|
||||
visible: 0;
|
||||
}
|
||||
description { state: "active" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
rel1.offset: -5 0;
|
||||
rel2.offset: 4 -1;
|
||||
visible: 1;
|
||||
}
|
||||
}
|
||||
part { name: "bar1"; type: RECT; repeat_events: 1;
|
||||
description { state: "default" 0.0;
|
||||
fixed: 1 1;
|
||||
rel1.to: "bar";
|
||||
rel2.to: "bar";
|
||||
rel.to: "bar";
|
||||
rel2.relative: 0.5 1.0;
|
||||
color: 0 0 0 0;
|
||||
}
|
||||
|
@ -440,21 +452,25 @@ group { name: "efl/panes/vertical:flush"; data.item: "version" "123";
|
|||
part { name: "bar2"; type: RECT; repeat_events: 1;
|
||||
description { state: "default" 0.0;
|
||||
fixed: 1 1;
|
||||
rel1.to: "bar";
|
||||
rel.to: "bar";
|
||||
rel1.relative: 0.5 0.0;
|
||||
rel2.to: "bar";
|
||||
color: 0 0 0 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
programs {
|
||||
EFL_UI_CLICKABLE_PART_BIND("bar")
|
||||
program { // for elm_panes_fixed_set()
|
||||
program {signal: "mouse,down,1"; source: "bar"; // for "press" smart callback
|
||||
action: SIGNAL_EMIT "efl,action,press" "efl";
|
||||
}
|
||||
program { signal: "mouse,up,1"; source: "bar"; // for "unpress" smart callback
|
||||
action: SIGNAL_EMIT "efl,action,unpress" "efl";
|
||||
}
|
||||
program { // for efl_panes_fixed_set()
|
||||
signal: "efl,panes,fixed"; source: "efl";
|
||||
action: STATE_SET "disabled" 0.0;
|
||||
target: "bar";
|
||||
}
|
||||
program { // for elm_panes_fixed_set()
|
||||
program { // for efl_panes_fixed_set()
|
||||
signal: "efl,panes,unfixed"; source: "efl";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "bar";
|
||||
|
@ -462,37 +478,37 @@ group { name: "efl/panes/vertical:flush"; data.item: "version" "123";
|
|||
program {
|
||||
signal: "mouse,in"; source: "bar1";
|
||||
action: STATE_SET "active" 0.0;
|
||||
transition: BOUNCE 0.4 0.5 4;
|
||||
transition: DECELERATE 0.2;
|
||||
target: "glow1a";
|
||||
target: "glow1b";
|
||||
target: "glowbar1a";
|
||||
}
|
||||
program {
|
||||
signal: "mouse,out"; source: "bar1";
|
||||
action: STATE_SET "default" 0.0;
|
||||
transition: DECELERATE 0.5;
|
||||
target: "glow1a";
|
||||
target: "glow1b";
|
||||
target: "glowbar1a";
|
||||
}
|
||||
program {
|
||||
signal: "mouse,in"; source: "bar2";
|
||||
action: STATE_SET "active" 0.0;
|
||||
transition: BOUNCE 0.4 0.5 4;
|
||||
transition: DECELERATE 0.2;
|
||||
target: "glow2a";
|
||||
target: "glow2b";
|
||||
target: "glowbar2a";
|
||||
}
|
||||
program {
|
||||
signal: "mouse,out"; source: "bar2";
|
||||
action: STATE_SET "default" 0.0;
|
||||
transition: DECELERATE 0.5;
|
||||
target: "glow2a";
|
||||
target: "glow2b";
|
||||
target: "glowbar2a";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
group { name: "efl/panes/horizontal:flush"; data.item: "version" "123";
|
||||
images.image: "downlight_glow.png" COMP;
|
||||
images.image: "downlight_glow_up.png" COMP;
|
||||
group { name: "efl/panes/horizontal:flush";
|
||||
data.item: "version" "123";
|
||||
images.image: "shadow_circle_horiz.png" COMP;
|
||||
parts {
|
||||
part { name: "whole"; type: SPACER;
|
||||
description { state: "default" 0.0;
|
||||
|
@ -570,8 +586,7 @@ group { name: "efl/panes/horizontal:flush"; data.item: "version" "123";
|
|||
visible: 0;
|
||||
min: PANEMIN2 PANEMIN;
|
||||
fixed: 1 1;
|
||||
rel1.to: "efl.bar";
|
||||
rel2.to: "efl.bar";
|
||||
rel.to: "efl.bar";
|
||||
}
|
||||
}
|
||||
part { name: "bar"; type: RECT;
|
||||
|
@ -592,64 +607,81 @@ group { name: "efl/panes/horizontal:flush"; data.item: "version" "123";
|
|||
}
|
||||
}
|
||||
part { name: "glow1a"; mouse_events: 0;
|
||||
clip_to: "whole_right";
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
image.normal: "downlight_glow_up.png";
|
||||
image.border: 0 0 0 3;
|
||||
max: 99999 32;
|
||||
image.normal: "shadow_circle_horiz.png";
|
||||
rel1.to_y: "efl.bar";
|
||||
rel2.to_y: "efl.bar";
|
||||
color: 255 255 255 0;
|
||||
align: 0.5 1.0;
|
||||
offscale;
|
||||
visible: 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: "efl.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;
|
||||
inherit: "default" 0.0;
|
||||
color: 255 255 255 128;
|
||||
rel1.offset: 0 -16;
|
||||
rel2.offset: -1 15;
|
||||
visible: 1;
|
||||
}
|
||||
}
|
||||
part { name: "glow2a"; mouse_events: 0;
|
||||
clip_to: "whole_left";
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
image.normal: "downlight_glow_up.png";
|
||||
max: 99999 4;
|
||||
image.normal: "shadow_circle_horiz.png";
|
||||
rel1.to_y: "efl.bar";
|
||||
rel2.to_y: "efl.bar";
|
||||
color: 255 255 255 0;
|
||||
align: 0.5 1.0;
|
||||
offscale;
|
||||
visible: 0;
|
||||
}
|
||||
description { state: "active" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: 255 255 255 255;
|
||||
inherit: "default" 0.0;
|
||||
color: 255 255 255 128;
|
||||
rel1.offset: 0 -16;
|
||||
rel2.offset: -1 15;
|
||||
visible: 1;
|
||||
}
|
||||
}
|
||||
part { name: "glow2b"; mouse_events: 0;
|
||||
part { name: "glowbar1a"; type: RECT; mouse_events: 0;
|
||||
clip_to: "whole_left";
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
image.normal: "downlight_glow.png";
|
||||
image.border: 0 0 3 0;
|
||||
max: 99999 32;
|
||||
rel1.to_y: "efl.bar";
|
||||
color: 255 255 255 0;
|
||||
align: 0.5 0.0;
|
||||
rel2.to_y: "efl.bar";
|
||||
color: 51 153 255 255;
|
||||
offscale;
|
||||
visible: 0;
|
||||
}
|
||||
description { state: "active" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: 255 255 255 255;
|
||||
inherit: "default" 0.0;
|
||||
rel1.offset: 0 -5;
|
||||
rel2.offset: -1 4;
|
||||
visible: 1;
|
||||
}
|
||||
}
|
||||
part { name: "glowbar2a"; type: RECT; mouse_events: 0;
|
||||
clip_to: "whole_right";
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to_y: "efl.bar";
|
||||
rel2.to_y: "efl.bar";
|
||||
color: 51 153 255 255;
|
||||
offscale;
|
||||
visible: 0;
|
||||
}
|
||||
description { state: "active" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
rel1.offset: 0 -5;
|
||||
rel2.offset: -1 4;
|
||||
visible: 1;
|
||||
}
|
||||
}
|
||||
part { name: "bar1"; type: RECT; repeat_events: 1;
|
||||
description { state: "default" 0.0;
|
||||
fixed: 1 1;
|
||||
rel1.to: "bar";
|
||||
rel2.to: "bar";
|
||||
rel.to: "bar";
|
||||
rel2.relative: 1.0 0.5;
|
||||
color: 0 0 0 0;
|
||||
}
|
||||
|
@ -657,87 +689,85 @@ group { name: "efl/panes/horizontal:flush"; data.item: "version" "123";
|
|||
part { name: "bar2"; type: RECT; repeat_events: 1;
|
||||
description { state: "default" 0.0;
|
||||
fixed: 1 1;
|
||||
rel1.to: "bar";
|
||||
rel.to: "bar";
|
||||
rel1.relative: 0.0 0.5;
|
||||
rel2.to: "bar";
|
||||
color: 0 0 0 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
programs {
|
||||
program {signal: "mouse,down,1"; source: "bar"; // for "press" smart callback
|
||||
action: SIGNAL_EMIT "efl,action,press" "efl";
|
||||
}
|
||||
program { signal: "mouse,up,1"; source: "bar"; // for "unpress" smart callback
|
||||
action: SIGNAL_EMIT "efl,action,unpress" "efl";
|
||||
}
|
||||
program { // for efl_panes_fixed_set()
|
||||
signal: "efl,panes,fixed"; source: "efl";
|
||||
action: STATE_SET "disabled" 0.0;
|
||||
target: "bar";
|
||||
}
|
||||
program { // for efl_panes_fixed_set()
|
||||
signal: "efl,panes,unfixed"; source: "efl";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "bar";
|
||||
}
|
||||
program {
|
||||
signal: "mouse,in"; source: "bar1";
|
||||
action: STATE_SET "active" 0.0;
|
||||
transition: BOUNCE 0.4 0.5 4;
|
||||
transition: DECELERATE 0.2;
|
||||
target: "glow1a";
|
||||
target: "glow1b";
|
||||
target: "glowbar1a";
|
||||
}
|
||||
program {
|
||||
signal: "mouse,out"; source: "bar1";
|
||||
action: STATE_SET "default" 0.0;
|
||||
transition: DECELERATE 0.5;
|
||||
target: "glow1a";
|
||||
target: "glow1b";
|
||||
target: "glowbar1a";
|
||||
}
|
||||
program {
|
||||
signal: "mouse,in"; source: "bar2";
|
||||
action: STATE_SET "active" 0.0;
|
||||
transition: BOUNCE 0.4 0.5 4;
|
||||
transition: DECELERATE 0.2;
|
||||
target: "glow2a";
|
||||
target: "glow2b";
|
||||
target: "glowbar2a";
|
||||
}
|
||||
program {
|
||||
signal: "mouse,out"; source: "bar2";
|
||||
action: STATE_SET "default" 0.0;
|
||||
transition: DECELERATE 0.5;
|
||||
target: "glow2a";
|
||||
target: "glow2b";
|
||||
}
|
||||
EFL_UI_CLICKABLE_PART_BIND("bar")
|
||||
program { // for elm_panes_fixed_set()
|
||||
signal: "efl,panes,fixed"; source: "efl";
|
||||
action: STATE_SET "disabled" 0.0;
|
||||
target: "bar";
|
||||
}
|
||||
program { // for elm_panes_fixed_set()
|
||||
signal: "efl,panes,unfixed"; source: "efl";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "bar";
|
||||
target: "glowbar2a";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
group { name: "efl/panes/vertical:left-fold";
|
||||
inherit: "efl/panes/vertical";
|
||||
data.item: "version" "123";
|
||||
images.image: "icon_arrow_left.png" COMP;
|
||||
images.image: "icon_arrow_right.png" COMP;
|
||||
inherit: "efl/panes/vertical";
|
||||
script {
|
||||
public open;
|
||||
public drag_x;
|
||||
public drag_y;
|
||||
}
|
||||
parts {
|
||||
spacer { "sub_whole";
|
||||
desc { "default";
|
||||
rel1.offset: 3 0;
|
||||
}
|
||||
}
|
||||
image { "dots";
|
||||
scale;
|
||||
desc { "default";
|
||||
image.normal: "icon_arrow_left.png";
|
||||
FIXED_SIZE(14, 14)
|
||||
image.normal: "i-arrow-l";
|
||||
FIXED_SIZE(15, 15)
|
||||
fill.smooth: 1;
|
||||
}
|
||||
desc { "closed";
|
||||
inherit: "default" 0.0;
|
||||
image.normal: "icon_arrow_right.png";
|
||||
image.normal: "i-arrow-r";
|
||||
}
|
||||
}
|
||||
rect { "event";
|
||||
repeat;
|
||||
desc { "default";
|
||||
rel1.to: "dots";
|
||||
rel2.to: "dots";
|
||||
rel.to: "dots";
|
||||
color: 0 0 0 0;
|
||||
}
|
||||
}
|
||||
|
@ -750,8 +780,7 @@ group { name: "efl/panes/vertical:left-fold";
|
|||
}
|
||||
program { signal: "mouse,clicked,1"; source: "event";
|
||||
script {
|
||||
if (get_int(open) == 1)
|
||||
{
|
||||
if (get_int(open) == 1) {
|
||||
new Float: dx;
|
||||
new Float: dy;
|
||||
set_int(open, 0);
|
||||
|
@ -759,9 +788,7 @@ group { name: "efl/panes/vertical:left-fold";
|
|||
set_float(drag_x, dx);
|
||||
set_drag(PART:"efl.bar", 0.0, 0.5);
|
||||
set_state(PART:"dots", "closed", 0.0);
|
||||
}
|
||||
else if (get_int(open) == 0)
|
||||
{
|
||||
} else if (get_int(open) == 0) {
|
||||
set_int(open, 1);
|
||||
set_drag(PART:"efl.bar", get_float(drag_x), 0.5);
|
||||
set_state(PART:"dots", "default", 0.0);
|
||||
|
@ -772,36 +799,29 @@ group { name: "efl/panes/vertical:left-fold";
|
|||
}
|
||||
|
||||
group { name: "efl/panes/vertical:right-fold";
|
||||
inherit: "efl/panes/vertical";
|
||||
data.item: "version" "123";
|
||||
images.image: "icon_arrow_left.png" COMP;
|
||||
images.image: "icon_arrow_right.png" COMP;
|
||||
inherit: "efl/panes/vertical";
|
||||
script {
|
||||
public open;
|
||||
public drag_x;
|
||||
public drag_y;
|
||||
}
|
||||
parts {
|
||||
spacer { "sub_whole";
|
||||
desc { "default";
|
||||
rel2.offset: -4 0;
|
||||
}
|
||||
}
|
||||
image { "dots";
|
||||
desc { "default";
|
||||
image.normal: "icon_arrow_right.png";
|
||||
FIXED_SIZE(14, 17)
|
||||
image.normal: "i-arrow-r";
|
||||
FIXED_SIZE(15, 15)
|
||||
fill.smooth: 1;
|
||||
}
|
||||
desc { "closed";
|
||||
inherit: "default" 0.0;
|
||||
image.normal: "icon_arrow_left.png";
|
||||
image.normal: "i-arrow-l";
|
||||
}
|
||||
}
|
||||
rect { "event";
|
||||
repeat;
|
||||
desc { "default";
|
||||
rel1.to: "dots";
|
||||
rel2.to: "dots";
|
||||
rel.to: "dots";
|
||||
color: 0 0 0 0;
|
||||
}
|
||||
}
|
||||
|
@ -814,8 +834,7 @@ group { name: "efl/panes/vertical:right-fold";
|
|||
}
|
||||
program { signal: "mouse,clicked,1"; source: "event";
|
||||
script {
|
||||
if (get_int(open) == 1)
|
||||
{
|
||||
if (get_int(open) == 1) {
|
||||
new Float: dx;
|
||||
new Float: dy;
|
||||
set_int(open, 0);
|
||||
|
@ -823,9 +842,7 @@ group { name: "efl/panes/vertical:right-fold";
|
|||
set_float(drag_x, dx);
|
||||
set_drag(PART:"efl.bar", 1.0, 0.5);
|
||||
set_state(PART:"dots", "closed", 0.0);
|
||||
}
|
||||
else if (get_int(open) == 0)
|
||||
{
|
||||
} else if (get_int(open) == 0) {
|
||||
set_int(open, 1);
|
||||
set_drag(PART:"efl.bar", get_float(drag_x), 0.5);
|
||||
set_state(PART:"dots", "default", 0.0);
|
||||
|
@ -836,36 +853,29 @@ group { name: "efl/panes/vertical:right-fold";
|
|||
}
|
||||
|
||||
group { name: "efl/panes/horizontal:up-fold";
|
||||
inherit: "efl/panes/horizontal";
|
||||
data.item: "version" "123";
|
||||
images.image: "icon_arrow_up.png" COMP;
|
||||
images.image: "icon_arrow_down.png" COMP;
|
||||
inherit: "efl/panes/horizontal";
|
||||
script {
|
||||
public open;
|
||||
public drag_x;
|
||||
public drag_y;
|
||||
}
|
||||
parts {
|
||||
spacer { "sub_whole";
|
||||
desc { "default";
|
||||
rel1.offset: 0 3;
|
||||
}
|
||||
}
|
||||
image { "dots";
|
||||
desc { "default";
|
||||
image.normal: "icon_arrow_up.png";
|
||||
FIXED_SIZE(17, 14)
|
||||
image.normal: "i-arrow-u";
|
||||
FIXED_SIZE(15, 15)
|
||||
fill.smooth: 1;
|
||||
}
|
||||
desc { "closed";
|
||||
inherit: "default" 0.0;
|
||||
image.normal: "icon_arrow_down.png";
|
||||
image.normal: "i-arrow-d";
|
||||
}
|
||||
}
|
||||
rect { "event";
|
||||
repeat;
|
||||
desc { "default";
|
||||
rel1.to: "dots";
|
||||
rel2.to: "dots";
|
||||
rel.to: "dots";
|
||||
color: 0 0 0 0;
|
||||
}
|
||||
}
|
||||
|
@ -878,8 +888,7 @@ group { name: "efl/panes/horizontal:up-fold";
|
|||
}
|
||||
program { signal: "mouse,clicked,1"; source: "event";
|
||||
script {
|
||||
if (get_int(open) == 1)
|
||||
{
|
||||
if (get_int(open) == 1) {
|
||||
new Float: dx;
|
||||
new Float: dy;
|
||||
set_int(open, 0);
|
||||
|
@ -887,9 +896,7 @@ group { name: "efl/panes/horizontal:up-fold";
|
|||
set_float(drag_y, dy);
|
||||
set_drag(PART:"efl.bar", 0.5, 0.0);
|
||||
set_state(PART:"dots", "closed", 0.0);
|
||||
}
|
||||
else if (get_int(open) == 0)
|
||||
{
|
||||
} else if (get_int(open) == 0) {
|
||||
set_int(open, 1);
|
||||
set_drag(PART:"efl.bar", 0.5, get_float(drag_y));
|
||||
set_state(PART:"dots", "default", 0.0);
|
||||
|
@ -900,36 +907,29 @@ group { name: "efl/panes/horizontal:up-fold";
|
|||
}
|
||||
|
||||
group { name: "efl/panes/horizontal:down-fold";
|
||||
inherit: "efl/panes/horizontal";
|
||||
data.item: "version" "123";
|
||||
images.image: "icon_arrow_up.png" COMP;
|
||||
images.image: "icon_arrow_down.png" COMP;
|
||||
inherit: "efl/panes/horizontal";
|
||||
script {
|
||||
public open;
|
||||
public drag_x;
|
||||
public drag_y;
|
||||
}
|
||||
parts {
|
||||
spacer { "sub_whole";
|
||||
desc { "default";
|
||||
rel2.offset: 0 -4;
|
||||
}
|
||||
}
|
||||
image { "dots";
|
||||
desc { "default";
|
||||
image.normal: "icon_arrow_down.png";
|
||||
FIXED_SIZE(17, 14)
|
||||
image.normal: "i-arrow-d";
|
||||
FIXED_SIZE(15, 15)
|
||||
fill.smooth: 1;
|
||||
}
|
||||
desc { "closed";
|
||||
inherit: "default" 0.0;
|
||||
image.normal: "icon_arrow_up.png";
|
||||
image.normal: "i-arrow-u";
|
||||
}
|
||||
}
|
||||
rect { "event";
|
||||
repeat;
|
||||
desc { "default";
|
||||
rel1.to: "dots";
|
||||
rel2.to: "dots";
|
||||
rel.to: "dots";
|
||||
color: 0 0 0 0;
|
||||
}
|
||||
}
|
||||
|
@ -942,8 +942,7 @@ group { name: "efl/panes/horizontal:down-fold";
|
|||
}
|
||||
program { signal: "mouse,clicked,1"; source: "event";
|
||||
script {
|
||||
if (get_int(open) == 1)
|
||||
{
|
||||
if (get_int(open) == 1) {
|
||||
new Float: dx;
|
||||
new Float: dy;
|
||||
set_int(open, 0);
|
||||
|
@ -951,9 +950,7 @@ group { name: "efl/panes/horizontal:down-fold";
|
|||
set_float(drag_y, dy);
|
||||
set_drag(PART:"efl.bar", 0.5, 1.0);
|
||||
set_state(PART:"dots", "closed", 0.0);
|
||||
}
|
||||
else if (get_int(open) == 0)
|
||||
{
|
||||
} else if (get_int(open) == 0) {
|
||||
set_int(open, 1);
|
||||
set_drag(PART:"efl.bar", 0.5, get_float(drag_y));
|
||||
set_state(PART:"dots", "default", 0.0);
|
||||
|
@ -962,3 +959,7 @@ group { name: "efl/panes/horizontal:down-fold";
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
#undef PANEMIN
|
||||
#undef PANEMIN2
|
||||
#undef PANEWID
|
||||
|
|
|
@ -1,14 +1,9 @@
|
|||
group { name: "efl/pointer"; data.item: "version" "123";
|
||||
images {
|
||||
image: "pointer.png" COMP;
|
||||
image: "pointer_glow.png" COMP;
|
||||
}
|
||||
group { name: "efl/pointer";
|
||||
data.item: "version" "123";
|
||||
images.image: "pointer.png" COMP;
|
||||
parts {
|
||||
part {
|
||||
name: "base";
|
||||
mouse_events: 0;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
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
|
||||
|
@ -18,87 +13,46 @@ group { name: "efl/pointer"; data.item: "version" "123";
|
|||
/* both axes control aspect - thus it
|
||||
* will be WITHIN the bounds the axes
|
||||
* of thre part describe */
|
||||
image {
|
||||
normal: "pointer.png";
|
||||
}
|
||||
image.normal: "pointer.png";
|
||||
}
|
||||
description { state: "clicked" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: 51 153 255 255;
|
||||
}
|
||||
}
|
||||
part { name: "glow";
|
||||
description { state: "default" 0.0;
|
||||
image.normal: "pointer_glow.png";
|
||||
color: 255 255 255 0;
|
||||
}
|
||||
description { state: "visible" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: 255 255 255 255;
|
||||
}
|
||||
description { state: "faded" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: 255 255 255 128;
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "efl.hotspot";
|
||||
part { name: "efl.hotspot"; type: SWALLOW;
|
||||
/* 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;
|
||||
description { state: "default" 0.0;
|
||||
visible: 0;
|
||||
fixed: 1 1;
|
||||
rel1 {
|
||||
/* the hotspot will scale with the cursor here */
|
||||
to: "base";
|
||||
relative: 0.1875 0.1875;
|
||||
relative: (5/32) (5/32);
|
||||
offset: 0 0;
|
||||
}
|
||||
rel2 {
|
||||
to: "base";
|
||||
relative: 0.1875 0.1875;
|
||||
relative: (5/32) (5/32);
|
||||
offset: 0 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
programs {
|
||||
program {
|
||||
signal: "efl,action,mouse,down"; source: "efl";
|
||||
action: STATE_SET "visible" 0.0;
|
||||
target: "glow";
|
||||
program { signal: "efl,action,mouse,down"; source: "efl";
|
||||
action: STATE_SET "clicked" 0.0;
|
||||
target: "base";
|
||||
after: "fade";
|
||||
}
|
||||
program { name: "fade";
|
||||
action: STATE_SET "default" 0.0;
|
||||
transition: SINUSOIDAL 0.5;
|
||||
target: "glow";
|
||||
}
|
||||
program { name: "pulse";
|
||||
signal: "e,state,mouse,idle"; source: "e";
|
||||
in: 10.0 0.0;
|
||||
action: STATE_SET "faded" 0.0;
|
||||
transition: SINUSOIDAL 0.25;
|
||||
target: "glow";
|
||||
after: "pulse2";
|
||||
}
|
||||
program { name: "pulse2";
|
||||
action: STATE_SET "default" 0.0;
|
||||
transition: SINUSOIDAL 0.5;
|
||||
target: "glow";
|
||||
after: "pulse";
|
||||
}
|
||||
program {
|
||||
signal: "efl,action,mouse,move"; source: "efl";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "glow";
|
||||
after: "stop2";
|
||||
}
|
||||
program { name: "stop2";
|
||||
action: ACTION_STOP;
|
||||
target: "pulse";
|
||||
target: "pulse2";
|
||||
target: "base";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -106,13 +60,11 @@ group { name: "efl/pointer"; data.item: "version" "123";
|
|||
group { name: "efl/pointer:bottom_right_corner";
|
||||
inherit: "efl/pointer";
|
||||
data.item: "version" "123";
|
||||
images.image: "mini_box_glow.png" COMP;
|
||||
parts {
|
||||
part { name: "box";
|
||||
insert_after: "glow";
|
||||
part { name: "box"; type: RECT;
|
||||
insert_after: "base";
|
||||
description { state: "default" 0.0;
|
||||
image.normal: "mini_box_glow.png";
|
||||
image.border: 7 7 7 7;
|
||||
color: 51 153 255 192;
|
||||
rel1.relative: 0.3 0.3;
|
||||
rel2.relative: 0.7 0.7;
|
||||
}
|
||||
|
|
|
@ -71,68 +71,93 @@ Group: efl/alert_popup/left_button (@since 1.23)
|
|||
*/
|
||||
group { "efl/popup";
|
||||
data.item: "version" "123";
|
||||
images.image: "rounded_square.png" COMP;
|
||||
parts {
|
||||
spacer { "base";
|
||||
image { "shadow";
|
||||
scale;
|
||||
desc { "default";
|
||||
rel1.offset: 10 10;
|
||||
rel2.offset: -11 -11;
|
||||
rel.to: "base";
|
||||
WIN_SHADOW;
|
||||
}
|
||||
}
|
||||
image { "bg";
|
||||
rect { "base";
|
||||
scale;
|
||||
desc { "default";
|
||||
min: 100 100;
|
||||
image.border: 15 15 15 15;
|
||||
image.normal: "rounded_square.png";
|
||||
color: 0 0 0 192;
|
||||
rel1.offset: 16 16;
|
||||
rel2.offset: -17 -17;
|
||||
offscale;
|
||||
}
|
||||
}
|
||||
swallow { "efl.background"; required;
|
||||
desc { "default";
|
||||
rel.to: "bg";
|
||||
rel.to: "base";
|
||||
}
|
||||
}
|
||||
swallow { "efl.content"; required;
|
||||
scale;
|
||||
desc { "default";
|
||||
rel.to: "base";
|
||||
rel1.offset: 4 4;
|
||||
rel2.offset: -5 -5;
|
||||
offscale;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
group { "efl/alert_popup"; data.item: "version" "123";
|
||||
images.image: "rounded_square.png" COMP;
|
||||
group { "efl/alert_popup";
|
||||
data.item: "version" "123";
|
||||
parts {
|
||||
image { "bg";
|
||||
image { "shadow";
|
||||
scale;
|
||||
desc { "default";
|
||||
rel.to: "base";
|
||||
WIN_SHADOW;
|
||||
}
|
||||
}
|
||||
rect { "base";
|
||||
scale;
|
||||
desc { "default";
|
||||
min: 100 100;
|
||||
image.border: 15 15 15 15;
|
||||
image.normal: "rounded_square.png";
|
||||
color: 0 0 0 192;
|
||||
rel1.offset: 16 16;
|
||||
rel2.offset: -17 -17;
|
||||
offscale;
|
||||
}
|
||||
}
|
||||
swallow { "efl.background"; required;
|
||||
desc { "default";
|
||||
rel.to: "bg";
|
||||
rel.to: "base";
|
||||
}
|
||||
}
|
||||
spacer { "base";
|
||||
swallow { "efl.content"; required;
|
||||
scale;
|
||||
desc { "default";
|
||||
rel.to: "bg";
|
||||
rel1.offset: 10 10;
|
||||
rel2.offset: -11 -11;
|
||||
rel1.to_x: "base";
|
||||
rel1.to_y: "title_bg";
|
||||
rel2.to_x: "base";
|
||||
rel2.to_y: "efl.buttons";
|
||||
rel1.relative: 0.0 1.0;
|
||||
rel2.relative: 1.0 0.0;
|
||||
rel1.offset: 4 4;
|
||||
rel2.offset: -5 -5;
|
||||
offscale;
|
||||
}
|
||||
}
|
||||
rect { "title_bg";
|
||||
scale;
|
||||
desc { "default";
|
||||
fixed: 0 1;
|
||||
min: 0 0;
|
||||
rel.to: "base";
|
||||
rel2.relative: 1.0 0.0;
|
||||
align: 0.5 0.0;
|
||||
color: 0 0 0 0;
|
||||
align: 0.0 0.0;
|
||||
color: 32 32 32 255;
|
||||
}
|
||||
desc { "title_visible";
|
||||
inherit: "default";
|
||||
min: 0 20;
|
||||
min: 0 24;
|
||||
}
|
||||
}
|
||||
textblock { "efl.text.title"; required;
|
||||
|
@ -143,6 +168,9 @@ group { "efl/alert_popup"; data.item: "version" "123";
|
|||
style: "popup_title_style_ellipsis";
|
||||
}
|
||||
rel.to: "title_bg";
|
||||
rel1.offset: 4 4;
|
||||
rel2.offset: -5 -5;
|
||||
offscale;
|
||||
hid;
|
||||
}
|
||||
desc { "title_visible";
|
||||
|
@ -151,51 +179,45 @@ group { "efl/alert_popup"; data.item: "version" "123";
|
|||
}
|
||||
}
|
||||
swallow { "efl.buttons"; required;
|
||||
scale;
|
||||
desc { "default";
|
||||
fixed: 0 1;
|
||||
rel.to: "base";
|
||||
rel1.relative: 0.0 1.0;
|
||||
rel1.offset: 4 0;
|
||||
rel2.offset: -5 0;
|
||||
align: 0.5 1.0;
|
||||
min: 0 0;
|
||||
offscale;
|
||||
}
|
||||
desc { "button_visible";
|
||||
inherit: "default";
|
||||
min: 0 30;
|
||||
}
|
||||
}
|
||||
swallow { "efl.content"; required;
|
||||
desc { "default";
|
||||
rel1.to_x: "base";
|
||||
rel1.to_y: "title_bg";
|
||||
rel2.to_x: "base";
|
||||
rel2.to_y: "efl.buttons";
|
||||
rel1.relative: 0.0 1.0;
|
||||
rel2.relative: 1.0 0.0;
|
||||
min: 80 24;
|
||||
rel1.offset: 4 -5;
|
||||
rel2.offset: -5 -5;
|
||||
}
|
||||
}
|
||||
}
|
||||
programs {
|
||||
program {
|
||||
signal: "efl,title,visible,on"; source: "efl";
|
||||
program { signal: "efl,title,visible,on"; source: "efl";
|
||||
action: STATE_SET "title_visible" 0.0;
|
||||
target: "title_bg";
|
||||
target: "efl.text.title";
|
||||
}
|
||||
program {
|
||||
signal: "efl,title,visible,off"; source: "efl";
|
||||
program { signal: "efl,title,visible,off"; source: "efl";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "title_bg";
|
||||
target: "efl.text.title";
|
||||
}
|
||||
program {
|
||||
signal: "efl,buttons,visible,on"; source: "efl";
|
||||
program { signal: "efl,buttons,visible,on"; source: "efl";
|
||||
action: STATE_SET "button_visible" 0.0;
|
||||
target: "efl.buttons";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
group { "efl/popup/backwall"; data.item: "version" "123";
|
||||
group { "efl/popup/backwall";
|
||||
data.item: "version" "123";
|
||||
alias: "efl/alert_popup/backwall";
|
||||
parts {
|
||||
rect { "base";
|
||||
|
@ -208,9 +230,13 @@ group { "efl/popup/backwall"; data.item: "version" "123";
|
|||
}
|
||||
}
|
||||
swallow { "efl.content"; required;
|
||||
scale;
|
||||
desc { "default";
|
||||
rel.to: "base";
|
||||
rel1.offset: 4 4;
|
||||
rel2.offset: -5 -5;
|
||||
hid;
|
||||
offscale;
|
||||
}
|
||||
desc { "content_visible";
|
||||
inherit: "default";
|
||||
|
@ -226,33 +252,32 @@ group { "efl/popup/backwall"; data.item: "version" "123";
|
|||
}
|
||||
|
||||
programs {
|
||||
program {
|
||||
signal: "efl,content,set"; source: "efl";
|
||||
program { signal: "efl,content,set"; source: "efl";
|
||||
action: STATE_SET "content_visible" 0.0;
|
||||
target: "base";
|
||||
target: "efl.content";
|
||||
}
|
||||
program {
|
||||
signal: "efl,content,unset"; source: "efl";
|
||||
program { signal: "efl,content,unset"; source: "efl";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "base";
|
||||
target: "efl.content";
|
||||
}
|
||||
program {
|
||||
signal: "mouse,clicked,1"; source: "block";
|
||||
program { signal: "mouse,clicked,1"; source: "block";
|
||||
action: SIGNAL_EMIT "efl,action,click" "efl";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
group { "efl/alert_popup/button_layout1"; data.item: "version" "123";
|
||||
group { "efl/alert_popup/button_layout1";
|
||||
data.item: "version" "123";
|
||||
parts {
|
||||
swallow { "efl.button1"; required;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
group { "efl/alert_popup/button_layout2"; data.item: "version" "123";
|
||||
group { "efl/alert_popup/button_layout2";
|
||||
data.item: "version" "123";
|
||||
parts {
|
||||
spacer { "div1";
|
||||
desc { "default";
|
||||
|
@ -276,20 +301,23 @@ group { "efl/alert_popup/button_layout2"; data.item: "version" "123";
|
|||
}
|
||||
}
|
||||
|
||||
group { "efl/alert_popup/button_layout3"; data.item: "version" "123";
|
||||
group { "efl/alert_popup/button_layout3";
|
||||
data.item: "version" "123";
|
||||
parts {
|
||||
spacer { "div1";
|
||||
scale;
|
||||
desc { "default";
|
||||
rel1.relative: 0.333 0.5;
|
||||
rel2.relative: 0.333 0.5;
|
||||
min: 5 5;
|
||||
min: 4 4;
|
||||
}
|
||||
}
|
||||
spacer { "div2";
|
||||
scale;
|
||||
desc { "default";
|
||||
rel1.relative: 0.666 0.5;
|
||||
rel2.relative: 0.666 0.5;
|
||||
min: 5 5;
|
||||
min: 4 4;
|
||||
}
|
||||
}
|
||||
swallow { "efl.button1"; required;
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -11,293 +11,262 @@ Group: efl/radio (@since 1.23)
|
|||
Signal: efl,text,set
|
||||
Signal: efl,text,unset
|
||||
*/
|
||||
group { "efl/radio";
|
||||
group { name: "efl/radio";
|
||||
data.item: "version" "123";
|
||||
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
|
||||
#define SELECTED 8
|
||||
script {
|
||||
public btmode;
|
||||
public eval_mode(m) {
|
||||
new m1 = m & MASK;
|
||||
new d = m & DISABLE;
|
||||
if (m1 == (ICON | LABEL)) {
|
||||
if (!d) {
|
||||
set_state(PART:"efl.content", "visible", 0.0);
|
||||
set_state(PART:"sizer_content", "visible", 0.0);
|
||||
set_state(PART:"efl.text", "visible", 0.0);
|
||||
set_state(PART:"inset", "default", 0.0);
|
||||
set_state(PART:"clip", "default", 0.0);
|
||||
set_state(PART:"event", "default", 0.0);
|
||||
} else {
|
||||
set_state(PART:"efl.content", "visible", 0.0);
|
||||
set_state(PART:"sizer_content", "visible", 0.0);
|
||||
set_state(PART:"efl.text", "disabled_visible", 0.0);
|
||||
set_state(PART:"inset", "disabled", 0.0);
|
||||
set_state(PART:"clip", "disabled", 0.0);
|
||||
set_state(PART:"event", "disabled", 0.0);
|
||||
}
|
||||
} else if (m1 == (ICON)) {
|
||||
if (!d) {
|
||||
set_state(PART:"efl.content", "visible", 0.0);
|
||||
set_state(PART:"sizer_content", "icononly", 0.0);
|
||||
set_state(PART:"efl.text", "default", 0.0);
|
||||
set_state(PART:"inset", "default", 0.0);
|
||||
set_state(PART:"clip", "default", 0.0);
|
||||
set_state(PART:"event", "default", 0.0);
|
||||
} else {
|
||||
set_state(PART:"efl.content", "visible", 0.0);
|
||||
set_state(PART:"sizer_content", "icononly", 0.0);
|
||||
set_state(PART:"efl.text", "disabled", 0.0);
|
||||
set_state(PART:"inset", "disabled", 0.0);
|
||||
set_state(PART:"clip", "disabled", 0.0);
|
||||
set_state(PART:"event", "disabled", 0.0);
|
||||
}
|
||||
} else if (m1 == (LABEL)) {
|
||||
if (!d) {
|
||||
set_state(PART:"efl.content", "default", 0.0);
|
||||
set_state(PART:"sizer_content", "default", 0.0);
|
||||
set_state(PART:"efl.text", "visible", 0.0);
|
||||
set_state(PART:"inset", "default", 0.0);
|
||||
set_state(PART:"clip", "default", 0.0);
|
||||
set_state(PART:"event", "default", 0.0);
|
||||
} else {
|
||||
set_state(PART:"efl.content", "default", 0.0);
|
||||
set_state(PART:"sizer_content", "default", 0.0);
|
||||
set_state(PART:"efl.text", "disabled_visible", 0.0);
|
||||
set_state(PART:"inset", "disabled", 0.0);
|
||||
set_state(PART:"clip", "disabled", 0.0);
|
||||
set_state(PART:"event", "disabled", 0.0);
|
||||
}
|
||||
BUTTONMODE_SCRIPT2
|
||||
public sel;
|
||||
public eval_sel(m) {
|
||||
if (m) {
|
||||
set_state(PART:"ck_check", "selected", 0.0);
|
||||
} else {
|
||||
if (!d) {
|
||||
set_state(PART:"efl.content", "default", 0.0);
|
||||
set_state(PART:"sizer_content", "default", 0.0);
|
||||
set_state(PART:"efl.text", "default", 0.0);
|
||||
set_state(PART:"inset", "default", 0.0);
|
||||
set_state(PART:"clip", "default", 0.0);
|
||||
set_state(PART:"event", "default", 0.0);
|
||||
} else {
|
||||
set_state(PART:"efl.content", "default", 0.0);
|
||||
set_state(PART:"sizer_content", "default", 0.0);
|
||||
set_state(PART:"efl.text", "default", 0.0);
|
||||
set_state(PART:"inset", "disabled", 0.0);
|
||||
set_state(PART:"clip", "disabled", 0.0);
|
||||
set_state(PART:"event", "disabled", 0.0);
|
||||
}
|
||||
set_state(PART:"ck_check", "default", 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;
|
||||
part { name: "shadow"; type: SPACER;
|
||||
description { state: "default";
|
||||
}
|
||||
description { state: "disabled" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
image.normal: "inset_circle_tiny.png";
|
||||
desc { "pressed"; inherit;
|
||||
}
|
||||
desc { "disabled"; inherit;
|
||||
}
|
||||
}
|
||||
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;
|
||||
swallow { "efl.background"; nomouse;
|
||||
desc { "default";
|
||||
visible: 0;
|
||||
}
|
||||
description { state: "selected" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
desc { "visible"; inherit;
|
||||
visible: 1;
|
||||
}
|
||||
}
|
||||
part { name: "clip"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
rect { "icon_clip";
|
||||
desc { "default";
|
||||
color_class: "button_icon";
|
||||
}
|
||||
description { state: "disabled" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: 255 255 255 64;
|
||||
desc { "pressed"; inherit;
|
||||
color_class: "button_icon_pressed";
|
||||
}
|
||||
desc { "disabled"; inherit;
|
||||
color_class: "button_icon_disabled";
|
||||
}
|
||||
}
|
||||
part { name: "efl.content"; type: SWALLOW;
|
||||
swallow { "efl.content"; nomouse;
|
||||
required;
|
||||
clip_to: "icon_clip";
|
||||
scale: 1;
|
||||
clip_to: "clip";
|
||||
description { state: "default" 0.0;
|
||||
desc { "default";
|
||||
fixed: 1 0;
|
||||
visible: 0;
|
||||
align: 0.0 0.5;
|
||||
max: 0 0;
|
||||
rel1.to_x: "inset";
|
||||
rel1.to_x: "base";
|
||||
rel2.to_x: "base";
|
||||
rel1.offset: 4 4;
|
||||
rel1.relative: 1.0 0.0;
|
||||
rel1.offset: 1 1;
|
||||
rel2.to_x: "inset";
|
||||
rel2.offset: 1 -2;
|
||||
rel2.relative: 1.0 1.0;
|
||||
rel2.relative: 0.0 1.0;
|
||||
rel2.offset: 4 -5;
|
||||
visible: 0;
|
||||
offscale;
|
||||
}
|
||||
description { state: "visible" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
visible: 1;
|
||||
desc { "visible"; inherit;
|
||||
fixed: 1 0;
|
||||
aspect: 1.0 1.0;
|
||||
min: 16 16;
|
||||
min: ICMIN ICMIN;
|
||||
visible: 1;
|
||||
}
|
||||
desc { "icononly"; inherit;
|
||||
fixed: 0 0;
|
||||
align: 0.5 0.5;
|
||||
rel2.relative: 1.0 1.0;
|
||||
rel2.offset: -5 -5;
|
||||
rel2.to_x: "";
|
||||
visible: 1;
|
||||
}
|
||||
}
|
||||
part { name: "sizer_content"; type: TEXT; mouse_events: 0;
|
||||
text { "sizer_content"; nomouse;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
fixed: 1 1;
|
||||
desc { "default";
|
||||
visible: 0;
|
||||
text { font: FN; size: 10;
|
||||
min: 0 0;
|
||||
text_class: "radio_text";
|
||||
text_class: "button_text";
|
||||
}
|
||||
}
|
||||
description { state: "visible" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
rel1.to: "efl.content";
|
||||
rel2.to: "efl.content";
|
||||
desc { "visible"; inherit;
|
||||
rel.to: "efl.content";
|
||||
text {
|
||||
min: 1 1;
|
||||
ellipsis: -1;
|
||||
text: "M";
|
||||
text: SPACER_TEXT;
|
||||
}
|
||||
}
|
||||
description { state: "icononly" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
rel1.to: "efl.content";
|
||||
rel2.to: "efl.content";
|
||||
desc { "icononly"; inherit;
|
||||
rel.to: "efl.content";
|
||||
text {
|
||||
min: 1 1;
|
||||
ellipsis: -1;
|
||||
text: "M";
|
||||
text: SPACER_TEXT;
|
||||
}
|
||||
}
|
||||
}
|
||||
part { name: "efl.text"; type: TEXT; mouse_events: 0;
|
||||
effect: SHADOW BOTTOM;
|
||||
part { name: "base"; type: RECT;
|
||||
scale: 1;
|
||||
required;
|
||||
description { state: "default" 0.0;
|
||||
rel1.offset: 2 2;
|
||||
rel1.to_x: "efl.content";
|
||||
rel1.relative: 1.0 0.0;
|
||||
rel2.offset: -3 -3;
|
||||
color: FN_COL_DEFAULT;
|
||||
color_class: "radio_text";
|
||||
text { font: FN; size: 10;
|
||||
min: 0 0;
|
||||
align: 0.0 0.5;
|
||||
text_class: "radio";
|
||||
}
|
||||
description { state: "default";
|
||||
align: 0.0 0.5;
|
||||
min: 13 13;
|
||||
max: 13 13;
|
||||
rel1.offset: 4 4;
|
||||
rel2.relative: 0.0 1.0;
|
||||
rel2.offset: 4 -5;
|
||||
aspect: 1.0 1.0; aspect_preference: VERTICAL;
|
||||
offscale;
|
||||
visible: 0;
|
||||
offscale;
|
||||
}
|
||||
description { state: "disabled" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color_class: "radio_text_disabled";
|
||||
color3: 255 255 255 255;
|
||||
desc { "pressed"; inherit;
|
||||
}
|
||||
description { state: "visible" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
visible: 1;
|
||||
text.min: 1 1;
|
||||
text.ellipsis: -1;
|
||||
}
|
||||
description { state: "disabled_visible" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color_class: "radio_text_disabled";
|
||||
color3: 255 255 255 255;
|
||||
visible: 1;
|
||||
text.min: 1 1;
|
||||
text.ellipsis: -1;
|
||||
desc { "disabled"; inherit;
|
||||
}
|
||||
}
|
||||
part { name: "event"; type: RECT;
|
||||
part { name: "ck_check";
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
fixed: 1 1;
|
||||
rel.to: "base";
|
||||
image.normal: "i-radio";
|
||||
min: 15 15;
|
||||
max: 15 15;
|
||||
color: 0 0 0 64;
|
||||
}
|
||||
description { state: "pressed" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: 255 255 255 255;
|
||||
}
|
||||
description { state: "selected" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: 160 160 160 255;
|
||||
}
|
||||
desc { "disabled"; inherit;
|
||||
color: 0 0 0 16;
|
||||
}
|
||||
}
|
||||
text { "efl.text"; nomouse;
|
||||
required;
|
||||
scale: 1;
|
||||
desc { "default";
|
||||
fixed: 0 1;
|
||||
color: 160 160 160 255;
|
||||
rel1.offset: 0 4;
|
||||
rel1.relative: 1.0 0.0;
|
||||
rel1.to_x: "efl.content";
|
||||
rel2.offset: -5 -5;
|
||||
text { font: FN; size: 10;
|
||||
align: 0.0 0.5;
|
||||
min: 0 0;
|
||||
}
|
||||
visible: 0;
|
||||
offscale;
|
||||
}
|
||||
desc { "visible"; inherit;
|
||||
fixed: 0 0;
|
||||
rel1.offset: 4 4;
|
||||
text.min: 1 1;
|
||||
text.ellipsis: -1;
|
||||
visible: 1;
|
||||
}
|
||||
desc { "pressed_visible"; inherit;
|
||||
fixed: 0 0;
|
||||
color: 255 255 255 255;
|
||||
rel1.offset: 4 4;
|
||||
text.min: 1 1;
|
||||
text.ellipsis: -1;
|
||||
visible: 1;
|
||||
}
|
||||
desc { "textonly"; inherit;
|
||||
fixed: 0 0;
|
||||
text.min: 1 1;
|
||||
text.ellipsis: -1;
|
||||
visible: 1;
|
||||
}
|
||||
desc { "pressed_textonly"; inherit;
|
||||
fixed: 0 0;
|
||||
color: 255 255 255 255;
|
||||
text.min: 1 1;
|
||||
text.ellipsis: -1;
|
||||
visible: 1;
|
||||
}
|
||||
desc { "disabled_visible"; inherit;
|
||||
fixed: 0 0;
|
||||
color: 96 96 96 255;
|
||||
rel1.offset: 4 4;
|
||||
text.min: 1 1;
|
||||
text.ellipsis: -1;
|
||||
visible: 1;
|
||||
}
|
||||
desc { "disabled_textonly"; inherit;
|
||||
fixed: 0 0;
|
||||
color: 96 96 96 255;
|
||||
text.min: 1 1;
|
||||
text.ellipsis: -1;
|
||||
visible: 1;
|
||||
}
|
||||
}
|
||||
rect { "event";
|
||||
ignore_flags: ON_HOLD;
|
||||
desc { "default";
|
||||
color: 0 0 0 0;
|
||||
}
|
||||
description { state: "disabled" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
desc { "disabled"; inherit;
|
||||
visible: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
programs {
|
||||
EFL_UI_CLICKABLE_PART_BIND(event)
|
||||
program {
|
||||
signal: "efl,state,selected"; source: "efl";
|
||||
action: STATE_SET "selected" 0.0;
|
||||
target: "indicator";
|
||||
program { signal: "efl,state,selected"; source: "efl";
|
||||
script {
|
||||
new m = get_int(sel) | SELECTED;
|
||||
set_int(sel, m);
|
||||
eval_sel(m);
|
||||
}
|
||||
}
|
||||
program {
|
||||
signal: "efl,state,unselected"; source: "efl";
|
||||
program { signal: "efl,state,unselected"; source: "efl";
|
||||
script {
|
||||
new m = get_int(sel) & ~SELECTED;
|
||||
set_int(sel, m);
|
||||
eval_sel(m);
|
||||
}
|
||||
}
|
||||
program { signal: "efl,text,set"; source: "efl";
|
||||
script { flag_set(LABEL); }
|
||||
}
|
||||
program { signal: "efl,text,unset"; source: "efl";
|
||||
script { flag_unset(LABEL); }
|
||||
}
|
||||
program { signal: "efl,content,set"; source: "efl";
|
||||
script { flag_set(ICON); }
|
||||
}
|
||||
program { signal: "efl,content,unset"; source: "efl";
|
||||
script { flag_unset(ICON); }
|
||||
}
|
||||
program { signal: "efl,state,disabled"; source: "efl";
|
||||
script { flag_set(DISABLE); }
|
||||
}
|
||||
program { signal: "efl,state,enabled"; source: "efl";
|
||||
script { flag_unset(DISABLE); }
|
||||
}
|
||||
program { signal: "efl,state,disabled"; source: "efl";
|
||||
action: STATE_SET "disabled" 0.0;
|
||||
target: "ck_check";
|
||||
}
|
||||
program { signal: "efl,state,enabled"; source: "efl";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "indicator";
|
||||
}
|
||||
program {
|
||||
signal: "efl,text,set"; source: "efl";
|
||||
script {
|
||||
new m = get_int(btmode);
|
||||
m |= LABEL; set_int(btmode, m);
|
||||
eval_mode(m);
|
||||
}
|
||||
}
|
||||
program {
|
||||
signal: "efl,text,unset"; source: "efl";
|
||||
script {
|
||||
new m = get_int(btmode);
|
||||
m &= ~LABEL; set_int(btmode, m);
|
||||
eval_mode(m);
|
||||
}
|
||||
}
|
||||
program {
|
||||
signal: "efl,content,set"; source: "efl";
|
||||
script {
|
||||
new m = get_int(btmode);
|
||||
m |= ICON; set_int(btmode, m);
|
||||
eval_mode(m);
|
||||
}
|
||||
}
|
||||
program {
|
||||
signal: "efl,content,unset"; source: "efl";
|
||||
script {
|
||||
new m = get_int(btmode);
|
||||
m &= ~ICON; set_int(btmode, m);
|
||||
eval_mode(m);
|
||||
}
|
||||
}
|
||||
program {
|
||||
signal: "efl,state,disabled"; source: "efl";
|
||||
script {
|
||||
new m = get_int(btmode);
|
||||
m |= DISABLE; set_int(btmode, m);
|
||||
eval_mode(m);
|
||||
}
|
||||
}
|
||||
program {
|
||||
signal: "efl,state,enabled"; source: "efl";
|
||||
script {
|
||||
new m = get_int(btmode);
|
||||
m &= ~DISABLE; set_int(btmode, m);
|
||||
eval_mode(m);
|
||||
}
|
||||
target: "ck_check";
|
||||
}
|
||||
}
|
||||
#undef ICON
|
||||
#undef LABEL
|
||||
#undef MASK
|
||||
#undef DISABLE
|
||||
}
|
||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -11,15 +11,18 @@ group { "efl/spin";
|
|||
nomouse;
|
||||
scale;
|
||||
desc { "default";
|
||||
color: FN_COL_DEFAULT;
|
||||
color: 160 160 160 255;
|
||||
text {
|
||||
font: FNBD;
|
||||
font: FN;
|
||||
size: 10;
|
||||
min: 1 1;
|
||||
ellipsis: -1;
|
||||
align: 0.5 0.5;
|
||||
}
|
||||
rel.to: "bg";
|
||||
rel1.offset: 4 4;
|
||||
rel2.offset: -5 -5;
|
||||
offscale;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -70,7 +70,6 @@ Group: efl/spin_button/vertical/inc_button (@since 1.23)
|
|||
*/
|
||||
group { "efl/spin_button/horizontal";
|
||||
data.item: "version" "123";
|
||||
images.image: "vert_bar_inset.png" COMP;
|
||||
parts {
|
||||
rect { "clip";
|
||||
desc { "default";
|
||||
|
@ -78,19 +77,8 @@ group { "efl/spin_button/horizontal";
|
|||
}
|
||||
}
|
||||
rect { "bg";
|
||||
scale;
|
||||
desc { "default";
|
||||
color_class: "spinner_bg";
|
||||
}
|
||||
}
|
||||
image { "inset"; nomouse;
|
||||
desc { "default";
|
||||
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;
|
||||
color: DARK_GREY_BG_COLOR;
|
||||
}
|
||||
}
|
||||
rect { "access";
|
||||
|
@ -98,8 +86,7 @@ group { "efl/spin_button/horizontal";
|
|||
desc { "default";
|
||||
fixed: 1 1;
|
||||
color: 0 0 0 0;
|
||||
rel1.to: "inset";
|
||||
rel2.to: "inset";
|
||||
rel.to: "bg";
|
||||
hid;
|
||||
}
|
||||
desc { "active";
|
||||
|
@ -111,8 +98,7 @@ group { "efl/spin_button/horizontal";
|
|||
clip: "clip";
|
||||
desc { "default";
|
||||
fixed: 1 1;
|
||||
rel1.to: "efl.text_button";
|
||||
rel2.to: "efl.text_button";
|
||||
rel.to: "efl.text_button";
|
||||
hid;
|
||||
}
|
||||
desc { "active";
|
||||
|
@ -123,33 +109,36 @@ group { "efl/spin_button/horizontal";
|
|||
swallow { "efl.dec_button"; required;
|
||||
scale;
|
||||
desc { "default";
|
||||
fixed: 1 0;
|
||||
fixed: 1 1;
|
||||
align: 0.0 0.5;
|
||||
min: 15 15;
|
||||
aspect: 1.0 1.0; aspect_preference: VERTICAL;
|
||||
min: 23 23;
|
||||
max: 23 23;
|
||||
}
|
||||
}
|
||||
swallow { "efl.inc_button"; required;
|
||||
scale;
|
||||
desc { "default";
|
||||
fixed: 1 0;
|
||||
fixed: 1 1;
|
||||
align: 1.0 0.5;
|
||||
min: 15 15;
|
||||
aspect: 1.0 1.0; aspect_preference: VERTICAL;
|
||||
min: 23 23;
|
||||
max: 23 23;
|
||||
}
|
||||
}
|
||||
swallow { "efl.text_button"; required;
|
||||
scale;
|
||||
desc { "default";
|
||||
vis;
|
||||
rel1.to_y: "inset";
|
||||
rel1.to_y: "bg";
|
||||
rel1.to_x: "efl.dec_button";
|
||||
rel1.relative: 1.0 0.0;
|
||||
rel1.offset: 1 1;
|
||||
rel2.to_y: "inset";
|
||||
rel1.offset: 4 4;
|
||||
rel2.to_y: "bg";
|
||||
rel2.to_x: "efl.inc_button";
|
||||
rel2.relative: 0.0 1.0;
|
||||
rel2.offset: -2 -2;
|
||||
rel2.offset: -5 -5;
|
||||
min: 23 0;
|
||||
max: -1 -1;
|
||||
offscale;
|
||||
}
|
||||
desc { "inactive";
|
||||
inherit: "default";
|
||||
|
@ -170,51 +159,37 @@ group { "efl/spin_button/horizontal";
|
|||
}
|
||||
}
|
||||
programs {
|
||||
program { "entry_active";
|
||||
signal: "efl,entry,visible,on";
|
||||
program { "entry_active"; signal: "efl,entry,visible,on";
|
||||
source: "efl";
|
||||
action: STATE_SET "active";
|
||||
target: "efl.entry";
|
||||
}
|
||||
program { "entry_inactive";
|
||||
signal: "efl,entry,visible,off";
|
||||
program { "entry_inactive"; signal: "efl,entry,visible,off";
|
||||
source: "efl";
|
||||
action: STATE_SET "default";
|
||||
target: "efl.entry";
|
||||
}
|
||||
program { "text_button_active";
|
||||
signal: "efl,button,visible,on";
|
||||
source: "efl";
|
||||
program { signal: "efl,button,visible,on"; source: "efl";
|
||||
action: STATE_SET "default";
|
||||
target: "efl.text_button";
|
||||
}
|
||||
program { "text_button_inactive";
|
||||
signal: "efl,button,visible,off";
|
||||
source: "efl";
|
||||
program { signal: "efl,button,visible,off"; source: "efl";
|
||||
action: STATE_SET "inactive";
|
||||
target: "efl.text_button";
|
||||
}
|
||||
program { "access_activate";
|
||||
signal: "efl,state,access,active";
|
||||
source: "efl";
|
||||
program { signal: "efl,state,access,active"; source: "efl";
|
||||
action: STATE_SET "active";
|
||||
target: "access";
|
||||
}
|
||||
program { "access_inactivate";
|
||||
signal: "efl,state,access,inactive";
|
||||
source: "efl";
|
||||
program { signal: "efl,state,access,inactive"; source: "efl";
|
||||
action: STATE_SET "default";
|
||||
target: "access";
|
||||
}
|
||||
program { "disable";
|
||||
signal: "efl,state,disabled";
|
||||
source: "efl";
|
||||
program { signal: "efl,state,disabled"; source: "efl";
|
||||
action: STATE_SET "disabled";
|
||||
target: "disabler";
|
||||
}
|
||||
program { "enable";
|
||||
signal: "efl,state,enabled";
|
||||
source: "efl";
|
||||
program { signal: "efl,state,enabled"; source: "efl";
|
||||
action: STATE_SET "default";
|
||||
target: "disabler";
|
||||
}
|
||||
|
@ -225,45 +200,39 @@ group { "efl/spin_button/vertical";
|
|||
inherit: "efl/spin_button/horizontal";
|
||||
data.item: "version" "123";
|
||||
parts {
|
||||
image { "inset"; nomouse;
|
||||
part { name: "bg";
|
||||
desc { "default";
|
||||
min: 40 150;
|
||||
min: 40 69;
|
||||
}
|
||||
}
|
||||
swallow { "efl.inc_button"; required;
|
||||
scale;
|
||||
desc { "default";
|
||||
rel.to: "inset";
|
||||
rel.to: "bg";
|
||||
align: 0.5 0.0;
|
||||
min: 40 40;
|
||||
max: 40 40;
|
||||
fixed: 1 1;
|
||||
}
|
||||
}
|
||||
swallow { "efl.dec_button"; required;
|
||||
scale;
|
||||
desc { "default";
|
||||
rel.to: "inset";
|
||||
rel.to: "bg";
|
||||
align: 0.5 1.0;
|
||||
min: 40 40;
|
||||
max: 40 40;
|
||||
fixed: 1 1;
|
||||
}
|
||||
}
|
||||
swallow { "efl.text_button"; required;
|
||||
scale;
|
||||
desc { "default";
|
||||
rel.to_x: "inset";
|
||||
rel.to_x: "bg";
|
||||
rel1 {
|
||||
to_x: "bg";
|
||||
to_y: "efl.inc_button";
|
||||
relative: 0.0 1.0;
|
||||
}
|
||||
rel2 {
|
||||
to_x: "bg";
|
||||
to_y: "efl.dec_button";
|
||||
relative: 1.0 0.0;
|
||||
}
|
||||
min: 0 70;
|
||||
max: -1 70;
|
||||
fixed: 0 1;
|
||||
}
|
||||
desc { "inactive";
|
||||
|
@ -276,36 +245,40 @@ group { "efl/spin_button/vertical";
|
|||
|
||||
group { "efl/spin_button/horizontal/inc_button";
|
||||
data.item: "version" "123";
|
||||
images.image: "sym_right_light_normal.png" COMP;
|
||||
images.image: "sym_right_glow_normal.png" COMP;
|
||||
images.image: "sym_right_dark_normal.png" COMP;
|
||||
script {
|
||||
public mouse_down = 0;
|
||||
public multi_down = 0;
|
||||
}
|
||||
parts {
|
||||
part { name: "arrow.image";
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
min: 15 15;
|
||||
max: 15 15;
|
||||
color_class: "F032L1";
|
||||
image.normal: "sym_right_light_normal.png";
|
||||
image.normal: "i-arrow-r";
|
||||
color: 160 160 160 255;
|
||||
rel1.offset: 4 4;
|
||||
rel2.offset: -5 -5;
|
||||
offscale;
|
||||
}
|
||||
description { state: "pressed" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
image.normal: "sym_right_glow_normal.png";
|
||||
color: 255 255 255 255;
|
||||
}
|
||||
description { state: "disabled" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
image.normal: "sym_right_dark_normal.png";
|
||||
color: 96 96 96 255;
|
||||
}
|
||||
}
|
||||
part { name: "over";
|
||||
type: RECT;
|
||||
part { name: "over"; type: RECT;
|
||||
repeat_events: 1;
|
||||
scale;
|
||||
description { state: "default" 0.0;
|
||||
color: 0 0 0 0;
|
||||
min: 23 23;
|
||||
}
|
||||
}
|
||||
part { name: "disabler";
|
||||
type: RECT;
|
||||
part { name: "disabler"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
color: 0 0 0 0;
|
||||
visible: 0;
|
||||
|
@ -317,35 +290,56 @@ group { "efl/spin_button/horizontal/inc_button";
|
|||
}
|
||||
}
|
||||
programs {
|
||||
EFL_UI_CLICKABLE_PART_BIND(over)
|
||||
program { name: "button_press";
|
||||
signal: "mouse,down,1";
|
||||
source: "over";
|
||||
program { signal: "mouse,down,1"; source: "over";
|
||||
script {
|
||||
if ((get_int(multi_down) == 0) &&
|
||||
(get_int(mouse_down) == 0)) {
|
||||
set_int(mouse_down, 1);
|
||||
run_program(PROGRAM:"button_press2");
|
||||
}
|
||||
}
|
||||
}
|
||||
program { name: "button_press2";
|
||||
action: SIGNAL_EMIT "efl,action,press" "";
|
||||
after: "button_press_anim";
|
||||
}
|
||||
program { name: "button_press_anim";
|
||||
action: STATE_SET "pressed" 0.0;
|
||||
target: "arrow.image";
|
||||
}
|
||||
program { name: "button_unpress";
|
||||
signal: "mouse,up,1";
|
||||
source: "over";
|
||||
program { signal: "mouse,up,1"; source: "over";
|
||||
script {
|
||||
if (get_int(mouse_down) == 1) {
|
||||
set_int(mouse_down, 0);
|
||||
run_program(PROGRAM:"button_unpress2");
|
||||
run_program(PROGRAM:"button_unpress_anim");
|
||||
}
|
||||
}
|
||||
}
|
||||
program { name: "button_unpress2";
|
||||
action: SIGNAL_EMIT "efl,action,unpress" "";
|
||||
}
|
||||
program { name: "button_unpress_anim";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "arrow.image";
|
||||
}
|
||||
program { name: "action_unpressed";
|
||||
signal: "efl,action,unpressed";
|
||||
source: "efl";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "arrow.image";
|
||||
|
||||
program { signal: "mouse,clicked,1"; source: "over";
|
||||
script {
|
||||
if (get_int(multi_down) == 0) {
|
||||
run_program(PROGRAM:"button_click2");
|
||||
}
|
||||
}
|
||||
}
|
||||
program { name: "action_pressed";
|
||||
signal: "efl,action,pressed";
|
||||
source: "efl";
|
||||
action: STATE_SET "pressed" 0.0;
|
||||
target: "arrow.image";
|
||||
program { signal: "efl,action,unpressed"; source: "efl";
|
||||
after: "button_unpress_anim";
|
||||
}
|
||||
program { name: "access_pressed";
|
||||
signal: "efl,state,animation,activated";
|
||||
source: "efl";
|
||||
program { signal: "efl,action,pressed"; source: "efl";
|
||||
after: "button_press_anim";
|
||||
}
|
||||
program { name: "button_click2";
|
||||
action: SIGNAL_EMIT "efl,action,click" "";
|
||||
}
|
||||
program { signal: "efl,state,animation,activated"; source: "efl";
|
||||
action: STATE_SET "pressed" 0.0;
|
||||
target: "arrow.image";
|
||||
after: "access_pressed_anim";
|
||||
|
@ -355,20 +349,26 @@ group { "efl/spin_button/horizontal/inc_button";
|
|||
transition: DECELERATE 0.1;
|
||||
target: "arrow.image";
|
||||
}
|
||||
program { name: "disable";
|
||||
signal: "efl,state,disabled";
|
||||
source: "efl";
|
||||
program { signal: "efl,state,disabled"; source: "efl";
|
||||
action: STATE_SET "disabled" 0.0;
|
||||
target: "arrow.image";
|
||||
target: "disabler";
|
||||
}
|
||||
program { name: "enable";
|
||||
signal: "efl,state,enabled";
|
||||
source: "efl";
|
||||
program { signal: "efl,state,enabled"; source: "efl";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "arrow.image";
|
||||
target: "disabler";
|
||||
}
|
||||
program { signal: "efl,action,multi,down"; source: "efl";
|
||||
script {
|
||||
set_int(multi_down, 1);
|
||||
}
|
||||
}
|
||||
program { signal: "efl,action,multi,up"; source: "efl";
|
||||
script {
|
||||
set_int(multi_down, 0);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -381,24 +381,16 @@ group { "efl/spin_button/horizontal/entry";
|
|||
group { "efl/spin_button/horizontal/dec_button";
|
||||
inherit: "efl/spin_button/horizontal/inc_button";
|
||||
data.item: "version" "123";
|
||||
images.image: "sym_left_light_normal.png" COMP;
|
||||
images.image: "sym_left_glow_normal.png" COMP;
|
||||
images.image: "sym_left_dark_normal.png" COMP;
|
||||
parts {
|
||||
part { name: "arrow.image";
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
min: 15 15;
|
||||
max: 15 15;
|
||||
image.normal: "sym_left_light_normal.png";
|
||||
image.normal: "i-arrow-l";
|
||||
}
|
||||
description { state: "pressed" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
image.normal: "sym_left_glow_normal.png";
|
||||
image.normal: "i-arrow-l";
|
||||
}
|
||||
description { state: "disabled" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
image.normal: "sym_left_dark_normal.png";
|
||||
image.normal: "i-arrow-l";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -414,15 +406,14 @@ group { "efl/spin_button/horizontal/text_button";
|
|||
description { state: "default" 0.0;
|
||||
}
|
||||
}
|
||||
part { name: "efl.text";
|
||||
type: TEXT;
|
||||
part { name: "efl.text"; type: TEXT;
|
||||
scale: 1;
|
||||
effect: SHADOW BOTTOM;
|
||||
description { state: "default" 0.0;
|
||||
color: FN_COL_DEFAULT;
|
||||
color_class: "spinner";
|
||||
rel1.to: "bg";
|
||||
rel2.to: "bg";
|
||||
color: 160 160 160 255;
|
||||
rel.to: "bg";
|
||||
rel1.offset: 4 4;
|
||||
rel2.offset: -5 -5;
|
||||
offscale;
|
||||
text { font: FN; size: 10;
|
||||
min: 1 1;
|
||||
text_class: "spinner";
|
||||
|
@ -430,20 +421,17 @@ group { "efl/spin_button/horizontal/text_button";
|
|||
}
|
||||
}
|
||||
description { state: "disabled" 0.0;
|
||||
inherit: "default" 0.0 ;
|
||||
color: FN_COL_DISABLE;
|
||||
color_class: "spinner_disabled";
|
||||
inherit: "default" 0.0 ;
|
||||
color: 96 96 96 255;
|
||||
}
|
||||
}
|
||||
part { name: "over";
|
||||
type: RECT;
|
||||
part { name: "over"; type: RECT;
|
||||
repeat_events: 1;
|
||||
description { state: "default" 0.0;
|
||||
color: 0 0 0 0;
|
||||
}
|
||||
}
|
||||
part { name: "disabler";
|
||||
type: RECT;
|
||||
part { name: "disabler"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
color: 0 0 0 0;
|
||||
visible: 0;
|
||||
|
@ -455,9 +443,7 @@ group { "efl/spin_button/horizontal/text_button";
|
|||
}
|
||||
}
|
||||
programs {
|
||||
program { name: "button_click";
|
||||
signal: "mouse,clicked,1";
|
||||
source: "over";
|
||||
program { signal: "mouse,clicked,1"; source: "over";
|
||||
script {
|
||||
run_program(PROGRAM:"button_click2");
|
||||
}
|
||||
|
@ -465,16 +451,12 @@ group { "efl/spin_button/horizontal/text_button";
|
|||
program { name: "button_click2";
|
||||
action: SIGNAL_EMIT "efl,action,click" "";
|
||||
}
|
||||
program { name: "disable";
|
||||
signal: "efl,state,disabled";
|
||||
source: "efl";
|
||||
program { signal: "efl,state,disabled"; source: "efl";
|
||||
action: STATE_SET "disabled" 0.0;
|
||||
target: "disabler";
|
||||
target: "efl.text";
|
||||
}
|
||||
program { name: "enable";
|
||||
signal: "efl,state,enabled";
|
||||
source: "efl";
|
||||
program { signal: "efl,state,enabled"; source: "efl";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "disabler";
|
||||
target: "efl.text";
|
||||
|
@ -485,24 +467,16 @@ group { "efl/spin_button/horizontal/text_button";
|
|||
group { "efl/spin_button/vertical/inc_button";
|
||||
inherit: "efl/spin_button/horizontal/inc_button";
|
||||
data.item: "version" "123";
|
||||
images.image: "sym_up_light_normal.png" COMP;
|
||||
images.image: "sym_up_glow_normal.png" COMP;
|
||||
images.image: "sym_up_dark_normal.png" COMP;
|
||||
parts {
|
||||
part { name: "arrow.image";
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
min: 15 15;
|
||||
max: 15 15;
|
||||
image.normal: "sym_up_light_normal.png";
|
||||
image.normal: "i-arrow-u";
|
||||
}
|
||||
description { state: "pressed" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
image.normal: "sym_up_glow_normal.png";
|
||||
image.normal: "i-arrow-u";
|
||||
}
|
||||
description { state: "disabled" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
image.normal: "sym_up_dark_normal.png";
|
||||
image.normal: "i-arrow-u";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -511,24 +485,16 @@ group { "efl/spin_button/vertical/inc_button";
|
|||
group { "efl/spin_button/vertical/dec_button";
|
||||
inherit: "efl/spin_button/horizontal/dec_button";
|
||||
data.item: "version" "123";
|
||||
images.image: "sym_down_light_normal.png" COMP;
|
||||
images.image: "sym_down_glow_normal.png" COMP;
|
||||
images.image: "sym_down_dark_normal.png" COMP;
|
||||
parts {
|
||||
part { name: "arrow.image";
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
min: 15 15;
|
||||
max: 15 15;
|
||||
image.normal: "sym_down_light_normal.png";
|
||||
image.normal: "i-arrow-d";
|
||||
}
|
||||
description { state: "pressed" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
image.normal: "sym_down_glow_normal.png";
|
||||
image.normal: "i-arrow-d";
|
||||
}
|
||||
description { state: "disabled" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
image.normal: "sym_down_dark_normal.png";
|
||||
image.normal: "i-arrow-d";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,32 +1,32 @@
|
|||
group { "efl/spotlight"; data.item: "version" "123";
|
||||
group { "efl/spotlight";
|
||||
data.item: "version" "123";
|
||||
parts {
|
||||
swallow { "efl.indicator";
|
||||
scale;
|
||||
desc { "default";
|
||||
rel2.relative: 1.0 0.0;
|
||||
align: 0.5 0.0;
|
||||
min: 0 50;
|
||||
min: 0 46;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
group { "efl/spotlight/indicator_holder"; data.item: "version" "123";
|
||||
group { "efl/spotlight/indicator_holder";
|
||||
data.item: "version" "123";
|
||||
parts {
|
||||
swallow { "efl.indicator";
|
||||
scale;
|
||||
desc { "default";
|
||||
rel2.relative: 1.0 0.0;
|
||||
align: 0.5 0.0;
|
||||
min: 0 50;
|
||||
min: 0 46;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
group { "efl/spotlight/indicator"; data.item: "version" "123";
|
||||
images {
|
||||
image: "ring_white_middle.png" COMP;
|
||||
}
|
||||
group { "efl/spotlight/indicator";
|
||||
data.item: "version" "123";
|
||||
parts {
|
||||
spacer { "base";
|
||||
scale;
|
||||
|
@ -36,9 +36,12 @@ group { "efl/spotlight/indicator"; data.item: "version" "123";
|
|||
image { "icon";
|
||||
scale;
|
||||
desc { "default";
|
||||
image.normal: "ring_white_middle.png";
|
||||
image.normal: "i-radio";
|
||||
color: 0 0 0 255;
|
||||
min: 6 6;
|
||||
min: 8 8;
|
||||
rel1.offset: 4 4;
|
||||
rel2.offset: -5 -5;
|
||||
offscale;
|
||||
}
|
||||
desc { "selected";
|
||||
inherit: "default";
|
||||
|
|
|
@ -1,18 +1,8 @@
|
|||
group { "efl/tab_bar";
|
||||
data.item: "version" "123";
|
||||
images.image: "vgrad_med_lighter.png" COMP;
|
||||
images.image: "bevel_out.png" COMP;
|
||||
images.image: "shadow_square_tiny.png" COMP;
|
||||
parts {
|
||||
spacer { "base";
|
||||
scale;
|
||||
desc { "default";
|
||||
}
|
||||
}
|
||||
swallow { "efl.content";
|
||||
scale;
|
||||
desc { "default";
|
||||
rel.to: "base";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -20,10 +10,13 @@ group { "efl/tab_bar";
|
|||
|
||||
group { "efl/tab_bar/tab";
|
||||
data.item: "version" "123";
|
||||
data.item: "transition_animation_on" "1";
|
||||
|
||||
images.image: "win_shad_flat.png" COMP;
|
||||
|
||||
images.image: "shadow_inset_bevels.png" COMP;
|
||||
images.image: "shadow_angled_in_sides.png" COMP;
|
||||
images.image: "horizontal_separated_bar_small_glow.png" COMP;
|
||||
data.item: "transition_animation_on" "1";
|
||||
images.image: "bevel_dark_in.png" COMP;
|
||||
|
||||
#define ICON 1
|
||||
|
@ -40,73 +33,104 @@ group { "efl/tab_bar/tab";
|
|||
set_state(PART:"efl.icon", "default", 0.0);
|
||||
set_state(PART:"icon_clip", "default", 0.0);
|
||||
set_state(PART:"efl.text", "default", 0.0);
|
||||
set_state(PART:"label2", "default", 0.0);
|
||||
} else {
|
||||
set_state(PART:"efl.icon", "default", 0.0);
|
||||
set_state(PART:"icon_clip", "disabled", 0.0);
|
||||
set_state(PART:"efl.text", "disabled", 0.0);
|
||||
set_state(PART:"label2", "default", 0.0);
|
||||
}
|
||||
} else if (m1 == (ICON)) {
|
||||
if (!d) {
|
||||
set_state(PART:"efl.icon", "icononly", 0.0);
|
||||
set_state(PART:"icon_clip", "default", 0.0);
|
||||
set_state(PART:"efl.text", "icononly", 0.0);
|
||||
set_state(PART:"label2", "icononly", 0.0);
|
||||
} else {
|
||||
set_state(PART:"efl.icon", "icononly", 0.0);
|
||||
set_state(PART:"icon_clip", "disabled", 0.0);
|
||||
set_state(PART:"efl.text", "icononly", 0.0);
|
||||
set_state(PART:"label2", "icononly", 0.0);
|
||||
}
|
||||
} else if (m1 == (LABEL)) {
|
||||
if (!d) {
|
||||
set_state(PART:"efl.icon", "noicon", 0.0);
|
||||
set_state(PART:"icon_clip", "default", 0.0);
|
||||
set_state(PART:"efl.text", "noicon", 0.0);
|
||||
set_state(PART:"label2", "noicon", 0.0);
|
||||
} else {
|
||||
set_state(PART:"efl.icon", "noicon", 0.0);
|
||||
set_state(PART:"icon_clip", "disabled", 0.0);
|
||||
set_state(PART:"efl.text", "noicon_disabled", 0.0);
|
||||
set_state(PART:"label2", "noicon_disabled", 0.0);
|
||||
}
|
||||
} else {
|
||||
if (!d) {
|
||||
set_state(PART:"efl.icon", "noicon", 0.0);
|
||||
set_state(PART:"icon_clip", "default", 0.0);
|
||||
set_state(PART:"efl.text", "noicon", 0.0);
|
||||
set_state(PART:"label2", "noicon", 0.0);
|
||||
} else {
|
||||
set_state(PART:"efl.icon", "noicon", 0.0);
|
||||
set_state(PART:"icon_clip", "disabled", 0.0);
|
||||
set_state(PART:"efl.text", "noicon_disabled", 0.0);
|
||||
set_state(PART:"label2", "noicon_disabled", 0.0);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
parts {
|
||||
spacer { "base";
|
||||
scale;
|
||||
desc { "default";
|
||||
}
|
||||
desc { "vert";
|
||||
}
|
||||
}
|
||||
rect { "shadow1";
|
||||
nomouse;
|
||||
desc { "default";
|
||||
rel.to: "base";
|
||||
rel2.offset: 0 0;
|
||||
color: 0 0 0 50;
|
||||
vis;
|
||||
part { name: "shadow"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to_x: "_sh1";
|
||||
rel1.to_y: "_sh1";
|
||||
rel2.to_x: "_sh1";
|
||||
rel2.to_y: "";
|
||||
color: 255 255 255 128;
|
||||
}
|
||||
desc { "selected";
|
||||
inherit: "default";
|
||||
inherit: "default" 0.0;
|
||||
color: 255 255 255 255;
|
||||
}
|
||||
}
|
||||
WIN_SHAD("base", "shadow", "win_shad_flat.png", 10, 10, 7, 14, 0.25)
|
||||
rect { "base";
|
||||
desc { "default";
|
||||
color: 64 64 64 255;
|
||||
}
|
||||
desc { "vert";
|
||||
inherit: "default" 0.0;
|
||||
}
|
||||
}
|
||||
rect { "inset_clip";
|
||||
desc { "default";
|
||||
rel.to: "base";
|
||||
color: 255 255 255 128;
|
||||
}
|
||||
desc { "selected";
|
||||
inherit;
|
||||
hid;
|
||||
}
|
||||
}
|
||||
image { "inset";
|
||||
clip_to: "inset_clip";
|
||||
scale;
|
||||
desc { "default";
|
||||
image.normal: "win_shad_flat.png";
|
||||
image.border: 44 44 44 44;
|
||||
image.border_scale: 1;
|
||||
image.border_scale_by: 0.25;
|
||||
fill.smooth: 1;
|
||||
rel.to: "base";
|
||||
rel1.relative: 0.0 1.0;
|
||||
rel1.offset: -22 -11;
|
||||
rel2.offset: 21 20;
|
||||
offscale;
|
||||
}
|
||||
}
|
||||
rect { "highlight";
|
||||
desc { "default";
|
||||
rel.to: "base";
|
||||
hid;
|
||||
color: 51 153 255 255;
|
||||
}
|
||||
desc { "selected";
|
||||
inherit: "default" 0.0;
|
||||
vis;
|
||||
}
|
||||
}
|
||||
rect { "icon_clip";
|
||||
desc { "default";
|
||||
}
|
||||
|
@ -129,27 +153,28 @@ group { "efl/tab_bar/tab";
|
|||
}
|
||||
swallow { "efl.icon";
|
||||
clip_to: "icon_clip1";
|
||||
scale;
|
||||
desc { "default";
|
||||
align: 0.5 0.5;
|
||||
rel1.relative: 0.0 0.0;
|
||||
rel1.offset: 5 5;
|
||||
rel1.offset: 4 4;
|
||||
rel2.to_y: "efl.text";
|
||||
rel2.relative: 1.0 0.0;
|
||||
rel2.offset: -6 -4;
|
||||
rel2.offset: -5 -5;
|
||||
offscale;
|
||||
}
|
||||
desc { "noicon";
|
||||
inherit: "default" 0.0;
|
||||
hid;
|
||||
rel1.offset: 2 0;
|
||||
rel1.offset: 4 0;
|
||||
rel2.relative: 1.0 0.0;
|
||||
rel2.offset: -3 -4;
|
||||
rel2.offset: -5 0;
|
||||
}
|
||||
desc { "icononly";
|
||||
inherit: "default" 0.0;
|
||||
vis;
|
||||
rel2.relative: 1.0 1.0;
|
||||
rel2.offset: -3 -3;
|
||||
rel2.to_y: "icon_clip";
|
||||
rel2.offset: -5 -5;
|
||||
rel2.to_y: "";
|
||||
}
|
||||
}
|
||||
rect { "icon_clip2";
|
||||
|
@ -166,27 +191,29 @@ group { "efl/tab_bar/tab";
|
|||
}
|
||||
swallow { "efl.icon_new";
|
||||
clip_to: "icon_clip2";
|
||||
scale;
|
||||
desc { "default";
|
||||
align: 0.5 0.5;
|
||||
rel1.relative: 0.0 0.0;
|
||||
rel1.offset: 2 2;
|
||||
rel1.offset: 4 4;
|
||||
rel2.to_y: "efl.text";
|
||||
rel2.relative: 1.0 0.0;
|
||||
rel2.offset: -3 -1;
|
||||
rel2.offset: -5 -5;
|
||||
offscale;
|
||||
}
|
||||
desc { "noicon";
|
||||
inherit: "default";
|
||||
inherit: "default" 0.0;
|
||||
hid;
|
||||
rel1.offset: 2 0;
|
||||
rel1.offset: 4 0;
|
||||
rel2.relative: 1.0 0.0;
|
||||
rel2.offset: -3 -4;
|
||||
rel2.offset: -5 0;
|
||||
}
|
||||
desc { "icononly";
|
||||
inherit: "default" 0.0;
|
||||
vis;
|
||||
rel2.relative: 1.0 1.0;
|
||||
rel2.offset: -3 -3;
|
||||
rel2.to_y: "icon_clip";
|
||||
rel2.offset: -5 -5;
|
||||
rel2.to_y: "";
|
||||
}
|
||||
}
|
||||
rect { "text_clip1";
|
||||
|
@ -202,16 +229,15 @@ group { "efl/tab_bar/tab";
|
|||
}
|
||||
text { "efl.text";
|
||||
nomouse;
|
||||
effect: SHADOW BOTTOM;
|
||||
scale;
|
||||
clip_to: "text_clip1";
|
||||
desc { "default";
|
||||
rel1.offset: 4 -3;
|
||||
rel1.offset: 4 0;
|
||||
rel1.relative: 0.0 1.0;
|
||||
rel2.offset: -5 -3;
|
||||
rel2.offset: -5 -5;
|
||||
align: 0.5 1.0;
|
||||
color: FN_COL_DEFAULT;
|
||||
color_class: "toolbar_item";
|
||||
color: 160 160 160 255;
|
||||
offscale;
|
||||
text { font: FN; size: 10;
|
||||
min: 1 1;
|
||||
ellipsis: -1;
|
||||
|
@ -222,59 +248,21 @@ group { "efl/tab_bar/tab";
|
|||
}
|
||||
desc { "selected";
|
||||
inherit: "default";
|
||||
hid;
|
||||
color_class: "toolbar_item_selected";
|
||||
color: 255 255 255 255;
|
||||
}
|
||||
desc { "disabled";
|
||||
inherit: "default";
|
||||
color: FN_COL_DISABLE;
|
||||
color_class: "toolbar_item_disabled";
|
||||
color: 96 96 96 255;
|
||||
}
|
||||
desc { "noicon";
|
||||
inherit: "default";
|
||||
rel1.offset: 4 2;
|
||||
rel1.offset: 4 4;
|
||||
rel1.relative: 0.0 0.0;
|
||||
align: 0.5 0.5;
|
||||
}
|
||||
desc { "noicon_disabled";
|
||||
inherit: "noicon";
|
||||
color: FN_COL_DISABLE;
|
||||
color_class: "toolbar_item_disabled";
|
||||
}
|
||||
desc { "icononly";
|
||||
inherit: "default";
|
||||
text.min: 0 0;
|
||||
hid;
|
||||
fixed: 1 1;
|
||||
}
|
||||
}
|
||||
text { "label2";
|
||||
nomouse;
|
||||
effect: GLOW;
|
||||
scale;
|
||||
clip_to: "text_clip1";
|
||||
desc { "default";
|
||||
rel1.offset: -3 -3;
|
||||
rel1.to: "efl.text";
|
||||
rel2.offset: 2 1;
|
||||
rel2.to: "efl.text";
|
||||
color: FN_COL_HIGHLIGHT;
|
||||
color_class: "toolbar_item_active";
|
||||
text { font: FN; size: 10;
|
||||
text_source: "efl.text";
|
||||
align: 0.5 0.5;
|
||||
text_class: "toolbar_item";
|
||||
}
|
||||
hid;
|
||||
}
|
||||
desc { "selected";
|
||||
inherit: "default";
|
||||
vis;
|
||||
}
|
||||
desc { "noicon";
|
||||
inherit: "default";
|
||||
}
|
||||
desc { "noicon_disabled";
|
||||
inherit: "noicon";
|
||||
color: 96 96 96 255;
|
||||
}
|
||||
desc { "icononly";
|
||||
inherit: "default";
|
||||
|
@ -294,23 +282,22 @@ group { "efl/tab_bar/tab";
|
|||
vis;
|
||||
}
|
||||
}
|
||||
image { "bar";
|
||||
rect { "bar";
|
||||
nomouse;
|
||||
scale;
|
||||
desc { "default";
|
||||
fixed: 0 1;
|
||||
rel1.relative: 0.0 0.0;
|
||||
rel1.to: "shadow1";
|
||||
rel1.offset: -2 -2;
|
||||
rel2.relative: 1.0 0.0;
|
||||
rel2.offset: 0 7;
|
||||
rel2.to: "shadow1";
|
||||
image.normal: "horizontal_separated_bar_small_glow.png";
|
||||
image.border: 4 4 4 4;
|
||||
fill.smooth: 0;
|
||||
rel.to: "base";
|
||||
min: 0 0;
|
||||
max: -1 0;
|
||||
align: 0.5 0.0;
|
||||
color: 51 153 255 255;
|
||||
hid;
|
||||
}
|
||||
desc { "selected";
|
||||
inherit: "default";
|
||||
min: 0 0;
|
||||
max: -1 5;
|
||||
vis;
|
||||
}
|
||||
}
|
||||
|
@ -320,104 +307,102 @@ group { "efl/tab_bar/tab";
|
|||
}
|
||||
}
|
||||
swallow { "efl.extra";
|
||||
scale;
|
||||
desc { "default";
|
||||
fixed: 1 1;
|
||||
align: 1.0 0.0;
|
||||
rel1.relative: 1.0 0.0;
|
||||
rel1.offset: -3 2;
|
||||
rel1.offset: -5 4;
|
||||
rel2.relative: 1.0 0.0;
|
||||
rel2.offset: -3 2;
|
||||
rel2.offset: -5 4;
|
||||
offscale;
|
||||
}
|
||||
}
|
||||
}
|
||||
programs {
|
||||
EFL_UI_CLICKABLE_PART_BIND(event)
|
||||
program {
|
||||
signal: "efl,state,horizontal"; source: "efl";
|
||||
program { signal: "efl,state,horizontal"; source: "efl";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "base";
|
||||
}
|
||||
program {
|
||||
signal: "efl,state,vertical"; source: "efl";
|
||||
program { signal: "efl,state,vertical"; source: "efl";
|
||||
action: STATE_SET "vert" 0.0;
|
||||
target: "base";
|
||||
}
|
||||
program { name: "st0";
|
||||
signal: "load"; source: "";
|
||||
program { signal: "load"; source: "";
|
||||
script {
|
||||
set_int(btmode, LABEL | ICON);
|
||||
}
|
||||
}
|
||||
program {
|
||||
signal: "efl,state,selected"; source: "efl";
|
||||
program { signal: "efl,state,selected"; source: "efl";
|
||||
action: STATE_SET "selected" 0.0;
|
||||
target: "efl.text";
|
||||
target: "label2";
|
||||
target: "shadow1";
|
||||
target: "shadow";
|
||||
target: "bar";
|
||||
target: "inset_clip";
|
||||
}
|
||||
program {
|
||||
signal: "efl,state,unselected"; source: "efl";
|
||||
program { signal: "efl,state,unselected"; source: "efl";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "efl.text";
|
||||
target: "label2";
|
||||
target: "shadow1";
|
||||
target: "shadow";
|
||||
target: "bar";
|
||||
target: "inset_clip";
|
||||
}
|
||||
program { name: "st1";
|
||||
signal: "efl,text,unset"; source: "efl";
|
||||
program { signal: "efl,highlight,on"; source: "efl";
|
||||
action: STATE_SET "selected" 0.0;
|
||||
target: "highlight";
|
||||
}
|
||||
program { signal: "efl,highlight,off"; source: "efl";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "highlight";
|
||||
}
|
||||
program { signal: "efl,text,unset"; source: "efl";
|
||||
script {
|
||||
new m = get_int(btmode);
|
||||
m &= ~LABEL; set_int(btmode, m);
|
||||
eval_mode(m);
|
||||
}
|
||||
}
|
||||
program { name: "st2";
|
||||
signal: "efl,text,set"; source: "efl";
|
||||
program { signal: "efl,text,set"; source: "efl";
|
||||
script {
|
||||
new m = get_int(btmode);
|
||||
m |= LABEL; set_int(btmode, m);
|
||||
eval_mode(m);
|
||||
}
|
||||
}
|
||||
program { name: "st3";
|
||||
signal: "efl,state,icon,unset"; source: "efl";
|
||||
program { signal: "efl,state,icon,unset"; source: "efl";
|
||||
script {
|
||||
new m = get_int(btmode);
|
||||
m &= ~ICON; set_int(btmode, m);
|
||||
eval_mode(m);
|
||||
}
|
||||
}
|
||||
program { name: "st4";
|
||||
signal: "efl,state,icon,set"; source: "efl";
|
||||
program { signal: "efl,state,icon,set"; source: "efl";
|
||||
script {
|
||||
new m = get_int(btmode);
|
||||
m |= ICON; set_int(btmode, m);
|
||||
eval_mode(m);
|
||||
}
|
||||
}
|
||||
program { name: "st5";
|
||||
signal: "efl,state,disabled"; source: "efl";
|
||||
program { signal: "efl,state,disabled"; source: "efl";
|
||||
script {
|
||||
new m = get_int(btmode);
|
||||
m |= DISABLE; set_int(btmode, m);
|
||||
eval_mode(m);
|
||||
}
|
||||
}
|
||||
program { name: "st6";
|
||||
signal: "efl,state,enabled"; source: "efl";
|
||||
program { signal: "efl,state,enabled"; source: "efl";
|
||||
script {
|
||||
new m = get_int(btmode);
|
||||
m &= ~DISABLE; set_int(btmode, m);
|
||||
eval_mode(m);
|
||||
}
|
||||
}
|
||||
program {
|
||||
signal: "efl,state,moving"; source: "efl";
|
||||
program { signal: "efl,state,moving"; source: "efl";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "shadow1";
|
||||
target: "shadow";
|
||||
}
|
||||
program { name: "icon_set,animation";
|
||||
signal: "efl,state,icon_new,set"; source: "efl";
|
||||
program { signal: "efl,state,icon_new,set"; source: "efl";
|
||||
action: STATE_SET "animation" 0.0;
|
||||
target: "icon_clip1";
|
||||
target: "icon_clip2";
|
||||
|
@ -427,18 +412,15 @@ group { "efl/tab_bar/tab";
|
|||
program { name: "icon_set,animation,done";
|
||||
action: SIGNAL_EMIT "efl,state,icon_set,done" "efl";
|
||||
}
|
||||
program {
|
||||
signal: "efl,state,icon,reset"; source: "efl";
|
||||
program { signal: "efl,state,icon,reset"; source: "efl";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "icon_clip1";
|
||||
target: "icon_clip2";
|
||||
}
|
||||
program {
|
||||
signal: "efl,state,label_set,forward"; source: "efl";
|
||||
program { signal: "efl,state,label_set,forward"; source: "efl";
|
||||
after: "label_set,animation";
|
||||
}
|
||||
program {
|
||||
signal: "efl,state,label_set,backward"; source: "efl";
|
||||
program { signal: "efl,state,label_set,backward"; source: "efl";
|
||||
after: "label_set,animation";
|
||||
}
|
||||
program { name: "label_set,animation";
|
||||
|
@ -452,8 +434,7 @@ group { "efl/tab_bar/tab";
|
|||
program { name: "label_set,animation,done";
|
||||
action: SIGNAL_EMIT "efl,state,label_set,done" "efl";
|
||||
}
|
||||
program {
|
||||
signal: "efl,state,label,reset"; source: "efl";
|
||||
program { signal: "efl,state,label,reset"; source: "efl";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "text_clip1";
|
||||
target: "text_clip2";
|
||||
|
@ -463,5 +444,4 @@ group { "efl/tab_bar/tab";
|
|||
#undef LABEL
|
||||
#undef MASK
|
||||
#undef DISABLE
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,31 +1,54 @@
|
|||
group { "efl/tab_pager";
|
||||
data.item: "version" "123";
|
||||
images.image: "win_shad_flat.png" COMP;
|
||||
parts {
|
||||
spacer { "base";
|
||||
scale;
|
||||
desc { "default";
|
||||
part { name: "shadow"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
rel.to: "_sh1";
|
||||
}
|
||||
}
|
||||
WIN_SHAD("bg", "shadow", "win_shad_flat.png", 10, 10, 7, 14, 0.25)
|
||||
swallow { "efl.tab_root"; required;
|
||||
scale;
|
||||
desc { "default";
|
||||
rel.to: "base";
|
||||
align: 0 0;
|
||||
min: 0 50;
|
||||
max: -1 50;
|
||||
fixed: 0 1;
|
||||
min: 0 46;
|
||||
max: -1 46;
|
||||
rel1.to_x: "bg";
|
||||
rel2.to_x: "bg";
|
||||
rel1.offset: 4 4;
|
||||
rel2.offset: -5 4;
|
||||
align: 0.5 0.0;
|
||||
offscale;
|
||||
}
|
||||
}
|
||||
part { name: "bg"; type: RECT;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to_y: "efl.tab_root";
|
||||
rel1.relative: 0.0 1.0;
|
||||
color: 64 64 64 255;
|
||||
rel1.offset: 4 0;
|
||||
rel2.offset: -5 -5;
|
||||
offscale;
|
||||
}
|
||||
}
|
||||
part { name: "clip"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
rel.to: "bg";
|
||||
}
|
||||
}
|
||||
swallow { "efl.page_root"; required;
|
||||
clip_to: "clip";
|
||||
scale;
|
||||
desc { "default";
|
||||
rel1.to: "efl.tab_root";
|
||||
rel2.to: "base";
|
||||
rel1.relative: 0 1;
|
||||
rel.to: "bg";
|
||||
rel1.offset: 4 4;
|
||||
rel2.offset: -5 4;
|
||||
offscale;
|
||||
}
|
||||
}
|
||||
swallow { "efl.event"; required;
|
||||
scale;
|
||||
repeat_events: 1;
|
||||
desc { "default";
|
||||
rel.to: "efl.page_root";
|
||||
|
|
|
@ -29,19 +29,17 @@ group { "efl/tags/label";
|
|||
parts {
|
||||
text { "efl.text";
|
||||
nomouse;
|
||||
effect: GLOW;
|
||||
scale;
|
||||
desc { "default";
|
||||
color: FN_COL_HIGHLIGHT;
|
||||
color_class: "tags_label";
|
||||
color: 255 255 255 255;
|
||||
text { font: FNBD; size: 10;
|
||||
min: 1 1;
|
||||
ellipsis: -1;
|
||||
align: 0.5 0.5;
|
||||
text_class: "tags_label";
|
||||
}
|
||||
rel1.offset: 2 2;
|
||||
rel1.offset: 4 4;
|
||||
rel2.offset: -5 -5;
|
||||
offscale;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -49,17 +47,30 @@ group { "efl/tags/label";
|
|||
|
||||
group { "efl/tags/btn";
|
||||
data.item: "version" "123";
|
||||
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;
|
||||
images.image: "win_shadow.png" COMP;
|
||||
|
||||
styles {
|
||||
style { name: "efl_tags_textblock_style";
|
||||
base: "font="FN" align=0.5 font_size=10 color=#ffffffff style=shadow,bottom shadow_color=#00000080 text_class=tags_item ellipsis=1.0";
|
||||
base: "font="FN" align=0.5 font_size=10 color=#a0a0a0 text_class=tags_item ellipsis=1.0";
|
||||
tag: "br" "\n";
|
||||
tag: "ps" "ps";
|
||||
tag: "hilight" "+ font="FNBD;
|
||||
tag: "hilight" "+ color=#ffffff font="FNBD;
|
||||
tag: "b" "+ font="FNBD;
|
||||
tag: "tab" "\t";
|
||||
}
|
||||
style { name: "efl_tags_textblock_style_pressed";
|
||||
base: "font="FN" align=0.5 font_size=10 color=#ffffff text_class=tags_item ellipsis=1.0";
|
||||
tag: "br" "\n";
|
||||
tag: "ps" "ps";
|
||||
tag: "hilight" "+ color=#ffffff font="FNBD;
|
||||
tag: "b" "+ font="FNBD;
|
||||
tag: "tab" "\t";
|
||||
}
|
||||
style { name: "efl_tags_textblock_style_disabled";
|
||||
base: "font="FN" align=0.5 font_size=10 color=#606060 text_class=tags_item ellipsis=1.0";
|
||||
tag: "br" "\n";
|
||||
tag: "ps" "ps";
|
||||
tag: "hilight" "+ color=#808080 font="FNBD;
|
||||
tag: "b" "+ font="FNBD;
|
||||
tag: "tab" "\t";
|
||||
}
|
||||
|
@ -70,80 +81,77 @@ group { "efl/tags/btn";
|
|||
}
|
||||
|
||||
parts {
|
||||
rect { "bg";
|
||||
desc { "default";
|
||||
color_class: "tags_item_bg";
|
||||
part { name: "shadow"; mouse_events: 0;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
rel.to: "base";
|
||||
WIN_SHADOW_SMALL;
|
||||
}
|
||||
desc { "pressed";
|
||||
color_class: "tags_item_bg_selected";
|
||||
description { state: "pressed" 0.0; inherit;
|
||||
image.border_scale_by: 0.1;
|
||||
rel1.offset: -2 -1;
|
||||
rel2.offset: 0 1;
|
||||
}
|
||||
}
|
||||
image { "base";
|
||||
rect { "base";
|
||||
scale: 1;
|
||||
desc { "default";
|
||||
image.normal: "button_normal.png";
|
||||
image.border: 4 4 3 5;
|
||||
image.middle: SOLID;
|
||||
rel1.offset: -1 0;
|
||||
rel2.offset: 0 1;
|
||||
fill.smooth: 0;
|
||||
color: 96 96 96 255;
|
||||
rel1.offset: 2 2;
|
||||
rel2.offset: -3 -3;
|
||||
offscale;
|
||||
}
|
||||
desc { "pressed";
|
||||
inherit: "default";
|
||||
image.normal: "button_clicked.png";
|
||||
image.border: 5 5 4 6;
|
||||
color: 128 128 128 255;
|
||||
rel1.offset: 3 3;
|
||||
rel2.offset: -4 -4;
|
||||
offscale;
|
||||
}
|
||||
}
|
||||
image { "glow";
|
||||
nomouse;
|
||||
desc { "default";
|
||||
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;
|
||||
rel.to: "base";
|
||||
color: 51 153 255 0;
|
||||
hid;
|
||||
}
|
||||
desc { "focused";
|
||||
inherit: "default";
|
||||
color: 255 255 255 255;
|
||||
color: 51 153 255 255;
|
||||
vis;
|
||||
}
|
||||
desc { "unfocused";
|
||||
inherit: "default";
|
||||
}
|
||||
}
|
||||
image { "close";
|
||||
nomouse;
|
||||
desc { "default";
|
||||
image.normal: "sym_close_dark_normal.png";
|
||||
rel1.to: "del";
|
||||
rel2.to: "del";
|
||||
image.normal: "i-close";
|
||||
rel.to: "del";
|
||||
min: 15 15;
|
||||
max: 15 15;
|
||||
color: 160 160 160 255;
|
||||
fixed: 1 1;
|
||||
}
|
||||
desc { "pressed";
|
||||
inherit: "default";
|
||||
color: 255 255 255 255;
|
||||
}
|
||||
desc { "clicked";
|
||||
inherit: "default";
|
||||
image.normal: "sym_close_dark_selected.png";
|
||||
color: 255 255 255 255;
|
||||
}
|
||||
}
|
||||
rect { "del";
|
||||
scale;
|
||||
desc { "default";
|
||||
fixed: 1 0;
|
||||
min: 4 4;
|
||||
min: 15 15;
|
||||
align: 1.0 0.5;
|
||||
aspect: 1.0 1.0; aspect_preference: VERTICAL;
|
||||
rel.to: "base";
|
||||
rel1.relative: 1.0 0.0;
|
||||
rel1.to: "base";
|
||||
rel1.offset: -6 5;
|
||||
rel2.offset: -6 -7;
|
||||
rel2.to: "base";
|
||||
rel1.offset: -5 4;
|
||||
rel2.offset: -5 -5;
|
||||
color: 0 0 0 0;
|
||||
offscale;
|
||||
}
|
||||
}
|
||||
textblock { "efl.btn.text";
|
||||
|
@ -154,137 +162,91 @@ group { "efl/tags/btn";
|
|||
text { style: "efl_tags_textblock_style";
|
||||
min: 1 1;
|
||||
ellipsis: -1;
|
||||
text_class: "tags_item_text";
|
||||
}
|
||||
hid;
|
||||
rel1.offset: 5 5;
|
||||
rel1.offset: 4 4;
|
||||
rel1.to: "base";
|
||||
rel2.to_x: "del";
|
||||
rel2.to_y: "base";
|
||||
rel2.relative: 0.0 1.0;
|
||||
rel2.offset: -3 -7;
|
||||
}
|
||||
}
|
||||
textblock { "text";
|
||||
nomouse;
|
||||
scale;
|
||||
desc { "default";
|
||||
color_class: "tags_item_text";
|
||||
text { style: "efl_tags_textblock_style";
|
||||
text_source: "efl.btn.text";
|
||||
min: 0 1;
|
||||
align: 0.0 0.5;
|
||||
text_class: "tags_item_text";
|
||||
}
|
||||
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;
|
||||
rel2.offset: -5 -5;
|
||||
min: 30 15;
|
||||
offscale;
|
||||
}
|
||||
desc { "pressed";
|
||||
inherit: "default";
|
||||
color_class: "tags_item_text_pressed";
|
||||
text {
|
||||
text_class: "tags_item_text_pressed";
|
||||
}
|
||||
text.style: "efl_tags_textblock_style_pressed";
|
||||
}
|
||||
desc { "disabled";
|
||||
inherit: "default";
|
||||
color_class: "tags_item_text_disabled";
|
||||
text {
|
||||
text_class: "tags_item_text_disabled";
|
||||
}
|
||||
text.style: "efl_tags_textblock_style_disabled";
|
||||
}
|
||||
}
|
||||
}
|
||||
programs {
|
||||
program {
|
||||
signal: "mouse,clicked,1";
|
||||
source: "base";
|
||||
program { signal: "mouse,clicked,1"; source: "base";
|
||||
script {
|
||||
if (get_int(disabled) == 0) {
|
||||
emit("clicked", "");
|
||||
}
|
||||
}
|
||||
}
|
||||
program {
|
||||
signal: "efl,state,default";
|
||||
source: "efl";
|
||||
program { signal: "efl,state,default"; source: "efl";
|
||||
action: STATE_SET "default";
|
||||
target: "glow";
|
||||
}
|
||||
program {
|
||||
signal: "efl,state,focused";
|
||||
source: "efl";
|
||||
program { signal: "efl,state,focused"; source: "efl";
|
||||
action: STATE_SET "focused";
|
||||
target: "glow";
|
||||
}
|
||||
program {
|
||||
signal: "efl,state,enabled";
|
||||
source: "efl";
|
||||
program { signal: "efl,state,enabled"; source: "efl";
|
||||
script {
|
||||
set_state(PART:"text", "default", 0.0);
|
||||
set_state(PART:"efl.btn.text", "default", 0.0);
|
||||
set_int(disabled , 0);
|
||||
}
|
||||
}
|
||||
program {
|
||||
signal: "efl,state,disabled";
|
||||
source: "efl";
|
||||
program { signal: "efl,state,disabled"; source: "efl";
|
||||
script {
|
||||
new st[31];
|
||||
new Float: vl;
|
||||
get_state(PART:"glow", st, 30, vl);
|
||||
if (!strcmp(st, "focused"))
|
||||
set_state(PART:"glow", "default", 0.0);
|
||||
set_state(PART:"text", "disabled", 0.0);
|
||||
set_state(PART:"efl.btn.text", "disabled", 0.0);
|
||||
set_int(disabled , 1);
|
||||
}
|
||||
}
|
||||
program {
|
||||
signal: "efl,state,unfocused";
|
||||
source: "efl";
|
||||
action: STATE_SET "unfocused";
|
||||
program { signal: "efl,state,unfocused"; source: "efl";
|
||||
action: STATE_SET "default";
|
||||
target: "glow";
|
||||
}
|
||||
program {
|
||||
signal: "mouse,down,1";
|
||||
source: "base";
|
||||
program { signal: "mouse,down,1"; source: "base";
|
||||
script {
|
||||
if (get_int(disabled) == 0) {
|
||||
set_state(PART:"close", "pressed", 0.0);
|
||||
set_state(PART:"base", "pressed", 0.0);
|
||||
set_state(PART:"bg", "pressed", 0.0);
|
||||
set_state(PART:"text", "pressed", 0.0);
|
||||
set_state(PART:"shadow", "pressed", 0.0);
|
||||
set_state(PART:"efl.btn.text", "pressed", 0.0);
|
||||
}
|
||||
}
|
||||
}
|
||||
program {
|
||||
signal: "mouse,up,1";
|
||||
source: "base";
|
||||
program { signal: "mouse,up,1"; source: "base";
|
||||
script {
|
||||
if (get_int(disabled) == 0) {
|
||||
set_state(PART:"close", "default", 0.0);
|
||||
set_state(PART:"base", "default", 0.0);
|
||||
set_state(PART:"bg", "default", 0.0);
|
||||
set_state(PART:"text", "default", 0.0);
|
||||
set_state(PART:"shadow", "default", 0.0);
|
||||
set_state(PART:"efl.btn.text", "default", 0.0);
|
||||
}
|
||||
}
|
||||
}
|
||||
program {
|
||||
signal: "mouse,clicked,1";
|
||||
source: "del";
|
||||
program { signal: "mouse,clicked,1"; source: "del";
|
||||
action: SIGNAL_EMIT "efl,deleted" "efl";
|
||||
}
|
||||
program {
|
||||
signal: "mouse,down,1";
|
||||
source: "del";
|
||||
program { signal: "mouse,down,1"; source: "del";
|
||||
action: STATE_SET "clicked";
|
||||
target: "close";
|
||||
}
|
||||
program {
|
||||
signal: "mouse,up,1";
|
||||
source: "del";
|
||||
program { signal: "mouse,up,1"; source: "del";
|
||||
action: STATE_SET "default";
|
||||
target: "close";
|
||||
}
|
||||
|
@ -296,19 +258,18 @@ group { "efl/tags/number";
|
|||
parts {
|
||||
text { "efl.text";
|
||||
nomouse;
|
||||
effect: GLOW;
|
||||
scale;
|
||||
desc { "default";
|
||||
color: FN_COL_HIGHLIGHT;
|
||||
color_class: "tags_number";
|
||||
text { font: FNBD; size: 10;
|
||||
color: 160 160 160 255;
|
||||
text { font: FN; size: 10;
|
||||
min: 1 1;
|
||||
ellipsis: -1;
|
||||
align: 0.5 0.5;
|
||||
text_class: "tags_number";
|
||||
}
|
||||
rel1.offset: 2 2;
|
||||
rel1.offset: 4 4;
|
||||
rel2.offset: -5 -5;
|
||||
offscale;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,20 +1,14 @@
|
|||
|
||||
group { "efl/text/scroller";
|
||||
inherit: "efl/scroller";
|
||||
data.item: "version" "123";
|
||||
image: "bg_glow_in.png" COMP;
|
||||
parts {
|
||||
part { name: "efl.background"; type: SWALLOW;
|
||||
clip_to: "clipper";
|
||||
part { name: "bg";
|
||||
description { state: "default" 0.0;
|
||||
rel1.offset: 1 1;
|
||||
rel2.offset: -2 -2;
|
||||
color: DARK_GREY_BG_COLOR;
|
||||
}
|
||||
}
|
||||
part { name: "validation_glow";
|
||||
type: RECT;
|
||||
insert_before: "bg";
|
||||
mouse_events: 0;
|
||||
part { name: "validation_glow"; type: RECT; mouse_events: 0;
|
||||
insert_after: "efl.background";
|
||||
description { state: "default" 0.0;
|
||||
color: 0 0 0 0;
|
||||
}
|
||||
|
@ -25,117 +19,6 @@ group { "efl/text/scroller";
|
|||
color: 255 0 0 90;
|
||||
}
|
||||
}
|
||||
part { name: "bg";
|
||||
description { state: "default" 0.0;
|
||||
color: DARK_GREY_BG_COLOR;
|
||||
}
|
||||
}
|
||||
part { name: "efl.content"; type: SWALLOW;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "efl.icon";
|
||||
rel1.relative: 1.0 0.0;
|
||||
rel1.offset: 0 0;
|
||||
rel2.to: "efl.extra";
|
||||
rel2.relative: 0.0 1.0;
|
||||
rel2.offset: -1 -1;
|
||||
}
|
||||
}
|
||||
part { name: "efl.icon"; type: SWALLOW;
|
||||
clip_to: "clipper";
|
||||
description { state: "default" 0.0;
|
||||
fixed: 1 1;
|
||||
rel1.to: "clipper";
|
||||
rel1.offset: 1 1;
|
||||
rel2.to: "clipper";
|
||||
rel2.offset: 1 -2;
|
||||
rel2.relative: 0.0 1.0;
|
||||
visible: 0;
|
||||
align: 1.0 0.0;
|
||||
}
|
||||
description { state: "visible" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
visible: 1;
|
||||
align: 0.0 0.0;
|
||||
}
|
||||
}
|
||||
program {
|
||||
signal: "efl,action,show,icon"; source: "efl";
|
||||
action: STATE_SET "visible" 0.0;
|
||||
target: "efl.icon";
|
||||
}
|
||||
program {
|
||||
signal: "efl,action,hide,icon"; source: "efl";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "efl.icon";
|
||||
}
|
||||
part { name: "efl.extra"; type: SWALLOW;
|
||||
clip_to: "clipper";
|
||||
description { state: "default" 0.0;
|
||||
fixed: 1 1;
|
||||
rel1.to: "clipper";
|
||||
rel1.offset: -2 1;
|
||||
rel1.relative: 1.0 0.0;
|
||||
rel2.to: "clipper";
|
||||
rel2.offset: -2 -2;
|
||||
visible: 0;
|
||||
align: 0.0 0.0;
|
||||
}
|
||||
description { state: "visible" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
visible: 1;
|
||||
align: 1.0 0.0;
|
||||
}
|
||||
}
|
||||
program {
|
||||
signal: "efl,action,show,end"; source: "efl";
|
||||
action: STATE_SET "visible" 0.0;
|
||||
target: "efl.extra";
|
||||
}
|
||||
program {
|
||||
signal: "efl,action,hide,end"; source: "efl";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "efl.extra";
|
||||
}
|
||||
part { name: "glow";
|
||||
insert_after: "shadow";
|
||||
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;
|
||||
}
|
||||
description { state: "focused2" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: 255 255 255 64;
|
||||
}
|
||||
}
|
||||
}
|
||||
programs {
|
||||
program {
|
||||
signal: "efl,action,focus_highlight,show"; source: "efl";
|
||||
action: STATE_SET "focused" 0.0;
|
||||
target: "glow";
|
||||
after: "focus_in2";
|
||||
}
|
||||
program { name: "focus_in2";
|
||||
action: STATE_SET "focused2" 0.0;
|
||||
transition: DECELERATE 0.5;
|
||||
target: "glow";
|
||||
}
|
||||
program {
|
||||
signal: "efl,action,focus_highlight,hide"; source: "efl";
|
||||
action: STATE_SET "default" 0.0;
|
||||
transition: DECELERATE 0.3;
|
||||
target: "glow";
|
||||
}
|
||||
program { name: "validation_fail";
|
||||
signal: "validation,default,fail";
|
||||
source: "efl";
|
||||
|
@ -154,30 +37,111 @@ group { "efl/text/scroller";
|
|||
action: STATE_SET "default" 0.0;
|
||||
target: "validation_glow";
|
||||
}
|
||||
part { name: "glow"; type: RECT; mouse_events: 0;
|
||||
insert_before: "efl.content";
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
rel.to: "bg";
|
||||
rel1.relative: 0.0 1.0;
|
||||
color: 51 153 255 0;
|
||||
visible: 0;
|
||||
offscale;
|
||||
}
|
||||
description { state: "focused" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: 51 153 255 255;
|
||||
rel1.offset: 0 -3;
|
||||
visible: 1;
|
||||
}
|
||||
}
|
||||
program { signal: "efl,action,focus_highlight,show"; source: "efl";
|
||||
action: STATE_SET "focused" 0.0;
|
||||
transition: DECELERATE 0.3;
|
||||
target: "glow";
|
||||
}
|
||||
program { signal: "efl,action,focus_highlight,hide"; source: "efl";
|
||||
action: STATE_SET "default" 0.0;
|
||||
transition: DECELERATE 0.3;
|
||||
target: "glow";
|
||||
}
|
||||
part { name: "efl.content"; type: SWALLOW;
|
||||
scale: 1;
|
||||
clip_to: "clipper";
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "efl.icon";
|
||||
rel1.relative: 1.0 0.0;
|
||||
rel1.offset: 2 2;
|
||||
rel2.to: "efl.extra";
|
||||
rel2.relative: 0.0 1.0;
|
||||
rel2.offset: -3 -3;
|
||||
offscale;
|
||||
}
|
||||
}
|
||||
part { name: "efl.icon"; type: SWALLOW;
|
||||
scale: 1;
|
||||
clip_to: "clipper";
|
||||
description { state: "default" 0.0;
|
||||
fixed: 1 1;
|
||||
rel1.offset: 2 2;
|
||||
rel2.offset: 2 -3;
|
||||
rel2.relative: 0.0 1.0;
|
||||
visible: 0;
|
||||
align: 1.0 0.5;
|
||||
offscale;
|
||||
}
|
||||
description { state: "visible" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
visible: 1;
|
||||
align: 0.0 0.5;
|
||||
}
|
||||
}
|
||||
program { signal: "efl,action,show,icon"; source: "efl";
|
||||
action: STATE_SET "visible" 0.0;
|
||||
target: "efl.icon";
|
||||
}
|
||||
program { signal: "efl,action,hide,icon"; source: "efl";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "efl.icon";
|
||||
}
|
||||
part { name: "efl.extra"; type: SWALLOW;
|
||||
scale: 1;
|
||||
clip_to: "clipper";
|
||||
description { state: "default" 0.0;
|
||||
fixed: 1 1;
|
||||
rel1.offset: -3 2;
|
||||
rel1.relative: 1.0 0.0;
|
||||
rel2.offset: -3 -3;
|
||||
visible: 0;
|
||||
align: 0.0 0.5;
|
||||
offscale;
|
||||
}
|
||||
description { state: "visible" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
visible: 1;
|
||||
align: 1.0 0.5;
|
||||
}
|
||||
}
|
||||
program { signal: "efl,action,show,end"; source: "efl";
|
||||
action: STATE_SET "visible" 0.0;
|
||||
target: "efl.extra";
|
||||
}
|
||||
program { signal: "efl,action,hide,end"; source: "efl";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "efl.extra";
|
||||
}
|
||||
part { name: "efl.overlay"; type: SWALLOW;
|
||||
clip_to: "clipper";
|
||||
description { state: "default" 0.0;
|
||||
rel.to: "clipper";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
group { "efl/text/single/scroller";
|
||||
data.item: "version" "123";
|
||||
images.image: "bevel_in.png" COMP;
|
||||
images.image: "inset_shadow.png" COMP;
|
||||
image: "bg_glow_in.png" COMP;
|
||||
data.item: "focus_highlight" "on";
|
||||
parts {
|
||||
part { name: "validation_glow";
|
||||
type: RECT;
|
||||
insert_before: "bg";
|
||||
mouse_events: 0;
|
||||
description { state: "default" 0.0;
|
||||
color: 0 0 0 0;
|
||||
}
|
||||
description { state: "pass" 0.0;
|
||||
color: 0 255 0 90;
|
||||
}
|
||||
description { state: "fail" 0.0;
|
||||
color: 255 0 0 90;
|
||||
}
|
||||
}
|
||||
part { name: "sb_vbar_base"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
fixed: 1 1;
|
||||
|
@ -220,43 +184,73 @@ group { "efl/text/single/scroller";
|
|||
}
|
||||
part { name: "bg"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "efl.background";
|
||||
rel2.to: "efl.background";
|
||||
rel.to: "efl.background";
|
||||
color: DARK_GREY_BG_COLOR;
|
||||
color_class: "scroller_bg";
|
||||
}
|
||||
}
|
||||
part { name: "clipper"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "efl.background";
|
||||
rel2.to: "efl.background";
|
||||
rel.to: "efl.background";
|
||||
}
|
||||
}
|
||||
part { name: "efl.background"; type: SWALLOW;
|
||||
clip_to: "clipper";
|
||||
description { state: "default" 0.0;
|
||||
rel1.offset: 1 1;
|
||||
rel2.offset: -2 -2;
|
||||
}
|
||||
}
|
||||
part { name: "validation_glow"; type: RECT;
|
||||
mouse_events: 0;
|
||||
description { state: "default" 0.0;
|
||||
color: 0 0 0 0;
|
||||
}
|
||||
description { state: "pass" 0.0;
|
||||
color: 0 255 0 90;
|
||||
}
|
||||
description { state: "fail" 0.0;
|
||||
color: 255 0 0 90;
|
||||
}
|
||||
}
|
||||
part { name: "glow"; type: RECT; mouse_events: 0;
|
||||
insert_before: "efl.content";
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
rel.to: "bg";
|
||||
rel1.relative: 0.0 1.0;
|
||||
color: 51 153 255 0;
|
||||
visible: 0;
|
||||
offscale;
|
||||
}
|
||||
description { state: "focused" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: 51 153 255 255;
|
||||
rel1.offset: 0 -3;
|
||||
visible: 1;
|
||||
}
|
||||
}
|
||||
part { name: "efl.content"; type: SWALLOW;
|
||||
scale: 1;
|
||||
clip_to: "clipper";
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "efl.icon";
|
||||
rel1.relative: 1.0 0.0;
|
||||
rel1.offset: 2 2;
|
||||
rel2.to: "efl.extra";
|
||||
rel2.relative: 0.0 1.0;
|
||||
rel2.offset: -3 -3;
|
||||
offscale;
|
||||
}
|
||||
}
|
||||
part { name: "efl.icon"; type: SWALLOW;
|
||||
scale: 1;
|
||||
clip_to: "clipper";
|
||||
description { state: "default" 0.0;
|
||||
fixed: 1 1;
|
||||
rel1.offset: 1 1;
|
||||
rel2.offset: 1 -2;
|
||||
rel1.offset: 2 2;
|
||||
rel2.offset: 2 -3;
|
||||
rel2.relative: 0.0 1.0;
|
||||
visible: 0;
|
||||
align: 1.0 0.5;
|
||||
offscale;
|
||||
}
|
||||
description { state: "visible" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
|
@ -264,25 +258,25 @@ group { "efl/text/single/scroller";
|
|||
align: 0.0 0.5;
|
||||
}
|
||||
}
|
||||
program {
|
||||
signal: "efl,action,show,icon"; source: "efl";
|
||||
program { signal: "efl,action,show,icon"; source: "efl";
|
||||
action: STATE_SET "visible" 0.0;
|
||||
target: "efl.icon";
|
||||
}
|
||||
program {
|
||||
signal: "efl,action,hide,icon"; source: "efl";
|
||||
program { signal: "efl,action,hide,icon"; source: "efl";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "efl.icon";
|
||||
}
|
||||
part { name: "efl.extra"; type: SWALLOW;
|
||||
scale: 1;
|
||||
clip_to: "clipper";
|
||||
description { state: "default" 0.0;
|
||||
fixed: 1 1;
|
||||
rel1.offset: -2 1;
|
||||
rel1.offset: -3 2;
|
||||
rel1.relative: 1.0 0.0;
|
||||
rel2.offset: -2 -2;
|
||||
rel2.offset: -3 -3;
|
||||
visible: 0;
|
||||
align: 0.0 0.5;
|
||||
offscale;
|
||||
}
|
||||
description { state: "visible" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
|
@ -290,81 +284,28 @@ group { "efl/text/single/scroller";
|
|||
align: 1.0 0.5;
|
||||
}
|
||||
}
|
||||
program {
|
||||
signal: "efl,action,show,end"; source: "efl";
|
||||
program { signal: "efl,action,show,end"; source: "efl";
|
||||
action: STATE_SET "visible" 0.0;
|
||||
target: "efl.extra";
|
||||
}
|
||||
program {
|
||||
signal: "efl,action,hide,end"; source: "efl";
|
||||
program { signal: "efl,action,hide,end"; source: "efl";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "efl.extra";
|
||||
}
|
||||
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: "efl.overlay"; type: SWALLOW;
|
||||
clip_to: "clipper";
|
||||
description { state: "default" 0.0;
|
||||
rel1.offset: 1 1;
|
||||
rel2.offset: -2 -2;
|
||||
}
|
||||
}
|
||||
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;
|
||||
}
|
||||
description { state: "focused2" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: 255 255 255 64;
|
||||
rel.to: "clipper";
|
||||
}
|
||||
}
|
||||
}
|
||||
programs {
|
||||
program {
|
||||
signal: "efl,action,focus_highlight,show"; source: "efl";
|
||||
program { signal: "efl,action,focus_highlight,show"; source: "efl";
|
||||
action: STATE_SET "focused" 0.0;
|
||||
target: "glow";
|
||||
after: "focus_in2";
|
||||
}
|
||||
program { name: "focus_in2";
|
||||
action: STATE_SET "focused2" 0.0;
|
||||
transition: DECELERATE 0.5;
|
||||
transition: DECELERATE 0.2;
|
||||
target: "glow";
|
||||
}
|
||||
program {
|
||||
signal: "efl,action,focus_highlight,hide"; source: "efl";
|
||||
program { signal: "efl,action,focus_highlight,hide"; source: "efl";
|
||||
action: STATE_SET "default" 0.0;
|
||||
transition: DECELERATE 0.3;
|
||||
target: "glow";
|
||||
|
@ -393,23 +334,18 @@ group { "efl/text/single/scroller";
|
|||
group { "efl/text/cursor";
|
||||
data.item: "version" "123";
|
||||
min: 1 0;
|
||||
images.image: "white_bar_vert_glow.png" COMP;
|
||||
parts {
|
||||
part { name: "cursor"; mouse_events: 0;
|
||||
part { name: "cursor"; type: RECT;
|
||||
mouse_events: 0;
|
||||
scale: 1;
|
||||
clip_to: "clipper";
|
||||
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;
|
||||
color_class: "entry_cursor";
|
||||
min: 9 10;
|
||||
min: 1 10;
|
||||
visible: 0;
|
||||
}
|
||||
description { state: "visible" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: 255 255 255 255;
|
||||
visible: 1;
|
||||
}
|
||||
}
|
||||
part { name: "clipper"; type: RECT;
|
||||
|
@ -425,23 +361,19 @@ group { "efl/text/cursor";
|
|||
}
|
||||
}
|
||||
programs {
|
||||
program {
|
||||
signal: "selection,changed"; source: "efl.text";
|
||||
program { signal: "selection,changed"; source: "efl.text";
|
||||
action: STATE_SET "hidden" 0.0;
|
||||
target: "clipper";
|
||||
}
|
||||
program {
|
||||
signal: "selection,cleared"; source: "efl.text";
|
||||
program { signal: "selection,cleared"; source: "efl.text";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "clipper";
|
||||
}
|
||||
program {
|
||||
signal: "selection,reset"; source: "efl.text";
|
||||
program { signal: "selection,reset"; source: "efl.text";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "clipper";
|
||||
}
|
||||
program {
|
||||
signal: "efl,action,focus"; source: "efl";
|
||||
program { signal: "efl,action,focus"; source: "efl";
|
||||
action: ACTION_STOP;
|
||||
target: "cursor_show";
|
||||
target: "cursor_hide";
|
||||
|
@ -449,8 +381,7 @@ group { "efl/text/cursor";
|
|||
target: "cursor_hide_timer";
|
||||
after: "cursor_show";
|
||||
}
|
||||
program {
|
||||
signal: "efl,action,unfocus"; source: "efl";
|
||||
program { signal: "efl,action,unfocus"; source: "efl";
|
||||
action: ACTION_STOP;
|
||||
target: "cursor_show";
|
||||
target: "cursor_hide";
|
||||
|
@ -458,8 +389,7 @@ group { "efl/text/cursor";
|
|||
target: "cursor_hide_timer";
|
||||
after: "cursor_hide_stop";
|
||||
}
|
||||
program {
|
||||
signal: "efl,action,show,cursor"; source: "efl";
|
||||
program { signal: "efl,action,show,cursor"; source: "efl";
|
||||
action: ACTION_STOP;
|
||||
target: "cursor_show";
|
||||
target: "cursor_hide";
|
||||
|
@ -498,7 +428,7 @@ group { "efl/text/selection";
|
|||
parts {
|
||||
part { name: "base"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
color: 51 153 255 255;
|
||||
color: 51 153 255 128;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -506,17 +436,16 @@ group { "efl/text/selection";
|
|||
|
||||
group { "efl/text/anchor";
|
||||
data.item: "version" "123";
|
||||
images.image: "horizontal_separated_bar_small_glow.png" COMP;
|
||||
parts {
|
||||
part { name: "bar";
|
||||
part { name: "bar"; type: RECT;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
image.normal: "horizontal_separated_bar_small_glow.png";
|
||||
image.border: 4 4 4 4;
|
||||
fill.smooth: 0;
|
||||
color: 51 153 255 255;
|
||||
fixed: 0 1;
|
||||
rel1.relative: 0.0 1.0;
|
||||
rel1.offset: -3 -5;
|
||||
rel2.offset: 2 4;
|
||||
rel1.offset: -1 -1;
|
||||
rel2.offset: 0 -1;
|
||||
offscale;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -527,41 +456,22 @@ group { "efl/text";
|
|||
data {
|
||||
item: "font.name" "Sans";
|
||||
item: "font.size" "10";
|
||||
item: "style.color" "#fff";
|
||||
item: "style.color_disabled" "#151515";
|
||||
item: "style.color" "#a0a0a0";
|
||||
item: "style.color_disabled" "#707070";
|
||||
|
||||
item: "guide.font.name" "Sans";
|
||||
item: "guide.font.size" "10";
|
||||
item: "guide.style.color" "#666";
|
||||
}
|
||||
sounds {
|
||||
sample { name: "key-tap1" LOSSY 64;
|
||||
source: "kbd-tap.wav";
|
||||
}
|
||||
sample { name: "key-tap2" LOSSY 64;
|
||||
source: "kbd-tap2.wav";
|
||||
}
|
||||
sample { name: "key-tap3" LOSSY 64;
|
||||
source: "kbd-tap3.wav";
|
||||
}
|
||||
sample { name: "key-tap4" LOSSY 64;
|
||||
source: "kbd-tap4.wav";
|
||||
}
|
||||
sample { name: "key-tap5" LOSSY 64;
|
||||
source: "kbd-tap5.wav";
|
||||
}
|
||||
item: "guide.style.color" "#505050";
|
||||
}
|
||||
styles {
|
||||
style { name: "efl_ui_text_guide_style";
|
||||
base: "font="FN" font_size=10 color=#000000 style=shadow,bottom shadow_color=#ffffff19 wrap=word text_class=entry_guide_text color_class=entry_guide_text left_margin=2 right_margin=2 ellipsis=0.0";
|
||||
base: "font="FN" font_size=10 color=#505050 wrap=word text_class=entry_guide_text left_margin=2 right_margin=2 ellipsis=0.0";
|
||||
DISABLED_TEXTBLOCK_TAGS
|
||||
}
|
||||
}
|
||||
parts {
|
||||
part { name: "efl.background"; type: SWALLOW;
|
||||
description { state: "default" 0.0;
|
||||
rel1.offset: 1 1;
|
||||
rel2.offset: -2 -2;
|
||||
}
|
||||
}
|
||||
part { name: "efl.text"; type: SWALLOW;
|
||||
|
@ -571,6 +481,7 @@ group { "efl/text";
|
|||
fixed: 0 0;
|
||||
rel1.offset: 2 2;
|
||||
rel2.offset: -3 -3;
|
||||
offscale;
|
||||
}
|
||||
description { state: "disabled" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
|
@ -582,6 +493,7 @@ group { "efl/text";
|
|||
fixed: 0 0;
|
||||
rel1.offset: 2 2;
|
||||
rel2.offset: -3 -3;
|
||||
offscale;
|
||||
}
|
||||
description { state: "disabled" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
|
@ -589,35 +501,29 @@ group { "efl/text";
|
|||
}
|
||||
}
|
||||
programs {
|
||||
program {
|
||||
signal: "load"; source: "";
|
||||
program { signal: "load"; source: "";
|
||||
action: FOCUS_SET;
|
||||
target: "efl.text";
|
||||
}
|
||||
program {
|
||||
signal: "efl,state,disabled"; source: "efl";
|
||||
program { signal: "efl,state,disabled"; source: "efl";
|
||||
action: STATE_SET "disabled" 0.0;
|
||||
target: "efl.text";
|
||||
}
|
||||
program {
|
||||
signal: "efl,state,enabled"; source: "efl";
|
||||
program { signal: "efl,state,enabled"; source: "efl";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "efl.text";
|
||||
}
|
||||
#if 0
|
||||
program {
|
||||
signal: "efl,guide,disabled"; source: "efl";
|
||||
program { signal: "efl,guide,disabled"; source: "efl";
|
||||
action: STATE_SET "hidden" 0.0;
|
||||
target: "efl.guide";
|
||||
}
|
||||
program {
|
||||
signal: "efl,guide,enabled"; source: "efl";
|
||||
program { signal: "efl,guide,enabled"; source: "efl";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "efl.guide";
|
||||
}
|
||||
#endif
|
||||
program { name: "key-down";
|
||||
signal: "entry,keydown"; source: "efl.text";
|
||||
program { signal: "entry,keydown"; source: "efl.text";
|
||||
script {
|
||||
new buf[32];
|
||||
snprintf(buf, 31, "key-down%i", (rand() % 5) + 1);
|
||||
|
@ -644,15 +550,25 @@ group { "efl/text";
|
|||
|
||||
group { "efl/text/magnifier";
|
||||
data.item: "version" "123";
|
||||
images.image: "frame_rounded.png" COMP;
|
||||
parts {
|
||||
part { name: "bg"; type: RECT; mouse_events: 0;
|
||||
part { name: "shadow"; mouse_events: 0;
|
||||
description { state: "default" 0.0;
|
||||
rel1.offset: 10 10;
|
||||
rel1.to: "over";
|
||||
rel2.offset: -11 -11;
|
||||
rel2.to: "over";
|
||||
rel.to: "bg";
|
||||
WIN_SHADOW;
|
||||
}
|
||||
description { state: "hidden" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
visible: 0;
|
||||
}
|
||||
}
|
||||
part { name: "bg"; type: RECT; mouse_events: 0;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
min: 80 40;
|
||||
rel1.offset: 4 4;
|
||||
rel2.offset: -5 -5;
|
||||
color: 48 48 48 255;
|
||||
offscale;
|
||||
}
|
||||
description { state: "hidden" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
|
@ -661,25 +577,7 @@ group { "efl/text/magnifier";
|
|||
}
|
||||
part { name: "efl.content"; type: SWALLOW; mouse_events: 0;
|
||||
description { state: "default" 0.0;
|
||||
rel1.offset: 10 10;
|
||||
rel1.to: "over";
|
||||
rel2.offset: -11 -11;
|
||||
rel2.to: "over";
|
||||
}
|
||||
description { state: "hidden" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
visible: 0;
|
||||
}
|
||||
}
|
||||
part { name: "over"; mouse_events: 0;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
min: 128 64;
|
||||
align: 0 0;
|
||||
image.normal: "frame_rounded.png";
|
||||
image.border: 14 14 14 14;
|
||||
image.middle: 0;
|
||||
fill.smooth: 0;
|
||||
rel.to: "bg";
|
||||
}
|
||||
description { state: "hidden" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
|
@ -688,117 +586,127 @@ group { "efl/text/magnifier";
|
|||
}
|
||||
}
|
||||
programs {
|
||||
program { name: "magnifier_show";
|
||||
signal: "efl,action,show,magnifier"; source: "efl";
|
||||
program { signal: "efl,action,show,magnifier"; source: "efl";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "efl.content";
|
||||
target: "bg";
|
||||
target: "over";
|
||||
target: "shadow";
|
||||
}
|
||||
program { name: "magnifier_hide";
|
||||
signal: "efl,action,hide,magnifier"; source: "efl";
|
||||
program { signal: "efl,action,hide,magnifier"; source: "efl";
|
||||
action: STATE_SET "hidden" 0.0;
|
||||
target: "efl.content";
|
||||
target: "bg";
|
||||
target: "over";
|
||||
target: "shadow";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
group { "efl/text/handler/start";
|
||||
data.item: "version" "123";
|
||||
images.image: "handle_pick_up_left.png" COMP;
|
||||
parts {
|
||||
part { name: "base"; mouse_events: 0;
|
||||
scale: 1;
|
||||
part { name: "shadow"; mouse_events: 0;
|
||||
description { state: "default" 0.0;
|
||||
min: 21 27; // 42 54
|
||||
image.normal: "handle_pick_up_left.png";
|
||||
align: (29/42) (11/54);
|
||||
color_class: "entry_selection_handler";
|
||||
visible: 0;
|
||||
rel.to: "bg";
|
||||
WIN_SHADOW;
|
||||
}
|
||||
description { state: "visible" 0.0;
|
||||
description { state: "hidden" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
visible: 1;
|
||||
visible: 0;
|
||||
}
|
||||
}
|
||||
part { name: "event"; type: RECT;
|
||||
part { name: "bg"; type: RECT; mouse_events: 0;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
color: 0 0 0 0;
|
||||
rel1.to: "base";
|
||||
rel2.to: "base";
|
||||
min: 32 32;
|
||||
min: 80 40;
|
||||
rel1.offset: 4 4;
|
||||
rel2.offset: -5 -5;
|
||||
color: 48 48 48 255;
|
||||
offscale;
|
||||
}
|
||||
description { state: "hidden" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
visible: 0;
|
||||
}
|
||||
description { state: "visible" 0.0;
|
||||
}
|
||||
part { name: "elm.swallow.content"; type: SWALLOW; mouse_events: 0;
|
||||
description { state: "default" 0.0;
|
||||
rel.to: "bg";
|
||||
}
|
||||
description { state: "hidden" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
visible: 1;
|
||||
visible: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
programs {
|
||||
program {
|
||||
signal: "efl,handler,show"; source: "efl";
|
||||
action: STATE_SET "visible" 0.0;
|
||||
target: "base";
|
||||
target: "event";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "shadow";
|
||||
target: "bg";
|
||||
target: "elm.swallow.content";
|
||||
}
|
||||
program {
|
||||
signal: "efl,handler,hide"; source: "efl";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "base";
|
||||
target: "event";
|
||||
action: STATE_SET "hidden" 0.0;
|
||||
target: "shadow";
|
||||
target: "bg";
|
||||
target: "elm.swallow.content";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
group { "efl/text/handler/end";
|
||||
data.item: "version" "123";
|
||||
images.image: "handle_pick_up_right.png" COMP;
|
||||
parts {
|
||||
part { name: "base"; mouse_events: 0;
|
||||
scale: 1;
|
||||
part { name: "shadow"; mouse_events: 0;
|
||||
description { state: "default" 0.0;
|
||||
min: 21 27; // 42 54
|
||||
image.normal: "handle_pick_up_right.png";
|
||||
align: (12/42) (11/54);
|
||||
color_class: "entry_selection_handler";
|
||||
visible: 0;
|
||||
rel.to: "bg";
|
||||
WIN_SHADOW;
|
||||
}
|
||||
description { state: "visible" 0.0;
|
||||
description { state: "hidden" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
visible: 1;
|
||||
visible: 0;
|
||||
}
|
||||
}
|
||||
part { name: "event"; type: RECT;
|
||||
part { name: "bg"; type: RECT; mouse_events: 0;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
color: 0 0 0 0;
|
||||
rel1.to: "base";
|
||||
rel2.to: "base";
|
||||
min: 32 32;
|
||||
min: 80 40;
|
||||
rel1.offset: 4 4;
|
||||
rel2.offset: -5 -5;
|
||||
color: 48 48 48 255;
|
||||
offscale;
|
||||
}
|
||||
description { state: "hidden" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
visible: 0;
|
||||
}
|
||||
description { state: "visible" 0.0;
|
||||
}
|
||||
part { name: "elm.swallow.content"; type: SWALLOW; mouse_events: 0;
|
||||
description { state: "default" 0.0;
|
||||
rel.to: "bg";
|
||||
}
|
||||
description { state: "hidden" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
visible: 1;
|
||||
visible: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
programs {
|
||||
program {
|
||||
signal: "efl,handler,show"; source: "efl";
|
||||
action: STATE_SET "visible" 0.0;
|
||||
target: "base";
|
||||
target: "event";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "shadow";
|
||||
target: "bg";
|
||||
target: "elm.swallow.content";
|
||||
}
|
||||
program {
|
||||
signal: "efl,handler,hide"; source: "efl";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "base";
|
||||
target: "event";
|
||||
action: STATE_SET "hidden" 0.0;
|
||||
target: "shadow";
|
||||
target: "bg";
|
||||
target: "elm.swallow.content";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2,7 +2,7 @@ group { name: "efl/textpath";
|
|||
data.item: "version" "123";
|
||||
styles {
|
||||
style { name: "textpath_style2";
|
||||
base: "font="FN" font_size=16 text_class=tb_plain wrap=none align=left color=#ffffffff style=shadow,bottom shadow_color=#00000080";
|
||||
base: "font="FN" font_size=10 text_class=tb_plain wrap=none align=left color=#a0a0a0";
|
||||
tag: "br" "\n";
|
||||
tag: "b" "+ font="FNBD" text_class=tb_light";
|
||||
ENABLED_TEXTBLOCK_TAGS
|
||||
|
|
|
@ -24,179 +24,100 @@ Group: efl/timepicker (@since 1.23)
|
|||
Signal: efl,colon_field1,visible,on
|
||||
|
||||
*/
|
||||
#define TP_24H 1
|
||||
#define TP_HR 2
|
||||
#define TP_MN 4
|
||||
group { "efl/timepicker";
|
||||
data.item: "version" "123";
|
||||
nomouse;
|
||||
script {
|
||||
public btmode;
|
||||
public eval_mode(m) {
|
||||
new v24h = m & TP_24H;
|
||||
new vhr = m & TP_HR;
|
||||
new vmn = m & TP_MN;
|
||||
if (v24h) {
|
||||
set_state(PART:"efl.field0", "default", 0.0);
|
||||
if (vhr) {
|
||||
set_state(PART:"efl.field1", "default", 0.0);
|
||||
if (vmn) {
|
||||
set_state(PART:"efl.field2", "invisible", 0.0);
|
||||
set_state(PART:"colon", "default", 0.0);
|
||||
} else {
|
||||
set_state(PART:"efl.field2", "default", 0.0);
|
||||
set_state(PART:"colon", "invisible", 0.0);
|
||||
}
|
||||
} else {
|
||||
set_state(PART:"efl.field1", "invisible", 0.0);
|
||||
if (vmn) {
|
||||
set_state(PART:"efl.field2", "invisible", 0.0);
|
||||
set_state(PART:"colon", "invisible", 0.0);
|
||||
} else {
|
||||
set_state(PART:"efl.field2", "default", 0.0);
|
||||
set_state(PART:"colon", "invisible", 0.0);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
set_state(PART:"efl.field0", "invisible", 0.0);
|
||||
if (vhr) {
|
||||
set_state(PART:"efl.field1", "default", 0.0);
|
||||
if (vmn) {
|
||||
set_state(PART:"efl.field2", "invisible", 0.0);
|
||||
set_state(PART:"colon", "default", 0.0);
|
||||
} else {
|
||||
set_state(PART:"efl.field2", "default", 0.0);
|
||||
set_state(PART:"colon", "invisible", 0.0);
|
||||
}
|
||||
} else {
|
||||
set_state(PART:"efl.field1", "invisible", 0.0);
|
||||
if (vmn) {
|
||||
set_state(PART:"efl.field2", "invisible", 0.0);
|
||||
set_state(PART:"colon", "invisible", 0.0);
|
||||
} else {
|
||||
set_state(PART:"efl.field2", "default", 0.0);
|
||||
set_state(PART:"colon", "invisible", 0.0);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
flag_set(flag) {
|
||||
new m = get_int(btmode) | flag;
|
||||
set_int(btmode, m); eval_mode(m);
|
||||
}
|
||||
flag_unset(flag) {
|
||||
new m = get_int(btmode) & ~flag;
|
||||
set_int(btmode, m); eval_mode(m);
|
||||
}
|
||||
}
|
||||
parts {
|
||||
spacer { "base";
|
||||
scale;
|
||||
desc { "default";
|
||||
min: 150 170;
|
||||
min: 81 77;
|
||||
}
|
||||
desc { "24layout";
|
||||
min: 110 170;
|
||||
desc { "24h";
|
||||
min: 54 77;
|
||||
}
|
||||
}
|
||||
rect { "base_bg";
|
||||
scale;
|
||||
rect { "bg";
|
||||
desc { "default";
|
||||
rel.to: "base";
|
||||
color_class: "timepicker_bg";
|
||||
color: 64 64 64 255;
|
||||
}
|
||||
}
|
||||
spacer { "padding_bg_top";
|
||||
text { "colon";
|
||||
scale;
|
||||
desc { "default";
|
||||
min: 0 10;
|
||||
max: -1 10;
|
||||
fixed: 0 1;
|
||||
rel1 {
|
||||
relative: 0.0 0.0;
|
||||
to: "base_bg";
|
||||
}
|
||||
rel2 {
|
||||
relative: 1.0 0.0;
|
||||
to: "base_bg";
|
||||
}
|
||||
align: 0.5 0.0;
|
||||
}
|
||||
}
|
||||
spacer { "padding_bg_bottom";
|
||||
scale;
|
||||
desc { "default";
|
||||
min: 0 10;
|
||||
max: -1 10;
|
||||
fixed: 0 1;
|
||||
rel1 {
|
||||
relative: 0.0 1.0;
|
||||
to: "base_bg";
|
||||
}
|
||||
rel2 {
|
||||
relative: 1.0 1.0;
|
||||
to: "base_bg";
|
||||
}
|
||||
align: 0.5 1.0;
|
||||
}
|
||||
}
|
||||
spacer { "bg";
|
||||
scale;
|
||||
desc { "default";
|
||||
min: 150 150;
|
||||
max: 150 150;
|
||||
rel1 {
|
||||
relative: 0.0 1.0;
|
||||
to: "padding_bg_top";
|
||||
}
|
||||
rel2 {
|
||||
relative: 1.0 0.0;
|
||||
to: "padding_bg_bottom";
|
||||
}
|
||||
}
|
||||
desc { "24layout";
|
||||
inherit: "default";
|
||||
min: 110 150;
|
||||
max: 110 150;
|
||||
}
|
||||
}
|
||||
spacer { "padding_left";
|
||||
scale;
|
||||
desc { "default";
|
||||
min: 0 0;
|
||||
max: 0 -1;
|
||||
fixed: 1 0;
|
||||
rel1 {
|
||||
relative: 0.0 0.0;
|
||||
to: "bg";
|
||||
}
|
||||
rel2 {
|
||||
relative: 0.0 1.0;
|
||||
to: "bg";
|
||||
}
|
||||
align: 0.0 0.0;
|
||||
}
|
||||
}
|
||||
spacer { "padding_right";
|
||||
scale;
|
||||
desc { "default";
|
||||
min: 0 0;
|
||||
max: 0 -1;
|
||||
fixed: 1 0;
|
||||
rel1 {
|
||||
relative: 1.0 0.0;
|
||||
to: "bg";
|
||||
}
|
||||
rel2 {
|
||||
relative: 1.0 1.0;
|
||||
to: "bg";
|
||||
}
|
||||
align: 1.0 1.0;
|
||||
}
|
||||
}
|
||||
swallow { "efl.field0"; required;
|
||||
mouse;
|
||||
scale;
|
||||
desc { "default";
|
||||
fixed: 1 0;
|
||||
min: 40 0;
|
||||
rel1 {
|
||||
relative: 1.0 0.0;
|
||||
to: "padding_left";
|
||||
}
|
||||
rel2.to: "padding_left";
|
||||
align: 0.0 0.5;
|
||||
}
|
||||
}
|
||||
spacer{ "padding_center1";
|
||||
scale;
|
||||
desc { "default";
|
||||
fixed: 1 0;
|
||||
min: 3 0;
|
||||
max: 3 -1;
|
||||
rel1 {
|
||||
relative: 1.0 0.0;
|
||||
to: "efl.field0";
|
||||
}
|
||||
rel2.to: "efl.field0";
|
||||
align: 0.0 0.5;
|
||||
}
|
||||
desc { "invisible";
|
||||
inherit: default 0.0;
|
||||
min: 15 0;
|
||||
max: 15 -1;
|
||||
}
|
||||
}
|
||||
spacer { "bg_text";
|
||||
scale;
|
||||
desc { "default";
|
||||
rel1 {
|
||||
relative: 1.0 0.0;
|
||||
to: "padding_center1";
|
||||
}
|
||||
rel2.to: "padding_center1";
|
||||
align: 0.0 0.5;
|
||||
min: 9 0;
|
||||
max: 9 -1;
|
||||
fixed: 1 0;
|
||||
}
|
||||
desc { "invisible";
|
||||
inherit: default 0.0;
|
||||
min: 0 0;
|
||||
max: 0 0;
|
||||
}
|
||||
}
|
||||
text { "hour_minute_colon";
|
||||
scale;
|
||||
desc { "default";
|
||||
rel1.to: "bg_text";
|
||||
rel2.to: "bg_text";
|
||||
color: 255 255 255 255;
|
||||
fixed: 1 1;
|
||||
rel1.to: "efl.field1";
|
||||
rel1.relative: 1.0 0.0;
|
||||
rel2.to: "efl.field2";
|
||||
rel2.relative: 0.0 1.0;
|
||||
color: 160 160 160 255;
|
||||
text {
|
||||
min: 1 0;
|
||||
font: "Sans";
|
||||
size: "15";
|
||||
//text: ":";
|
||||
align: 0.5 0.44;
|
||||
font: FN;
|
||||
size: 10;
|
||||
min: 1 1;
|
||||
text: ":";
|
||||
align: 0.5 0.5;
|
||||
}
|
||||
vis;
|
||||
}
|
||||
|
@ -205,201 +126,75 @@ group { "efl/timepicker";
|
|||
hid;
|
||||
}
|
||||
}
|
||||
spacer { "padding_center2";
|
||||
scale;
|
||||
desc { "default";
|
||||
fixed: 1 0;
|
||||
min: 3 0;
|
||||
max: 3 -1;
|
||||
rel1 {
|
||||
relative: 1.0 0.0;
|
||||
to: "bg_text";
|
||||
}
|
||||
rel2.to: "bg_text";
|
||||
align: 0.0 0.5;
|
||||
}
|
||||
desc { "invisible";
|
||||
inherit: default 0.0;
|
||||
min: 0 0;
|
||||
max: 0 0;
|
||||
}
|
||||
}
|
||||
swallow { "efl.field1"; required;
|
||||
mouse;
|
||||
scale;
|
||||
desc { "default";
|
||||
fixed: 1 0;
|
||||
min: 40 0;
|
||||
rel1 {
|
||||
relative: 1.0 0.0;
|
||||
to: "padding_center2";
|
||||
}
|
||||
rel2.to: "padding_center2";
|
||||
align: 0.0 0.5;
|
||||
}
|
||||
}
|
||||
spacer { "padding_center3";
|
||||
scale;
|
||||
desc { "default";
|
||||
fixed: 1 0;
|
||||
min: 3 0;
|
||||
max: 3 -1;
|
||||
rel1 {
|
||||
relative: 1.0 0.0;
|
||||
to: "efl.field1";
|
||||
}
|
||||
rel2.to: "efl.field1";
|
||||
align: 0.0 0.5;
|
||||
min: 23 69;
|
||||
rel1.offset: 4 4;
|
||||
rel2.offset: -3 -5;
|
||||
rel2.relative: (1/3) 1.0;
|
||||
offscale;
|
||||
}
|
||||
desc { "invisible";
|
||||
inherit: default 0.0;
|
||||
min: 15 0;
|
||||
max: 15 -1;
|
||||
}
|
||||
}
|
||||
spacer { "bg_text2";
|
||||
scale;
|
||||
desc { "default";
|
||||
rel1 {
|
||||
relative: 1.0 0.0;
|
||||
to: "padding_center3";
|
||||
}
|
||||
rel2.to: "padding_center3";
|
||||
align: 0.0 0.5;
|
||||
min: 9 0;
|
||||
max: 9 -1;
|
||||
fixed: 1 0;
|
||||
}
|
||||
desc { "invisible";
|
||||
inherit: default 0.0;
|
||||
min: 0 0;
|
||||
max: 0 0;
|
||||
}
|
||||
}
|
||||
text { "hour_minute_colon2";
|
||||
scale;
|
||||
desc { "default";
|
||||
rel1.to: "bg_text2";
|
||||
rel2.to: "bg_text2";
|
||||
color: 255 255 255 255;
|
||||
fixed: 1 1;
|
||||
text {
|
||||
min: 1 0;
|
||||
font: "Sans";
|
||||
size: "15";
|
||||
//text: ":";
|
||||
align: 0.5 0.44;
|
||||
}
|
||||
vis;
|
||||
}
|
||||
desc { "invisible";
|
||||
inherit: default 0.0;
|
||||
inherit: "default" 0.0;
|
||||
hid;
|
||||
}
|
||||
}
|
||||
spacer { "padding_center4";
|
||||
scale;
|
||||
desc { "default";
|
||||
fixed: 1 0;
|
||||
min: 3 0;
|
||||
max: 3 -1;
|
||||
rel1 {
|
||||
relative: 1.0 0.0;
|
||||
to: "bg_text2";
|
||||
}
|
||||
rel2.to: "bg_text2";
|
||||
align: 0.0 0.5;
|
||||
}
|
||||
desc { "invisible";
|
||||
inherit: default 0.0;
|
||||
min: 0 0;
|
||||
max: 0 0;
|
||||
}
|
||||
}
|
||||
swallow { "efl.field2"; required;
|
||||
mouse;
|
||||
scale;
|
||||
desc { "default";
|
||||
fixed: 1 0;
|
||||
min: 40 0;
|
||||
max: 40 -1;
|
||||
rel1 {
|
||||
relative: 1.0 0.0;
|
||||
to: "padding_center4";
|
||||
}
|
||||
rel2.to: "padding_center4";
|
||||
align: 0.0 0.5;
|
||||
min: 23 69;
|
||||
rel1.offset: 2 4;
|
||||
rel1.relative: (1/3) 0.0;
|
||||
rel2.offset: -3 -5;
|
||||
rel2.relative: (2/3) 1.0;
|
||||
offscale;
|
||||
}
|
||||
desc { "24layout";
|
||||
desc { "invisible";
|
||||
inherit: "default" 0.0;
|
||||
hid;
|
||||
}
|
||||
}
|
||||
swallow { "efl.field0"; required;
|
||||
scale;
|
||||
desc { "default";
|
||||
min: 23 69;
|
||||
rel1.offset: 4 4;
|
||||
rel1.relative: (2/3) 0.0;
|
||||
rel2.offset: -5 -5;
|
||||
offscale;
|
||||
}
|
||||
desc { "invisible";
|
||||
inherit: "default" 0.0;
|
||||
hid;
|
||||
min: 0 0;
|
||||
max: 0 -1;
|
||||
}
|
||||
}
|
||||
rect { "access";
|
||||
repeat;
|
||||
desc { "default";
|
||||
fixed: 1 1;
|
||||
rel1.to: "bg";
|
||||
rel2.to: "bg";
|
||||
rel.to: "base";
|
||||
color: 0 0 0 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
programs {
|
||||
program { "visible_ampm";
|
||||
signal: "efl,ampm,visible,on";
|
||||
source: "efl";
|
||||
script {
|
||||
set_state(PART:"base", "default", 0.0);
|
||||
set_state(PART:"bg", "default", 0.0);
|
||||
set_state(PART:"efl.field2", "default", 0.0);
|
||||
}
|
||||
program { signal: "efl,ampm,visible,on"; source: "efl";
|
||||
script { flag_unset(TP_24H); }
|
||||
}
|
||||
program { "invisible_ampm";
|
||||
signal: "efl,ampm,visible,off";
|
||||
source: "efl";
|
||||
script {
|
||||
set_state(PART:"base", "24layout", 0.0);
|
||||
set_state(PART:"bg", "24layout", 0.0);
|
||||
set_state(PART:"efl.field2", "24layout", 0.0);
|
||||
}
|
||||
program { signal: "efl,ampm,visible,off"; source: "efl";
|
||||
script { flag_set(TP_24H); }
|
||||
}
|
||||
program { "visible_colon_field0";
|
||||
signal: "efl,colon_field0,visible,on";
|
||||
source: "efl";
|
||||
action: STATE_SET "default";
|
||||
target: "padding_center1";
|
||||
target: "hour_minute_colon";
|
||||
target: "bg_text";
|
||||
target: "padding_center2";
|
||||
program { signal: "efl,colon_field0,visible,on"; source: "efl";
|
||||
script { flag_set(TP_HR); }
|
||||
}
|
||||
program { "invisible_colon_field0";
|
||||
signal: "efl,colon_field0,visible,off";
|
||||
source: "efl";
|
||||
action: STATE_SET "invisible";
|
||||
target: "padding_center1";
|
||||
target: "hour_minute_colon";
|
||||
target: "bg_text";
|
||||
target: "padding_center2";
|
||||
program { signal: "efl,colon_field0,visible,off"; source: "efl";
|
||||
script { flag_unset(TP_HR); }
|
||||
}
|
||||
program { "visible_colon_field1";
|
||||
signal: "efl,colon_field1,visible,on";
|
||||
source: "efl";
|
||||
action: STATE_SET "default";
|
||||
target: "padding_center3";
|
||||
target: "hour_minute_colon2";
|
||||
target: "bg_text2";
|
||||
target: "padding_center4";
|
||||
program { signal: "efl,colon_field1,visible,on"; source: "efl";
|
||||
script { flag_set(TP_MN); }
|
||||
}
|
||||
program { "invisible_colon_field1";
|
||||
signal: "efl,colon_field1,visible,off";
|
||||
source: "efl";
|
||||
action: STATE_SET "invisible";
|
||||
target: "padding_center3";
|
||||
target: "hour_minute_colon2";
|
||||
target: "bg_text2";
|
||||
target: "padding_center4";
|
||||
program { signal: "efl,colon_field1,visible,off"; source: "efl";
|
||||
script { flag_unset(TP_MN); }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -410,12 +205,12 @@ group { "efl/timepicker/button";
|
|||
parts {
|
||||
image { "base";
|
||||
desc { "default";
|
||||
min: 40 40;
|
||||
max: 40 40;
|
||||
min: 23 23;
|
||||
max: 23 23;
|
||||
}
|
||||
desc { "pressed";
|
||||
min: 40 40;
|
||||
max: 40 40;
|
||||
min: 23 23;
|
||||
max: 23 23;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,3 +1,451 @@
|
|||
#if 1
|
||||
group { name: "efl/label/tooltip";
|
||||
alias: "efl/label/base/tooltip"; //XXX: Remove it in EFL 2.0
|
||||
alias: "efl/label/base/tooltip/transparent";
|
||||
styles {
|
||||
style { name: "tooltip_style2";
|
||||
base: "font="FNBD" font_size=10 color=#ffffff text_class=bubble align=0.5";
|
||||
tag: "br" "\n";
|
||||
tag: "hilight" "+ font="FNBD" text_class=bubble color=#ff9933";
|
||||
tag: "b" "+ font="FNBD" text_class=bubble color=#3399ff";
|
||||
tag: "tab" "\t";
|
||||
}
|
||||
}
|
||||
parts {
|
||||
part { name: "efl.text"; type: TEXTBLOCK; mouse_events: 0;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
text {
|
||||
style: "tooltip_style2";
|
||||
min: 1 1;
|
||||
ellipsis: -1;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
group { name: "efl/tooltip";
|
||||
min: 30 30;
|
||||
data.item: "pad_x" "10";
|
||||
data.item: "pad_y" "10";
|
||||
data.item: "pad_border_x" "1";
|
||||
data.item: "pad_border_y" "1";
|
||||
/* tooltip is hidden after this amount.
|
||||
Keep in sync with hide animations */
|
||||
data.item: "hide_timeout" "0.35";
|
||||
// if in a window... it's transparent!
|
||||
data.item: "transparent" "enabled";
|
||||
images.image: "tooltip-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;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
color: 255 255 255 0;
|
||||
rel1 { to: "pop"; offset: -500 -500; }
|
||||
rel2 { to: "pop"; offset: 499 499; }
|
||||
offscale;
|
||||
}
|
||||
description { state: "visible" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: 255 255 255 255;
|
||||
}
|
||||
}
|
||||
part { name: "shadow"; mouse_events: 0;
|
||||
clip_to: "clipper";
|
||||
description { state: "default" 0.0;
|
||||
rel.to: "pop";
|
||||
WIN_SHADOW;
|
||||
}
|
||||
}
|
||||
part { name: "pop"; type: RECT; mouse_events: 0;
|
||||
scale: 1;
|
||||
clip_to: "clipper";
|
||||
description { state: "default" 0.0;
|
||||
rel.to: "efl.content";
|
||||
rel1.offset: -10 -10;
|
||||
rel2.offset: 9 9;
|
||||
color: 0 0 0 192;
|
||||
offscale;
|
||||
}
|
||||
}
|
||||
#define TT_CORNER(name_, rx, ry, ax, ay, ox, oy) \
|
||||
part { name: "corner-"name_; mouse_events: 0; \
|
||||
clip_to: "clipper"; \
|
||||
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"; \
|
||||
color: 0 0 0 192; \
|
||||
} \
|
||||
description { state: "visible" 0.0; \
|
||||
inherit: "default" 0.0; \
|
||||
visible: 1; \
|
||||
} \
|
||||
}
|
||||
TT_CORNER("top-left", 0, 0, 0, 0, -6, -6);
|
||||
TT_CORNER("top-right", 1, 0, 1, 0, 5, -6);
|
||||
TT_CORNER("bottom-left", 0, 1, 0, 1, -6, 5);
|
||||
TT_CORNER("bottom-right", 1, 1, 1, 1, 5, 5);
|
||||
#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: 12 11; \
|
||||
align: ax 0.5; \
|
||||
fixed: 1 1; \
|
||||
rel1 { \
|
||||
relative: rx 0.0; \
|
||||
offset: ox 0; \
|
||||
to: "pop"; \
|
||||
} \
|
||||
rel2 { \
|
||||
relative: rx 1.0; \
|
||||
offset: ox 0; \
|
||||
to: "pop"; \
|
||||
} \
|
||||
} \
|
||||
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_; \
|
||||
description { state: "default" 0.0; \
|
||||
color: 0 0 0 0; \
|
||||
min: 12 11; \
|
||||
align: ax 0.5; \
|
||||
fixed: 1 1; \
|
||||
rel1 { \
|
||||
relative: rx 0.0; \
|
||||
offset: ox 0; \
|
||||
to: "pop"; \
|
||||
} \
|
||||
rel2 { \
|
||||
relative: rx 1.0; \
|
||||
offset: ox 0; \
|
||||
to: "pop"; \
|
||||
} \
|
||||
} \
|
||||
} \
|
||||
part { name: "edge-drag-"name_; type: RECT; mouse_events: 0; \
|
||||
clip_to: "clipper-edge-"name_; \
|
||||
dragable { \
|
||||
x: 0 0 0; \
|
||||
y: 1 1 0; \
|
||||
confine: "edge-area-"name_; \
|
||||
} \
|
||||
description { state: "default" 0.0; \
|
||||
color: 0 0 0 0; \
|
||||
min: 12 11; \
|
||||
rel.to: "edge-area-"name_; \
|
||||
} \
|
||||
} \
|
||||
part { name: "edge-img-"name_; mouse_events: 0; \
|
||||
clip_to: "clipper-edge-"name_; \
|
||||
description { state: "default" 0.0; \
|
||||
FIXED_SIZE(12, 11) \
|
||||
align: ax 0.5; \
|
||||
rel.to: "edge-drag-"name_; \
|
||||
image.normal: "tooltip-edge-"name_"-tip.png"; \
|
||||
color: 0 0 0 192; \
|
||||
} \
|
||||
}
|
||||
TT_EDGE_VERT("left", 0, 0, -6);
|
||||
TT_EDGE_VERT("right", 1, 1, 5);
|
||||
#undef TT_EDGE_VERT
|
||||
|
||||
#define TT_EDGE_HORIZ(name_, ry, ay, oy) \
|
||||
part { name: "clipper-edge-"name_; type: RECT; \
|
||||
clip_to: "clipper"; \
|
||||
description { state: "default" 0.0; \
|
||||
visible: 0; \
|
||||
min: 11 12; \
|
||||
align: 0.5 ay; \
|
||||
fixed: 1 1; \
|
||||
rel1 { \
|
||||
relative: 0.0 ry; \
|
||||
offset: 0 oy; \
|
||||
to: "pop"; \
|
||||
} \
|
||||
rel2 { \
|
||||
relative: 1.0 ry; \
|
||||
offset: 0 oy; \
|
||||
to: "pop"; \
|
||||
} \
|
||||
} \
|
||||
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_; \
|
||||
description { state: "default" 0.0; \
|
||||
color: 0 0 0 0; \
|
||||
min: 11 12; \
|
||||
align: 0.5 ay; \
|
||||
fixed: 1 1; \
|
||||
rel.to: "clipper-edge-"name_; \
|
||||
} \
|
||||
} \
|
||||
part { name: "edge-drag-"name_; type: RECT; mouse_events: 0; \
|
||||
clip_to: "clipper-edge-"name_; \
|
||||
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 12; \
|
||||
rel.to: "edge-area-"name_; \
|
||||
} \
|
||||
} \
|
||||
part { name: "edge-img-"name_; mouse_events: 0; \
|
||||
clip_to: "clipper-edge-"name_; \
|
||||
description { state: "default" 0.0; \
|
||||
FIXED_SIZE(11, 12) \
|
||||
align: 0.5 ay; \
|
||||
rel.to: "edge-drag-"name_; \
|
||||
image.normal: "tooltip-edge-"name_"-tip.png"; \
|
||||
color: 0 0 0 192; \
|
||||
} \
|
||||
}
|
||||
TT_EDGE_HORIZ("top", 0, 0, -6);
|
||||
TT_EDGE_HORIZ("bottom", 1, 1, 5);
|
||||
#undef TT_EDGE_HORIZ
|
||||
|
||||
part { name: "clipper_content"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
color: 255 255 255 0;
|
||||
rel.to: "efl.content";
|
||||
}
|
||||
description { state: "visible" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: 255 255 255 255;
|
||||
}
|
||||
}
|
||||
part { name: "efl.content"; type: SWALLOW;
|
||||
clip_to: "clipper_content";
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
min: 48 24;
|
||||
rel1.offset: 20 20;
|
||||
rel2.offset: -21 -21;
|
||||
offscale;
|
||||
}
|
||||
}
|
||||
programs {
|
||||
program { name: "show0";
|
||||
signal: "efl,action,show"; source: "efl";
|
||||
action: ACTION_STOP;
|
||||
target: "hide0";
|
||||
target: "hide1";
|
||||
target: "hide2";
|
||||
target: "hide3";
|
||||
after: "show1";
|
||||
after: "show2";
|
||||
}
|
||||
program { name: "show1";
|
||||
action: STATE_SET "visible" 0.0;
|
||||
transition: LINEAR 0.15;
|
||||
target: "clipper";
|
||||
}
|
||||
program { name: "show2";
|
||||
in: 0.1 0.0;
|
||||
action: STATE_SET "visible" 0.0;
|
||||
transition: LINEAR 0.15;
|
||||
target: "clipper_content";
|
||||
}
|
||||
program { name: "hide0";
|
||||
signal: "efl,action,hide"; source: "efl";
|
||||
action: ACTION_STOP;
|
||||
target: "show0";
|
||||
target: "show1";
|
||||
target: "show2";
|
||||
after: "hide1";
|
||||
after: "hide2";
|
||||
after: "hide3";
|
||||
}
|
||||
program { name: "hide1";
|
||||
script {
|
||||
hide_corners();
|
||||
hide_edges();
|
||||
}
|
||||
}
|
||||
program { name: "hide2";
|
||||
action: STATE_SET "default" 0.0;
|
||||
transition: LINEAR 0.1;
|
||||
target: "clipper_content";
|
||||
}
|
||||
program { name: "hide3";
|
||||
in: 0.1 0.0;
|
||||
action: STATE_SET "default" 0.0;
|
||||
transition: LINEAR 0.1;
|
||||
target: "clipper";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
group { name: "efl/tooltip:transparent";
|
||||
data.item: "pad_x" "10";
|
||||
data.item: "pad_y" "10";
|
||||
data.item: "transparent" "enabled";
|
||||
parts {
|
||||
part { name: "efl.content"; type: SWALLOW; mouse_events: 0;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0; }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
#else
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
group { name: "efl/label/tooltip";
|
||||
alias: "efl/label/base/tooltip"; //XXX: Remove it in EFL 2.0
|
||||
alias: "efl/label/base/tooltip/transparent";
|
||||
|
@ -429,3 +877,4 @@ group { name: "efl/tooltip:transparent";
|
|||
}
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
#endif
|
||||
|
|
|
@ -35,7 +35,6 @@
|
|||
#define DATETIME_SEPARATOR(_pos, _after) \
|
||||
text { "efl.separator"#_pos; \
|
||||
scale; \
|
||||
effect: SHADOW BOTTOM; \
|
||||
clip_to: "disclip"; \
|
||||
desc { "default"; \
|
||||
hid; \
|
||||
|
@ -50,9 +49,9 @@
|
|||
relative: 1.0 1.0; \
|
||||
to: "efl.field"#_after; \
|
||||
} \
|
||||
color_class: "datetime_separator_text"; \
|
||||
color: 160 160 160 255; \
|
||||
text { \
|
||||
font: "Sans"; size: 10; \
|
||||
font: FN; size: 10; \
|
||||
min: 1 0; \
|
||||
ellipsis: -1; \
|
||||
align: 0.5 0.5; \
|
||||
|
@ -67,16 +66,15 @@
|
|||
} \
|
||||
text { "efl.separator"#_pos"d"; \
|
||||
scale; \
|
||||
effect: SHADOW BOTTOM; \
|
||||
clip_to: "disclip2"; \
|
||||
desc { "default"; \
|
||||
hid; \
|
||||
rel1.to: "efl.separator"#_pos; \
|
||||
rel2.to: "efl.separator"#_pos; \
|
||||
color_class: "datetime_separator_text_disabled"; \
|
||||
color: 160 160 160 255; \
|
||||
text { \
|
||||
text_source: "efl.separator"#_pos; \
|
||||
font: "Sans"; size: 10; \
|
||||
font: FN; size: 10; \
|
||||
text_class: "datetime_separator_text_disabled"; \
|
||||
} \
|
||||
} \
|
||||
|
@ -107,7 +105,7 @@ group { "efl/uiclock";
|
|||
parts {
|
||||
rect { "bg";
|
||||
desc { "default";
|
||||
color_class: "datetime_bg";
|
||||
color: 64 64 64 255;
|
||||
}
|
||||
}
|
||||
rect { "clip";
|
||||
|
|
|
@ -1,109 +1,83 @@
|
|||
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;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
rel1.offset: 1 1;
|
||||
rel2.offset: -2 -2;
|
||||
min: 48 10;
|
||||
color: DARK_GREY_BG_COLOR;
|
||||
min: 120 20;
|
||||
color: 0 0 0 64;
|
||||
}
|
||||
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;
|
||||
color: 0 0 0 0;
|
||||
}
|
||||
}
|
||||
part { name: "icon_dragable_area"; type: SPACER;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "bg";
|
||||
rel2.to: "bg";
|
||||
rel.to: "bg";
|
||||
}
|
||||
}
|
||||
part { name: "elm.text.left"; type: TEXT;
|
||||
effect: SHADOW BOTTOM;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
color: FN_COL_DEFAULT;
|
||||
color_class: "button_text";
|
||||
color: 160 160 160 255;
|
||||
rel1.offset: 4 4;
|
||||
rel2.offset: -5 -5;
|
||||
text { font: FN; size: 10;
|
||||
align: 0.05 0.5;
|
||||
align: 0.0 0.5;
|
||||
min: 1 1;
|
||||
ellipsis: -1;
|
||||
text_class: "button";
|
||||
}
|
||||
offscale;
|
||||
}
|
||||
description { state: "disabled" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: FN_COL_DISABLE;
|
||||
color_class: "button_text_disabled";
|
||||
color: 96 96 96 255;
|
||||
}
|
||||
}
|
||||
part { name: "elm.text.center"; type: TEXT;
|
||||
effect: SHADOW BOTTOM;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
color: FN_COL_DEFAULT;
|
||||
color_class: "check_off_text";
|
||||
color: 160 160 160 255;
|
||||
rel1.offset: 4 4;
|
||||
rel2.offset: -5 -5;
|
||||
text { font: FN; size: 10;
|
||||
align: 0.5 0.5;
|
||||
min: 1 1;
|
||||
ellipsis: -1;
|
||||
text_class: "check_off_text";
|
||||
text_class: "button";
|
||||
}
|
||||
offscale;
|
||||
}
|
||||
description { state: "disabled" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: FN_COL_DISABLE;
|
||||
color_class: "button_text_disabled";
|
||||
color: 96 96 96 255;
|
||||
}
|
||||
}
|
||||
part { name: "elm.text.right"; type: TEXT;
|
||||
effect: SHADOW BOTTOM;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
color: FN_COL_DEFAULT;
|
||||
color_class: "check_off_text";
|
||||
color: 160 160 160 255;
|
||||
rel1.offset: 4 4;
|
||||
rel2.offset: -5 -5;
|
||||
text { font: FN; size: 10;
|
||||
align: 0.95 0.5;
|
||||
align: 1.0 0.5;
|
||||
min: 1 1;
|
||||
ellipsis: -1;
|
||||
text_class: "check_off_text";
|
||||
text_class: "button";
|
||||
}
|
||||
offscale;
|
||||
}
|
||||
description { state: "disabled" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: FN_COL_DISABLE;
|
||||
color_class: "button_text_disabled";
|
||||
color: 96 96 96 255;
|
||||
}
|
||||
}
|
||||
part { name: "elm.drag_button_base"; type: SWALLOW; mouse_events: 0;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
fixed: 1 1;
|
||||
min: 40 10;
|
||||
min: 40 20;
|
||||
align: 0.5 0.5;
|
||||
rel1.to: "icon_dragable_area";
|
||||
rel2 {
|
||||
|
@ -120,7 +94,7 @@ group { name: "elm/actionslider/base/default";
|
|||
part { name: "elm.drag_button"; type: RECT;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
min: 40 10;
|
||||
min: 40 20;
|
||||
color: 0 0 0 0;
|
||||
rel1.to_x: "elm.drag_button_base";
|
||||
rel1.to_y: "icon_dragable_area";
|
||||
|
@ -131,57 +105,27 @@ group { name: "elm/actionslider/base/default";
|
|||
events: "elm.drag_button_base";
|
||||
}
|
||||
}
|
||||
part { name: "glow_button"; mouse_events: 0;
|
||||
part { name: "drag_button"; type: RECT; 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;
|
||||
rel.to: "elm.drag_button";
|
||||
color: 96 96 96 255;
|
||||
}
|
||||
description { state: "disabled" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: 72 72 72 255;
|
||||
}
|
||||
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;
|
||||
color: 51 153 255 255;
|
||||
}
|
||||
}
|
||||
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";
|
||||
rel.to: "drag_button";
|
||||
rel1.offset: 4 4;
|
||||
rel2.offset: -5 -5;
|
||||
color: 192 192 192 255;
|
||||
text {
|
||||
font: FN; size: 10;
|
||||
align: 0.5 0.5;
|
||||
|
@ -191,12 +135,14 @@ group { name: "elm/actionslider/base/default";
|
|||
}
|
||||
description { state: "disabled" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: FN_COL_DISABLE;
|
||||
color_class: "button_text_disabled";
|
||||
color: 96 96 96 255;
|
||||
}
|
||||
description { state: "clicked" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: 255 255 255 255;
|
||||
}
|
||||
}
|
||||
part { name: "disabler";
|
||||
type: RECT;
|
||||
part { name: "disabler"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
color: 0 0 0 0;
|
||||
visible: 0;
|
||||
|
@ -208,56 +154,50 @@ group { name: "elm/actionslider/base/default";
|
|||
}
|
||||
}
|
||||
programs {
|
||||
program {
|
||||
signal: "mouse,up,1"; source: "elm.drag_button";
|
||||
program { signal: "mouse,up,1"; source: "elm.drag_button";
|
||||
action: SIGNAL_EMIT "elm,action,up,drag_button" "elm";
|
||||
after: "button_unclick_anim";
|
||||
}
|
||||
program { name: "button_unclick_anim";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "drag_button";
|
||||
target: "glow_button";
|
||||
target: "elm.text.indicator";
|
||||
}
|
||||
program {
|
||||
signal: "mouse,down,1*"; source: "elm.drag_button";
|
||||
program { signal: "mouse,down,1*"; source: "elm.drag_button";
|
||||
action: SIGNAL_EMIT "elm,action,down,drag_button" "elm";
|
||||
after: "button_click_anim";
|
||||
}
|
||||
program { name: "button_click_anim";
|
||||
action: STATE_SET "clicked" 0.0;
|
||||
target: "drag_button";
|
||||
target: "glow_button";
|
||||
target: "elm.text.indicator";
|
||||
}
|
||||
program {
|
||||
signal: "mouse,move"; source: "elm.drag_button_base";
|
||||
program { signal: "mouse,move"; source: "elm.drag_button_base";
|
||||
action: SIGNAL_EMIT "elm,action,move,drag_button" "elm";
|
||||
}
|
||||
program {
|
||||
signal: "mouse,down,1*"; source: "elm.text.right";
|
||||
program { signal: "mouse,down,1*"; source: "elm.text.right";
|
||||
action: SIGNAL_EMIT "elm,action,down,right" "elm";
|
||||
}
|
||||
program {
|
||||
signal: "mouse,down,1*"; source: "elm.text.left";
|
||||
program { signal: "mouse,down,1*"; source: "elm.text.left";
|
||||
action: SIGNAL_EMIT "elm,action,down,left" "elm";
|
||||
}
|
||||
program {
|
||||
signal: "mouse,down,1*"; source: "elm.text.center";
|
||||
program { signal: "mouse,down,1*"; source: "elm.text.center";
|
||||
action: SIGNAL_EMIT "elm,action,down,center" "elm";
|
||||
}
|
||||
program {
|
||||
signal: "elm,state,disabled"; source: "elm";
|
||||
program { signal: "elm,state,disabled"; source: "elm";
|
||||
action: STATE_SET "disabled" 0.0;
|
||||
target: "bg";
|
||||
target: "drag_button";
|
||||
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";
|
||||
program { signal: "elm,state,enabled"; source: "elm";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "bg";
|
||||
target: "drag_button";
|
||||
target: "disabler";
|
||||
target: "elm.text.left";
|
||||
target: "elm.text.center";
|
||||
|
@ -269,23 +209,17 @@ group { name: "elm/actionslider/base/default";
|
|||
|
||||
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;
|
||||
part { name: "bar"; type: RECT; mouse_events: 0;
|
||||
insert_before: "elm.drag_button_base";
|
||||
description { state: "default" 0.0;
|
||||
color: 51 153 255 128;
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
|
||||
group { name: "elm/bg/base/default";
|
||||
data.item: "version" "119";
|
||||
images.image: "bevel_dark_out.png" COMP;
|
||||
parts {
|
||||
part { name: "clipper"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
|
@ -16,7 +15,6 @@ group { name: "elm/bg/base/default";
|
|||
}
|
||||
part { name: "base"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
color_class: "dialog_base";
|
||||
color: 64 64 64 255;
|
||||
}
|
||||
}
|
||||
|
@ -30,14 +28,6 @@ group { name: "elm/bg/base/default";
|
|||
fixed: 1 1;
|
||||
}
|
||||
}
|
||||
part { name: "bevel";
|
||||
description { state: "default" 0.0;
|
||||
image.normal: "bevel_dark_out.png";
|
||||
image.border: 1 1 1 1;
|
||||
image.middle: 0;
|
||||
fill.smooth: 0;
|
||||
}
|
||||
}
|
||||
part { name: "elm.swallow.content"; type: SWALLOW;
|
||||
description { state: "default" 0.0;
|
||||
}
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -2,8 +2,6 @@ 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;
|
||||
|
@ -16,11 +14,11 @@ group { name: "elm/bubble/top_left/default";
|
|||
visible: 0;
|
||||
align: 0.0 0.0;
|
||||
aspect: 1.0 1.0; aspect_preference: VERTICAL;
|
||||
rel1.offset: 2 2;
|
||||
rel1.offset: 4 4;
|
||||
rel2 {
|
||||
to_y: "elm.text";
|
||||
relative: 0.0 1.0;
|
||||
offset: 2 -1;
|
||||
offset: 4 -5;
|
||||
}
|
||||
}
|
||||
description { state: "visible" 0.0;
|
||||
|
@ -45,12 +43,11 @@ group { name: "elm/bubble/top_left/default";
|
|||
text {
|
||||
min: 1 1;
|
||||
ellipsis: -1;
|
||||
text: "M";
|
||||
text: SPACER_TEXT;
|
||||
}
|
||||
}
|
||||
}
|
||||
part { name: "elm.text"; type: TEXT; mouse_events: 0;
|
||||
effect: SHADOW BOTTOM;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
fixed: 0 1;
|
||||
|
@ -58,15 +55,14 @@ group { name: "elm/bubble/top_left/default";
|
|||
rel1 {
|
||||
to_x: "elm.swallow.icon";
|
||||
relative: 1.0 0.0;
|
||||
offset: 2 2;
|
||||
offset: 4 4;
|
||||
}
|
||||
rel2 {
|
||||
to_x: "elm.info";
|
||||
relative: 0.0 0.0;
|
||||
offset: -3 2;
|
||||
offset: -5 4;
|
||||
}
|
||||
color: FN_COL_DEFAULT;
|
||||
color_class: "bubble_text";
|
||||
color: 255 255 255 255;
|
||||
text { font: FNBD; size: 10;
|
||||
min: 0 1;
|
||||
max: 0 1;
|
||||
|
@ -76,17 +72,15 @@ group { name: "elm/bubble/top_left/default";
|
|||
}
|
||||
}
|
||||
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;
|
||||
rel1.offset: -5 4;
|
||||
rel2.relative: 1.0 0.0;
|
||||
rel2.offset: -3 2;
|
||||
color: FN_COL_DISABLE;
|
||||
color_class: "bubble_info";
|
||||
rel2.offset: -5 4;
|
||||
color: 160 160 160 255;
|
||||
text { font: FNBD; size: 10;
|
||||
min: 1 1;
|
||||
ellipsis: -1;
|
||||
|
@ -98,20 +92,23 @@ group { name: "elm/bubble/top_left/default";
|
|||
}
|
||||
part { name: "base"; mouse_events: 0;
|
||||
description { state: "default" 0.0;
|
||||
color: 48 48 48 255;
|
||||
rel1 {
|
||||
to_y: "elm.swallow.icon";
|
||||
relative: 0.0 1.0;
|
||||
offset: 0 0;
|
||||
offset: 4 4;
|
||||
}
|
||||
rel2.offset: -5 -5;
|
||||
image.normal: "bub_base_tl.png";
|
||||
image.border: 24 8 12 9;
|
||||
image.border: 24 0 12 0;
|
||||
image.middle: SOLID;
|
||||
fill.smooth: 0;
|
||||
offscale;
|
||||
}
|
||||
description { state: "rtl" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
image.normal: "bub_base_tr.png";
|
||||
image.border: 8 24 12 9;
|
||||
image.border: 0 24 12 0;
|
||||
}
|
||||
}
|
||||
part { name: "elm.swallow.content";
|
||||
|
@ -123,41 +120,6 @@ group { name: "elm/bubble/top_left/default";
|
|||
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 {
|
||||
|
@ -176,13 +138,11 @@ group { name: "elm/bubble/top_left/default";
|
|||
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";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -190,8 +150,6 @@ group { name: "elm/bubble/top_left/default";
|
|||
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;
|
||||
|
@ -204,12 +162,12 @@ group { name: "elm/bubble/top_right/default";
|
|||
visible: 0;
|
||||
align: 1.0 0.0;
|
||||
aspect: 1.0 1.0; aspect_preference: VERTICAL;
|
||||
rel1.offset: -3 2;
|
||||
rel1.offset: -5 4;
|
||||
rel1.relative: 1.0 0.0;
|
||||
rel2 {
|
||||
to_y: "elm.text";
|
||||
relative: 1.0 1.0;
|
||||
offset: -3 -1;
|
||||
offset: -5 -1;
|
||||
}
|
||||
}
|
||||
description { state: "visible" 0.0;
|
||||
|
@ -234,24 +192,22 @@ group { name: "elm/bubble/top_right/default";
|
|||
text {
|
||||
min: 1 1;
|
||||
ellipsis: -1;
|
||||
text: "M";
|
||||
text: SPACER_TEXT;
|
||||
}
|
||||
}
|
||||
}
|
||||
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;
|
||||
rel1.offset: 4 4;
|
||||
rel2 {
|
||||
to_x: "elm.info";
|
||||
relative: 0.0 0.0;
|
||||
offset: -3 2;
|
||||
offset: -5 4;
|
||||
}
|
||||
color: FN_COL_DEFAULT;
|
||||
color_class: "bubble_text";
|
||||
color: 255 255 255 255;
|
||||
text { font: FNBD; size: 10;
|
||||
min: 0 1;
|
||||
max: 0 1;
|
||||
|
@ -261,18 +217,16 @@ group { name: "elm/bubble/top_right/default";
|
|||
}
|
||||
}
|
||||
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;
|
||||
rel1.offset: -5 4;
|
||||
rel2.to_x: "elm.swallow.icon";
|
||||
rel2.relative: 0.0 0.0;
|
||||
rel2.offset: -3 2;
|
||||
color: FN_COL_DISABLE;
|
||||
color_class: "bubble_info";
|
||||
rel2.offset: -5 4;
|
||||
color: 160 160 160 255;
|
||||
text { font: FNBD; size: 10;
|
||||
min: 1 1;
|
||||
ellipsis: -1;
|
||||
|
@ -284,20 +238,23 @@ group { name: "elm/bubble/top_right/default";
|
|||
}
|
||||
part { name: "base"; mouse_events: 0;
|
||||
description { state: "default" 0.0;
|
||||
color: 48 48 48 255;
|
||||
rel1 {
|
||||
to_y: "elm.swallow.icon";
|
||||
relative: 0.0 1.0;
|
||||
offset: 0 0;
|
||||
offset: 4 4;
|
||||
}
|
||||
rel2.offset: -5 -5;
|
||||
image.normal: "bub_base_tr.png";
|
||||
image.border: 8 24 12 9;
|
||||
image.border: 0 24 12 0;
|
||||
image.middle: SOLID;
|
||||
fill.smooth: 0;
|
||||
offscale;
|
||||
}
|
||||
description { state: "rtl" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
image.normal: "bub_base_tl.png";
|
||||
image.border: 24 8 12 9;
|
||||
image.border: 24 0 12 0;
|
||||
}
|
||||
}
|
||||
part { name: "elm.swallow.content";
|
||||
|
@ -309,41 +266,6 @@ group { name: "elm/bubble/top_right/default";
|
|||
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 {
|
||||
|
@ -362,13 +284,11 @@ group { name: "elm/bubble/top_right/default";
|
|||
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";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -376,8 +296,6 @@ group { name: "elm/bubble/top_right/default";
|
|||
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;
|
||||
|
@ -392,11 +310,11 @@ group { name: "elm/bubble/bottom_left/default";
|
|||
aspect: 1.0 1.0; aspect_preference: VERTICAL;
|
||||
rel1 {
|
||||
to_y: "elm.text";
|
||||
offset: 2 0;
|
||||
offset: 4 0;
|
||||
}
|
||||
rel2 {
|
||||
relative: 0.0 1.0;
|
||||
offset: 2 -3;
|
||||
offset: 4 -5;
|
||||
}
|
||||
}
|
||||
description { state: "visible" 0.0;
|
||||
|
@ -421,12 +339,11 @@ group { name: "elm/bubble/bottom_left/default";
|
|||
text {
|
||||
min: 1 1;
|
||||
ellipsis: -1;
|
||||
text: "M";
|
||||
text: SPACER_TEXT;
|
||||
}
|
||||
}
|
||||
}
|
||||
part { name: "elm.text"; type: TEXT; mouse_events: 0;
|
||||
effect: SHADOW BOTTOM;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
fixed: 0 1;
|
||||
|
@ -434,15 +351,14 @@ group { name: "elm/bubble/bottom_left/default";
|
|||
rel1 {
|
||||
to_x: "elm.swallow.icon";
|
||||
relative: 1.0 1.0;
|
||||
offset: 2 -3;
|
||||
offset: 4 -5;
|
||||
}
|
||||
rel2 {
|
||||
to_x: "elm.info";
|
||||
relative: 0.0 1.0;
|
||||
offset: -3 -3;
|
||||
offset: -5 -5;
|
||||
}
|
||||
color: FN_COL_DEFAULT;
|
||||
color_class: "bubble_text";
|
||||
color: 255 255 255 255;
|
||||
text { font: FNBD; size: 10;
|
||||
min: 0 1;
|
||||
max: 0 1;
|
||||
|
@ -452,17 +368,15 @@ group { name: "elm/bubble/bottom_left/default";
|
|||
}
|
||||
}
|
||||
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;
|
||||
rel1.offset: -5 -5;
|
||||
rel2.relative: 1.0 1.0;
|
||||
rel2.offset: -3 -3;
|
||||
color: FN_COL_DISABLE;
|
||||
color_class: "bubble_info";
|
||||
rel2.offset: -5 -5;
|
||||
color: 160 160 160 255;
|
||||
text { font: FNBD; size: 10;
|
||||
min: 1 1;
|
||||
ellipsis: -1;
|
||||
|
@ -474,19 +388,22 @@ group { name: "elm/bubble/bottom_left/default";
|
|||
}
|
||||
part { name: "base"; mouse_events: 0;
|
||||
description { state: "default" 0.0;
|
||||
color: 48 48 48 255;
|
||||
rel1.offset: 4 4;
|
||||
rel2 {
|
||||
to_y: "elm.swallow.icon";
|
||||
relative: 1.0 0.0;
|
||||
offset: -5 -5;
|
||||
}
|
||||
image.normal: "bub_base_bl.png";
|
||||
image.border: 24 8 8 13;
|
||||
image.border: 24 0 0 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;
|
||||
image.border: 0 24 0 13;
|
||||
}
|
||||
}
|
||||
part { name: "elm.swallow.content";
|
||||
|
@ -498,36 +415,6 @@ group { name: "elm/bubble/bottom_left/default";
|
|||
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 {
|
||||
|
@ -558,8 +445,6 @@ group { name: "elm/bubble/bottom_left/default";
|
|||
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;
|
||||
|
@ -574,11 +459,11 @@ group { name: "elm/bubble/bottom_right/default";
|
|||
aspect: 1.0 1.0; aspect_preference: VERTICAL;
|
||||
rel1 {
|
||||
to_y: "elm.text";
|
||||
offset: -3 0;
|
||||
offset: -5 0;
|
||||
}
|
||||
rel2 {
|
||||
relative: 1.0 1.0;
|
||||
offset: -3 -3;
|
||||
offset: -5 -5;
|
||||
}
|
||||
}
|
||||
description { state: "visible" 0.0;
|
||||
|
@ -603,27 +488,25 @@ group { name: "elm/bubble/bottom_right/default";
|
|||
text {
|
||||
min: 1 1;
|
||||
ellipsis: -1;
|
||||
text: "M";
|
||||
text: SPACER_TEXT;
|
||||
}
|
||||
}
|
||||
}
|
||||
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;
|
||||
offset: 4 -5;
|
||||
}
|
||||
rel2 {
|
||||
to_x: "elm.info";
|
||||
relative: 0.0 1.0;
|
||||
offset: -3 -3;
|
||||
offset: -5 -5;
|
||||
}
|
||||
color: FN_COL_DEFAULT;
|
||||
color_class: "bubble_text";
|
||||
color: 255 255 255 255;
|
||||
text { font: FNBD; size: 10;
|
||||
min: 0 1;
|
||||
max: 0 1;
|
||||
|
@ -633,18 +516,16 @@ group { name: "elm/bubble/bottom_right/default";
|
|||
}
|
||||
}
|
||||
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;
|
||||
rel1.offset: -5 -5;
|
||||
rel2.to_x: "elm.swallow.icon";
|
||||
rel2.relative: 0.0 1.0;
|
||||
rel2.offset: -3 -3;
|
||||
color: FN_COL_DISABLE;
|
||||
color_class: "bubble_info";
|
||||
rel2.offset: -5 -5;
|
||||
color: 160 160 160 255;
|
||||
text { font: FNBD; size: 10;
|
||||
min: 1 1;
|
||||
ellipsis: -1;
|
||||
|
@ -656,19 +537,22 @@ group { name: "elm/bubble/bottom_right/default";
|
|||
}
|
||||
part { name: "base"; mouse_events: 0;
|
||||
description { state: "default" 0.0;
|
||||
color: 48 48 48 255;
|
||||
rel1.offset: 4 4;
|
||||
rel2 {
|
||||
to_y: "elm.swallow.icon";
|
||||
relative: 1.0 0.0;
|
||||
offset: -5 -5;
|
||||
}
|
||||
image.normal: "bub_base_br.png";
|
||||
image.border: 8 24 8 13;
|
||||
image.border: 0 24 0 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;
|
||||
image.border: 24 0 0 13;
|
||||
}
|
||||
}
|
||||
part { name: "elm.swallow.content";
|
||||
|
@ -680,36 +564,6 @@ group { name: "elm/bubble/bottom_right/default";
|
|||
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 {
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1,21 +1,21 @@
|
|||
#define CIT_STYLES\
|
||||
style { name: "calendar_date_style";\
|
||||
base: "font="FN" font_size=10 color=#ffffff style=shadow,bottom shadow_color=#00000080 align=center text_class=calendar_day_text color_class=calendar_day_text";\
|
||||
base: "font="FN" font_size=10 color=#a0a0a0 align=center text_class=calendar_day_text";\
|
||||
}\
|
||||
style { name: "calendar_date_holiday_style";\
|
||||
base: "font="FN" font_size=10 color=#808080 style=shadow,bottom shadow_color=#00000080 align=center text_class=calendar_day_text_holiday color_class=calendar_day_text_holiday";\
|
||||
base: "font="FN" font_size=10 color=#3399ff align=center text_class=calendar_day_text_holiday";\
|
||||
}\
|
||||
style { name: "calendar_date_today_style";\
|
||||
base: "font="FN" font_size=10 color=#3399ff style=glow glow_color=#3399ff18 align=center text_class=calendar_day_text_today color_class=calendar_day_text_today";\
|
||||
base: "font="FN" font_size=10 color=#ffffff align=center text_class=calendar_day_text_today";\
|
||||
}\
|
||||
style { name: "calendar_date_disabled_style";\
|
||||
base: "font="FN" font_size=10 color=#151515 style=shadow,bottom shadow_color=#ffffffc0 align=center text_class=calendar_day_text_disabled text_class=calendar_day_text_disabled";\
|
||||
base: "font="FN" font_size=10 color=#282828 align=center text_class=calendar_day_text_disabled";\
|
||||
}\
|
||||
style { name: "calendar_date_weekend1_style";\
|
||||
base: "font="FN" font_size=10 color=#2020C0 style=shadow,bottom shadow_color=#ffffffc0 align=center text_class=calendar_day_text_weekend1 color_class=calendar_day_text_weekend1";\
|
||||
base: "font="FN" font_size=10 color=#3399ff align=center text_class=calendar_day_text_weekend1";\
|
||||
}\
|
||||
style { name: "calendar_date_weekend2_style";\
|
||||
base: "font="FN" font_size=10 color=#C02020 style=shadow,bottom shadow_color=#ffffffc0 align=center text_class=calendar_day_text_weekend2 color_class=calendar_day_text_weekend2";\
|
||||
base: "font="FN" font_size=10 color=#3399ff align=center text_class=calendar_day_text_weekend2";\
|
||||
}\
|
||||
|
||||
#define CAL_SPIN(_sufix, _text, _relative)\
|
||||
|
@ -30,8 +30,8 @@
|
|||
offset: 0 -1;\
|
||||
}\
|
||||
align: 0.0 0.5;\
|
||||
min: 15 15;\
|
||||
max: 15 15;\
|
||||
min: 25 25;\
|
||||
max: 25 25;\
|
||||
}\
|
||||
}\
|
||||
part { name: "right_bt"#_sufix; type: RECT;\
|
||||
|
@ -45,125 +45,110 @@
|
|||
offset: -1 -1;\
|
||||
}\
|
||||
align: 1.0 0.5;\
|
||||
min: 15 15;\
|
||||
max: 15 15;\
|
||||
min: 25 25;\
|
||||
max: 25 25;\
|
||||
color: 0 0 0 0;\
|
||||
}\
|
||||
}\
|
||||
part { name: "elm,calendar,button"#_sufix",left";\
|
||||
type: SWALLOW;\
|
||||
part { name: "elm,calendar,button"#_sufix",left"; type: SWALLOW;\
|
||||
scale: 1;\
|
||||
description { state: "default" 0.0;\
|
||||
fixed: 1 1;\
|
||||
rel1.to: "left_bt"#_sufix;\
|
||||
rel2.to: "left_bt"#_sufix;\
|
||||
rel.to: "left_bt"#_sufix;\
|
||||
min: 15 15;\
|
||||
max: 15 15;\
|
||||
}\
|
||||
description { state: "rtl" 0.0;\
|
||||
inherit: "default" 0.0;\
|
||||
rel1.to: "right_bt"#_sufix;\
|
||||
rel2.to: "right_bt"#_sufix;\
|
||||
rel.to: "right_bt"#_sufix;\
|
||||
}\
|
||||
}\
|
||||
part { name: "elm,calendar,button"#_sufix",right";\
|
||||
type: SWALLOW;\
|
||||
part { name: "elm,calendar,button"#_sufix",right"; type: SWALLOW;\
|
||||
scale: 1;\
|
||||
description { state: "default" 0.0;\
|
||||
fixed: 1 1;\
|
||||
rel1.to: "right_bt"#_sufix;\
|
||||
rel2.to: "right_bt"#_sufix;\
|
||||
rel.to: "right_bt"#_sufix;\
|
||||
min: 15 15;\
|
||||
max: 15 15;\
|
||||
}\
|
||||
description { state: "rtl" 0.0;\
|
||||
inherit: "default" 0.0;\
|
||||
rel1.to: "left_bt"#_sufix;\
|
||||
rel2.to: "left_bt"#_sufix;\
|
||||
rel.to: "left_bt"#_sufix;\
|
||||
}\
|
||||
}\
|
||||
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;\
|
||||
offset: 8 8;\
|
||||
}\
|
||||
rel2 { relative: 0.0 1.0;\
|
||||
to: "right_bt"#_sufix;\
|
||||
offset: -9 -9;\
|
||||
}\
|
||||
offscale;\
|
||||
text { font: FNBD; size: 10;\
|
||||
min: 0 1;\
|
||||
text_class: "calendar_"#_text; \
|
||||
}\
|
||||
color_class: "calendar_"#_text; \
|
||||
color: 160 160 160 255; \
|
||||
}\
|
||||
}
|
||||
|
||||
#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"; \
|
||||
} \
|
||||
rel.to: "header";\
|
||||
rel1.relative: (_pos % 7 / 7) 0.0; \
|
||||
rel2.relative: (_pos % 7 / 7 + 1 / 7) 1.0; \
|
||||
} \
|
||||
} \
|
||||
part { name: "elm.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"; \
|
||||
rel.to: "ch_"#_pos"_base"; \
|
||||
rel1.offset: 0 3; \
|
||||
rel2.offset: -1 -4; \
|
||||
offscale;\
|
||||
text { font: FN; size: 8; \
|
||||
min: 1 1; \
|
||||
ellipsis: -1; \
|
||||
text_class: "calendar_weekday_text"; \
|
||||
} \
|
||||
color_class: "calendar_weekday_text"; \
|
||||
color: 160 160 160 255; \
|
||||
} \
|
||||
} \
|
||||
part { name: "ch_"#_pos"_clipper"; type: RECT; \
|
||||
description { state: "default" 0.0; \
|
||||
rel1.to: "ch_"#_pos"_base"; \
|
||||
rel2.to: "ch_"#_pos"_base"; \
|
||||
rel.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"; \
|
||||
} \
|
||||
rel.to: "base"; \
|
||||
rel1.relative: (_pos % 7 / 7) (_pos / 7 / 6 - _pos % 7 / 7 / 6); \
|
||||
rel2.relative: (_pos % 7 / 7 + 1 / 7) (_pos / 7 / 6 + 1 / 6 - _pos % 7 / 7 / 6); \
|
||||
} \
|
||||
} \
|
||||
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"; \
|
||||
rel.to: "cit_"#_pos"_rect"; \
|
||||
color: 0 0 0 0; \
|
||||
} \
|
||||
description { state: "today" 0.0; \
|
||||
inherit: "default" 0.0; \
|
||||
color: 0 0 0 64; \
|
||||
} \
|
||||
} \
|
||||
part { name: "cit_"#_pos"_pat"; mouse_events: 0; \
|
||||
part { name: "cit_"#_pos"_selected"; type: RECT; 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) \
|
||||
color_class: "calendar_day_selected"; \
|
||||
rel.to: "cit_"#_pos"_rect"; \
|
||||
color: 51 153 255 128; \
|
||||
visible: 0; \
|
||||
} \
|
||||
description { state: "selected" 0.0; \
|
||||
|
@ -171,13 +156,10 @@
|
|||
visible: 1; \
|
||||
} \
|
||||
} \
|
||||
part { name: "cit_"#_pos"_selected"; mouse_events: 0; \
|
||||
part { name: "cit_"#_pos"_focus"; type: RECT; 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; \
|
||||
color_class: "calendar_day_selected"; \
|
||||
rel.to: "cit_"#_pos"_rect"; \
|
||||
color: 255 153 51 128; \
|
||||
visible: 0; \
|
||||
} \
|
||||
description { state: "selected" 0.0; \
|
||||
|
@ -185,44 +167,16 @@
|
|||
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; \
|
||||
color: 255 255 255 128; \
|
||||
color_class: "calendar_day_highlighted"; \
|
||||
visible: 0; \
|
||||
} \
|
||||
description { state: "highlighted" 0.0; \
|
||||
inherit: "default" 0.0; \
|
||||
visible: 1; \
|
||||
} \
|
||||
} \
|
||||
part { name: "cit_"#_pos"_glow"; mouse_events: 0; \
|
||||
description { state: "default" 0.0; \
|
||||
rel1.to: "cit_"#_pos"_rect"; \
|
||||
rel2.to: "cit_"#_pos"_rect"; \
|
||||
image.normal: "box_glow.png"; \
|
||||
image.border: 12 12 12 12; \
|
||||
image.middle: 0; \
|
||||
fill.smooth: 0; \
|
||||
visible: 0; \
|
||||
} \
|
||||
description { state: "focused" 0.0; \
|
||||
inherit: "default" 0.0; \
|
||||
visible: 1; \
|
||||
} \
|
||||
} \
|
||||
part { name: "elm.cit_"#_pos".text"; type: TEXTBLOCK; mouse_events: 0; \
|
||||
scale: 1; \
|
||||
description { state: "default" 0.0; \
|
||||
rel1.to: "cit_"#_pos"_rect"; \
|
||||
rel2.to: "cit_"#_pos"_rect"; \
|
||||
rel.to: "cit_"#_pos"_rect"; \
|
||||
rel1.offset: 3 0; \
|
||||
rel2.offset: -4 -1; \
|
||||
text.style: "calendar_date_style"; \
|
||||
text.min: 1 1; \
|
||||
text.ellipsis: -1; \
|
||||
offscale; \
|
||||
} \
|
||||
description { state: "holiday" 0.0; \
|
||||
inherit: "default" 0.0; \
|
||||
|
@ -249,20 +203,13 @@
|
|||
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; \
|
||||
rel.to: "cit_"#_pos"_rect"; \
|
||||
rel1.relative: 0.6 0.5; \
|
||||
min: 15 15; \
|
||||
max: 15 15; \
|
||||
align: 0.0 1.0;\
|
||||
image.normal: "icon_border_remember.png"; \
|
||||
color_class: "calendar_day_checked"; \
|
||||
image.normal: "i-check"; \
|
||||
color: 53 153 255 255; \
|
||||
visible: 0; \
|
||||
} \
|
||||
description { state: "visible" 0.0; \
|
||||
|
@ -272,8 +219,7 @@
|
|||
} \
|
||||
part { name: "elm.cit_"#_pos".access"; type: RECT; repeat_events: 1; \
|
||||
description { state: "default" 0.0; \
|
||||
rel1.to: "cit_"#_pos"_event"; \
|
||||
rel2.to: "cit_"#_pos"_event"; \
|
||||
rel.to: "cit_"#_pos"_event"; \
|
||||
color: 0 0 0 0; \
|
||||
} \
|
||||
} \
|
||||
|
@ -283,7 +229,6 @@
|
|||
signal: "cit_"#_pos",selected"; \
|
||||
source: "elm"; \
|
||||
action: STATE_SET "selected" 0.0; \
|
||||
target: "cit_"#_pos"_pat"; \
|
||||
target: "cit_"#_pos"_selected"; \
|
||||
} \
|
||||
program { \
|
||||
|
@ -291,7 +236,6 @@
|
|||
signal: "cit_"#_pos",unselected"; \
|
||||
source: "elm"; \
|
||||
action: STATE_SET "default" 0.0; \
|
||||
target: "cit_"#_pos"_pat"; \
|
||||
target: "cit_"#_pos"_selected"; \
|
||||
} \
|
||||
program { \
|
||||
|
@ -302,7 +246,7 @@
|
|||
set_int(item_focus_enabled, 1); \
|
||||
set_int(last_focused_item, _pos); \
|
||||
if (get_int(win_focus_enabled) == 1) \
|
||||
set_state(PART:"cit_"#_pos"_glow", "focused", 0.0); \
|
||||
set_state(PART:"cit_"#_pos"_focus", "selected", 0.0); \
|
||||
} \
|
||||
} \
|
||||
program { \
|
||||
|
@ -311,7 +255,7 @@
|
|||
source: "elm"; \
|
||||
script { \
|
||||
set_int(item_focus_enabled, 0); \
|
||||
set_state(PART:"cit_"#_pos"_glow", "default", 0.0); \
|
||||
set_state(PART:"cit_"#_pos"_focus", "default", 0.0); \
|
||||
} \
|
||||
} \
|
||||
program { \
|
||||
|
@ -320,6 +264,7 @@
|
|||
source: "elm"; \
|
||||
action: STATE_SET "today" 0.0; \
|
||||
target: "elm.cit_"#_pos".text"; \
|
||||
target: "cit_"#_pos"_event";\
|
||||
} \
|
||||
program { \
|
||||
name: "cit_"#_pos"_not_today"; \
|
||||
|
@ -327,6 +272,7 @@
|
|||
source: "elm"; \
|
||||
action: STATE_SET "default" 0.0; \
|
||||
target: "elm.cit_"#_pos".text"; \
|
||||
target: "cit_"#_pos"_event";\
|
||||
} \
|
||||
program { \
|
||||
name: "cit_"#_pos"_enable"; \
|
||||
|
@ -351,15 +297,15 @@
|
|||
source: "cit_"#_pos"_clicked"; \
|
||||
signal: "mouse,down,1"; \
|
||||
source: "cit_"#_pos"_event"; \
|
||||
action: STATE_SET "highlighted" 0.0; \
|
||||
target: "cit_"#_pos"_selected2"; \
|
||||
action: STATE_SET "selected" 0.0; \
|
||||
target: "cit_"#_pos"_selected"; \
|
||||
} \
|
||||
program { \
|
||||
source: "cit_"#_pos"_clicked"; \
|
||||
signal: "mouse,up,1"; \
|
||||
source: "cit_"#_pos"_event"; \
|
||||
action: STATE_SET "default" 0.0; \
|
||||
target: "cit_"#_pos"_selected2"; \
|
||||
target: "cit_"#_pos"_selected"; \
|
||||
} \
|
||||
program { \
|
||||
source: "cit_"#_pos"_clicked"; \
|
||||
|
@ -442,14 +388,6 @@
|
|||
}
|
||||
|
||||
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: "box_glow.png" COMP;
|
||||
images.image: "diagonal_stripes.png" COMP;
|
||||
data.item: "focus_highlight" "on";
|
||||
script {
|
||||
public rtl;
|
||||
|
@ -462,28 +400,30 @@ group { name: "elm/calendar/base/default";
|
|||
}
|
||||
parts {
|
||||
part { name: "bg"; type: SPACER;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
rel1.offset: 1 1;
|
||||
rel2.offset: -2 -2;
|
||||
rel1.offset: 8 8;
|
||||
rel2.offset: -9 -9;
|
||||
offscale;
|
||||
}
|
||||
}
|
||||
part { name: "elm.swallow.background"; type: SWALLOW;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "bg";
|
||||
rel2.to: "bg";
|
||||
rel.to: "bg";
|
||||
}
|
||||
}
|
||||
part { name: "spinner-base1"; type: SPACER;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
min: 24 16;
|
||||
max: 999999 16;
|
||||
rel1.to: "bg";
|
||||
rel2.to: "bg";
|
||||
rel.to: "bg";
|
||||
rel2.relative: 1.0 (1/8);
|
||||
align: 0.5 0.0;
|
||||
}
|
||||
}
|
||||
part { name: "table-base"; type: SPACER;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
min: 70 60;
|
||||
rel1.to_x: "bg";
|
||||
|
@ -492,29 +432,31 @@ group { name: "elm/calendar/base/default";
|
|||
rel1.relative: 0.0 1.0;
|
||||
rel2.to: "bg";
|
||||
rel2.offset: -4 -4;
|
||||
offscale;
|
||||
}
|
||||
}
|
||||
part { name: "header"; type: SPACER;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "table-base";
|
||||
rel2.to: "table-base";
|
||||
rel.to: "table-base";
|
||||
rel2.relative: 1.0 (1/7);
|
||||
align: 0.5 0.0;
|
||||
min: 0 16;
|
||||
min: 0 25;
|
||||
}
|
||||
}
|
||||
part { name: "header_separator"; mouse_events: 0;
|
||||
part { name: "header_separator"; type: RECT; mouse_events: 0;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
fixed: 1 1;
|
||||
rel1.to: "header";
|
||||
rel.to: "header";
|
||||
rel1.relative: 0.0 1.0;
|
||||
rel1.offset: 0 -2;
|
||||
rel2.to: "header";
|
||||
image.normal: "separator_horiz.png";
|
||||
fill.smooth: 0;
|
||||
rel1.offset: 8 -1;
|
||||
rel2.offset: -9 -1;
|
||||
color: 80 80 80 255;
|
||||
offscale;
|
||||
}
|
||||
}
|
||||
part { name: "base"; type: SPACER;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to_x: "table-base";
|
||||
rel1.to_y: "header";
|
||||
|
@ -522,6 +464,7 @@ group { name: "elm/calendar/base/default";
|
|||
rel1.offset: 3 0;
|
||||
rel2.to: "table-base";
|
||||
rel2.offset: -3 0;
|
||||
offscale;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -562,18 +505,20 @@ group { name: "elm/calendar/base/double_spinners";
|
|||
inherit: "elm/calendar/base/default";
|
||||
parts {
|
||||
part { name: "spinner-base1"; type: SPACER;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
min: 24 24;
|
||||
max: 999999 24;
|
||||
rel1.to: "bg";
|
||||
rel.to: "bg";
|
||||
rel1.offset: 6 6;
|
||||
rel2.to: "bg";
|
||||
rel2.relative: 0.5 1.0;
|
||||
rel2.offset: -7 -7;
|
||||
align: 0.0 0.0;
|
||||
offscale;
|
||||
}
|
||||
}
|
||||
part { name: "spinner-base2"; type: SPACER;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
min: 24 24;
|
||||
max: 999999 24;
|
||||
|
@ -584,6 +529,7 @@ group { name: "elm/calendar/base/double_spinners";
|
|||
rel2.to: "bg";
|
||||
rel2.offset: -7 -7;
|
||||
align: 0.0 0.0;
|
||||
offscale;
|
||||
}
|
||||
}
|
||||
CAL_SPIN(,month_text, spinner-base1)
|
||||
|
@ -591,6 +537,7 @@ group { name: "elm/calendar/base/double_spinners";
|
|||
}
|
||||
}
|
||||
|
||||
#undef CIT_STYLES
|
||||
#undef CAL_SPIN
|
||||
#undef CIT
|
||||
#undef CH
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1,17 +1,23 @@
|
|||
#define IC(_NAME, _ICON) \
|
||||
set { name: _NAME; \
|
||||
image {image: _ICON"-060.png" COMP; size: 31 31 60000 60000; } \
|
||||
image {image: _ICON"-030.png" COMP; size: 16 16 30 30; } \
|
||||
image {image: _ICON"-015.png" COMP; size: 0 0 15 15; } \
|
||||
}
|
||||
IC("ic-arrow-u", "arrow-u")
|
||||
IC("ic-arrow-d", "arrow-d")
|
||||
|
||||
group { name: "elm/clock/flipdigit/default";
|
||||
images.image: "O/digit_na.png" COMP;
|
||||
images.image: "O/digit_0.png" COMP;
|
||||
images.image: "O/digit_1.png" COMP;
|
||||
images.image: "O/digit_2.png" COMP;
|
||||
images.image: "O/digit_3.png" COMP;
|
||||
images.image: "O/digit_4.png" COMP;
|
||||
images.image: "O/digit_5.png" COMP;
|
||||
images.image: "O/digit_6.png" COMP;
|
||||
images.image: "O/digit_7.png" COMP;
|
||||
images.image: "O/digit_8.png" COMP;
|
||||
images.image: "O/digit_9.png" COMP;
|
||||
images.image: "icon_arrow_up.png" COMP;
|
||||
images.image: "icon_arrow_down.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;
|
||||
script {
|
||||
public v0_cur, v0_lock, v0_next;
|
||||
|
||||
|
@ -36,51 +42,39 @@ group { name: "elm/clock/flipdigit/default";
|
|||
set_int(v0_cur, value);
|
||||
set_int(v0_lock, 1);
|
||||
snprintf(buf, 10, "%i", get_int(v0_cur));
|
||||
set_state(PART:"O/digit", buf, 0.0);
|
||||
set_state(PART:"digit", buf, 0.0);
|
||||
anim(1.0, "animator1", 1);
|
||||
}
|
||||
}
|
||||
}
|
||||
parts {
|
||||
part { name: "O/digit_bg";
|
||||
part { name: "b"; type: RECT;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "O/digit";
|
||||
rel2.to: "O/digit";
|
||||
image.normal: "O/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;
|
||||
min: 20 20;
|
||||
}
|
||||
description { state: "visible" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
visible: 1;
|
||||
}
|
||||
}
|
||||
part { name: "t";
|
||||
type: RECT;
|
||||
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;
|
||||
min: 20 20;
|
||||
}
|
||||
description { state: "visible" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
visible: 1;
|
||||
}
|
||||
}
|
||||
part { name: "O/digit";
|
||||
mouse_events: 0;
|
||||
part { name: "digit"; mouse_events: 0;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to_y: "atop";
|
||||
|
@ -88,12 +82,13 @@ group { name: "elm/clock/flipdigit/default";
|
|||
rel2.to_y: "abot";
|
||||
rel2.relative: 1.0 0.0;
|
||||
aspect: (52/72) (52/72); aspect_preference: BOTH;
|
||||
image.normal: "O/digit_0.png";
|
||||
image.normal: "digit_0.png";
|
||||
color: 160 160 160 255;
|
||||
}
|
||||
#define DIGIT_DESC(_DIGIT) \
|
||||
description { state: _DIGIT 0.0; \
|
||||
inherit: "default" 0.0; \
|
||||
image.normal: "O/digit_"_DIGIT".png"; \
|
||||
image.normal: "digit_"_DIGIT".png"; \
|
||||
}
|
||||
DIGIT_DESC("0")
|
||||
DIGIT_DESC("1")
|
||||
|
@ -107,8 +102,7 @@ group { name: "elm/clock/flipdigit/default";
|
|||
DIGIT_DESC("9")
|
||||
}
|
||||
#undef DIGIT_DESC
|
||||
part { name: "atop";
|
||||
mouse_events: 0;
|
||||
part { name: "atop"; mouse_events: 0;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
visible: 0;
|
||||
|
@ -116,23 +110,23 @@ group { name: "elm/clock/flipdigit/default";
|
|||
rel2.relative: 1.0 0.2;
|
||||
align: 0.5 0.0;
|
||||
aspect: 1 1; aspect_preference: BOTH;
|
||||
image.normal: "icon_arrow_up.png";
|
||||
image.normal: "ic-arrow-u";
|
||||
color: 160 160 160 255;
|
||||
}
|
||||
description { state: "visible" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
visible: 1;
|
||||
}
|
||||
}
|
||||
part { name: "abot";
|
||||
mouse_events: 0;
|
||||
scale: 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";
|
||||
image.normal: "ic-arrow-d";
|
||||
color: 160 160 160 255;
|
||||
}
|
||||
description { state: "visible" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
|
@ -142,8 +136,7 @@ group { name: "elm/clock/flipdigit/default";
|
|||
part { name: "access.t";
|
||||
type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "t";
|
||||
rel2.to: "t";
|
||||
rel.to: "t";
|
||||
color: 0 0 0 0;
|
||||
visible: 0;
|
||||
}
|
||||
|
@ -155,8 +148,7 @@ group { name: "elm/clock/flipdigit/default";
|
|||
part { name: "access.b";
|
||||
type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "b";
|
||||
rel2.to: "b";
|
||||
rel.to: "b";
|
||||
color: 0 0 0 0;
|
||||
visible: 0;
|
||||
}
|
||||
|
@ -167,85 +159,59 @@ group { name: "elm/clock/flipdigit/default";
|
|||
}
|
||||
}
|
||||
programs {
|
||||
program { name: "load";
|
||||
signal: "load";
|
||||
source: "";
|
||||
program { 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";
|
||||
program { 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";
|
||||
program { 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";
|
||||
program { signal: "mouse,down,1"; source: "t";
|
||||
action: SIGNAL_EMIT "elm,action,up,start" "elm";
|
||||
}
|
||||
program { name: "up,stop";
|
||||
signal: "mouse,up,1";
|
||||
source: "t";
|
||||
program { signal: "mouse,up,1"; source: "t";
|
||||
action: SIGNAL_EMIT "elm,action,up,stop" "elm";
|
||||
}
|
||||
program { name: "down";
|
||||
signal: "mouse,down,1";
|
||||
source: "b";
|
||||
program { signal: "mouse,down,1"; source: "b";
|
||||
action: SIGNAL_EMIT "elm,action,down,start" "elm";
|
||||
}
|
||||
program { name: "down,stop";
|
||||
signal: "mouse,up,1";
|
||||
source: "b";
|
||||
program { 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";
|
||||
program { 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";
|
||||
program { 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";
|
||||
program { 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";
|
||||
program { 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";
|
||||
program { 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";
|
||||
program { signal: "mouse,up,1"; source: "access.b";
|
||||
action: SIGNAL_EMIT "elm,action,down,stop" "elm";
|
||||
}
|
||||
}
|
||||
|
@ -254,30 +220,19 @@ group { name: "elm/clock/flipdigit/default";
|
|||
|
||||
group { name: "elm/clock/flipampm/default";
|
||||
inherit: "elm/clock/flipdigit/default";
|
||||
images.image: "O/digit_nm.png" COMP;
|
||||
images.image: "O/digit_am.png" COMP;
|
||||
images.image: "O/digit_pm.png" COMP;
|
||||
images.image: "digit_am.png" COMP;
|
||||
images.image: "digit_pm.png" COMP;
|
||||
parts {
|
||||
part { name: "O/digit_bg";
|
||||
part { name: "digit"; mouse_events: 0;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "O/digit";
|
||||
rel2.to: "O/digit";
|
||||
image.normal: "O/digit_nm.png";
|
||||
color: 255 255 255 128;
|
||||
}
|
||||
}
|
||||
part { name: "O/digit";
|
||||
mouse_events: 0;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
aspect: (48/31) (48/31); aspect_preference: BOTH;
|
||||
image.normal: "O/digit_am.png";
|
||||
image.normal: "digit_am.png";
|
||||
}
|
||||
#define DIGIT_DESC(_DIGIT, _AMPM) \
|
||||
description { state: _DIGIT 0.0; \
|
||||
inherit: "default" 0.0; \
|
||||
image.normal: "O/digit_"_AMPM".png"; \
|
||||
image.normal: "digit_"_AMPM".png"; \
|
||||
}
|
||||
DIGIT_DESC("0", "am")
|
||||
DIGIT_DESC("1", "pm")
|
||||
|
@ -296,8 +251,8 @@ group { name: "elm/clock/flipampm/default";
|
|||
}
|
||||
|
||||
#define HOLE_PART(_NAME, _R1X, _R1Y, _R2X, _R2Y, _AX, _AY, _OX, _OY, _W, _H) \
|
||||
part { name: _NAME; \
|
||||
mouse_events: 0; \
|
||||
part { name: _NAME; mouse_events: 0; \
|
||||
scale: 1; \
|
||||
description { state: "default" 0.0; \
|
||||
rel1.relative: _R1X _R1Y; \
|
||||
rel1.offset: _OX _OY; \
|
||||
|
@ -307,21 +262,22 @@ group { name: "elm/clock/flipampm/default";
|
|||
min: _W _H; \
|
||||
max: _W _H; \
|
||||
fixed: 1 1; \
|
||||
image.normal: "hole_tiny.png"; \
|
||||
image.normal: "digit_sep.png"; \
|
||||
color: 160 160 160 255; \
|
||||
} \
|
||||
}
|
||||
|
||||
group { name: "elm/clock/base-all/default";
|
||||
images.image: "hole_tiny.png" COMP;
|
||||
images.image: "digit_sep.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)
|
||||
HOLE_PART("c0t", 0.25, 0.5, 0.3125, 0.5, 0.5, 1.0, 0, -2, 2, 2)
|
||||
HOLE_PART("c0b", 0.25, 0.5, 0.3125, 0.5, 0.5, 0.0, 0, 1, 2, 2)
|
||||
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)
|
||||
HOLE_PART("c1t", 0.5625, 0.5, 0.625, 0.5, 0.5, 1.0, 0, -2, 2, 2)
|
||||
HOLE_PART("c1b", 0.5625, 0.5, 0.625, 0.5, 0.5, 0.0, 0, 1, 2, 2)
|
||||
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)
|
||||
|
@ -332,12 +288,12 @@ 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)
|
||||
HOLE_PART("c0t", 0.285714286, 0.5, 0.357142857, 0.5, 0.5, 1.0, 0, -2, 2, 2)
|
||||
HOLE_PART("c0b", 0.285714286, 0.5, 0.357142857, 0.5, 0.5, 0.0, 0, 1, 2, 2)
|
||||
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)
|
||||
HOLE_PART("c1t", 0.642857143, 0.5, 0.714285714, 0.5, 0.5, 1.0, 0, -2, 2, 2)
|
||||
HOLE_PART("c1b", 0.642857143, 0.5, 0.714285714, 0.5, 0.5, 0.0, 0, 1, 2, 2)
|
||||
SWALLOW_PART("d4", 0.714285714, 0.0, 0.857142857, 1.0)
|
||||
SWALLOW_PART("d5", 0.857142857, 0.0, 1.0, 1.0)
|
||||
}
|
||||
|
@ -348,8 +304,8 @@ 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)
|
||||
HOLE_PART("c0t", 0.363636364, 0.5, 0.454545455, 0.5, 0.5, 1.0, 0, -2, 2, 2)
|
||||
HOLE_PART("c0b", 0.363636364, 0.5, 0.454545455, 0.5, 0.5, 0.0, 0, 1, 2, 2)
|
||||
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)
|
||||
|
@ -359,8 +315,7 @@ group { name: "elm/clock/base-am_pm/default";
|
|||
///////////////////////////////////////////////////////////////////////////////
|
||||
group { name: "elm/clock/base/default";
|
||||
parts {
|
||||
part { name: "base";
|
||||
type: RECT;
|
||||
part { name: "base"; type: RECT;
|
||||
scale : 1;
|
||||
description { state: "default" 0.0;
|
||||
color: 0 0 0 0;
|
||||
|
@ -373,21 +328,17 @@ group { name: "elm/clock/base/default";
|
|||
}
|
||||
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)
|
||||
HOLE_PART("c0t", 0.444444444, 0.5, 0.555555556, 0.5, 0.5, 1.0, 0, -2, 2, 2)
|
||||
HOLE_PART("c0b", 0.444444444, 0.5, 0.555555556, 0.5, 0.5, 0.0, 0, 1, 2, 2)
|
||||
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";
|
||||
program { 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";
|
||||
program { signal: "elm,state,access,off"; source: "elm";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "base";
|
||||
}
|
||||
|
|
|
@ -10,19 +10,14 @@ group { name: "elm/code/layout/default";
|
|||
description { state: "default" 0.0;
|
||||
align: 0.5 0.0;
|
||||
fixed: 0 1;
|
||||
|
||||
rel2 {
|
||||
relative: 1.0 1.0;
|
||||
offset: 0 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
color_classes {
|
||||
color_class { name: "elm/code/status/default"; color: 36 36 36 255; }
|
||||
color_class { name: "elm/code/status/current"; color: 12 12 12 255; }
|
||||
color_class { name: "elm/code/status/default"; color: 48 48 48 255; }
|
||||
color_class { name: "elm/code/status/current"; color: 32 32 32 255; }
|
||||
color_class { name: "elm/code/status/ignored"; color: 36 36 36 255; }
|
||||
color_class { name: "elm/code/status/note"; color: 221 119 17 255; }
|
||||
color_class { name: "elm/code/status/warning"; color: 221 119 17 255; }
|
||||
|
@ -35,8 +30,8 @@ color_classes {
|
|||
color_class { name: "elm/code/status/failed"; color: 96 54 54 255; }
|
||||
color_class { name: "elm/code/status/todo"; color: 51 85 187 255; }
|
||||
|
||||
color_class { name: "elm/code/token/default"; color: 187 187 187 255; }
|
||||
color_class { name: "elm/code/token/comment"; color: 85 85 85 255; }
|
||||
color_class { name: "elm/code/token/default"; color: 160 160 160 255; }
|
||||
color_class { name: "elm/code/token/comment"; color: 255 255 255 48; }
|
||||
color_class { name: "elm/code/token/string"; color: 255 136 119 255; }
|
||||
color_class { name: "elm/code/token/number"; color: 170 153 34 255; }
|
||||
color_class { name: "elm/code/token/brace"; color: 170 102 170 255; }
|
||||
|
@ -52,8 +47,8 @@ color_classes {
|
|||
color_class { name: "elm/code/token/match"; color: 187 187 51 255; }
|
||||
|
||||
color_class { name: "elm/code/widget/color/selection"; color: 51 153 255 255; }
|
||||
color_class { name: "elm/code/widget/color/gutter/bg"; color: 75 75 75 255; }
|
||||
color_class { name: "elm/code/widget/color/gutter/fg"; color: 139 139 139 255; }
|
||||
color_class { name: "elm/code/widget/color/gutter/bg"; color: 64 64 64 255; }
|
||||
color_class { name: "elm/code/widget/color/gutter/fg"; color: 128 128 128 255; }
|
||||
color_class { name: "elm/code/widget/color/gutter/scope/bg"; color: 54 54 54 255; }
|
||||
color_class { name: "elm/code/widget/color/whitespace"; color: 50 50 50 127; }
|
||||
color_class { name: "elm/code/widget/color/whitespace"; color: 96 96 96 255; }
|
||||
}
|
||||
|
|
|
@ -164,6 +164,7 @@ group { "elm/layout/colorclass/base"; program_source: "elm"; nobroadcast;
|
|||
}
|
||||
|
||||
group { "colorclass/colors"; program_source: "elm"; nobroadcast;
|
||||
images.image: "box_glow.png" COMP;
|
||||
parts {
|
||||
group { "color1"; source: "colorclass/color1";
|
||||
desc { min: 1 1; max: 1 1; hid;
|
||||
|
|
|
@ -1,124 +1,120 @@
|
|||
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;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
fixed: 0 1;
|
||||
align: 0.5 0.0;
|
||||
rel2.relative: 1.0 0.0;
|
||||
offscale;
|
||||
}
|
||||
}
|
||||
part { name: "sep1";
|
||||
part { name: "sep1"; type: RECT;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
fixed: 1 1;
|
||||
rel1.to_y: "elm.picker";
|
||||
rel1.offset: 4 4;
|
||||
rel1.offset: 5 2;
|
||||
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;
|
||||
rel2.offset: -6 2;
|
||||
min: 64 1;
|
||||
max: 99999 1;
|
||||
color: 72 72 72 255;
|
||||
offscale;
|
||||
}
|
||||
description { state: "off" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
rel1.offset: 4 -2;
|
||||
rel2.offset: -5 -1;
|
||||
rel1.offset: 5 -1;
|
||||
rel2.offset: -6 -1;
|
||||
min: 0 0;
|
||||
visible: 0;
|
||||
}
|
||||
}
|
||||
part { name: "elm.palette"; type: SWALLOW;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
align: 0.5 0.0;
|
||||
rel1.to_y: "sep1";
|
||||
rel1.relative: 0.0 1.0;
|
||||
rel1.offset: 0 4;
|
||||
rel1.offset: 0 2;
|
||||
rel2.to_y: "sep2";
|
||||
rel2.relative: 1.0 0.0;
|
||||
rel2.offset: -1 -5;
|
||||
rel2.offset: -1 -3;
|
||||
offscale;
|
||||
}
|
||||
description { state: "off" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
rel1.offset: 0 0;
|
||||
rel2.offset: -1 -1;
|
||||
rel1.offset: 0 -1;
|
||||
rel2.offset: -1 0;
|
||||
}
|
||||
}
|
||||
part { name: "sep2";
|
||||
part { name: "sep2"; type: RECT;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
fixed: 1 1;
|
||||
rel1.to_y: "elm.selector";
|
||||
rel1.offset: 4 -6;
|
||||
rel1.offset: 5 -3;
|
||||
rel2.to_y: "elm.selector";
|
||||
rel2.offset: -5 -5;
|
||||
rel2.offset: -6 -3;
|
||||
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;
|
||||
min: 64 1;
|
||||
max: 99999 1;
|
||||
color: 72 72 72 255;
|
||||
offscale;
|
||||
}
|
||||
description { state: "off" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
rel1.offset: 4 0;
|
||||
rel2.offset: -5 1;
|
||||
rel1.offset: 5 0;
|
||||
rel2.offset: -6 0;
|
||||
min: 0 0;
|
||||
visible: 0;
|
||||
}
|
||||
}
|
||||
part { name: "elm.selector"; type: SWALLOW;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
fixed: 0 1;
|
||||
align: 0.0 1.0;
|
||||
rel1.relative: 0.0 1.0;
|
||||
offscale;
|
||||
}
|
||||
}
|
||||
}
|
||||
programs {
|
||||
program {
|
||||
source: "elm"; signal: "elm,state,palette";
|
||||
program { signal: "elm,state,palette"; source: "elm";
|
||||
action: STATE_SET "off" 0.0;
|
||||
target: "sep1";
|
||||
target: "sep2";
|
||||
}
|
||||
program {
|
||||
source: "elm"; signal: "elm,state,palette";
|
||||
program { signal: "elm,state,palette"; source: "elm";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "elm.palette";
|
||||
}
|
||||
|
||||
program {
|
||||
source: "elm"; signal: "elm,state,components";
|
||||
program { signal: "elm,state,components"; source: "elm";
|
||||
action: STATE_SET "off" 0.0;
|
||||
target: "sep1";
|
||||
target: "sep2";
|
||||
target: "elm.palette";
|
||||
}
|
||||
|
||||
program {
|
||||
source: "elm"; signal: "elm,state,both";
|
||||
program { signal: "elm,state,both"; source: "elm";
|
||||
action: STATE_SET "off" 0.0;
|
||||
target: "sep1";
|
||||
}
|
||||
program {
|
||||
source: "elm"; signal: "elm,state,both";
|
||||
program { signal: "elm,state,both"; source: "elm";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "elm.palette";
|
||||
target: "sep2";
|
||||
}
|
||||
|
||||
program {
|
||||
source: "elm"; signal: "elm,state,picker";
|
||||
program { signal: "elm,state,picker"; source: "elm";
|
||||
action: STATE_SET "off" 0.0;
|
||||
target: "sep1";
|
||||
target: "sep2";
|
||||
target: "elm.palette";
|
||||
}
|
||||
|
||||
program {
|
||||
source: "elm"; signal: "elm,state,all";
|
||||
program { signal: "elm,state,all"; source: "elm";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "sep1";
|
||||
target: "sep2";
|
||||
|
@ -131,14 +127,39 @@ group { name: "elm/colorselector/picker/base/default";
|
|||
parts {
|
||||
part { name: "elm.swallow.picker"; type: SWALLOW;
|
||||
description { state: "default" 0.0;
|
||||
min: 90 90;
|
||||
min: 80 80;
|
||||
rel2 {
|
||||
relative: 0.0 1.0;
|
||||
to_x: "elm.label.red";
|
||||
to_x: "sp1";
|
||||
}
|
||||
}
|
||||
}
|
||||
part { name: "sp1"; type: SPACER;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "elm.label.red";
|
||||
rel2.to: "elm.label.green";
|
||||
rel1.relative: 0.0 1.0;
|
||||
align: 0.0 0.5;
|
||||
}
|
||||
}
|
||||
part { name: "sp2"; type: SPACER;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "elm.label.blue";
|
||||
rel2.to: "elm.label.alpha";
|
||||
rel1.relative: 0.0 1.0;
|
||||
align: 0.0 0.5;
|
||||
}
|
||||
}
|
||||
part { name: "sp3"; type: SPACER;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "sp1";
|
||||
rel2.to: "sp2";
|
||||
rel1.relative: 0.0 1.0;
|
||||
align: 0.0 0.5;
|
||||
}
|
||||
}
|
||||
part { name: "elm.label.red"; type: TEXT;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
align: 1.0 0.0;
|
||||
min: 15 0;
|
||||
|
@ -146,45 +167,52 @@ group { name: "elm/colorselector/picker/base/default";
|
|||
rel2 {
|
||||
relative: 0.0 1.0;
|
||||
to: "elm.swallow.red";
|
||||
offset: -3 -1;
|
||||
}
|
||||
text {
|
||||
font: "Sans";
|
||||
size: 10;
|
||||
font: FN; size: 10;
|
||||
ellipsis: -1;
|
||||
}
|
||||
color: 160 160 160 255;
|
||||
offscale;
|
||||
}
|
||||
}
|
||||
part { name: "elm.swallow.red"; type: SWALLOW;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
align: 1.0 0.0;
|
||||
min: 60 20;
|
||||
max: 60 20;
|
||||
min: 80 20;
|
||||
max: 80 20;
|
||||
}
|
||||
}
|
||||
part { name: "elm.label.green"; type: TEXT;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
min: 15 0;
|
||||
max: 15 -1;
|
||||
rel1 {
|
||||
relative: 0.0 1.0;
|
||||
to: "elm.label.red";
|
||||
offset: -3 -1;
|
||||
}
|
||||
rel2 {
|
||||
relative: 0.0 1.0;
|
||||
to: "elm.swallow.green";
|
||||
}
|
||||
text {
|
||||
font: "Sans";
|
||||
size: 10;
|
||||
font: FN; size: 10;
|
||||
ellipsis: -1;
|
||||
}
|
||||
color: 160 160 160 255;
|
||||
offscale;
|
||||
}
|
||||
}
|
||||
part { name: "elm.swallow.green"; type: SWALLOW;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
align: 1.0 0.0;
|
||||
min: 60 20;
|
||||
max: 60 20;
|
||||
min: 80 20;
|
||||
max: 80 20;
|
||||
rel1 {
|
||||
relative: 0.0 1.0;
|
||||
to: "elm.swallow.red";
|
||||
|
@ -192,29 +220,33 @@ group { name: "elm/colorselector/picker/base/default";
|
|||
}
|
||||
}
|
||||
part { name: "elm.label.blue"; type: TEXT;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
min: 15 0;
|
||||
max: 15 -1;
|
||||
rel1 {
|
||||
relative: 0.0 1.0;
|
||||
to: "elm.label.green";
|
||||
offset: -3 -1;
|
||||
}
|
||||
rel2 {
|
||||
relative: 0.0 1.0;
|
||||
to: "elm.swallow.blue";
|
||||
}
|
||||
text {
|
||||
font: "Sans";
|
||||
size: 10;
|
||||
font: FN; size: 10;
|
||||
ellipsis: -1;
|
||||
}
|
||||
color: 160 160 160 255;
|
||||
offscale;
|
||||
}
|
||||
}
|
||||
part { name: "elm.swallow.blue"; type: SWALLOW;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
align: 1.0 0.0;
|
||||
min: 60 20;
|
||||
max: 60 20;
|
||||
min: 80 20;
|
||||
max: 80 20;
|
||||
rel1 {
|
||||
relative: 0.0 1.0;
|
||||
to: "elm.swallow.green";
|
||||
|
@ -222,29 +254,33 @@ group { name: "elm/colorselector/picker/base/default";
|
|||
}
|
||||
}
|
||||
part { name: "elm.label.alpha"; type: TEXT;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
min: 15 0;
|
||||
max: 15 -1;
|
||||
rel1 {
|
||||
relative: 0.0 1.0;
|
||||
to: "elm.label.blue";
|
||||
offset: -3 -1;
|
||||
}
|
||||
rel2 {
|
||||
relative: 0.0 1.0;
|
||||
to: "elm.swallow.alpha";
|
||||
}
|
||||
text {
|
||||
font: "Sans";
|
||||
size: 10;
|
||||
font: FN; size: 10;
|
||||
ellipsis: -1;
|
||||
}
|
||||
color: 160 160 160 255;
|
||||
offscale;
|
||||
}
|
||||
}
|
||||
part { name: "elm.swallow.alpha"; type: SWALLOW;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
align: 1.0 0.0;
|
||||
min: 60 20;
|
||||
max: 60 20;
|
||||
min: 80 20;
|
||||
max: 80 20;
|
||||
rel1 {
|
||||
relative: 0.0 1.0;
|
||||
to: "elm.swallow.blue";
|
||||
|
@ -255,61 +291,37 @@ group { name: "elm/colorselector/picker/base/default";
|
|||
}
|
||||
|
||||
group { name: "elm/colorselector/picker/default";
|
||||
images.image: "inset_shadow.png" COMP;
|
||||
images.image: "bevel_in.png" COMP;
|
||||
images.image: "dot_pattern.png" COMP;
|
||||
images.image: "diagonal_stripes.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;
|
||||
min: 16 16;
|
||||
rel.to: "elm.picker";
|
||||
color: 32 32 32 255;
|
||||
}
|
||||
}
|
||||
part { name: "pat";
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "bg";
|
||||
rel2.to: "bg";
|
||||
image.normal: "dot_pattern.png";
|
||||
TILED_PATTERN(256, 256)
|
||||
rel.to: "bg";
|
||||
image.normal: "diagonal_stripes.png";
|
||||
color: 255 255 255 16;
|
||||
TILED_PATTERN(240, 240)
|
||||
}
|
||||
}
|
||||
part { name: "clipper"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "elm.picker";
|
||||
rel2.to: "elm.picker";
|
||||
rel.to: "elm.picker";
|
||||
}
|
||||
}
|
||||
part { name: "elm.picker"; type: SWALLOW;
|
||||
clip_to: "clipper";
|
||||
scale: 1;
|
||||
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;
|
||||
min: 16 16;
|
||||
rel1.offset: 5 5;
|
||||
rel2.offset: -6 -6;
|
||||
offscale;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -355,85 +367,49 @@ group { name: "elm/colorselector/bg/default";
|
|||
}
|
||||
|
||||
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;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
min: 32 15;
|
||||
rel1.offset: 0 10;
|
||||
min: 80 20;
|
||||
rel1.offset: 5 25;
|
||||
rel1.to_x: "elm.arrow_bg";
|
||||
rel2.offset: -1 -11;
|
||||
rel2.offset: -6 -6;
|
||||
rel2.to_x: "elm.arrow_bg";
|
||||
offscale;
|
||||
}
|
||||
}
|
||||
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;
|
||||
rel.to: "elm.bar_bg";
|
||||
}
|
||||
}
|
||||
|
||||
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;
|
||||
dragable {
|
||||
confine: "elm.bar_bg";
|
||||
x: 1 1 0;
|
||||
y: 0 0 0;
|
||||
}
|
||||
description { state: "default" 0.0;
|
||||
fixed: 1 1;
|
||||
min: 1 1;
|
||||
rel1.to_x: "elm.arrow_bg";
|
||||
rel2.to_x: "elm.arrow_bg";
|
||||
rel1.to_x: "elm.bar_bg";
|
||||
rel2.to_x: "elm.bar_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;
|
||||
|
@ -444,58 +420,18 @@ group { name: "elm/colorselector/base/default";
|
|||
}
|
||||
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);
|
||||
min: 24 24;
|
||||
max: 24 24;
|
||||
align: 0.5 1.0;
|
||||
rel1.to_x: "elm.arrow";
|
||||
rel1.to_y: "shadow";
|
||||
rel1.to_y: "elm.bar";
|
||||
rel2.relative: 1.0 0.0;
|
||||
rel2.to_x: "elm.arrow";
|
||||
rel2.to_y: "shadow";
|
||||
}
|
||||
}
|
||||
part { name: "end1"; mouse_events: 0;
|
||||
clip_to: "clipper";
|
||||
scale: 1;
|
||||
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";
|
||||
scale: 1;
|
||||
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";
|
||||
rel2.to_y: "elm.bar";
|
||||
}
|
||||
}
|
||||
part { name: "cursor"; type: RECT;
|
||||
|
@ -503,10 +439,10 @@ group { name: "elm/colorselector/base/default";
|
|||
fixed: 1 1;
|
||||
min: 1 1;
|
||||
rel1.to_x: "elm.arrow_icon";
|
||||
rel1.to_y: "shadow";
|
||||
rel1.to_y: "elm.bar";
|
||||
rel1.relative: 0.5 0.0;
|
||||
rel2.to_x: "elm.arrow_icon";
|
||||
rel2.to_y: "shadow";
|
||||
rel2.to_y: "elm.bar";
|
||||
rel2.relative: 0.5 1.0;
|
||||
rel2.offset: 0 -1;
|
||||
color: 255 255 255 255;
|
||||
|
@ -516,8 +452,7 @@ group { name: "elm/colorselector/base/default";
|
|||
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";
|
||||
rel.to: "elm.arrow_bg";
|
||||
color: 0 0 0 0;
|
||||
}
|
||||
}
|
||||
|
@ -525,7 +460,7 @@ group { name: "elm/colorselector/base/default";
|
|||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
fixed: 1 1;
|
||||
min: 17 17;
|
||||
min: 24 24;
|
||||
rel1.relative: 0.0 0.0;
|
||||
rel1.to_y: "elm.bar_bg";
|
||||
rel2.relative: 0.0 1.0;
|
||||
|
@ -537,7 +472,7 @@ group { name: "elm/colorselector/base/default";
|
|||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
fixed: 1 1;
|
||||
min: 17 17;
|
||||
min: 24 24;
|
||||
rel1.relative: 1.0 0.0;
|
||||
rel1.to_y: "elm.bar_bg";
|
||||
rel2.relative: 1.0 1.0;
|
||||
|
@ -549,26 +484,21 @@ group { name: "elm/colorselector/base/default";
|
|||
}
|
||||
|
||||
group { name: "elm/colorselector/arrow/default";
|
||||
images.image: "ring_white_middle.png" COMP;
|
||||
parts {
|
||||
part { name: "base";
|
||||
part { name: "base"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
aspect: 1.0 1.0; aspect_preference: BOTH;
|
||||
image.normal: "ring_white_middle.png";
|
||||
color: 255 255 255 255;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
group{ name: "elm/colorselector/image/colorbar_0/default";
|
||||
images {
|
||||
image: "color_picker_color.png" COMP;
|
||||
}
|
||||
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";
|
||||
}
|
||||
}
|
||||
|
@ -609,50 +539,54 @@ group { name: "elm/colorselector/image/colorbar_3/default";
|
|||
}
|
||||
|
||||
group { name: "elm/colorselector/bg_image/colorbar_3/default";
|
||||
images.image: "dot_pattern.png" COMP;
|
||||
images.image: "diagonal_stripes.png" COMP;
|
||||
parts {
|
||||
part { name: "bg"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
color: 48 48 48 255;
|
||||
color: 32 32 32 255;
|
||||
}
|
||||
}
|
||||
part { name: "pat";
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "bg";
|
||||
rel2.to: "bg";
|
||||
image.normal: "dot_pattern.png";
|
||||
TILED_PATTERN(256, 256)
|
||||
rel.to: "bg";
|
||||
image.normal: "diagonal_stripes.png";
|
||||
color: 255 255 255 16;
|
||||
TILED_PATTERN(240, 240)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
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;
|
||||
images.image: "diagonal_stripes.png" COMP;
|
||||
parts {
|
||||
part { name: "sel"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
color: 51 153 255 0;
|
||||
}
|
||||
description { state: "focused" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: 51 153 255 255;
|
||||
}
|
||||
}
|
||||
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;
|
||||
min: 16 16;
|
||||
rel.to: "color_obj";
|
||||
color: 32 32 32 255;
|
||||
}
|
||||
}
|
||||
part { name: "pat";
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "bg";
|
||||
rel2.to: "bg";
|
||||
image.normal: "dot_pattern.png";
|
||||
TILED_PATTERN(256, 256)
|
||||
rel.to: "bg";
|
||||
image.normal: "diagonal_stripes.png";
|
||||
color: 255 255 255 16;
|
||||
TILED_PATTERN(240, 240)
|
||||
}
|
||||
}
|
||||
part { name: "clipper"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "color_obj";
|
||||
rel2.to: "color_obj";
|
||||
}
|
||||
description { state: "disabled" 0.0;
|
||||
|
@ -662,90 +596,35 @@ group { name: "elm/colorselector/item/default";
|
|||
}
|
||||
alias: "color_obj" "elm.swallow.color_obj";
|
||||
part { name: "elm.swallow.color_obj"; type: SWALLOW;
|
||||
scale: 1;
|
||||
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;
|
||||
min: 16 16;
|
||||
rel1.offset: 5 5;
|
||||
rel2.offset: -6 -6;
|
||||
offscale;
|
||||
}
|
||||
}
|
||||
}
|
||||
programs {
|
||||
program {
|
||||
source: "elm"; signal: "elm,state,selected";
|
||||
program { signal: "elm,state,selected"; source: "elm";
|
||||
action: STATE_SET "focused" 0.0;
|
||||
transition: DECELERATE 0.1;
|
||||
target: "glow";
|
||||
target: "dim";
|
||||
target: "sel";
|
||||
}
|
||||
program {
|
||||
source: "elm"; signal: "elm,state,unselected";
|
||||
program { signal: "elm,state,unselected"; source: "elm";
|
||||
action: STATE_SET "default" 0.0;
|
||||
transition: DECELERATE 0.5;
|
||||
target: "glow";
|
||||
target: "dim";
|
||||
transition: DECELERATE 0.2;
|
||||
target: "sel";
|
||||
}
|
||||
program {
|
||||
signal: "elm,anim,activate"; source: "elm";
|
||||
program { signal: "elm,anim,activate"; source: "elm";
|
||||
action: STATE_SET "focused" 0.0;
|
||||
transition: DECELERATE 0.1;
|
||||
target: "glow";
|
||||
target: "dim";
|
||||
target: "sel";
|
||||
after: "active2";
|
||||
}
|
||||
program { name: "active2";
|
||||
action: STATE_SET "default" 0.0;
|
||||
transition: DECELERATE 0.8;
|
||||
target: "glow";
|
||||
target: "dim";
|
||||
transition: DECELERATE 0.2;
|
||||
target: "sel";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -17,61 +17,55 @@ group { name: "elm/ctxpopup/bg/default";
|
|||
}
|
||||
description { state: "visible" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: 0 0 0 192;
|
||||
color: 0 0 0 64;
|
||||
}
|
||||
}
|
||||
}
|
||||
programs {
|
||||
program {
|
||||
signal: "mouse,clicked,*"; source: "base";
|
||||
program { signal: "mouse,clicked,*"; source: "base";
|
||||
action: SIGNAL_EMIT "elm,action,click" "elm";
|
||||
}
|
||||
program {
|
||||
signal: "elm,state,show"; source: "elm";
|
||||
program { signal: "elm,state,show"; source: "elm";
|
||||
action: STATE_SET "visible" 0.0;
|
||||
transition: LINEAR 0.2;
|
||||
transition: SINUSOIDAL 0.3;
|
||||
target: "base";
|
||||
}
|
||||
program {
|
||||
signal: "elm,state,hide"; source: "elm";
|
||||
program { signal: "elm,state,hide"; source: "elm";
|
||||
action: STATE_SET "default" 0.0;
|
||||
transition: LINEAR 0.3;
|
||||
transition: SINUSOIDAL 0.5;
|
||||
target: "base";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
group { name: "elm/ctxpopup/base/default";
|
||||
images.image: "tooltip-base.png" COMP;
|
||||
parts {
|
||||
part { name: "base";
|
||||
part { name: "base"; type: RECT;
|
||||
clip_to: "clip";
|
||||
description { state: "default" 0.0;
|
||||
image.normal: "tooltip-base.png";
|
||||
image.border: 7 7 6 8;
|
||||
image.middle: SOLID;
|
||||
color_class: "ctxpopup_bg";
|
||||
color: 0 0 0 192;
|
||||
}
|
||||
}
|
||||
part { name: "elm.swallow.background"; type: SWALLOW;
|
||||
clip_to: "clip";
|
||||
description { state: "default" 0.0;
|
||||
fixed: 1 1;
|
||||
rel1.to: "base";
|
||||
rel2.to: "base";
|
||||
rel.to: "base";
|
||||
}
|
||||
}
|
||||
part { name: "elm.swallow.content"; type: SWALLOW;
|
||||
clip_to: "clip";
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
rel1 { to:"base"; offset: 8 6; }
|
||||
rel2 { to:"base"; offset: -7 -8; }
|
||||
rel.to: "base";
|
||||
rel1.offset: 8 8;
|
||||
rel2.offset: -9 -9;
|
||||
offscale;
|
||||
}
|
||||
}
|
||||
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;
|
||||
|
@ -82,8 +76,9 @@ group { name: "elm/ctxpopup/base/default";
|
|||
description { state: "default" 0.0;
|
||||
color: 255 255 255 0;
|
||||
visible: 0;
|
||||
rel1.offset: -20 -20;
|
||||
rel2.offset: 19 19;
|
||||
rel1.offset: -200 -200;
|
||||
rel2.offset: 199 199;
|
||||
fixed: 1 1;
|
||||
}
|
||||
description { state: "visible" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
|
@ -91,113 +86,117 @@ group { name: "elm/ctxpopup/base/default";
|
|||
visible: 1;
|
||||
}
|
||||
}
|
||||
|
||||
// 9x13
|
||||
|
||||
part { name: "arrow_area_left"; type: SPACER;
|
||||
scale : 1;
|
||||
description { state: "default" 0.0;
|
||||
min: 9 13;
|
||||
min: 15 15;
|
||||
fixed: 1 0;
|
||||
align: 1.0 0.5;
|
||||
rel1.to: "base";
|
||||
rel1.offset: 2 5;
|
||||
rel2.to: "base";
|
||||
rel2.offset: 2 -6;
|
||||
align: 0.75 0.5;
|
||||
rel.to: "base";
|
||||
rel1.offset: -5 0;
|
||||
rel2.offset: -5 -1;
|
||||
rel2.relative: 0.0 1.0;
|
||||
offscale;
|
||||
}
|
||||
}
|
||||
part { name: "elm.swallow.arrow_left"; type: SWALLOW; mouse_events: 0;
|
||||
scale : 1;
|
||||
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;
|
||||
min: 15 15;
|
||||
fixed: 1 1;
|
||||
}
|
||||
}
|
||||
|
||||
part { name: "arrow_area_right"; type: SPACER;
|
||||
scale : 1;
|
||||
description { state: "default" 0.0;
|
||||
min: 9 13;
|
||||
min: 15 15;
|
||||
fixed: 1 0;
|
||||
align: 0.0 0.5;
|
||||
rel1.to: "base";
|
||||
rel1.offset: -3 5;
|
||||
align: 0.25 0.5;
|
||||
rel.to: "base";
|
||||
rel1.offset: 4 0;
|
||||
rel1.relative: 1.0 0.0;
|
||||
rel2.to: "base";
|
||||
rel2.offset: -3 -6;
|
||||
rel2.offset: 4 -1;
|
||||
offscale;
|
||||
}
|
||||
}
|
||||
part { name: "elm.swallow.arrow_right"; type: SWALLOW; mouse_events: 0;
|
||||
scale : 1;
|
||||
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;
|
||||
min: 15 15;
|
||||
fixed: 1 1;
|
||||
}
|
||||
}
|
||||
|
||||
// 11x9
|
||||
|
||||
part { name: "arrow_area_up"; type: SPACER;
|
||||
scale : 1;
|
||||
description { state: "default" 0.0;
|
||||
min: 11 9;
|
||||
min: 15 15;
|
||||
fixed: 1 1;
|
||||
align: 0.5 1;
|
||||
rel1.to: "base";
|
||||
rel1.offset: 5 3;
|
||||
rel2.to: "base";
|
||||
rel2.offset: -6 3;
|
||||
align: 0.5 0.75;
|
||||
rel.to: "base";
|
||||
rel1.offset: 0 -5;
|
||||
rel2.offset: -1 -5;
|
||||
rel2.relative: 1.0 0.0;
|
||||
offscale;
|
||||
}
|
||||
}
|
||||
part { name: "elm.swallow.arrow_up"; type: SWALLOW; mouse_events: 0;
|
||||
scale : 1;
|
||||
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;
|
||||
min: 15 15;
|
||||
fixed: 1 1;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
part { name: "arrow_area_down"; type: SPACER;
|
||||
scale : 1;
|
||||
description { state: "default" 0.0;
|
||||
min: 11 9;
|
||||
min: 15 15;
|
||||
fixed: 1 1;
|
||||
align: 0.5 0.0;
|
||||
rel1.to: "base";
|
||||
rel1.offset: 5 -4;
|
||||
align: 0.5 0.25;
|
||||
rel.to: "base";
|
||||
rel1.offset: 0 4;
|
||||
rel1.relative: 0.0 1.0;
|
||||
rel2.to: "base";
|
||||
rel2.offset: -6 -4;
|
||||
rel2.offset: -1 4;
|
||||
offscale;
|
||||
}
|
||||
}
|
||||
part { name: "elm.swallow.arrow_down"; type: SWALLOW; mouse_events: 0;
|
||||
scale : 1;
|
||||
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;
|
||||
min: 15 15;
|
||||
fixed: 1 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
programs {
|
||||
program {
|
||||
signal: "elm,state,show"; source: "elm";
|
||||
program { signal: "elm,state,show"; source: "elm";
|
||||
action: STATE_SET "visible" 0.0;
|
||||
transition: LINEAR 0.2;
|
||||
transition: SINUSOIDAL 0.1;
|
||||
target: "clip";
|
||||
target: "event";
|
||||
}
|
||||
program {
|
||||
signal: "elm,state,hide"; source: "elm";
|
||||
program { signal: "elm,state,hide"; source: "elm";
|
||||
action: STATE_SET "default" 0.0;
|
||||
transition: LINEAR 0.3;
|
||||
transition: SINUSOIDAL 0.3;
|
||||
target: "clip";
|
||||
target: "event";
|
||||
after: "hide2";
|
||||
|
@ -210,66 +209,47 @@ group { name: "elm/ctxpopup/base/default";
|
|||
}
|
||||
|
||||
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";
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
min: 9 9;
|
||||
min: 15 15;
|
||||
fixed: 1 1;
|
||||
image.normal: "tooltip-edge-left-tip.png";
|
||||
color_class: "ctxpopup_bg";
|
||||
image.normal: "i-arrow-l";
|
||||
color: 255 255 255 255;
|
||||
}
|
||||
description { state: "left" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
min: 9 13;
|
||||
align: 0.0 0.5;
|
||||
image.normal: "tooltip-edge-left-tip.png";
|
||||
color_class: "ctxpopup_bg";
|
||||
image.normal: "i-arrow-l";
|
||||
}
|
||||
description { state: "right" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
min: 9 13;
|
||||
align: 1.0 0.5;
|
||||
image.normal: "tooltip-edge-right-tip.png";
|
||||
color_class: "ctxpopup_bg";
|
||||
image.normal: "i-arrow-r";
|
||||
}
|
||||
description { state: "top" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
min: 11 9;
|
||||
align: 0.5 0.0;
|
||||
image.normal: "tooltip-edge-top-tip.png";
|
||||
color_class: "ctxpopup_bg";
|
||||
image.normal: "i-arrow-u";
|
||||
}
|
||||
description { state: "bottom" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
min: 11 9;
|
||||
align: 0.5 1.0;
|
||||
image.normal: "tooltip-edge-bottom-tip.png";
|
||||
color_class: "ctxpopup_bg";
|
||||
image.normal: "i-arrow-d";
|
||||
}
|
||||
}
|
||||
}
|
||||
programs {
|
||||
program {
|
||||
signal: "elm,state,left"; source: "elm";
|
||||
program { signal: "elm,state,left"; source: "elm";
|
||||
action: STATE_SET "left" 0.0;
|
||||
target: "base";
|
||||
}
|
||||
program {
|
||||
signal: "elm,state,right"; source: "elm";
|
||||
program { signal: "elm,state,right"; source: "elm";
|
||||
action: STATE_SET "right" 0.0;
|
||||
target: "base";
|
||||
}
|
||||
program {
|
||||
signal: "elm,state,top"; source: "elm";
|
||||
program { signal: "elm,state,top"; source: "elm";
|
||||
action: STATE_SET "top" 0.0;
|
||||
target: "base";
|
||||
}
|
||||
program {
|
||||
signal: "elm,state,bottom"; source: "elm";
|
||||
program { signal: "elm,state,bottom"; source: "elm";
|
||||
action: STATE_SET "bottom" 0.0;
|
||||
target: "base";
|
||||
}
|
||||
|
|
|
@ -82,6 +82,7 @@ group { name: "elm/cursor/hand1/default";
|
|||
images.image: "pointer_hand1.png" COMP;
|
||||
parts {
|
||||
part { name: "base"; mouse_events: 0; scale: 1;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
FIXED_SIZE(32, 32)
|
||||
image.normal: "pointer_hand1.png";
|
||||
|
@ -89,12 +90,12 @@ group { name: "elm/cursor/hand1/default";
|
|||
}
|
||||
part { name: "elm.swallow.hotspot"; type: SWALLOW;
|
||||
description { state: "default" 0.0;
|
||||
visible: 0;
|
||||
fixed: 1 1;
|
||||
rel1.relative: (26/32) (9/32);
|
||||
visible: 0;
|
||||
rel1.relative: (21/32) (7/32);
|
||||
rel1.to: "base";
|
||||
rel2.to: "base";
|
||||
rel2.relative: (26/32) (9/32);
|
||||
rel2.relative: (21/32) (7/32);
|
||||
rel2.offset: 0 0;
|
||||
}
|
||||
}
|
||||
|
@ -117,25 +118,20 @@ group { name: "elm/cursor/blank/default";
|
|||
}
|
||||
|
||||
group { name: "elm/cursor/xterm/default";
|
||||
images.image: "pointer_entry_bar.png" COMP;
|
||||
images.image: "led_dot_white.png" COMP;
|
||||
images.image: "pointer_entry.png" COMP;
|
||||
parts {
|
||||
part { name: "base"; mouse_events: 0; scale: 1;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
min: 15 20;
|
||||
max: 15 99999;
|
||||
image.normal: "pointer_entry_bar.png";
|
||||
image.border: 0 0 10 10;
|
||||
rel1.offset: 0 2;
|
||||
rel2.offset: -1 -3;
|
||||
image.normal: "pointer_entry.png";
|
||||
FIXED_SIZE(16, 32)
|
||||
}
|
||||
}
|
||||
part { name: "elm.swallow.hotspot"; type: SWALLOW;
|
||||
description { state: "default" 0.0;
|
||||
visible: 0;
|
||||
fixed: 1 1;
|
||||
rel1.to: "base";
|
||||
rel2.to: "base";
|
||||
rel.to: "base";
|
||||
rel1.relative: 0.5 0.5;
|
||||
rel2.relative: 0.5 0.5;
|
||||
rel2.offset: 0 0;
|
||||
|
@ -143,15 +139,5 @@ group { name: "elm/cursor/xterm/default";
|
|||
}
|
||||
/* elm.content.hotspot is the old name for the above part */
|
||||
alias: "elm.content.hotspot" "elm.swallow.hotspot";
|
||||
part { name: "shine";
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "base";
|
||||
rel2.to: "base";
|
||||
image.normal: "led_dot_white.png";
|
||||
max: 27 27;
|
||||
aspect: 1.0 1.0;
|
||||
aspect_preference: VERTICAL;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -10,9 +10,7 @@
|
|||
|
||||
#define DAYSELECTOR_DAY(_pos, _after)\
|
||||
alias: "day"#_pos "elm.swallow.day"#_pos; \
|
||||
part {\
|
||||
name: "elm.swallow.day"#_pos;\
|
||||
type: SWALLOW;\
|
||||
part { name: "elm.swallow.day"#_pos; type: SWALLOW;\
|
||||
scale: 1;\
|
||||
clip_to: "clipper";\
|
||||
description { state: "default" 0.0;\
|
||||
|
@ -37,17 +35,11 @@
|
|||
}\
|
||||
}\
|
||||
programs{\
|
||||
program {\
|
||||
name: "day"#_pos"visible";\
|
||||
signal: "elm,day"#_pos",visible";\
|
||||
source: "elm";\
|
||||
program { signal: "elm,day"#_pos",visible"; source: "elm";\
|
||||
action: STATE_SET "visible" 0.0;\
|
||||
target: "elm.swallow.day"#_pos;\
|
||||
}\
|
||||
program {\
|
||||
name: "day"#_pos"notvisible";\
|
||||
signal: "elm,day"#_pos",default";\
|
||||
source: "elm";\
|
||||
program { signal: "elm,day"#_pos",default"; source: "elm";\
|
||||
action: STATE_SET "default" 0.0;\
|
||||
target: "elm.swallow.day"#_pos;\
|
||||
}\
|
||||
|
@ -55,9 +47,7 @@
|
|||
|
||||
group { name: "elm/dayselector/base/default";
|
||||
parts {
|
||||
part {
|
||||
name: "elm.swallow.day0";
|
||||
type: SWALLOW;
|
||||
part { name: "elm.swallow.day0"; type: SWALLOW;
|
||||
scale: 1;
|
||||
clip_to: "clipper";
|
||||
description { state: "default" 0.0;
|
||||
|
@ -78,63 +68,43 @@ group { name: "elm/dayselector/base/default";
|
|||
DAYSELECTOR_DAY(4, 3)
|
||||
DAYSELECTOR_DAY(5, 4)
|
||||
DAYSELECTOR_DAY(6, 5)
|
||||
part {
|
||||
name: "clipper";
|
||||
type: RECT;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
part { name: "clipper"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "elm.swallow.day0";
|
||||
rel2.to: "elm.swallow.day6";
|
||||
}
|
||||
description {
|
||||
state: "visible" 0.0;
|
||||
description { state: "visible" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: 185 185 185 185;
|
||||
color: 255 255 255 128;
|
||||
}
|
||||
}
|
||||
part {
|
||||
name: "disabler";
|
||||
type: RECT;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
part { name: "disabler"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
color: 0 0 0 0;
|
||||
visible: 0;
|
||||
}
|
||||
description {
|
||||
state: "visible" 0.0;
|
||||
description { state: "visible" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
visible: 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
programs {
|
||||
program {
|
||||
name: "disble_dayselector";
|
||||
signal: "elm,state,disabled";
|
||||
source: "elm";
|
||||
program { 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";
|
||||
program { signal: "elm,state,enabled"; source: "elm";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "disabler";
|
||||
target: "clipper";
|
||||
}
|
||||
program {
|
||||
name: "day0_visible";
|
||||
signal: "elm,day0,visible";
|
||||
source: "elm";
|
||||
program { signal: "elm,day0,visible"; source: "elm";
|
||||
action: STATE_SET "visible" 0.0;
|
||||
target: "elm.swallow.day0";
|
||||
}
|
||||
program {
|
||||
name: "day0_default";
|
||||
signal: "elm,day0,default";
|
||||
source: "elm";
|
||||
program { signal: "elm,day0,default"; source: "elm";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "elm.swallow.day0";
|
||||
}
|
||||
|
@ -142,188 +112,105 @@ group { name: "elm/dayselector/base/default";
|
|||
}
|
||||
|
||||
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)
|
||||
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)
|
||||
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)
|
||||
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)
|
||||
} 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)
|
||||
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)
|
||||
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)
|
||||
} 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)
|
||||
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)
|
||||
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) {
|
||||
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) {
|
||||
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";
|
||||
part { name: "bg"; type: RECT;
|
||||
mouse_events: 0;
|
||||
scale: 1;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
image {
|
||||
normal: "day_middle_normal.png";
|
||||
border: 1 1 3 4;
|
||||
}
|
||||
description { state: "default" 0.0;
|
||||
color: 80 80 80 255;
|
||||
}
|
||||
/* 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;
|
||||
}
|
||||
color: 51 153 255 255;
|
||||
}
|
||||
description { state: "pressed_right" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
image {
|
||||
normal: "day_right_press.png";
|
||||
border: 1 5 4 5;
|
||||
}
|
||||
color: 51 153 255 255;
|
||||
}
|
||||
description { state: "pressed_middle" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
image {
|
||||
normal: "day_middle_press.png";
|
||||
border: 2 1 4 7;
|
||||
}
|
||||
color: 51 153 255 255;
|
||||
}
|
||||
/* selected */
|
||||
description { state: "selected_left" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
image {
|
||||
normal: "day_left_selected.png";
|
||||
border: 5 1 4 5;
|
||||
}
|
||||
color: 51 153 255 255;
|
||||
}
|
||||
description { state: "selected_right" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
image {
|
||||
normal: "day_right_selected.png";
|
||||
border: 1 5 4 5;
|
||||
}
|
||||
color: 51 153 255 255;
|
||||
}
|
||||
description { state: "selected_middle" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
image {
|
||||
normal: "day_middle_selected.png";
|
||||
border: 2 1 4 7;
|
||||
}
|
||||
color: 51 153 255 255;
|
||||
}
|
||||
}
|
||||
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;
|
||||
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;
|
||||
}
|
||||
color: 160 160 160 255;
|
||||
rel1.offset: 4 4;
|
||||
rel2.offset: -5 -5;
|
||||
offscale;
|
||||
text {
|
||||
font: FN;
|
||||
size: 10;
|
||||
|
@ -331,145 +218,94 @@ group { name: "elm/check/base/dayselector/default";
|
|||
ellipsis: -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;
|
||||
color: 128 128 128 255;
|
||||
}
|
||||
description { state: "weekend_style1" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
visible: 0;
|
||||
color: 128 128 128 255;
|
||||
}
|
||||
description { state: "selected" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
visible: 0;
|
||||
color: 255 255 255 255;
|
||||
}
|
||||
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;
|
||||
ellipsis: -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;
|
||||
part { name: "events"; type: RECT;
|
||||
ignore_flags: ON_HOLD;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
rel1.to: "bg";
|
||||
rel2.to: "bg";
|
||||
description { state: "default" 0.0;
|
||||
color: 0 0 0 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
programs {
|
||||
program { name: "check,pressed";
|
||||
signal: "mouse,down,1"; source: "events";
|
||||
program { 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";
|
||||
program { signal: "mouse,up,1"; source: "events";
|
||||
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";
|
||||
program { signal: "mouse,clicked,1"; source: "events";
|
||||
action: SIGNAL_EMIT "elm,action,check,toggle" "elm";
|
||||
}
|
||||
program { signal: "elm,state,check,on"; source: "elm";
|
||||
script {
|
||||
set_int(check_state, DAYSELECOR_DAY_STATE_SELECTED);
|
||||
check_bg_show();
|
||||
check_text_show();
|
||||
}
|
||||
}
|
||||
program { signal: "elm,state,check,off"; source: "elm";
|
||||
script {
|
||||
set_int(check_state, DAYSELECOR_DAY_STATE_DEFAULT);
|
||||
check_bg_show();
|
||||
check_text_show();
|
||||
}
|
||||
}
|
||||
program { 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";
|
||||
program { 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";
|
||||
program { 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";
|
||||
program { 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";
|
||||
program { 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";
|
||||
program { signal: "elm,type,weekend,style1"; source: "elm";
|
||||
script {
|
||||
set_int(check_type, DAYSELECOR_DAY_TYPE_WEEKEND_STYLE1);
|
||||
check_text_show();
|
||||
|
|
|
@ -1,57 +1,34 @@
|
|||
group { name: "elm/diskselector/base/default";
|
||||
images {
|
||||
image: "bar_shine.png" COMP;
|
||||
}
|
||||
|
||||
parts {
|
||||
part { name: "bg";
|
||||
type: RECT;
|
||||
part { name: "bg"; type: RECT;
|
||||
mouse_events: 0;
|
||||
description { state: "default" 0.0;
|
||||
color: 25 25 25 255;
|
||||
color: 48 48 48 255;
|
||||
}
|
||||
}
|
||||
part { name: "shine_center";
|
||||
mouse_events: 0;
|
||||
part { name: "clipper"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "bg";
|
||||
rel2.to: "bg";
|
||||
image.normal: "bar_shine.png";
|
||||
color: 255 255 255 127;
|
||||
rel.to: "bg";
|
||||
}
|
||||
}
|
||||
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";
|
||||
part { name: "elm.swallow.content"; type: SWALLOW;
|
||||
clip_to: "clipper";
|
||||
type: SWALLOW;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "bg";
|
||||
rel2.to: "bg";
|
||||
rel.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;
|
||||
part { name: "elm.swallow.icon"; type: SWALLOW;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
fixed: 1 0;
|
||||
|
@ -102,16 +79,16 @@ group { name: "elm/diskselector/item/default";
|
|||
aspect: 1.0 1.0;
|
||||
}
|
||||
}
|
||||
part { name: "elm.text";
|
||||
type: TEXT;
|
||||
part { name: "elm.text"; type: TEXT;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
color: 160 160 160 255;
|
||||
rel1.relative: 1 0.0;
|
||||
rel1.to_x: "elm.swallow.icon";
|
||||
rel2.relative: 1.0 1.0;
|
||||
visible: 0;
|
||||
text {
|
||||
font: "Sans,Edje-Vera";
|
||||
font: "Sans";
|
||||
size: 10;
|
||||
align: 0.5 0.5;
|
||||
min: 0 1;
|
||||
|
@ -128,14 +105,14 @@ group { name: "elm/diskselector/item/default";
|
|||
}
|
||||
description { state: "left_side" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: FN_COL_GREY_152;
|
||||
color: 80 80 80 255;
|
||||
text.size: 8;
|
||||
visible: 1;
|
||||
text.align: 0.2 0.5;
|
||||
}
|
||||
description { state: "right_side" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: FN_COL_GREY_152;
|
||||
color: 80 80 80 255;
|
||||
visible: 1;
|
||||
text.size: 8;
|
||||
text.align: 0.8 0.5;
|
||||
|
@ -158,13 +135,11 @@ group { name: "elm/diskselector/item/default";
|
|||
rel2.relative: 1 1;
|
||||
}
|
||||
}
|
||||
part { name: "over1";
|
||||
type: RECT;
|
||||
part { name: "over1"; type: RECT;
|
||||
mouse_events: 1;
|
||||
repeat_events: 1;
|
||||
ignore_flags: ON_HOLD;
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
description { state: "default" 0.0;
|
||||
color: 0 0 0 0;
|
||||
}
|
||||
}
|
||||
|
@ -299,8 +274,7 @@ group { name: "elm/diskselector/item/datetime/default";
|
|||
text.align: 0.8 0.5;
|
||||
}
|
||||
}
|
||||
part { name: "over1";
|
||||
type: RECT;
|
||||
part { name: "over1"; type: RECT;
|
||||
mouse_events: 1;
|
||||
repeat_events: 1;
|
||||
ignore_flags: ON_HOLD;
|
||||
|
@ -319,70 +293,60 @@ group { name: "elm/diskselector/item/datetime/default";
|
|||
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);
|
||||
}
|
||||
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";
|
||||
program { signal: "elm,state,selected"; source: "elm";
|
||||
script {
|
||||
set_int(field_selected, 1);
|
||||
update_state();
|
||||
}
|
||||
}
|
||||
program { name: "default_text";
|
||||
signal: "elm,state,default"; source: "elm";
|
||||
program { signal: "elm,state,default"; source: "elm";
|
||||
script {
|
||||
set_int(field_selected, 0);
|
||||
update_state();
|
||||
}
|
||||
}
|
||||
program { name: "center_text";
|
||||
signal: "elm,state,center"; source: "elm";
|
||||
program { 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";
|
||||
program { 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";
|
||||
program { 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";
|
||||
program { 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";
|
||||
program { signal: "mouse,clicked,1"; source: "over1";
|
||||
action: SIGNAL_EMIT "elm,action,click" "elm";
|
||||
}
|
||||
}
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1,27 +1,5 @@
|
|||
group { name: "elm/ews/background/default";
|
||||
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)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
group { name: "elm/ews/decoration/default";
|
||||
images.image: "win_shadow.png" COMP;
|
||||
images.image: "win_glow.png" COMP;
|
||||
images.image: "vgrad_med_lighter.png" COMP;
|
||||
images.image: "vgrad_med_dark.png" COMP;
|
||||
images.image: "bevel_out.png" COMP;
|
||||
|
@ -53,25 +31,6 @@ group { name: "elm/ews/decoration/default";
|
|||
visible: 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: "top";
|
||||
rel2.offset: 4 4;
|
||||
rel2.to: "bottom";
|
||||
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: "top";
|
||||
description { state: "default" 0.0;
|
||||
color_class: "border_top";
|
||||
|
@ -558,21 +517,13 @@ group { name: "elm/ews/decoration/default";
|
|||
signal: "elm,state,focus,on"; source: "elm";
|
||||
action: STATE_SET "focused" 0.0;
|
||||
transition: SINUSOIDAL 0.1;
|
||||
target: "glow";
|
||||
target: "focus";
|
||||
after: "focus2";
|
||||
}
|
||||
program { name: "focus2";
|
||||
action: STATE_SET "default" 0.0;
|
||||
transition: SINUSOIDAL 0.4;
|
||||
target: "glow";
|
||||
}
|
||||
program {
|
||||
signal: "elm,state,focus,off"; source: "elm";
|
||||
action: STATE_SET "default" 0.0;
|
||||
transition: SINUSOIDAL 0.1;
|
||||
target: "focus";
|
||||
target: "glow";
|
||||
}
|
||||
program {
|
||||
signal: "elm,state,focus,on"; source: "elm";
|
||||
|
@ -656,7 +607,6 @@ group { name: "elm/ews/decoration/default";
|
|||
|
||||
group { name: "elm/ews/decoration/borderless";
|
||||
images.image: "win_shadow.png" COMP;
|
||||
images.image: "win_glow.png" COMP;
|
||||
parts {
|
||||
part { name: "shadow"; mouse_events: 0;
|
||||
description { state: "default" 0.0;
|
||||
|
@ -667,23 +617,6 @@ group { name: "elm/ews/decoration/borderless";
|
|||
visible: 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;
|
||||
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: "focus"; type: RECT; repeat_events: 1;
|
||||
description { state: "default" 0.0;
|
||||
color: 0 0 0 0;
|
||||
|
@ -701,21 +634,13 @@ group { name: "elm/ews/decoration/borderless";
|
|||
signal: "elm,state,focus,on"; source: "elm";
|
||||
action: STATE_SET "focused" 0.0;
|
||||
transition: SINUSOIDAL 0.1;
|
||||
target: "glow";
|
||||
target: "focus";
|
||||
after: "focus2";
|
||||
}
|
||||
program { name: "focus2";
|
||||
action: STATE_SET "default" 0.0;
|
||||
transition: SINUSOIDAL 0.4;
|
||||
target: "glow";
|
||||
}
|
||||
program {
|
||||
signal: "elm,state,focus,off"; source: "elm";
|
||||
action: STATE_SET "default" 0.0;
|
||||
transition: SINUSOIDAL 0.1;
|
||||
target: "focus";
|
||||
target: "glow";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -15,45 +15,51 @@ group { name: "elm/fileselector/base/default";
|
|||
data.item: "path_separator" "<item relsize=15x15 vsize=full href=path/separator></item>";
|
||||
parts {
|
||||
swallow { "elm.swallow.up";
|
||||
scale: 1;
|
||||
desc { "default";
|
||||
align: 0.0 0.0;
|
||||
fixed: 1 1;
|
||||
rel1.offset: 3 3;
|
||||
rel1.offset: 4 4;
|
||||
rel2.relative: 0.0 0.0;
|
||||
rel2.offset: 3 3;
|
||||
rel2.offset: 4 4;
|
||||
offscale;
|
||||
}
|
||||
}
|
||||
swallow { "elm.swallow.home";
|
||||
scale: 1;
|
||||
desc { "default";
|
||||
align: 0.0 0.5;
|
||||
fixed: 1 0;
|
||||
rel1 {
|
||||
to: "elm.swallow.up";
|
||||
relative: 1.0 0.0;
|
||||
offset: 3 0;
|
||||
offset: 4 0;
|
||||
}
|
||||
rel2 {
|
||||
to: "elm.swallow.up";
|
||||
relative: 1.0 1.0;
|
||||
offset: 3 -1;
|
||||
offset: 4 -1;
|
||||
}
|
||||
offscale;
|
||||
}
|
||||
}
|
||||
swallow { "elm.swallow.search";
|
||||
scale: 1;
|
||||
desc { "default";
|
||||
align: 0.0 0.5;
|
||||
min: 65 0;
|
||||
fixed: 0 1;
|
||||
min: 65 21;
|
||||
rel1 {
|
||||
to: "elm.swallow.home";
|
||||
relative: 1.0 0.0;
|
||||
offset: 3 0;
|
||||
offset: 4 0;
|
||||
}
|
||||
rel2 {
|
||||
to_y: "elm.swallow.home";
|
||||
relative: 1.0 1.0;
|
||||
offset: -4 -1;
|
||||
offset: -5 -1;
|
||||
}
|
||||
offscale;
|
||||
}
|
||||
}
|
||||
#ifdef ELM_CANCEL_OK
|
||||
|
@ -65,9 +71,10 @@ group { name: "elm/fileselector/base/default";
|
|||
align: 1.0 1.0;
|
||||
fixed: 1 1;
|
||||
rel1.relative: 1.0 1.0;
|
||||
rel1.offset: -4 -4;
|
||||
rel1.offset: -5 -5;
|
||||
rel2.relative: 1.0 1.0;
|
||||
rel2.offset: -4 -4;
|
||||
rel2.offset: -5 -5;
|
||||
offscale;
|
||||
}
|
||||
}
|
||||
#ifdef ELM_CANCEL_OK
|
||||
|
@ -85,7 +92,7 @@ group { name: "elm/fileselector/base/default";
|
|||
to: "elm.swallow.cancel";
|
||||
#endif
|
||||
relative: 0.0 0.0;
|
||||
offset: -4 0;
|
||||
offset: -5 0;
|
||||
}
|
||||
rel2 {
|
||||
#ifdef ELM_CANCEL_OK
|
||||
|
@ -94,88 +101,102 @@ group { name: "elm/fileselector/base/default";
|
|||
to: "elm.swallow.cancel";
|
||||
#endif
|
||||
relative: 0.0 1.0;
|
||||
offset: -4 -1;
|
||||
offset: -5 -1;
|
||||
}
|
||||
offscale;
|
||||
}
|
||||
}
|
||||
swallow { "elm.swallow.filters";
|
||||
scale: 1;
|
||||
desc { "default";
|
||||
align: 1.0 1.0;
|
||||
fixed: 1 1;
|
||||
min: 21 21;
|
||||
rel1 {
|
||||
to_y: "elm.swallow.ok";
|
||||
relative: 1.0 0.0;
|
||||
offset: -4 -4;
|
||||
offset: -5 -5;
|
||||
}
|
||||
rel2 {
|
||||
to_y: "elm.swallow.ok";
|
||||
relative: 1.0 0.0;
|
||||
offset: -4 -4;
|
||||
offset: -5 -5;
|
||||
}
|
||||
offscale;
|
||||
}
|
||||
}
|
||||
swallow { "elm.swallow.filename";
|
||||
scale: 1;
|
||||
desc { "default";
|
||||
align: 0.5 1.0;
|
||||
fixed: 0 1;
|
||||
min: 40 21;
|
||||
rel1 {
|
||||
to_y: "elm.swallow.filters";
|
||||
relative: 0.0 0.0;
|
||||
offset: 3 -4;
|
||||
offset: 4 -5;
|
||||
}
|
||||
rel2 {
|
||||
to_y: "elm.swallow.filters";
|
||||
relative: 1.0 0.0;
|
||||
offset: -4 -4;
|
||||
offset: -5 -5;
|
||||
}
|
||||
offscale;
|
||||
}
|
||||
}
|
||||
swallow { "elm.swallow.path";
|
||||
scale: 1;
|
||||
desc { "default";
|
||||
align: 0.5 1.0;
|
||||
fixed: 0 1;
|
||||
min: 40 21;
|
||||
rel1 {
|
||||
to_y: "elm.swallow.filename";
|
||||
relative: 0.0 0.0;
|
||||
offset: 3 -4;
|
||||
offset: 4 -5;
|
||||
}
|
||||
rel2 {
|
||||
to_y: "elm.swallow.filename";
|
||||
relative: 1.0 0.0;
|
||||
offset: -4 -4;
|
||||
offset: -5 -5;
|
||||
}
|
||||
offscale;
|
||||
}
|
||||
}
|
||||
swallow { "elm.swallow.files";
|
||||
scale: 1;
|
||||
desc { "default";
|
||||
min: 21 21;
|
||||
rel1 {
|
||||
to_y: "elm.swallow.home";
|
||||
relative: 0.0 1.0;
|
||||
offset: 3 3;
|
||||
offset: 4 4;
|
||||
}
|
||||
rel2 {
|
||||
to_y: "elm.swallow.path";
|
||||
relative: 1.0 0.0;
|
||||
offset: -4 -4;
|
||||
offset: -5 -5;
|
||||
}
|
||||
offscale;
|
||||
}
|
||||
}
|
||||
swallow { "elm.swallow.spinner";
|
||||
clip: "elm.spinner.clip";
|
||||
scale: 1;
|
||||
desc { "default";
|
||||
fixed: 1 1;
|
||||
align: 1.0 0.0;
|
||||
rel1.relative: 1.0 0.0;
|
||||
rel1.offset: -4 3;
|
||||
rel1.offset: -5 4;
|
||||
rel2.relative: 1.0 0.0;
|
||||
rel2.offset: -4 3;
|
||||
rel2.offset: -5 4;
|
||||
offscale;
|
||||
}
|
||||
}
|
||||
rect { "elm.spinner.clip";
|
||||
desc { "default";
|
||||
fixed: 1 1;
|
||||
rel1.to: "elm.swallow.spinner";
|
||||
rel2.to: "elm.swallow.spinner";
|
||||
rel.to: "elm.swallow.spinner";
|
||||
color: 255 255 255 0;
|
||||
}
|
||||
desc { "visible";
|
||||
|
@ -209,6 +230,7 @@ group { name: "elm/fileselector/base/default";
|
|||
group { name: "elm/fileselector_entry/base/default";
|
||||
parts {
|
||||
swallow { "elm.swallow.button"; scale;
|
||||
scale: 1;
|
||||
desc { "default";
|
||||
align: 1.0 0.0;
|
||||
fixed: 1 0;
|
||||
|
@ -220,6 +242,7 @@ group { name: "elm/fileselector_entry/base/default";
|
|||
}
|
||||
}
|
||||
swallow { "elm.swallow.entry"; scale;
|
||||
scale: 1;
|
||||
desc { "default";
|
||||
align: 0.0 0.5;
|
||||
min: 50 4;
|
||||
|
|
|
@ -2,14 +2,10 @@
|
|||
#define FLIP_PICKER_MAX_LEN_STR "50"
|
||||
|
||||
group { name: "elm/flipselector/base/default";
|
||||
images.image: "big_arrow_up.png" COMP;
|
||||
images.image: "big_arrow_down.png" COMP;
|
||||
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;
|
||||
|
||||
|
@ -86,11 +82,9 @@ group { name: "elm/flipselector/base/default";
|
|||
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) {
|
||||
|
@ -106,7 +100,6 @@ group { name: "elm/flipselector/base/default";
|
|||
0.0);
|
||||
if (pos >= 1.0)
|
||||
{
|
||||
set_state(PART:"top_shine_cur", "default", 0.0);
|
||||
anim(0.2, "animator_bottom_down", val);
|
||||
}
|
||||
}
|
||||
|
@ -122,9 +115,7 @@ group { name: "elm/flipselector/base/default";
|
|||
|
||||
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);
|
||||
set_tween_state(PART:"bottom_shadow", pos, "half", 0.0, "default", 0.0);
|
||||
|
||||
if (pos >= 1.0) {
|
||||
set_state(PART:"bottom_shadow", "default", 0.0);
|
||||
|
@ -153,17 +144,18 @@ group { name: "elm/flipselector/base/default";
|
|||
}
|
||||
parts {
|
||||
part { name: "base_shadow"; mouse_events: 0;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "base";
|
||||
rel2.to: "base";
|
||||
WIN_SHADOW;
|
||||
rel.to: "base";
|
||||
WIN_SHADOW_SMALL;
|
||||
}
|
||||
}
|
||||
part { name: "base"; type: RECT;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
rel1.offset: 6 6;
|
||||
rel2.offset: -7 -7;
|
||||
rel1.offset: 2 2;
|
||||
rel2.offset: -3 -3;
|
||||
offscale;
|
||||
}
|
||||
}
|
||||
part { name: "bottom"; type: RECT;
|
||||
|
@ -187,38 +179,36 @@ group { name: "elm/flipselector/base/default";
|
|||
visible: 0;
|
||||
}
|
||||
}
|
||||
part { name: "bottom_prev";
|
||||
type: RECT;
|
||||
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;
|
||||
rel.to: "bottom";
|
||||
color: 96 96 96 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;
|
||||
rel1.offset: 2 2;
|
||||
rel2.to: "base";
|
||||
rel2.to_y: "arrow_bottom";
|
||||
rel2.relative: 1.0 0.3;
|
||||
rel2.offset: -3 -1;
|
||||
rel2.offset: -3 -3;
|
||||
text { font: FN; size: 10;
|
||||
min: 1 1;
|
||||
ellipsis: -1;
|
||||
align: 0.5 0.5;
|
||||
}
|
||||
color: FN_COL_DEFAULT;
|
||||
color: 160 160 160 255;
|
||||
offscale;
|
||||
}
|
||||
description { state: "disabled" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: FN_COL_DISABLE;
|
||||
color: 112 112 112 255;
|
||||
}
|
||||
}
|
||||
part { name: "bottom_shadow"; mouse_events: 0;
|
||||
|
@ -243,9 +233,8 @@ group { name: "elm/flipselector/base/default";
|
|||
}
|
||||
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;
|
||||
rel.to: "bottom";
|
||||
color: 96 96 96 255;
|
||||
}
|
||||
description { state: "shrink" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
|
@ -253,40 +242,25 @@ group { name: "elm/flipselector/base/default";
|
|||
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;
|
||||
rel1.offset: 2 2;
|
||||
rel2.to: "base";
|
||||
rel2.to_y: "arrow_bottom";
|
||||
rel2.relative: 1.0 0.3;
|
||||
rel2.offset: -3 -1;
|
||||
rel2.offset: -3 -3;
|
||||
text { font: FN; size: 10;
|
||||
min: 1 1;
|
||||
ellipsis: -1;
|
||||
align: 0.5 0.5;
|
||||
}
|
||||
color: FN_COL_DEFAULT;
|
||||
color: 160 160 160 255;
|
||||
offscale;
|
||||
}
|
||||
description { state: "shrink" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
|
@ -296,126 +270,95 @@ group { name: "elm/flipselector/base/default";
|
|||
}
|
||||
description { state: "disabled" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: FN_COL_DISABLE;
|
||||
color: 112 112 112 255;
|
||||
}
|
||||
}
|
||||
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;
|
||||
rel.to: "top";
|
||||
color: 72 72 72 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;
|
||||
rel1.offset: 2 2;
|
||||
rel2.to: "base";
|
||||
rel2.to_y: "arrow_bottom";
|
||||
rel2.relative: 1.0 0.3;
|
||||
rel2.offset: -3 -1;
|
||||
rel2.offset: -3 -3;
|
||||
text { font: FN; size: 10;
|
||||
min: 1 1;
|
||||
ellipsis: -1;
|
||||
align: 0.5 0.5;
|
||||
source: "elm.top";
|
||||
}
|
||||
color: FN_COL_GREY_192;
|
||||
color: 144 144 144 255;
|
||||
offscale;
|
||||
}
|
||||
description { state: "disabled" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: FN_COL_GREY_16;
|
||||
}
|
||||
}
|
||||
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;
|
||||
color: 96 96 96 255;
|
||||
}
|
||||
}
|
||||
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;
|
||||
rel.to: "top";
|
||||
color: 72 72 72 255;
|
||||
}
|
||||
description { state: "shrink" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
fixed: 0 1;
|
||||
rel1.relative: 0.0 1.0;
|
||||
color: 40 40 40 255;
|
||||
color: 32 32 32 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.to_x: "base";
|
||||
rel1.to_y: "arrow_top";
|
||||
rel1.relative: 0.0 0.7;
|
||||
rel1.offset: 2 2;
|
||||
rel2.to: "base";
|
||||
rel2.to_x: "base";
|
||||
rel2.to_y: "arrow_bottom";
|
||||
rel2.relative: 1.0 0.3;
|
||||
rel2.offset: -3 -3;
|
||||
text { font: FN; size: 10;
|
||||
min: 1 1;
|
||||
ellipsis: -1;
|
||||
align: 0.5 0.5;
|
||||
}
|
||||
color: FN_COL_GREY_192;
|
||||
color: 144 144 144 255;
|
||||
offscale;
|
||||
}
|
||||
description { state: "shrink" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
visible: 0;
|
||||
rel1.relative: 0.0 0.5;
|
||||
}
|
||||
color: 48 48 48 255;
|
||||
}
|
||||
description { state: "disabled" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: FN_COL_GREY_16;
|
||||
}
|
||||
}
|
||||
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;
|
||||
color: 96 96 96 255;
|
||||
}
|
||||
}
|
||||
part { name: "arrow_top"; mouse_events: 0;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
min: 15 15;
|
||||
max: 15 15;
|
||||
min: 17 14;
|
||||
max: 17 14;
|
||||
align: 0.5 0.0;
|
||||
rel1.to: "top";
|
||||
rel2.to: "top";
|
||||
image.normal: "sym_up_light_normal.png";
|
||||
color: 192 192 192 255;
|
||||
rel.to: "top";
|
||||
rel1.offset: 0 2;
|
||||
image.normal: "big_arrow_up.png";
|
||||
color: 144 144 144 255;
|
||||
offscale;
|
||||
}
|
||||
description { state: "hidden" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
|
@ -423,18 +366,24 @@ group { name: "elm/flipselector/base/default";
|
|||
}
|
||||
description { state: "disabled" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
image.normal: "sym_up_dark_normal.png";
|
||||
color: 96 96 96 255;
|
||||
}
|
||||
description { state: "pressed" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: 255 255 255 255;
|
||||
}
|
||||
}
|
||||
part { name: "arrow_bottom"; mouse_events: 0;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
min: 15 15;
|
||||
max: 15 15;
|
||||
min: 17 14;
|
||||
max: 17 14;
|
||||
align: 0.5 1.0;
|
||||
rel1.to: "bottom";
|
||||
rel2.to: "bottom";
|
||||
image.normal: "sym_down_light_normal.png";
|
||||
rel.to: "bottom";
|
||||
rel2.offset: -1 -3;
|
||||
image.normal: "big_arrow_down.png";
|
||||
color: 160 160 160 255;
|
||||
offscale;
|
||||
}
|
||||
description { state: "hidden" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
|
@ -442,19 +391,21 @@ group { name: "elm/flipselector/base/default";
|
|||
}
|
||||
description { state: "disabled" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
image.normal: "sym_down_dark_normal.png";
|
||||
color: 112 112 112 255;
|
||||
}
|
||||
description { state: "pressed" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: 255 255 255 255;
|
||||
}
|
||||
}
|
||||
part { name: "top_clipper"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "top";
|
||||
rel2.to: "top";
|
||||
rel.to: "top";
|
||||
}
|
||||
}
|
||||
part { name: "bottom_clipper"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "bottom";
|
||||
rel2.to: "bottom";
|
||||
rel.to: "bottom";
|
||||
}
|
||||
}
|
||||
part { name: "event_blocker"; type: RECT;
|
||||
|
@ -469,8 +420,7 @@ group { name: "elm/flipselector/base/default";
|
|||
}
|
||||
}
|
||||
programs {
|
||||
program {
|
||||
signal: "load"; source: "";
|
||||
program { signal: "load"; source: "";
|
||||
script {
|
||||
append_str(cur, "");
|
||||
append_str(prev, "");
|
||||
|
@ -478,40 +428,49 @@ group { name: "elm/flipselector/base/default";
|
|||
set_int(lock, 0);
|
||||
}
|
||||
}
|
||||
program {
|
||||
signal: "elm,state,button,hidden"; source: "elm";
|
||||
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";
|
||||
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";
|
||||
program { signal: "mouse,down,1"; source: "top";
|
||||
action: SIGNAL_EMIT "elm,action,up,start" "elm";
|
||||
}
|
||||
program { name: "up,stop";
|
||||
signal: "mouse,up,1"; source: "top";
|
||||
program { signal: "mouse,down,1"; source: "top";
|
||||
action: STATE_SET "pressed" 0.0;
|
||||
target: "arrow_top";
|
||||
}
|
||||
program { signal: "mouse,up,1"; source: "top";
|
||||
action: SIGNAL_EMIT "elm,action,up,stop" "elm";
|
||||
}
|
||||
program { name: "down";
|
||||
signal: "mouse,down,1"; source: "bottom";
|
||||
program { signal: "mouse,up,1"; source: "top";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "arrow_top";
|
||||
}
|
||||
program { signal: "mouse,down,1"; source: "bottom";
|
||||
action: SIGNAL_EMIT "elm,action,down,start" "elm";
|
||||
}
|
||||
program { name: "down,stop";
|
||||
signal: "mouse,up,1"; source: "bottom";
|
||||
program { signal: "mouse,down,1"; source: "bottom";
|
||||
action: STATE_SET "pressed" 0.0;
|
||||
target: "arrow_bottom";
|
||||
}
|
||||
program { signal: "mouse,up,1"; source: "bottom";
|
||||
action: SIGNAL_EMIT "elm,action,down,stop" "elm";
|
||||
}
|
||||
program { name: "disable";
|
||||
signal: "elm,state,disabled"; source: "elm";
|
||||
program { signal: "mouse,up,1"; source: "bottom";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "arrow_bottom";
|
||||
}
|
||||
program { signal: "elm,state,disabled"; source: "elm";
|
||||
script {
|
||||
new st[31];
|
||||
new Float:vl;
|
||||
|
@ -530,12 +489,9 @@ group { name: "elm/flipselector/base/default";
|
|||
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";
|
||||
program { signal: "elm,state,enabled"; source: "elm";
|
||||
script {
|
||||
new st[31];
|
||||
new Float:vl;
|
||||
|
|
|
@ -1,12 +1,10 @@
|
|||
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 g_anim_id;
|
||||
|
||||
|
||||
public animator1(val, Float:pos) {
|
||||
new x, y, w, h, dx, dy, dw, dh, Float:p;
|
||||
p = 1.0 - ((1.0 - pos) * (1.0 - pos) * (1.0 - pos));
|
||||
|
@ -27,14 +25,14 @@ group { name: "elm/focus_highlight/top/default";
|
|||
|
||||
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);
|
||||
set_state_val(PART:"base", STATE_REL2_OFFSET, x + w - 1, y + h - 1);
|
||||
}
|
||||
|
||||
public message(Msg_Type:type, id, ...) {
|
||||
if ((type == MSG_INT_SET) && (id == 1)) {
|
||||
new x1, y1, w1, h1, x2, y2, w2, h2;
|
||||
new anim_id;
|
||||
|
||||
|
||||
anim_id = get_int(g_anim_id);
|
||||
if (anim_id != 0) {
|
||||
cancel_anim(anim_id);
|
||||
|
@ -63,7 +61,7 @@ group { name: "elm/focus_highlight/top/default";
|
|||
set_state_val(PART:"base", STATE_REL2, 0.0, 0.0);
|
||||
update_offset(x1, y1, w1, h1);
|
||||
set_state(PART:"base", "custom", 0.0);
|
||||
|
||||
|
||||
anim_id = anim(0.2, "animator1", 1);
|
||||
set_int(g_anim_id, anim_id);
|
||||
}
|
||||
|
@ -77,38 +75,106 @@ group { name: "elm/focus_highlight/top/default";
|
|||
}
|
||||
part { name: "clip"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "glow";
|
||||
rel2.to: "glow";
|
||||
rel.to: "base";
|
||||
rel1.relative: -1.0 -1.0;
|
||||
rel1.offset: -999 -999;
|
||||
rel2.relative: 2.0 2.0;
|
||||
rel2.offset: 999 999;
|
||||
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: "glow"; mouse_events: 0;
|
||||
part { name: "top"; type: RECT;
|
||||
clip_to: "clip";
|
||||
scale: 1;
|
||||
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;
|
||||
rel.to: "base";
|
||||
color: 51 153 255 255;
|
||||
rel2.relative: 1.0 0.0;
|
||||
min: 4 4;
|
||||
}
|
||||
description { state: "hi" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: 255 255 255 255;
|
||||
}
|
||||
}
|
||||
part { name: "sel"; mouse_events: 0;
|
||||
part { name: "topl"; type: RECT;
|
||||
clip_to: "clip";
|
||||
scale: 1;
|
||||
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;
|
||||
rel.to: "top";
|
||||
color: 51 153 255 255;
|
||||
rel1.relative: 0.0 1.0;
|
||||
rel2.relative: 0.0 1.0;
|
||||
align: 0.0 0.0;
|
||||
min: 4 4;
|
||||
}
|
||||
description { state: "hi" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: 255 255 255 255;
|
||||
}
|
||||
}
|
||||
part { name: "topr"; type: RECT;
|
||||
clip_to: "clip";
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
rel.to: "top";
|
||||
color: 51 153 255 255;
|
||||
rel1.relative: 1.0 1.0;
|
||||
rel2.relative: 1.0 1.0;
|
||||
align: 1.0 0.0;
|
||||
min: 4 4;
|
||||
}
|
||||
description { state: "hi" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: 255 255 255 255;
|
||||
}
|
||||
}
|
||||
part { name: "bot"; type: RECT;
|
||||
clip_to: "clip";
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
rel.to: "base";
|
||||
color: 51 153 255 255;
|
||||
rel1.relative: 0.0 1.0;
|
||||
min: 4 4;
|
||||
}
|
||||
description { state: "hi" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: 255 255 255 255;
|
||||
}
|
||||
}
|
||||
part { name: "botl"; type: RECT;
|
||||
clip_to: "clip";
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
rel.to: "bot";
|
||||
color: 51 153 255 255;
|
||||
rel1.relative: 0.0 0.0;
|
||||
rel2.relative: 0.0 0.0;
|
||||
align: 0.0 1.0;
|
||||
min: 4 4;
|
||||
}
|
||||
description { state: "hi" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: 255 255 255 255;
|
||||
}
|
||||
}
|
||||
part { name: "botr"; type: RECT;
|
||||
clip_to: "clip";
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
rel.to: "bot";
|
||||
color: 51 153 255 255;
|
||||
rel1.relative: 1.0 0.0;
|
||||
rel2.relative: 1.0 0.0;
|
||||
align: 1.0 1.0;
|
||||
min: 4 4;
|
||||
}
|
||||
description { state: "hi" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
|
@ -117,8 +183,7 @@ group { name: "elm/focus_highlight/top/default";
|
|||
}
|
||||
}
|
||||
programs {
|
||||
program {
|
||||
signal: "elm,action,focus,show"; source: "elm";
|
||||
program { signal: "elm,action,focus,show"; source: "elm";
|
||||
action: ACTION_STOP;
|
||||
target: "pulse";
|
||||
target: "pulse2";
|
||||
|
@ -134,8 +199,7 @@ group { name: "elm/focus_highlight/top/default";
|
|||
program { name: "go3";
|
||||
action: SIGNAL_EMIT "elm,action,focus,show,end" "elm";
|
||||
}
|
||||
program {
|
||||
signal: "elm,action,focus,hide"; source: "elm";
|
||||
program { signal: "elm,action,focus,hide"; source: "elm";
|
||||
action: STATE_SET "default" 0.0;
|
||||
transition: DECELERATE 0.4;
|
||||
target: "clip";
|
||||
|
@ -154,17 +218,26 @@ group { name: "elm/focus_highlight/top/default";
|
|||
action: STATE_SET "hi" 0.0;
|
||||
transition: SINUSOIDAL 0.2;
|
||||
in: 3.0 0.0;
|
||||
target: "sel";
|
||||
target: "top";
|
||||
target: "topl";
|
||||
target: "topr";
|
||||
target: "bot";
|
||||
target: "botl";
|
||||
target: "botr";
|
||||
after: "pulse2";
|
||||
}
|
||||
program { name: "pulse2";
|
||||
action: STATE_SET "default" 0.0;
|
||||
transition: SINUSOIDAL 0.4;
|
||||
target: "sel";
|
||||
target: "top";
|
||||
target: "topl";
|
||||
target: "topr";
|
||||
target: "bot";
|
||||
target: "botl";
|
||||
target: "botr";
|
||||
after: "pulse";
|
||||
}
|
||||
program {
|
||||
signal: "elm,state,anim,stop"; source: "elm";
|
||||
program { signal: "elm,state,anim,stop"; source: "elm";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "base";
|
||||
}
|
||||
|
|
|
@ -1,113 +1,84 @@
|
|||
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;
|
||||
images.image: "win_shad_flat.png" COMP;
|
||||
parts {
|
||||
part { name: "shadow"; mouse_events: 0;
|
||||
part { name: "shadow"; type: RECT;
|
||||
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;
|
||||
rel.to: "_sh1";
|
||||
}
|
||||
description { state: "hidden" 0.0;
|
||||
inherit;
|
||||
visible: 0;
|
||||
}
|
||||
}
|
||||
WIN_SHAD("base", "shadow", "win_shad_flat.png", 10, 10, 7, 14, 0.25);
|
||||
part { name: "base"; type: RECT;
|
||||
scale: 1;
|
||||
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;
|
||||
rel1.offset: 6 6;
|
||||
rel2.offset: -7 -7;
|
||||
color: 80 80 80 255;
|
||||
offscale;
|
||||
}
|
||||
}
|
||||
part { name: "top";
|
||||
part { name: "top"; type: SPACER;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
image.normal: "vgrad_med_curved.png";
|
||||
rel1.offset: 2 2;
|
||||
rel1.to: "base";
|
||||
rel2.to_x: "base";
|
||||
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)
|
||||
rel2.offset: -1 3;
|
||||
offscale;
|
||||
}
|
||||
}
|
||||
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: -3 1;
|
||||
rel2.to_x: "edge2";
|
||||
rel1.offset: 4 4;
|
||||
rel1.to: "base";
|
||||
rel2.relative: 1.0 0.0;
|
||||
rel2.offset: -5 4;
|
||||
rel2.to: "base";
|
||||
align: 0.0 0.0;
|
||||
color: FN_COL_DISABLE;
|
||||
color: 255 255 255 255;
|
||||
text { font: FNBD; size: 10;
|
||||
text_class: "frame";
|
||||
align: 0.0 0.0;
|
||||
min: 0 1;
|
||||
}
|
||||
fixed: 0 1;
|
||||
offscale;
|
||||
}
|
||||
}
|
||||
part { name: "bg"; type: RECT;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to_x: "base";
|
||||
rel1.to_y: "top";
|
||||
rel1.relative: 0.0 1.0;
|
||||
rel2.to: "base";
|
||||
color: 64 64 64 255;
|
||||
}
|
||||
}
|
||||
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: -7 -7;
|
||||
rel1.to: "bg";
|
||||
rel2.to: "bg";
|
||||
}
|
||||
}
|
||||
part { name: "elm.swallow.content"; type: SWALLOW;
|
||||
clip_to: "clip";
|
||||
scale: 1;
|
||||
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: -7 -7;
|
||||
rel.to: "bg";
|
||||
rel1.offset: 4 4;
|
||||
rel2.offset: -5 -5;
|
||||
offscale;
|
||||
}
|
||||
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;
|
||||
rel1.offset: 4 0;
|
||||
rel2.offset: -5 -1;
|
||||
}
|
||||
}
|
||||
part { name: "event"; type: RECT; ignore_flags: ON_HOLD;
|
||||
|
@ -131,12 +102,10 @@ group { name: "elm/frame/base/default";
|
|||
transition: DECELERATE 0.3;
|
||||
after: "signal";
|
||||
}
|
||||
program {
|
||||
signal: "mouse,up,1"; source: "event";
|
||||
program { signal: "mouse,up,1"; source: "event";
|
||||
action: SIGNAL_EMIT "elm,action,click" "elm";
|
||||
}
|
||||
program {
|
||||
signal: "elm,action,toggle"; source: "elm";
|
||||
program { signal: "elm,action,toggle"; source: "elm";
|
||||
script {
|
||||
new st[31];
|
||||
new Float:vl;
|
||||
|
@ -147,8 +116,7 @@ group { name: "elm/frame/base/default";
|
|||
run_program(PROGRAM:"expand");
|
||||
}
|
||||
}
|
||||
program {
|
||||
signal: "elm,action,switch"; source: "elm";
|
||||
program { signal: "elm,action,switch"; source: "elm";
|
||||
script {
|
||||
new st[31];
|
||||
new Float:vl;
|
||||
|
@ -196,11 +164,13 @@ group { name: "elm/frame/base/pad_medium";
|
|||
inherit: "elm/frame/base/pad_small";
|
||||
parts {
|
||||
part { name: "b0";
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
min: 6 6; max: 6 6;
|
||||
}
|
||||
}
|
||||
part { name: "b1";
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
min: 6 6; max: 6 6;
|
||||
}
|
||||
|
@ -212,11 +182,13 @@ group { name: "elm/frame/base/pad_large";
|
|||
inherit: "elm/frame/base/pad_small";
|
||||
parts {
|
||||
part { name: "b0";
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
min: 12 12; max: 12 12;
|
||||
}
|
||||
}
|
||||
part { name: "b1";
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
min: 12 12; max: 12 12;
|
||||
}
|
||||
|
@ -228,11 +200,13 @@ group { name: "elm/frame/base/pad_huge";
|
|||
inherit: "elm/frame/base/pad_small";
|
||||
parts {
|
||||
part { name: "b0";
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
min: 24 24; max: 24 24;
|
||||
}
|
||||
}
|
||||
part { name: "b1";
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
min: 24 24; max: 24 24;
|
||||
}
|
||||
|
@ -241,96 +215,82 @@ group { name: "elm/frame/base/pad_huge";
|
|||
}
|
||||
|
||||
group { name: "elm/frame/base/outdent_top";
|
||||
images.image: "separator_horiz.png" COMP;
|
||||
parts {
|
||||
part { name: "elm.swallow.content"; type: SWALLOW;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
rel1.offset: 3 3;
|
||||
rel2.offset: -4 -4;
|
||||
rel1.to_y: "base";
|
||||
rel1.relative: 0.0 1.0;
|
||||
rel1.offset: 4 4;
|
||||
rel2.offset: -5 -5;
|
||||
}
|
||||
}
|
||||
part { name: "base";
|
||||
part { name: "base"; type: RECT;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
image.normal: "separator_horiz.png";
|
||||
rel1.offset: 0 2;
|
||||
rel2.offset: -1 3;
|
||||
fixed: 0 1;
|
||||
rel1.offset: 4 2;
|
||||
rel2.offset: -5 2;
|
||||
rel2.relative: 1.0 0.0;
|
||||
min: 0 2;
|
||||
fill.smooth: 0;
|
||||
min: 0 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
group { name: "elm/frame/base/outdent_bottom";
|
||||
images.image: "separator_horiz.png" COMP;
|
||||
parts {
|
||||
part { name: "elm.swallow.content"; type: SWALLOW;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
rel1.offset: 3 3;
|
||||
rel2.offset: -4 -4;
|
||||
rel1.offset: 4 4;
|
||||
rel2.to_y: "base";
|
||||
rel2.relative: 1.0 0.0;
|
||||
rel2.offset: -5 -5;
|
||||
}
|
||||
}
|
||||
part { name: "base";
|
||||
part { name: "base"; type: RECT;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
image.normal: "separator_horiz.png";
|
||||
rel1.offset: 0 -4;
|
||||
fixed: 0 1;
|
||||
rel1.offset: 4 -3;
|
||||
rel1.relative: 0.0 1.0;
|
||||
rel2.offset: -1 -3;
|
||||
min: 0 2;
|
||||
fill.smooth: 0;
|
||||
rel2.offset: -5 -3;
|
||||
min: 0 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
group { name: "elm/frame/base/outline";
|
||||
images.image: "shadow_square_tiny.png" COMP;
|
||||
images.image: "bevel_out.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;
|
||||
}
|
||||
parts {
|
||||
part { name: "shadow"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
rel.to: "_sh1";
|
||||
}
|
||||
part { name: "base"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
rel1.offset: 3 0;
|
||||
rel2.offset: -3 -3;
|
||||
color: 64 64 64 255;
|
||||
}
|
||||
}
|
||||
part { name: "clip"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
rel1.offset: 5 0;
|
||||
rel2.offset: -7 -7;
|
||||
}
|
||||
}
|
||||
part { name: "elm.swallow.content"; type: SWALLOW;
|
||||
clip_to: "clip";
|
||||
description { state: "default" 0.0;
|
||||
align: 0.0 1.0;
|
||||
rel1.offset: 5 5;
|
||||
rel2.offset: -5 -5;
|
||||
}
|
||||
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;
|
||||
}
|
||||
description { state: "hidden" 0.0;
|
||||
inherit;
|
||||
visible: 0;
|
||||
}
|
||||
}
|
||||
WIN_SHAD("base", "shadow", "win_shad_flat.png", 10, 10, 7, 14, 0.25);
|
||||
part { name: "base"; type: RECT;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
rel1.offset: 6 6;
|
||||
rel2.offset: -7 -7;
|
||||
color: 64 64 64 255;
|
||||
offscale;
|
||||
}
|
||||
}
|
||||
part { name: "elm.swallow.content"; type: SWALLOW;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
rel.to: "base";
|
||||
rel1.offset: 4 4;
|
||||
rel2.offset: -5 -5;
|
||||
offscale;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -135,8 +135,7 @@ group { name: "elm/hover/base/default";
|
|||
}
|
||||
part { name: "elm.swallow.slot.middle"; type: SWALLOW;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "elm.swallow.size";
|
||||
rel2.to: "elm.swallow.size";
|
||||
rel.to: "elm.swallow.size";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -165,30 +164,30 @@ group { name: "elm/hover/base/default";
|
|||
|
||||
group { name: "elm/hover/base/popout";
|
||||
data.item: "dismiss" "on";
|
||||
images.image: "button_normal.png" COMP;
|
||||
images.image: "shad_angle_l.png" COMP;
|
||||
images.image: "shad_angle_r.png" COMP;
|
||||
images.image: "shad_angle_t.png" COMP;
|
||||
images.image: "shad_angle_b.png" COMP;
|
||||
script {
|
||||
public on_dismiss = 0;
|
||||
}
|
||||
parts {
|
||||
part { name: "elm.swallow.offset"; type: SWALLOW;
|
||||
description { state: "default" 0.0;
|
||||
align: 0.0 0.0;
|
||||
fixed: 1 1;
|
||||
rel1.relative: 0.0 0.0;
|
||||
align: 0.0 0.0;
|
||||
rel2.relative: 0.0 0.0;
|
||||
}
|
||||
}
|
||||
part { name: "elm.swallow.size"; type: SWALLOW;
|
||||
description { state: "default" 0.0;
|
||||
align: 0.0 0.0;
|
||||
fixed: 1 1;
|
||||
rel1.to: "elm.swallow.offset";
|
||||
align: 0.0 0.0;
|
||||
rel.to: "elm.swallow.offset";
|
||||
rel1.relative: 1.0 1.0;
|
||||
rel2.to: "elm.swallow.offset";
|
||||
rel2.relative: 1.0 1.0;
|
||||
}
|
||||
}
|
||||
part { name: "base"; type: RECT; mouse_events: 1;
|
||||
part { name: "base"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
color: 0 0 0 0;
|
||||
}
|
||||
|
@ -204,17 +203,66 @@ group { name: "elm/hover/base/popout";
|
|||
rel2.offset: 1 -1;
|
||||
}
|
||||
}
|
||||
part { name: "left";
|
||||
part { name: "shad_left"; nomouse;
|
||||
scale: 1;
|
||||
clip_to: "leftclip";
|
||||
description { state: "default" 0.0;
|
||||
visible: 0;
|
||||
rel1.to: "elm.swallow.slot.left";
|
||||
rel1.offset: -5 -5;
|
||||
rel2.to: "elm.swallow.slot.left";
|
||||
rel2.offset: 4 4;
|
||||
image.normal: "button_normal.png";
|
||||
image.border: 4 4 3 5;
|
||||
image.middle: SOLID;
|
||||
rel.to: "left";
|
||||
WIN_SHADOW_ANGLE_SMALL("shad_angle_l.png");
|
||||
}
|
||||
description { state: "visible" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
visible: 1;
|
||||
}
|
||||
}
|
||||
part { name: "shad_right"; nomouse;
|
||||
scale: 1;
|
||||
clip_to: "rightclip";
|
||||
description { state: "default" 0.0;
|
||||
visible: 0;
|
||||
rel.to: "right";
|
||||
WIN_SHADOW_ANGLE_SMALL("shad_angle_r.png");
|
||||
}
|
||||
description { state: "visible" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
visible: 1;
|
||||
}
|
||||
}
|
||||
part { name: "shad_top"; nomouse;
|
||||
scale: 1;
|
||||
clip_to: "topclip";
|
||||
description { state: "default" 0.0;
|
||||
visible: 0;
|
||||
rel.to: "top";
|
||||
WIN_SHADOW_ANGLE_SMALL("shad_angle_t.png");
|
||||
}
|
||||
description { state: "visible" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
visible: 1;
|
||||
}
|
||||
}
|
||||
part { name: "shad_bottom"; nomouse;
|
||||
scale: 1;
|
||||
clip_to: "bottomclip";
|
||||
description { state: "default" 0.0;
|
||||
visible: 0;
|
||||
rel.to: "bottom";
|
||||
WIN_SHADOW_ANGLE_SMALL("shad_angle_b.png");
|
||||
}
|
||||
description { state: "visible" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
visible: 1;
|
||||
}
|
||||
}
|
||||
part { name: "left"; type: RECT;
|
||||
clip_to: "leftclip";
|
||||
description { state: "default" 0.0;
|
||||
visible: 0;
|
||||
rel.to: "elm.swallow.slot.left";
|
||||
rel1.offset: -6 -6;
|
||||
rel2.offset: -1 5;
|
||||
color: 64 64 64 255;
|
||||
}
|
||||
description { state: "visible" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
|
@ -224,14 +272,11 @@ group { name: "elm/hover/base/popout";
|
|||
part { name: "elm.swallow.slot.left"; type: SWALLOW;
|
||||
clip_to: "leftclip";
|
||||
description { state: "default" 0.0;
|
||||
align: 0.0 0.5;
|
||||
fixed: 1 0;
|
||||
rel1.to: "elm.swallow.slot.middle";
|
||||
rel1.relative: 0.0 0.0;
|
||||
align: 0.0 0.5;
|
||||
rel.to: "elm.swallow.slot.middle";
|
||||
rel1.offset: -1 0;
|
||||
rel2.to: "elm.swallow.slot.middle";
|
||||
rel2.relative: 0.0 1.0;
|
||||
rel2.offset: -1 -1;
|
||||
}
|
||||
description { state: "visible" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
|
@ -247,17 +292,14 @@ group { name: "elm/hover/base/popout";
|
|||
rel1.offset: -2 0;
|
||||
}
|
||||
}
|
||||
part { name: "right";
|
||||
part { name: "right"; type: RECT;
|
||||
clip_to: "rightclip";
|
||||
description { state: "default" 0.0;
|
||||
visible: 0;
|
||||
rel1.to: "elm.swallow.slot.right";
|
||||
rel1.offset: -5 -5;
|
||||
rel2.to: "elm.swallow.slot.right";
|
||||
rel2.offset: 4 4;
|
||||
image.normal: "button_normal.png";
|
||||
image.border: 4 4 3 5;
|
||||
image.middle: SOLID;
|
||||
rel.to: "elm.swallow.slot.right";
|
||||
rel1.offset: 0 -6;
|
||||
rel2.offset: 5 5;
|
||||
color: 64 64 64 255;
|
||||
}
|
||||
description { state: "visible" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
|
@ -267,13 +309,10 @@ group { name: "elm/hover/base/popout";
|
|||
part { name: "elm.swallow.slot.right"; type: SWALLOW;
|
||||
clip_to: "rightclip";
|
||||
description { state: "default" 0.0;
|
||||
align: 1.0 0.5;
|
||||
fixed: 1 0;
|
||||
rel1.to: "elm.swallow.slot.middle";
|
||||
align: 1.0 0.5;
|
||||
rel.to: "elm.swallow.slot.middle";
|
||||
rel1.relative: 1.0 0.0;
|
||||
rel1.offset: 0 0;
|
||||
rel2.to: "elm.swallow.slot.middle";
|
||||
rel2.relative: 1.0 1.0;
|
||||
rel2.offset: 0 -1;
|
||||
}
|
||||
description { state: "visible" 0.0;
|
||||
|
@ -290,17 +329,14 @@ group { name: "elm/hover/base/popout";
|
|||
rel2.offset: -1 1;
|
||||
}
|
||||
}
|
||||
part { name: "top";
|
||||
part { name: "top"; type: RECT;
|
||||
clip_to: "topclip";
|
||||
description { state: "default" 0.0;
|
||||
visible: 0;
|
||||
rel1.to: "elm.swallow.slot.top";
|
||||
rel1.offset: -5 -5;
|
||||
rel2.to: "elm.swallow.slot.top";
|
||||
rel2.offset: 4 4;
|
||||
image.normal: "button_normal.png";
|
||||
image.border: 4 4 3 5;
|
||||
image.middle: SOLID;
|
||||
rel.to: "elm.swallow.slot.top";
|
||||
rel1.offset: -6 -6;
|
||||
rel2.offset: 5 -1;
|
||||
color: 64 64 64 255;
|
||||
}
|
||||
description { state: "visible" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
|
@ -310,15 +346,11 @@ group { name: "elm/hover/base/popout";
|
|||
part { name: "elm.swallow.slot.top"; type: SWALLOW;
|
||||
clip_to: "topclip";
|
||||
description { state: "default" 0.0;
|
||||
visible: 1;
|
||||
align: 0.5 0.0;
|
||||
fixed: 0 1;
|
||||
rel1.to: "elm.swallow.slot.middle";
|
||||
rel1.relative: 0.0 0.0;
|
||||
align: 0.5 0.0;
|
||||
rel.to: "elm.swallow.slot.middle";
|
||||
rel1.offset: 0 -1;
|
||||
rel2.to: "elm.swallow.slot.middle";
|
||||
rel2.relative: 1.0 0.0;
|
||||
rel2.offset: -1 -1;
|
||||
}
|
||||
description { state: "visible" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
|
@ -334,17 +366,14 @@ group { name: "elm/hover/base/popout";
|
|||
rel1.offset: -1 -2;
|
||||
}
|
||||
}
|
||||
part { name: "bottom";
|
||||
part { name: "bottom"; type: RECT;
|
||||
clip_to: "bottomclip";
|
||||
description { state: "default" 0.0;
|
||||
visible: 0;
|
||||
rel1.to: "elm.swallow.slot.bottom";
|
||||
rel1.offset: -5 -5;
|
||||
rel2.to: "elm.swallow.slot.bottom";
|
||||
rel2.offset: 4 4;
|
||||
image.normal: "button_normal.png";
|
||||
image.border: 4 4 3 5;
|
||||
image.middle: SOLID;
|
||||
rel.to: "elm.swallow.slot.bottom";
|
||||
rel1.offset: -6 0;
|
||||
rel2.offset: 5 5;
|
||||
color: 64 64 64 255;
|
||||
}
|
||||
description { state: "visible" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
|
@ -354,13 +383,10 @@ group { name: "elm/hover/base/popout";
|
|||
part { name: "elm.swallow.slot.bottom"; type: SWALLOW;
|
||||
clip_to: "bottomclip";
|
||||
description { state: "default" 0.0;
|
||||
align: 0.5 1.0;
|
||||
fixed: 0 1;
|
||||
rel1.to: "elm.swallow.slot.middle";
|
||||
align: 0.5 1.0;
|
||||
rel.to: "elm.swallow.slot.middle";
|
||||
rel1.relative: 0.0 1.0;
|
||||
rel1.offset: 0 0;
|
||||
rel2.to: "elm.swallow.slot.middle";
|
||||
rel2.relative: 1.0 1.0;
|
||||
rel2.offset: -1 0;
|
||||
}
|
||||
description { state: "visible" 0.0;
|
||||
|
@ -370,21 +396,17 @@ group { name: "elm/hover/base/popout";
|
|||
align: 0.5 0.0;
|
||||
}
|
||||
}
|
||||
part { name: "pop"; mouse_events: 1;
|
||||
part { name: "pop"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "elm.swallow.slot.middle";
|
||||
rel.to: "elm.swallow.slot.middle";
|
||||
rel1.offset: -6 -6;
|
||||
rel2.to: "elm.swallow.slot.middle";
|
||||
rel2.offset: 5 5;
|
||||
image.normal: "button_normal.png";
|
||||
image.border: 4 4 3 5;
|
||||
image.middle: SOLID;
|
||||
color: 64 64 64 255;
|
||||
}
|
||||
}
|
||||
part { name: "elm.swallow.slot.middle"; type: SWALLOW;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "elm.swallow.size";
|
||||
rel2.to: "elm.swallow.size";
|
||||
rel.to: "elm.swallow.size";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -419,57 +441,65 @@ group { name: "elm/hover/base/popout";
|
|||
program { name: "leftshow";
|
||||
signal: "elm,action,slot,left,show"; source: "elm";
|
||||
action: STATE_SET "visible" 0.0;
|
||||
transition: DECELERATE 0.5;
|
||||
transition: DECELERATE 0.2;
|
||||
target: "left";
|
||||
target: "shad_left";
|
||||
target: "elm.swallow.slot.left";
|
||||
}
|
||||
program { name: "lefthide";
|
||||
signal: "elm,action,slot,left,hide"; source: "elm";
|
||||
action: STATE_SET "default" 0.0;
|
||||
transition: DECELERATE 0.5;
|
||||
transition: DECELERATE 0.2;
|
||||
target: "left";
|
||||
target: "shad_left";
|
||||
target: "elm.swallow.slot.left";
|
||||
}
|
||||
program { name: "rightshow";
|
||||
signal: "elm,action,slot,right,show"; source: "elm";
|
||||
action: STATE_SET "visible" 0.0;
|
||||
transition: DECELERATE 0.5;
|
||||
transition: DECELERATE 0.2;
|
||||
target: "right";
|
||||
target: "shad_right";
|
||||
target: "elm.swallow.slot.right";
|
||||
}
|
||||
program { name: "righthide";
|
||||
signal: "elm,action,slot,right,hide"; source: "elm";
|
||||
action: STATE_SET "default" 0.0;
|
||||
transition: DECELERATE 0.5;
|
||||
transition: DECELERATE 0.2;
|
||||
target: "right";
|
||||
target: "shad_right";
|
||||
target: "elm.swallow.slot.right";
|
||||
}
|
||||
program { name: "topshow";
|
||||
signal: "elm,action,slot,top,show"; source: "elm";
|
||||
action: STATE_SET "visible" 0.0;
|
||||
transition: DECELERATE 0.5;
|
||||
transition: DECELERATE 0.2;
|
||||
target: "top";
|
||||
target: "shad_top";
|
||||
target: "elm.swallow.slot.top";
|
||||
}
|
||||
program { name: "tophide";
|
||||
signal: "elm,action,slot,top,hide"; source: "elm";
|
||||
action: STATE_SET "default" 0.0;
|
||||
transition: DECELERATE 0.5;
|
||||
transition: DECELERATE 0.2;
|
||||
target: "top";
|
||||
target: "shad_top";
|
||||
target: "elm.swallow.slot.top";
|
||||
}
|
||||
program { name: "bottomshow";
|
||||
signal: "elm,action,slot,bottom,show"; source: "elm";
|
||||
action: STATE_SET "visible" 0.0;
|
||||
transition: DECELERATE 0.5;
|
||||
transition: DECELERATE 0.2;
|
||||
target: "bottom";
|
||||
target: "shad_bottom";
|
||||
target: "elm.swallow.slot.bottom";
|
||||
}
|
||||
program { name: "bottomhide";
|
||||
signal: "elm,action,slot,bottom,hide"; source: "elm";
|
||||
action: STATE_SET "default" 0.0;
|
||||
transition: DECELERATE 0.5;
|
||||
transition: DECELERATE 0.2;
|
||||
target: "bottom";
|
||||
target: "shad_bottom";
|
||||
target: "elm.swallow.slot.bottom";
|
||||
}
|
||||
}
|
||||
|
@ -479,8 +509,8 @@ group { name: "elm/hover/base/hoversel_vertical/default";
|
|||
alias: "elm/hover/base/hoversel_vertical/entry";
|
||||
alias: "elm/hover/base/combobox_vertical/entry";
|
||||
alias: "elm/hover/base/combobox_vertical/default";
|
||||
images.image: "button_normal.png" COMP;
|
||||
images.image: "vertical_separated_bar_glow.png" COMP;
|
||||
images.image: "shad_angle_t.png" COMP;
|
||||
images.image: "shad_angle_b.png" COMP;
|
||||
data.item: "dismiss" "on";
|
||||
// max_size limits the maximum size of expanded hoversel
|
||||
// when it's scrollable.
|
||||
|
@ -509,97 +539,17 @@ group { name: "elm/hover/base/hoversel_vertical/default";
|
|||
parts {
|
||||
part { name: "elm.swallow.offset"; type: SWALLOW;
|
||||
description { state: "default" 0.0;
|
||||
align: 0.0 0.0;
|
||||
fixed: 1 1;
|
||||
rel1.relative: 0.0 0.0;
|
||||
align: 0.0 0.0;
|
||||
rel2.relative: 0.0 0.0;
|
||||
}
|
||||
}
|
||||
part { name: "elm.swallow.size"; type: SWALLOW;
|
||||
description { state: "default" 0.0;
|
||||
fixed: 1 1;
|
||||
align: 0.0 0.0;
|
||||
fixed: 1 1;
|
||||
rel1.to: "elm.swallow.offset";
|
||||
rel.to: "elm.swallow.offset";
|
||||
rel1.relative: 1.0 1.0;
|
||||
rel2.to: "elm.swallow.offset";
|
||||
rel2.relative: 1.0 1.0;
|
||||
}
|
||||
}
|
||||
part { name: "button_image"; mouse_events: 1;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to_x: "limit0";
|
||||
rel1.to_y: "elm.swallow.slot.top";
|
||||
rel1.offset: -2 -4;
|
||||
rel2.to_x: "limit1";
|
||||
rel2.to_y: "elm.swallow.slot.middle";
|
||||
rel2.relative: 1.0 0.0;
|
||||
rel2.offset: 9 4;
|
||||
image {
|
||||
normal: "button_normal.png";
|
||||
border: 7 7 7 7;
|
||||
}
|
||||
image.middle: SOLID;
|
||||
}
|
||||
description { state: "bottom" 0.0;
|
||||
rel1.to_x: "limit0";
|
||||
rel1.to_y: "elm.swallow.slot.middle";
|
||||
rel1.relative: 0.0 1.0;
|
||||
rel1.offset: -2 -4;
|
||||
rel2.to_x: "limit1";
|
||||
rel2.to_y: "elm.swallow.slot.bottom";
|
||||
rel2.offset: 9 4;
|
||||
image {
|
||||
normal: "button_normal.png";
|
||||
border: 7 7 7 7;
|
||||
}
|
||||
image.middle: SOLID;
|
||||
}
|
||||
}
|
||||
part { name: "limit0"; type: SPACER;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to_x: "elm.swallow.slot.top";
|
||||
rel1.offset: 1 0;
|
||||
rel2.to_x: "elm.swallow.slot.middle";
|
||||
rel2.offset: 0 0;
|
||||
rel2.relative: 0.0 1.0;
|
||||
align: 0.0 0.5;
|
||||
min: 1 1;
|
||||
max: 1 99999;
|
||||
}
|
||||
description { state: "bottom" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
rel1.to_x: "elm.swallow.slot.bottom";
|
||||
}
|
||||
}
|
||||
part { name: "limit1"; type: SPACER;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to_x: "elm.swallow.slot.middle";
|
||||
rel1.offset: -1 0;
|
||||
rel1.relative: 1.0 0.0;
|
||||
rel2.to_x: "elm.swallow.slot.top";
|
||||
rel2.offset: -2 0;
|
||||
align: 1.0 0.5;
|
||||
min: 1 1;
|
||||
max: 1 99999;
|
||||
}
|
||||
description { state: "bottom" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
rel2.to_x: "elm.swallow.slot.bottom";
|
||||
}
|
||||
}
|
||||
part { name: "select_line"; mouse_events: 0;
|
||||
description { state: "default" 0.0;
|
||||
fixed: 1 1;
|
||||
align: 1.0 0.5;
|
||||
min: 15 10;
|
||||
rel1.to: "button_image";
|
||||
rel1.relative: 1.0 0.0;
|
||||
rel1.offset: 1 -3;
|
||||
rel2.to: "button_image";
|
||||
rel2.offset: 1 0;
|
||||
image.normal: "vertical_separated_bar_glow.png";
|
||||
image.border: 7 7 7 7;
|
||||
fill.smooth : 0;
|
||||
}
|
||||
}
|
||||
part { name: "base"; type: RECT;
|
||||
|
@ -611,26 +561,108 @@ group { name: "elm/hover/base/hoversel_vertical/default";
|
|||
color: 0 0 0 0;
|
||||
}
|
||||
}
|
||||
part { name: "shad"; nomouse;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
rel.to: "button_image";
|
||||
WIN_SHADOW_ANGLE_SMALL("shad_angle_t.png");
|
||||
}
|
||||
description { state: "bottom" 0.0;
|
||||
rel.to: "button_image";
|
||||
WIN_SHADOW_ANGLE_SMALL("shad_angle_b.png");
|
||||
}
|
||||
}
|
||||
part { name: "button_image"; type: RECT;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to_x: "limit0";
|
||||
rel2.to_x: "limit1";
|
||||
rel1.to_y: "elm.swallow.slot.top";
|
||||
rel2.to_y: "elm.swallow.slot.middle";
|
||||
rel2.relative: 1.0 0.0;
|
||||
color: 96 96 96 255;
|
||||
offscale;
|
||||
rel1.offset: -5 -4;
|
||||
rel2.offset: 9 1;
|
||||
}
|
||||
description { state: "bottom" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
rel1.to_y: "elm.swallow.slot.middle";
|
||||
rel1.relative: 0.0 1.0;
|
||||
rel2.to_y: "elm.swallow.slot.bottom";
|
||||
rel2.relative: 1.0 1.0;
|
||||
rel1.offset: -5 -2;
|
||||
rel2.offset: 9 3;
|
||||
}
|
||||
}
|
||||
part { name: "limit0"; type: SPACER;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to_x: "elm.swallow.slot.top";
|
||||
rel1.offset: 1 0;
|
||||
rel2.to_x: "elm.swallow.slot.middle";
|
||||
rel2.offset: 0 0;
|
||||
rel2.relative: 0.0 1.0;
|
||||
align: 0.0 0.5;
|
||||
min: 1 1;
|
||||
max: 1 99999;
|
||||
offscale;
|
||||
}
|
||||
description { state: "bottom" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
rel1.to_x: "elm.swallow.slot.bottom";
|
||||
}
|
||||
}
|
||||
part { name: "limit1"; type: SPACER;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to_x: "elm.swallow.slot.middle";
|
||||
rel1.offset: -1 0;
|
||||
rel1.relative: 1.0 0.0;
|
||||
rel2.to_x: "elm.swallow.slot.top";
|
||||
rel2.offset: -2 0;
|
||||
align: 1.0 0.5;
|
||||
min: 1 1;
|
||||
max: 1 99999;
|
||||
offscale;
|
||||
}
|
||||
description { state: "bottom" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
rel2.to_x: "elm.swallow.slot.bottom";
|
||||
}
|
||||
}
|
||||
part { name: "select_line"; type: RECT; mouse_events: 0;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
fixed: 1 1;
|
||||
align: 1.0 0.5;
|
||||
min: 5 0;
|
||||
rel.to: "button_image";
|
||||
rel1.relative: 1.0 0.0;
|
||||
color: 51 153 255 255;
|
||||
}
|
||||
}
|
||||
part { name: "topclip"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
rel2.to_y: "button_image";
|
||||
rel2.offset: -1 -6;
|
||||
}
|
||||
}
|
||||
part { name: "elm.swallow.slot.top"; type: SWALLOW;
|
||||
clip_to: "topclip";
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
visible: 1;
|
||||
align: 0.0 0.0;
|
||||
fixed: 0 1;
|
||||
rel1.to: "elm.swallow.slot.middle";
|
||||
rel1.relative: 0.0 0.0;
|
||||
rel1.offset: 0 -1;
|
||||
rel1.offset: 6 -4;
|
||||
rel2.to: "elm.swallow.slot.middle";
|
||||
rel2.relative: 1.0 0.0;
|
||||
/* set negative offset along x axis not to make
|
||||
"select_line" part exceed parent's width */
|
||||
rel2.offset: -9 -1;
|
||||
rel2.offset: -12 3;
|
||||
offscale;
|
||||
}
|
||||
description { state: "visible" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
|
@ -639,33 +671,32 @@ group { name: "elm/hover/base/hoversel_vertical/default";
|
|||
description { state: "right" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
align: 1.0 0.0;
|
||||
rel2.offset: -9 0;
|
||||
}
|
||||
description { state: "right_visible" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
align: 1.0 1.0;
|
||||
rel2.offset: -9 0;
|
||||
}
|
||||
}
|
||||
part { name: "bottomclip"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to_y: "button_image";
|
||||
rel1.offset: 0 3;
|
||||
}
|
||||
}
|
||||
part { name: "elm.swallow.slot.bottom"; type: SWALLOW;
|
||||
clip_to: "bottomclip";
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
align: 0.0 1.0;
|
||||
fixed: 0 1;
|
||||
rel1.to: "elm.swallow.slot.middle";
|
||||
rel1.relative: 0.0 1.0;
|
||||
rel1.offset: 0 0;
|
||||
rel1.offset: 6 -2;
|
||||
rel2.to: "elm.swallow.slot.middle";
|
||||
rel2.relative: 1.0 1.0;
|
||||
/* set negative offset along x axis not to make
|
||||
"select_line" part exceed parent's width */
|
||||
rel2.offset: -9 2;
|
||||
rel2.offset: -12 -5;
|
||||
offscale;
|
||||
}
|
||||
description { state: "visible" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
|
@ -674,19 +705,15 @@ group { name: "elm/hover/base/hoversel_vertical/default";
|
|||
description { state: "right" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
align: 1.0 1.0;
|
||||
rel2.offset: -9 0;
|
||||
}
|
||||
description { state: "right_visible" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
align: 1.0 0.0;
|
||||
rel2.offset: -9 0;
|
||||
}
|
||||
}
|
||||
part { name: "elm.swallow.slot.middle";
|
||||
type: SWALLOW;
|
||||
part { name: "elm.swallow.slot.middle"; type: SWALLOW;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "elm.swallow.size";
|
||||
rel2.to: "elm.swallow.size";
|
||||
rel.to: "elm.swallow.size";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -708,7 +735,7 @@ group { name: "elm/hover/base/hoversel_vertical/default";
|
|||
program { name: "hide";
|
||||
signal: "elm,action,hide"; source: "elm";
|
||||
action: STATE_SET "default" 0.0;
|
||||
transition: DECELERATE 0.5;
|
||||
transition: DECELERATE 0.3;
|
||||
target: "base";
|
||||
after: "hidefinished";
|
||||
}
|
||||
|
@ -730,18 +757,19 @@ group { name: "elm/hover/base/hoversel_vertical/default";
|
|||
set_state(PART:"limit0", "default", 0.0);
|
||||
set_state(PART:"limit1", "default", 0.0);
|
||||
set_state(PART:"button_image", "default", 0.0);
|
||||
set_state(PART:"shad", "default", 0.0);
|
||||
topshow2();
|
||||
}
|
||||
}
|
||||
program { name: "topshow_default";
|
||||
action: STATE_SET "visible" 0.0;
|
||||
target: "elm.swallow.slot.top";
|
||||
transition: DECELERATE 0.5;
|
||||
transition: DECELERATE 0.2;
|
||||
}
|
||||
program { name: "topshow_right";
|
||||
action: STATE_SET "right_visible" 0.0;
|
||||
target: "elm.swallow.slot.top";
|
||||
transition: DECELERATE 0.5;
|
||||
transition: DECELERATE 0.2;
|
||||
}
|
||||
program { name: "tophide";
|
||||
signal: "elm,action,slot,top,hide";
|
||||
|
@ -757,12 +785,12 @@ group { name: "elm/hover/base/hoversel_vertical/default";
|
|||
program { name: "tophide_default";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "elm.swallow.slot.top";
|
||||
transition: DECELERATE 0.5;
|
||||
transition: DECELERATE 0.2;
|
||||
}
|
||||
program { name: "tophide_right";
|
||||
action: STATE_SET "right" 0.0;
|
||||
target: "elm.swallow.slot.top";
|
||||
transition: DECELERATE 0.5;
|
||||
transition: DECELERATE 0.2;
|
||||
}
|
||||
program { name: "bottomshow";
|
||||
signal: "elm,action,slot,bottom,show"; source: "elm";
|
||||
|
@ -770,18 +798,19 @@ group { name: "elm/hover/base/hoversel_vertical/default";
|
|||
set_state(PART:"limit0", "bottom", 0.0);
|
||||
set_state(PART:"limit1", "bottom", 0.0);
|
||||
set_state(PART:"button_image", "bottom", 0.0);
|
||||
set_state(PART:"shad", "bottom", 0.0);
|
||||
bottomshow2();
|
||||
}
|
||||
}
|
||||
program { name: "bottomshow_default";
|
||||
action: STATE_SET "visible" 0.0;
|
||||
target: "elm.swallow.slot.bottom";
|
||||
transition: DECELERATE 0.5;
|
||||
transition: DECELERATE 0.2;
|
||||
}
|
||||
program { name: "bottomshow_right";
|
||||
action: STATE_SET "right_visible" 0.0;
|
||||
target: "elm.swallow.slot.bottom";
|
||||
transition: DECELERATE 0.5;
|
||||
transition: DECELERATE 0.2;
|
||||
}
|
||||
program { name: "bottomhide";
|
||||
signal: "elm,action,slot,bottom,hide"; source: "elm";
|
||||
|
@ -798,12 +827,12 @@ group { name: "elm/hover/base/hoversel_vertical/default";
|
|||
program { name: "bottomhide_default";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "elm.swallow.slot.bottom";
|
||||
transition: DECELERATE 0.5;
|
||||
transition: DECELERATE 0.2;
|
||||
}
|
||||
program { name: "bottomhide_right";
|
||||
action: STATE_SET "right" 0.0;
|
||||
target: "elm.swallow.slot.bottom";
|
||||
transition: DECELERATE 0.5;
|
||||
transition: DECELERATE 0.2;
|
||||
}
|
||||
program { name: "align_right";
|
||||
signal: "elm,state,align,right"; source: "elm";
|
||||
|
@ -838,8 +867,9 @@ group { name: "elm/hover/base/hoversel_vertical/default";
|
|||
|
||||
group { name: "elm/hover/base/hoversel_horizontal/default";
|
||||
alias: "elm/hover/base/hoversel_horizontal/entry";
|
||||
images.image: "button_normal.png" COMP;
|
||||
data.item: "dismiss" "on";
|
||||
images.image: "shad_angle_l.png" COMP;
|
||||
images.image: "shad_angle_r.png" COMP;
|
||||
script {
|
||||
public on_dismiss = 0;
|
||||
}
|
||||
|
@ -874,37 +904,41 @@ group { name: "elm/hover/base/hoversel_horizontal/default";
|
|||
color: 0 0 0 0;
|
||||
}
|
||||
}
|
||||
part { name: "button_image"; mouse_events: 0;
|
||||
part { name: "shad"; nomouse;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
rel.to: "button_image";
|
||||
WIN_SHADOW_ANGLE_SMALL("shad_angle_l.png");
|
||||
}
|
||||
description { state: "right" 0.0;
|
||||
rel.to: "button_image";
|
||||
WIN_SHADOW_ANGLE_SMALL("shad_angle_r.png");
|
||||
}
|
||||
}
|
||||
part { name: "button_image"; type: RECT; nomouse;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to_x: "elm.swallow.slot.left";
|
||||
rel1.to_y: "elm.swallow.slot.left";
|
||||
rel1.offset: -10 0;
|
||||
rel2.to_x: "elm.swallow.slot.middle";
|
||||
rel2.to_y: "elm.swallow.slot.left";
|
||||
rel2.relative: 0.0 1.0;
|
||||
rel2.offset: 4 9;
|
||||
image {
|
||||
normal: "button_normal.png";
|
||||
border: 7 7 7 7;
|
||||
}
|
||||
image.middle: SOLID;
|
||||
rel1.offset: -4 0;
|
||||
rel2.offset: 1 -1;
|
||||
color: 80 80 80 255;
|
||||
}
|
||||
description { state: "right" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
rel1.to_x: "elm.swallow.slot.middle";
|
||||
rel1.to_y: "elm.swallow.slot.right";
|
||||
rel1.relative: 1.0 0.0;
|
||||
rel1.offset: -5 0;
|
||||
rel2.to_x: "elm.swallow.slot.right";
|
||||
rel2.to_y: "elm.swallow.slot.right";
|
||||
rel2.offset: 10 9;
|
||||
image {
|
||||
normal: "button_normal.png";
|
||||
border: 7 7 7 7;
|
||||
}
|
||||
image.middle: SOLID;
|
||||
rel1.relative: 1.0 0.0;
|
||||
rel2.relative: 1.0 1.0;
|
||||
rel1.offset: -2 0;
|
||||
rel2.offset: 3 -1;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
part { name: "leftclip"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
rel2.to_x: "elm.swallow.slot.middle";
|
||||
|
@ -918,15 +952,13 @@ group { name: "elm/hover/base/hoversel_horizontal/default";
|
|||
fixed: 1 0;
|
||||
rel1.to: "elm.swallow.slot.middle";
|
||||
rel1.relative: 0.0 0.0;
|
||||
rel1.offset: -1 0;
|
||||
rel1.offset: -1 2;
|
||||
rel2.to: "elm.swallow.slot.middle";
|
||||
rel2.relative: 0.0 1.0;
|
||||
rel2.offset: -1 -1;
|
||||
rel2.offset: -1 -3;
|
||||
}
|
||||
description { state: "visible" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
rel1.offset: -7 0;
|
||||
rel2.offset: -7 -1;
|
||||
align: 1.0 0.0;
|
||||
}
|
||||
}
|
||||
|
@ -943,22 +975,18 @@ group { name: "elm/hover/base/hoversel_horizontal/default";
|
|||
fixed: 1 0;
|
||||
rel1.to: "elm.swallow.slot.middle";
|
||||
rel1.relative: 1.0 0.0;
|
||||
rel1.offset: 0 0;
|
||||
rel1.offset: -2 2;
|
||||
rel2.to: "elm.swallow.slot.middle";
|
||||
rel2.relative: 1.0 1.0;
|
||||
rel2.offset: 0 -1;
|
||||
rel2.offset: -1 -3;
|
||||
}
|
||||
description { state: "visible" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
rel1.offset: 6 0;
|
||||
rel2.offset: -6 -1;
|
||||
align: 0.0 0.0;
|
||||
}
|
||||
}
|
||||
part { name: "elm.swallow.slot.middle"; type: SWALLOW;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "elm.swallow.size";
|
||||
rel2.to: "elm.swallow.size";
|
||||
rel.to: "elm.swallow.size";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -975,13 +1003,13 @@ group { name: "elm/hover/base/hoversel_horizontal/default";
|
|||
program { name: "show";
|
||||
signal: "elm,action,show"; source: "elm";
|
||||
action: STATE_SET "visible" 0.0;
|
||||
transition: DECELERATE 0.5;
|
||||
transition: DECELERATE 0.2;
|
||||
target: "base";
|
||||
}
|
||||
program { name: "hide";
|
||||
signal: "elm,action,hide"; source: "elm";
|
||||
action: STATE_SET "default" 0.0;
|
||||
transition: DECELERATE 0.5;
|
||||
transition: DECELERATE 0.2;
|
||||
target: "base";
|
||||
after: "hidefinished";
|
||||
}
|
||||
|
@ -995,38 +1023,40 @@ group { name: "elm/hover/base/hoversel_horizontal/default";
|
|||
program { name: "leftshow";
|
||||
signal: "elm,action,slot,left,show"; source: "elm";
|
||||
action: STATE_SET "visible" 0.0;
|
||||
transition: DECELERATE 0.5;
|
||||
transition: DECELERATE 0.2;
|
||||
target: "elm.swallow.slot.left";
|
||||
}
|
||||
program { name: "leftshow3";
|
||||
signal: "elm,action,slot,left,show"; source: "elm";
|
||||
action: STATE_SET "default" 0.0;
|
||||
transition: DECELERATE 0.5;
|
||||
transition: DECELERATE 0.2;
|
||||
target: "button_image";
|
||||
target: "shad";
|
||||
}
|
||||
program { name: "lefthide";
|
||||
signal: "elm,action,slot,left,hide"; source: "elm";
|
||||
action: STATE_SET "default" 0.0;
|
||||
transition: DECELERATE 0.5;
|
||||
transition: DECELERATE 0.2;
|
||||
target: "elm.swallow.slot.left";
|
||||
}
|
||||
|
||||
|
||||
program { name: "rightshow";
|
||||
signal: "elm,action,slot,right,show"; source: "elm";
|
||||
action: STATE_SET "visible" 0.0;
|
||||
transition: DECELERATE 0.5;
|
||||
transition: DECELERATE 0.2;
|
||||
target: "elm.swallow.slot.right";
|
||||
}
|
||||
program { name: "rightshow3";
|
||||
signal: "elm,action,slot,right,show"; source: "elm";
|
||||
action: STATE_SET "right" 0.0;
|
||||
transition: DECELERATE 0.5;
|
||||
transition: DECELERATE 0.2;
|
||||
target: "button_image";
|
||||
target: "shad";
|
||||
}
|
||||
program { name: "righthide";
|
||||
signal: "elm,action,slot,right,hide"; source: "elm";
|
||||
action: STATE_SET "default" 0.0;
|
||||
transition: DECELERATE 0.5;
|
||||
transition: DECELERATE 0.2;
|
||||
target: "elm.swallow.slot.right";
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,115 +0,0 @@
|
|||
|
||||
/*
|
||||
* All the icons below are not standard and are to be considered
|
||||
* deprecated or at least just for internal usage only.
|
||||
*
|
||||
* We suggest to instead use the icons in icon_fdo.edc (at least if you
|
||||
* want your app to be user customizable wrt icons)
|
||||
*
|
||||
*/
|
||||
|
||||
#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("file", "toolbar/file", "icon_file.png", 16, 0);
|
||||
IC("no_photo", "photo/no_photo", "icon_head.png", 16, 0);
|
||||
IC("search", "toolbar/search", "icon_search.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("toolbar/folder", "icon_folder.png", 16, 0);
|
||||
|
||||
IC("arrow-up", "icon_arrow_up.png", 16, 0);
|
||||
IC("arrow-down", "icon_arrow_down.png", 16, 0);
|
||||
IC("arrow-left", "icon_arrow_left.png", 16, 0);
|
||||
IC("arrow-right", "icon_arrow_right.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("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("document-edit", "icon_edit.png", 16, 0)
|
||||
IC("dialog-info", "icon_info.png", 16, 0)
|
||||
IC("dialog-close", "icon_close.png", 16, 0)
|
||||
IC("application-chat", "icon_chat.png", 16, 0) /* */
|
||||
IC("application-clock", "icon_clock.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
|
||||
|
|
@ -24,7 +24,6 @@
|
|||
*
|
||||
*/
|
||||
|
||||
|
||||
// Single FDO icon
|
||||
#define ICO1(Cat, Name, Size) \
|
||||
group { name: "elm/icon/"##Name##"/default"; \
|
||||
|
@ -37,7 +36,6 @@
|
|||
aspect: 1.0 1.0; aspect_preference: BOTH; \
|
||||
} } } }
|
||||
|
||||
|
||||
// FDO icon with small and normal source (16 and 128px)
|
||||
#define ICO2(Cat, Name) \
|
||||
group { name: "elm/icon/"##Name##"/default"; \
|
||||
|
@ -61,7 +59,6 @@
|
|||
aspect: 1.0 1.0; aspect_preference: BOTH; \
|
||||
} } } }
|
||||
|
||||
|
||||
// Flag icon
|
||||
#define FLAG(Cat, Name) \
|
||||
group { name: "elm/icon/"##Name##"/default"; \
|
||||
|
@ -74,295 +71,22 @@
|
|||
aspect_preference: SOURCE; \
|
||||
} } } }
|
||||
|
||||
|
||||
//// places /////////////////////////////////////////////////////////////////
|
||||
#define CTX "places"
|
||||
ICO1(CTX, "user-home", 128)
|
||||
ICO1(CTX, "user-bookmarks", 128)
|
||||
ICO2(CTX, "user-desktop")
|
||||
ICO1(CTX, "user-trash", 128)
|
||||
ICO2(CTX, "folder")
|
||||
ICO2(CTX, "folder-drag-accept") /* spec have this icon in the Status category */
|
||||
ICO2(CTX, "folder-remote")
|
||||
ICO2(CTX, "folder-open") /* */
|
||||
ICO2(CTX, "folder-home") /* */
|
||||
ICO2(CTX, "folder-download") /* */
|
||||
ICO2(CTX, "folder-recent") /* */
|
||||
ICO2(CTX, "folder-documents") /* */
|
||||
ICO2(CTX, "folder-pictures") /* */
|
||||
ICO2(CTX, "folder-music") /* */
|
||||
ICO2(CTX, "folder-videos") /* */
|
||||
ICO2(CTX, "folder-visiting") /* spec have this icon in the Status category */
|
||||
ICO2(CTX, "network-server")
|
||||
ICO2(CTX, "network-workgroup")
|
||||
ICO2(CTX, "start-here")
|
||||
#undef CTX
|
||||
|
||||
|
||||
//// emblems ////////////////////////////////////////////////////////////////
|
||||
#define CTX "emblems"
|
||||
ICO1(CTX, "emblem-default", 96)
|
||||
ICO1(CTX, "emblem-documents", 96)
|
||||
ICO1(CTX, "emblem-downloads", 96)
|
||||
ICO1(CTX, "emblem-favorite", 96)
|
||||
ICO1(CTX, "emblem-important", 96)
|
||||
ICO1(CTX, "emblem-mail", 96)
|
||||
ICO1(CTX, "emblem-photos", 96)
|
||||
ICO1(CTX, "emblem-readonly", 96)
|
||||
ICO1(CTX, "emblem-shared", 96)
|
||||
ICO1(CTX, "emblem-symbolic-link", 96)
|
||||
ICO1(CTX, "emblem-unreadable", 96)
|
||||
ICO1(CTX, "emblem-system", 96)
|
||||
ICO1(CTX, "emblem-synchronized", 96)
|
||||
ICO1(CTX, "emblem-synchronizing", 96) /* */
|
||||
#undef CTX
|
||||
|
||||
|
||||
//// actions ////////////////////////////////////////////////////////////////
|
||||
#define CTX "actions"
|
||||
ICO1(CTX, "address-book-new", 128)
|
||||
ICO1(CTX, "application-exit", 128)
|
||||
ICO1(CTX, "appointment-new", 128)
|
||||
ICO1(CTX, "call-start", 128)
|
||||
ICO1(CTX, "call-stop", 128)
|
||||
ICO1(CTX, "contact-new", 128)
|
||||
ICO1(CTX, "document-open", 128)
|
||||
ICO1(CTX, "document-open-recent", 128)
|
||||
ICO1(CTX, "document-page-setup", 128)
|
||||
ICO1(CTX, "document-properties", 128)
|
||||
ICO1(CTX, "document-save", 128)
|
||||
ICO1(CTX, "document-save-as", 128)
|
||||
ICO1(CTX, "document-send", 128)
|
||||
ICO1(CTX, "document-close", 128) /* */
|
||||
ICO1(CTX, "document-new", 128)
|
||||
ICO1(CTX, "document-print", 128)
|
||||
ICO1(CTX, "document-print-preview", 128)
|
||||
ICO1(CTX, "document-revert", 128)
|
||||
ICO1(CTX, "document-export", 128) /* */
|
||||
ICO1(CTX, "document-import", 128) /* */
|
||||
|
||||
ICO1(CTX, "edit-clear", 128)
|
||||
ICO1(CTX, "edit-copy", 128)
|
||||
ICO1(CTX, "edit-cut", 128)
|
||||
ICO1(CTX, "edit-delete", 128)
|
||||
ICO1(CTX, "edit-find", 128)
|
||||
ICO1(CTX, "edit-find-replace", 128)
|
||||
ICO1(CTX, "edit-paste", 128)
|
||||
ICO1(CTX, "edit-redo", 128)
|
||||
ICO1(CTX, "edit-undo", 128)
|
||||
ICO1(CTX, "edit-select-all", 128)
|
||||
|
||||
ICO1(CTX, "folder-copy", 128) /* */
|
||||
ICO1(CTX, "folder-move", 128) /* */
|
||||
ICO1(CTX, "folder-new", 128) /* */
|
||||
|
||||
ICO1(CTX, "format-indent-less", 128)
|
||||
ICO1(CTX, "format-indent-more", 128)
|
||||
ICO1(CTX, "format-justify-center", 128)
|
||||
ICO1(CTX, "format-justify-fill", 128)
|
||||
ICO1(CTX, "format-justify-left", 128)
|
||||
ICO1(CTX, "format-justify-right", 128)
|
||||
ICO1(CTX, "format-text-direction-ltr", 128)
|
||||
ICO1(CTX, "format-text-direction-rtl", 128)
|
||||
ICO1(CTX, "format-text-bold", 128)
|
||||
ICO1(CTX, "format-text-italic", 128)
|
||||
ICO1(CTX, "format-text-underline", 128)
|
||||
ICO1(CTX, "format-text-strikethrough", 128)
|
||||
|
||||
ICO1(CTX, "go-home", 128)
|
||||
ICO1(CTX, "go-bottom", 128)
|
||||
ICO1(CTX, "go-down", 128)
|
||||
ICO1(CTX, "go-first", 128)
|
||||
ICO1(CTX, "go-jump", 128)
|
||||
ICO1(CTX, "go-last", 128)
|
||||
ICO1(CTX, "go-next", 128)
|
||||
ICO1(CTX, "go-previous", 128)
|
||||
ICO1(CTX, "go-top", 128)
|
||||
ICO1(CTX, "go-up", 128)
|
||||
|
||||
ICO1(CTX, "insert-image", 128)
|
||||
ICO1(CTX, "insert-link", 128)
|
||||
ICO1(CTX, "insert-object", 128)
|
||||
ICO1(CTX, "insert-text", 128)
|
||||
|
||||
ICO1(CTX, "list-add", 128)
|
||||
ICO1(CTX, "list-remove", 128)
|
||||
|
||||
ICO1(CTX, "mail-forward", 128)
|
||||
ICO1(CTX, "mail-mark-important", 128)
|
||||
ICO1(CTX, "mail-mark-junk", 128)
|
||||
ICO1(CTX, "mail-mark-notjunk", 128)
|
||||
ICO1(CTX, "mail-mark-read", 128)
|
||||
ICO1(CTX, "mail-mark-unread", 128)
|
||||
ICO1(CTX, "mail-message-new", 128)
|
||||
ICO1(CTX, "mail-reply-all", 128)
|
||||
ICO1(CTX, "mail-reply-sender", 128)
|
||||
ICO1(CTX, "mail-send", 128)
|
||||
ICO1(CTX, "mail-send-receive", 128)
|
||||
|
||||
ICO1(CTX, "media-eject", 128)
|
||||
ICO1(CTX, "media-playback-pause", 128)
|
||||
ICO1(CTX, "media-playback-start", 128)
|
||||
ICO1(CTX, "media-playback-stop", 128)
|
||||
ICO1(CTX, "media-record", 128)
|
||||
ICO1(CTX, "media-seek-backward", 128)
|
||||
ICO1(CTX, "media-seek-forward", 128)
|
||||
ICO1(CTX, "media-skip-backward", 128)
|
||||
ICO1(CTX, "media-skip-forward", 128)
|
||||
|
||||
ICO1(CTX, "object-flip-horizontal", 128)
|
||||
ICO1(CTX, "object-flip-vertical", 128)
|
||||
ICO1(CTX, "object-rotate-left", 128)
|
||||
ICO1(CTX, "object-rotate-right", 128)
|
||||
|
||||
ICO1(CTX, "process-stop", 128)
|
||||
ICO1(CTX, "tools-check-spelling", 128)
|
||||
|
||||
ICO1(CTX, "view-list-compact", 128) /* */
|
||||
ICO1(CTX, "view-list-details", 128) /* */
|
||||
ICO1(CTX, "view-list-icons", 128) /* */
|
||||
|
||||
ICO1(CTX, "view-fullscreen", 128)
|
||||
ICO1(CTX, "view-refresh", 128)
|
||||
ICO1(CTX, "view-restore", 128)
|
||||
ICO1(CTX, "view-sort-ascending", 128)
|
||||
ICO1(CTX, "view-sort-descending", 128)
|
||||
ICO1(CTX, "view-close", 128) /* */
|
||||
|
||||
ICO1(CTX, "window-close", 128)
|
||||
ICO1(CTX, "window-new", 128)
|
||||
|
||||
ICO1(CTX, "system-run", 128)
|
||||
ICO1(CTX, "system-shutdown", 128)
|
||||
ICO1(CTX, "system-reboot", 128)
|
||||
ICO1(CTX, "system-lock-screen", 128)
|
||||
ICO1(CTX, "system-log-out", 128)
|
||||
ICO1(CTX, "system-search", 128)
|
||||
|
||||
ICO1(CTX, "help-about", 128)
|
||||
ICO1(CTX, "help-contents", 128)
|
||||
ICO1(CTX, "help-faq", 128)
|
||||
|
||||
ICO1(CTX, "zoom-in", 128)
|
||||
ICO1(CTX, "zoom-out", 128)
|
||||
ICO1(CTX, "zoom-original", 128)
|
||||
ICO1(CTX, "zoom-fit", 128) /* */
|
||||
ICO1(CTX, "zoom-fill", 128) /* */
|
||||
ICO1(CTX, "zoom-fit-best", 128)
|
||||
|
||||
#undef CTX
|
||||
|
||||
|
||||
//// status /////////////////////////////////////////////////////////////
|
||||
#define CTX "status"
|
||||
ICO1(CTX, "appointment-missed", 128)
|
||||
ICO1(CTX, "appointment-soon", 128)
|
||||
ICO1(CTX, "audio-volume-high", 128)
|
||||
ICO1(CTX, "audio-volume-low", 128)
|
||||
ICO1(CTX, "audio-volume-medium", 128)
|
||||
ICO1(CTX, "audio-volume-muted", 128)
|
||||
ICO1(CTX, "audio-volume", 128) /* */
|
||||
ICO1(CTX, "battery-caution", 128)
|
||||
ICO1(CTX, "battery-empty", 128) /* */
|
||||
ICO1(CTX, "battery-low", 128)
|
||||
ICO1(CTX, "battery-good", 128) /* */
|
||||
ICO1(CTX, "battery-full", 128) /* */
|
||||
ICO1(CTX, "battery-caution-charging", 128) /* */
|
||||
ICO1(CTX, "battery-empty-charging", 128) /* */
|
||||
ICO1(CTX, "battery-low-charging", 128) /* */
|
||||
ICO1(CTX, "battery-good-charging", 128) /* */
|
||||
ICO1(CTX, "battery-full-charging", 128) /* */
|
||||
ICO1(CTX, "bluetooth-active", 128) /* */
|
||||
ICO1(CTX, "bluetooth-disabled", 128) /* */
|
||||
ICO1(CTX, "changes-allow", 128) /* */
|
||||
ICO1(CTX, "changes-prevent", 128)/* */
|
||||
ICO1(CTX, "dialog-error", 128)
|
||||
ICO1(CTX, "dialog-information", 128)
|
||||
ICO1(CTX, "dialog-password", 128)
|
||||
ICO1(CTX, "dialog-question", 128)
|
||||
ICO1(CTX, "dialog-warning", 128)
|
||||
ICO1(CTX, "media-playlist-repeat", 128)
|
||||
ICO1(CTX, "media-playlist-shuffle", 128)
|
||||
ICO1(CTX, "mail-attachment", 128)
|
||||
ICO1(CTX, "mail-unread", 128)
|
||||
ICO1(CTX, "mail-read", 128)
|
||||
ICO1(CTX, "mail-replied", 128)
|
||||
ICO1(CTX, "mail-signed", 128)
|
||||
ICO1(CTX, "mail-signed-verified", 128)
|
||||
ICO1(CTX, "network-cellular-3g", 128) /* */
|
||||
ICO1(CTX, "network-cellular-4g", 128) /* */
|
||||
ICO1(CTX, "network-cellular-edge", 128) /* */
|
||||
ICO1(CTX, "network-cellular-gprs", 128) /* */
|
||||
ICO1(CTX, "network-cellular-umts", 128) /* */
|
||||
ICO1(CTX, "network-cellular-connected", 128) /* */
|
||||
ICO1(CTX, "network-cellular-signal-excellent", 128) /* */
|
||||
ICO1(CTX, "network-cellular-signal-good", 128) /* */
|
||||
ICO1(CTX, "network-cellular-signal-none", 128) /* */
|
||||
ICO1(CTX, "network-cellular-signal-ok", 128) /* */
|
||||
ICO1(CTX, "network-cellular-signal-weak", 128) /* */
|
||||
ICO1(CTX, "network-cellular-signal-acquiring", 128) /* */
|
||||
ICO1(CTX, "network-error", 128)
|
||||
ICO1(CTX, "network-offline", 128)
|
||||
ICO1(CTX, "network-receive", 128)
|
||||
ICO1(CTX, "network-transmit-receive", 128)
|
||||
ICO1(CTX, "network-transmit", 128)
|
||||
ICO1(CTX, "network-idle", 128)
|
||||
ICO1(CTX, "network-vpn", 128) /* */
|
||||
ICO1(CTX, "network-vpn-acquiring", 128) /* */
|
||||
ICO1(CTX, "network-wireless-acquiring", 128) /* */
|
||||
ICO1(CTX, "network-wireless-encrypted", 128) /* */
|
||||
ICO1(CTX, "network-wireless-signal-excellent", 128) /* */
|
||||
ICO1(CTX, "network-wireless-signal-good", 128) /* */
|
||||
ICO1(CTX, "network-wireless-signal-none", 128) /* */
|
||||
ICO1(CTX, "network-wireless-signal-ok", 128) /* */
|
||||
ICO1(CTX, "network-wireless-signal-weak", 128) /* */
|
||||
ICO1(CTX, "printer-error", 128)
|
||||
ICO1(CTX, "printer-printing", 128)
|
||||
ICO1(CTX, "printer-warning", 128) /* */
|
||||
ICO1(CTX, "security-high", 128)
|
||||
ICO1(CTX, "security-medium", 128)
|
||||
ICO1(CTX, "security-low", 128)
|
||||
ICO1(CTX, "software-update-available", 128)
|
||||
ICO1(CTX, "software-update-urgent", 128)
|
||||
ICO1(CTX, "task-due", 128)
|
||||
ICO1(CTX, "task-past-due", 128)
|
||||
ICO1(CTX, "user-available", 128)
|
||||
ICO1(CTX, "user-away", 128)
|
||||
ICO1(CTX, "user-busy", 128) /* */
|
||||
ICO1(CTX, "user-invisible", 128) /* */
|
||||
ICO1(CTX, "user-idle", 128)
|
||||
ICO1(CTX, "user-offline", 128)
|
||||
ICO1(CTX, "user-trash-full", 128) /* */
|
||||
ICO1(CTX, "weather-clear-night", 128)
|
||||
ICO1(CTX, "weather-clear", 128)
|
||||
ICO1(CTX, "weather-clouds-night", 128) /* */
|
||||
ICO1(CTX, "weather-clouds", 128) /* */
|
||||
ICO1(CTX, "weather-few-clouds-night", 128)
|
||||
ICO1(CTX, "weather-few-clouds", 128)
|
||||
ICO1(CTX, "weather-fog", 128)
|
||||
ICO1(CTX, "weather-overcast", 128)
|
||||
ICO1(CTX, "weather-severe-alert", 128)
|
||||
ICO1(CTX, "weather-showers-scattered", 128)
|
||||
ICO1(CTX, "weather-showers", 128)
|
||||
ICO1(CTX, "weather-snow", 128)
|
||||
ICO1(CTX, "weather-storm", 128)
|
||||
|
||||
// TODO image-loading
|
||||
// TODO image-missing
|
||||
// TODO sync-error
|
||||
// TODO sync-synchronizing
|
||||
ICO1(CTX, "starred", 128) /* */
|
||||
ICO1(CTX, "non-starred", 128) /* */
|
||||
// folder-visiting /* in the Places category */
|
||||
// folder-drag-accept /* in the Places category */
|
||||
#undef CTX
|
||||
|
||||
|
||||
//// animations /////////////////////////////////////////////////////////////
|
||||
#define CTX "animations"
|
||||
// TODO process-working
|
||||
#undef CTX
|
||||
|
||||
|
||||
//// applications ///////////////////////////////////////////////////////////
|
||||
#define CTX "apps"
|
||||
// TODO accessories-calculator
|
||||
|
@ -371,41 +95,15 @@ ICO1(CTX, "non-starred", 128) /* */
|
|||
// TODO accessories-text-editor
|
||||
// TODO multimedia-volume-control
|
||||
// TODO help-browser
|
||||
ICO1(CTX, "preferences-color", 64) /* */
|
||||
ICO1(CTX, "preferences-profile", 64) /* Elm specific */
|
||||
// TODO preferences-desktop-accessibility
|
||||
ICO1(CTX, "preferences-desktop-display", 64) /* */
|
||||
ICO1(CTX, "preferences-desktop-font", 64)
|
||||
ICO1(CTX, "preferences-desktop-keyboard", 64)
|
||||
ICO1(CTX, "preferences-desktop-locale", 64)
|
||||
ICO1(CTX, "preferences-desktop-multimedia", 64)
|
||||
ICO1(CTX, "preferences-desktop-screensaver", 64)
|
||||
ICO1(CTX, "preferences-desktop-theme", 64)
|
||||
ICO1(CTX, "preferences-desktop-wallpaper", 64)
|
||||
// TODO system-software-install
|
||||
// TODO system-software-update
|
||||
// TODO utilities-system-monitor
|
||||
// TODO utilities-terminal
|
||||
ICO1(CTX, "system-file-manager", 64)
|
||||
#undef CTX
|
||||
|
||||
|
||||
//// categories /////////////////////////////////////////////////////////////
|
||||
#define CTX "categories"
|
||||
ICO2(CTX, "applications-accessories")
|
||||
ICO2(CTX, "applications-development")
|
||||
ICO2(CTX, "applications-games")
|
||||
ICO2(CTX, "applications-graphics")
|
||||
ICO2(CTX, "applications-internet")
|
||||
ICO2(CTX, "applications-multimedia")
|
||||
ICO2(CTX, "applications-office")
|
||||
ICO2(CTX, "applications-other")
|
||||
ICO2(CTX, "applications-science")
|
||||
ICO2(CTX, "applications-system")
|
||||
ICO2(CTX, "applications-utilities")
|
||||
ICO2(CTX, "preferences-desktop")
|
||||
ICO2(CTX, "preferences-system")
|
||||
ICO1(CTX, "preferences-other", 128)
|
||||
// TODO applications-engineering
|
||||
// TODO preferences-desktop-peripherals
|
||||
// TODO preferences-desktop-personal
|
||||
|
@ -413,56 +111,6 @@ ICO1(CTX, "preferences-other", 128)
|
|||
// TODO system-help
|
||||
#undef CTX
|
||||
|
||||
|
||||
//// devices ////////////////////////////////////////////////////////////////
|
||||
#define CTX "devices"
|
||||
ICO1(CTX, "audio-card", 128)
|
||||
ICO1(CTX, "audio-input-microphone", 128)
|
||||
ICO1(CTX, "battery", 128)
|
||||
ICO1(CTX, "camera", 128)
|
||||
ICO1(CTX, "camera-photo", 128)
|
||||
ICO1(CTX, "camera-web", 128)
|
||||
ICO1(CTX, "camera-video", 128)
|
||||
ICO1(CTX, "drive-harddisk", 128)
|
||||
ICO1(CTX, "drive-harddisk-ieee1394", 128)
|
||||
ICO1(CTX, "drive-harddisk-usb", 128)
|
||||
ICO1(CTX, "drive-optical", 128)
|
||||
ICO1(CTX, "drive-removable-media", 128)
|
||||
ICO1(CTX, "drive-removable-media-ieee1394", 128)
|
||||
ICO1(CTX, "drive-removable-media-usb", 128)
|
||||
ICO1(CTX, "computer", 128)
|
||||
ICO1(CTX, "computer-laptop", 128)
|
||||
ICO1(CTX, "multimedia-player", 128)
|
||||
ICO1(CTX, "media-optical", 128)
|
||||
ICO1(CTX, "media-optical-cd", 128)
|
||||
ICO1(CTX, "media-optical-audio", 128)
|
||||
ICO1(CTX, "media-optical-dvd", 128)
|
||||
ICO1(CTX, "media-optical-bd", 128)
|
||||
ICO1(CTX, "media-flash", 128)
|
||||
ICO1(CTX, "media-flash-cf", 128)
|
||||
ICO1(CTX, "media-flash-ms", 128)
|
||||
ICO1(CTX, "media-flash-sd", 128)
|
||||
ICO1(CTX, "media-flash-sm", 128)
|
||||
ICO1(CTX, "media-floppy", 128)
|
||||
ICO1(CTX, "media-zip", 128)
|
||||
ICO1(CTX, "media-tape", 128)
|
||||
ICO1(CTX, "media-memory", 128)
|
||||
ICO1(CTX, "processor", 128)
|
||||
ICO1(CTX, "input-mouse", 128)
|
||||
ICO1(CTX, "input-tablet", 128)
|
||||
ICO1(CTX, "input-keyboard", 128)
|
||||
ICO1(CTX, "input-gaming", 128)
|
||||
ICO1(CTX, "pda", 128)
|
||||
ICO1(CTX, "phone", 128)
|
||||
ICO1(CTX, "printer", 128)
|
||||
ICO1(CTX, "scanner", 128)
|
||||
ICO1(CTX, "modem", 128)
|
||||
ICO1(CTX, "video-display", 128)
|
||||
ICO1(CTX, "network-wired", 128)
|
||||
ICO1(CTX, "network-wireless", 128)
|
||||
#undef CTX
|
||||
|
||||
|
||||
//// emotions ///////////////////////////////////////////////////////////////
|
||||
#define CTX "emotions"
|
||||
// TODO face-angel
|
||||
|
@ -488,113 +136,11 @@ ICO1(CTX, "network-wireless", 128)
|
|||
// TODO face-worried
|
||||
#undef CTX
|
||||
|
||||
|
||||
//// international //////////////////////////////////////////////////////////
|
||||
// Country flags, ISO 3166-1 alpha-2 country code (flag-aa)
|
||||
#define CTX "intl"
|
||||
FLAG(CTX, "flag-ad")
|
||||
FLAG(CTX, "flag-af")
|
||||
FLAG(CTX, "flag-al")
|
||||
FLAG(CTX, "flag-am")
|
||||
FLAG(CTX, "flag-ar")
|
||||
FLAG(CTX, "flag-at")
|
||||
FLAG(CTX, "flag-au")
|
||||
FLAG(CTX, "flag-az")
|
||||
FLAG(CTX, "flag-ba")
|
||||
FLAG(CTX, "flag-bd")
|
||||
FLAG(CTX, "flag-be")
|
||||
FLAG(CTX, "flag-bg")
|
||||
FLAG(CTX, "flag-br")
|
||||
FLAG(CTX, "flag-bt")
|
||||
FLAG(CTX, "flag-bw")
|
||||
FLAG(CTX, "flag-by")
|
||||
FLAG(CTX, "flag-ca")
|
||||
FLAG(CTX, "flag-cd")
|
||||
FLAG(CTX, "flag-ch")
|
||||
FLAG(CTX, "flag-cm")
|
||||
FLAG(CTX, "flag-cn")
|
||||
FLAG(CTX, "flag-cz")
|
||||
FLAG(CTX, "flag-de")
|
||||
FLAG(CTX, "flag-dk")
|
||||
FLAG(CTX, "flag-ee")
|
||||
FLAG(CTX, "flag-es")
|
||||
FLAG(CTX, "flag-et")
|
||||
FLAG(CTX, "flag-fi")
|
||||
FLAG(CTX, "flag-fo")
|
||||
FLAG(CTX, "flag-fr")
|
||||
FLAG(CTX, "flag-gb")
|
||||
FLAG(CTX, "flag-ge")
|
||||
FLAG(CTX, "flag-gh")
|
||||
FLAG(CTX, "flag-gn")
|
||||
FLAG(CTX, "flag-gr")
|
||||
FLAG(CTX, "flag-hr")
|
||||
FLAG(CTX, "flag-hu")
|
||||
FLAG(CTX, "flag-ie")
|
||||
FLAG(CTX, "flag-il")
|
||||
FLAG(CTX, "flag-in")
|
||||
FLAG(CTX, "flag-iq")
|
||||
FLAG(CTX, "flag-ir")
|
||||
FLAG(CTX, "flag-is")
|
||||
FLAG(CTX, "flag-it")
|
||||
FLAG(CTX, "flag-jp")
|
||||
FLAG(CTX, "flag-ke")
|
||||
FLAG(CTX, "flag-kg")
|
||||
FLAG(CTX, "flag-kh")
|
||||
FLAG(CTX, "flag-kr")
|
||||
FLAG(CTX, "flag-ku")
|
||||
FLAG(CTX, "flag-kz")
|
||||
FLAG(CTX, "flag-la")
|
||||
FLAG(CTX, "flag-lk")
|
||||
FLAG(CTX, "flag-lt")
|
||||
FLAG(CTX, "flag-lv")
|
||||
FLAG(CTX, "flag-ma")
|
||||
FLAG(CTX, "flag-md")
|
||||
FLAG(CTX, "flag-me")
|
||||
FLAG(CTX, "flag-mk")
|
||||
FLAG(CTX, "flag-ml")
|
||||
FLAG(CTX, "flag-mm")
|
||||
FLAG(CTX, "flag-mn")
|
||||
FLAG(CTX, "flag-mt")
|
||||
FLAG(CTX, "flag-mv")
|
||||
FLAG(CTX, "flag-my")
|
||||
FLAG(CTX, "flag-ng")
|
||||
FLAG(CTX, "flag-nl")
|
||||
FLAG(CTX, "flag-no")
|
||||
FLAG(CTX, "flag-np")
|
||||
FLAG(CTX, "flag-ph")
|
||||
FLAG(CTX, "flag-pk")
|
||||
FLAG(CTX, "flag-pl")
|
||||
FLAG(CTX, "flag-pt")
|
||||
FLAG(CTX, "flag-ro")
|
||||
FLAG(CTX, "flag-rs")
|
||||
FLAG(CTX, "flag-ru")
|
||||
FLAG(CTX, "flag-se")
|
||||
FLAG(CTX, "flag-si")
|
||||
FLAG(CTX, "flag-sk")
|
||||
FLAG(CTX, "flag-sn")
|
||||
FLAG(CTX, "flag-sy")
|
||||
FLAG(CTX, "flag-th")
|
||||
FLAG(CTX, "flag-tj")
|
||||
FLAG(CTX, "flag-tm")
|
||||
FLAG(CTX, "flag-tr")
|
||||
FLAG(CTX, "flag-tw")
|
||||
FLAG(CTX, "flag-tz")
|
||||
FLAG(CTX, "flag-ua")
|
||||
FLAG(CTX, "flag-us")
|
||||
FLAG(CTX, "flag-uz")
|
||||
FLAG(CTX, "flag-vn")
|
||||
FLAG(CTX, "flag-za")
|
||||
#undef CTX
|
||||
|
||||
|
||||
//// mimetypes //////////////////////////////////////////////////////////////
|
||||
#define CTX "mimetypes"
|
||||
ICO2(CTX, "inode-directory")
|
||||
// TODO ... don't really know about this one (they are LOTS of icons)
|
||||
#undef CTX
|
||||
|
||||
|
||||
#undef ICO1
|
||||
#undef ICO2
|
||||
#undef FLAG
|
||||
|
||||
|
|
|
@ -2,9 +2,8 @@ group { name: "elm/index/base/vertical/default";
|
|||
parts {
|
||||
part { name: "bg"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "elm.swallow.index.0";
|
||||
rel2.to: "elm.swallow.index.0";
|
||||
color_class: "index_bg";
|
||||
rel.to: "elm.swallow.index.0";
|
||||
color: 0 0 0 0;
|
||||
}
|
||||
}
|
||||
part { name: "clip"; type: RECT; mouse_events: 0;
|
||||
|
@ -29,43 +28,40 @@ group { name: "elm/index/base/vertical/default";
|
|||
}
|
||||
}
|
||||
part { name: "elm.swallow.index.0"; type: SWALLOW;
|
||||
scale: 1;
|
||||
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;
|
||||
}
|
||||
offscale;
|
||||
rel1.relative: 1.0 0.5;
|
||||
rel1.offset: -1 4;
|
||||
rel2.relative: 1.0 0.5;
|
||||
rel2.offset: -1 -5;
|
||||
min: 32 0;
|
||||
}
|
||||
}
|
||||
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;
|
||||
offscale;
|
||||
rel1 {
|
||||
to_x: "elm.swallow.event.0";
|
||||
to_y: "elm.dragable.pointer";
|
||||
relative: 0.0 0.5;
|
||||
offset: -16 0;
|
||||
offset: -48 0;
|
||||
}
|
||||
rel2 {
|
||||
to_x: "elm.swallow.event.0";
|
||||
to_y: "elm.dragable.pointer";
|
||||
relative: 0.0 0.5;
|
||||
offset: -16 -1;
|
||||
offset: -48 -1;
|
||||
}
|
||||
color_class: "index_highlight_text";
|
||||
text {
|
||||
font: FN;
|
||||
size: 20;
|
||||
color: 51 153 255 255;
|
||||
text { font: FNBD; size: 20;
|
||||
min: 1 1;
|
||||
ellipsis: -1;
|
||||
align: 1.0 0.5;
|
||||
|
@ -75,6 +71,7 @@ group { name: "elm/index/base/vertical/default";
|
|||
}
|
||||
part { name: "elm.dragable.pointer"; type: RECT; mouse_events: 0;
|
||||
clip_to: "clip";
|
||||
scale: 1;
|
||||
dragable {
|
||||
x: 1 1 0;
|
||||
y: 1 1 0;
|
||||
|
@ -84,60 +81,43 @@ group { name: "elm/index/base/vertical/default";
|
|||
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;
|
||||
}
|
||||
rel2.relative: 0.0 0.0;
|
||||
rel2.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;
|
||||
}
|
||||
rel1.relative: 1.0 0.0;
|
||||
rel1.offset: -1 0;
|
||||
}
|
||||
}
|
||||
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";
|
||||
rel.to:"elm.swallow.event.0";
|
||||
color: 0 0 0 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
programs {
|
||||
program { name: "active";
|
||||
signal: "elm,state,active"; source: "elm";
|
||||
program { 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";
|
||||
program { 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";
|
||||
program { 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";
|
||||
program { signal: "elm,indicator,state,inactive"; source: "elm";
|
||||
action: STATE_SET "default" 0.0;
|
||||
transition: DECELERATE 0.5;
|
||||
target: "clip2";
|
||||
|
@ -147,24 +127,12 @@ group { name: "elm/index/base/vertical/default";
|
|||
|
||||
group { name: "elm/index/item/vertical/default";
|
||||
data.item: "stacking" "below";
|
||||
images {
|
||||
image: "darken_rounded_square_half.png" COMP;
|
||||
}
|
||||
parts {
|
||||
part { name: "bg"; type: RECT;
|
||||
part { name: "base"; type: RECT; mouse_events: 0;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "base";
|
||||
rel2.to: "base";
|
||||
color_class: "index_item_bg";
|
||||
}
|
||||
}
|
||||
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;
|
||||
color: 0 0 0 128;
|
||||
offscale;
|
||||
}
|
||||
description { state: "active" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
|
@ -173,23 +141,14 @@ group { name: "elm/index/item/vertical/default";
|
|||
}
|
||||
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_class: "index_item_text";
|
||||
text {
|
||||
font: FN;
|
||||
size: 10;
|
||||
description { state: "default" 0.0;
|
||||
offscale;
|
||||
rel.to: "base";
|
||||
rel1.offset: 4 4;
|
||||
rel2.relative: 0.5 1.0;
|
||||
rel2.offset: -5 -5;
|
||||
color: 160 160 160 255;
|
||||
text { font: FNBD; size: 10;
|
||||
min: 1 1;
|
||||
ellipsis: -1;
|
||||
align: 0.5 0.5;
|
||||
|
@ -198,47 +157,14 @@ group { name: "elm/index/item/vertical/default";
|
|||
}
|
||||
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_class: "index_item_text_selected";
|
||||
text {
|
||||
font: FN;
|
||||
size: 10;
|
||||
min: 0 0;
|
||||
align: 0.5 0.5;
|
||||
text_source: "elm.text";
|
||||
text_class: "index_item_text_selected";
|
||||
}
|
||||
}
|
||||
description { state: "active" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
visible: 1;
|
||||
color: 255 255 255 255;
|
||||
}
|
||||
}
|
||||
}
|
||||
programs {
|
||||
program { name: "active";
|
||||
signal: "elm,state,active"; source: "elm";
|
||||
program { 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";
|
||||
|
@ -246,11 +172,9 @@ group { name: "elm/index/item/vertical/default";
|
|||
target: "base";
|
||||
transition: DECELERATE 0.5;
|
||||
}
|
||||
program { name: "inactive";
|
||||
signal: "elm,state,inactive"; source: "elm";
|
||||
program { 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";
|
||||
|
@ -265,20 +189,11 @@ group { name: "elm/index/item_odd/vertical/default";
|
|||
data.item: "stacking" "above";
|
||||
data.item: "selectraise" "on";
|
||||
parts {
|
||||
part { name: "bg"; type: RECT;
|
||||
part { name: "base"; type: RECT; mouse_events: 0;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "base";
|
||||
rel2.to: "base";
|
||||
color_class: "index_item_bg";
|
||||
}
|
||||
}
|
||||
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;
|
||||
color: 0 0 0 128;
|
||||
offscale;
|
||||
}
|
||||
description { state: "active" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
|
@ -287,23 +202,14 @@ group { name: "elm/index/item_odd/vertical/default";
|
|||
}
|
||||
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_class: "index_item_text";
|
||||
text {
|
||||
font: FN;
|
||||
size: 10;
|
||||
description { state: "default" 0.0;
|
||||
offscale;
|
||||
rel.to: "base";
|
||||
rel1.offset: 4 4;
|
||||
rel2.relative: 0.5 1.0;
|
||||
rel2.offset: -5 -5;
|
||||
color: 160 160 160 255;
|
||||
text { font: FNBD; size: 10;
|
||||
min: 1 1;
|
||||
ellipsis: -1;
|
||||
align: 0.5 0.5;
|
||||
|
@ -312,47 +218,14 @@ group { name: "elm/index/item_odd/vertical/default";
|
|||
}
|
||||
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_class: "index_item_text_selected";
|
||||
text {
|
||||
font: FN;
|
||||
size: 10;
|
||||
min: 0 0;
|
||||
align: 0.5 0.5;
|
||||
text_source: "elm.text";
|
||||
text_class: "index_item_text_selected";
|
||||
}
|
||||
}
|
||||
description { state: "active" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
visible: 1;
|
||||
color: 255 255 255 255;
|
||||
}
|
||||
}
|
||||
}
|
||||
programs {
|
||||
program { name: "active";
|
||||
signal: "elm,state,active"; source: "elm";
|
||||
program { 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";
|
||||
|
@ -360,11 +233,9 @@ group { name: "elm/index/item_odd/vertical/default";
|
|||
target: "base";
|
||||
transition: DECELERATE 0.5;
|
||||
}
|
||||
program { name: "inactive";
|
||||
signal: "elm,state,inactive"; source: "elm";
|
||||
program { 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";
|
||||
|
@ -375,11 +246,21 @@ group { name: "elm/index/item_odd/vertical/default";
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
group { name: "elm/index/base/horizontal/default";
|
||||
parts {
|
||||
part { name: "clip"; type: RECT; mouse_events: 0;
|
||||
part { name: "bg"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
visible: 0;
|
||||
rel.to: "elm.swallow.index.0";
|
||||
color: 0 0 0 0;
|
||||
}
|
||||
}
|
||||
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;
|
||||
|
@ -387,7 +268,7 @@ group { name: "elm/index/base/horizontal/default";
|
|||
color: 255 255 255 255;
|
||||
}
|
||||
}
|
||||
part { name: "clip2"; type: RECT; mouse_events: 0;
|
||||
part { name: "clip2"; type: RECT; mouse_events: 0;
|
||||
clip_to: "clip";
|
||||
description { state: "default" 0.0;
|
||||
visible: 0;
|
||||
|
@ -399,51 +280,50 @@ group { name: "elm/index/base/horizontal/default";
|
|||
}
|
||||
}
|
||||
part { name: "elm.swallow.index.0"; type: SWALLOW;
|
||||
scale: 1;
|
||||
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;
|
||||
}
|
||||
offscale;
|
||||
rel1.relative: 0.5 1.0;
|
||||
rel1.offset: 4 -1;
|
||||
rel2.relative: 0.5 1.0;
|
||||
rel2.offset: -5 -1;
|
||||
min: 0 32;
|
||||
}
|
||||
}
|
||||
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;
|
||||
align: 0.5 1.0;
|
||||
fixed: 1 1;
|
||||
offscale;
|
||||
rel1 {
|
||||
to_x: "elm.dragable.pointer";
|
||||
to_y: "elm.swallow.event.0";
|
||||
relative: 0.5 0;
|
||||
offset: 0 -16;
|
||||
relative: 0.5 0.0;
|
||||
offset: 0 -48;
|
||||
}
|
||||
rel2 {
|
||||
to_x: "elm.dragable.pointer";
|
||||
to_y: "elm.swallow.event.0";
|
||||
relative: 0.5 0;
|
||||
offset: -1 -16;
|
||||
relative: 0.5 0.0;
|
||||
offset: -1 -48;
|
||||
}
|
||||
color: FN_COL_HIGHLIGHT;
|
||||
text {
|
||||
font: FN;
|
||||
size: 20;
|
||||
color: 51 153 255 255;
|
||||
text { font: FNBD; size: 20;
|
||||
min: 1 1;
|
||||
ellipsis: -1;
|
||||
align: 0.5 1;
|
||||
align: 0.5 1.0;
|
||||
text_class: "index_highlight_text";
|
||||
}
|
||||
}
|
||||
}
|
||||
part { name: "elm.dragable.pointer"; type: RECT; mouse_events: 0;
|
||||
clip_to: "clip";
|
||||
scale: 1;
|
||||
dragable {
|
||||
x: 1 1 0;
|
||||
y: 1 1 0;
|
||||
|
@ -453,52 +333,43 @@ group { name: "elm/index/base/horizontal/default";
|
|||
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;
|
||||
}
|
||||
rel2.relative: 0.0 0.0;
|
||||
rel2.offset: 0 0;
|
||||
}
|
||||
}
|
||||
part { name: "elm.swallow.event.0"; type: SWALLOW;
|
||||
description { state: "default" 0.0;
|
||||
align: 0.5 1;
|
||||
align: 0.5 1.0;
|
||||
fixed: 1 1;
|
||||
rel1 {
|
||||
relative: 0.0 1.0;
|
||||
offset: -1 0;
|
||||
}
|
||||
rel2 {
|
||||
relative: 1.0 1.0;
|
||||
offset: -1 -1;
|
||||
}
|
||||
rel1.relative: 0.0 1.0;
|
||||
rel1.offset: 0 -1;
|
||||
}
|
||||
}
|
||||
part { name: "access"; type: RECT;
|
||||
repeat_events: 1;
|
||||
description { state: "default" 0.0;
|
||||
rel.to:"elm.swallow.event.0";
|
||||
color: 0 0 0 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
programs {
|
||||
program { name: "active";
|
||||
signal: "elm,state,active"; source: "elm";
|
||||
program { 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";
|
||||
program { 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";
|
||||
program { 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";
|
||||
program { signal: "elm,indicator,state,inactive"; source: "elm";
|
||||
action: STATE_SET "default" 0.0;
|
||||
transition: DECELERATE 0.5;
|
||||
target: "clip2";
|
||||
|
@ -508,18 +379,12 @@ group { name: "elm/index/base/horizontal/default";
|
|||
|
||||
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;
|
||||
part { name: "base"; type: RECT; mouse_events: 0;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
color: 0 0 0 128;
|
||||
offscale;
|
||||
}
|
||||
description { state: "active" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
|
@ -528,66 +393,32 @@ group { name: "elm/index/item/horizontal/default";
|
|||
}
|
||||
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;
|
||||
offscale;
|
||||
rel.to: "base";
|
||||
rel1.offset: 4 4;
|
||||
rel2.relative: 1.0 0.0;
|
||||
rel2.offset: -5 4;
|
||||
color: 160 160 160 255;
|
||||
align: 0.5 0.0;
|
||||
text { font: FNBD; size: 10;
|
||||
min: 1 1;
|
||||
ellipsis: -1;
|
||||
align: 0.5 0.5;
|
||||
align: 0.5 0.0;
|
||||
text_class: "index_item_text";
|
||||
text: "XXX";
|
||||
}
|
||||
}
|
||||
description { state: "active" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
visible: 0;
|
||||
color: 255 255 255 255;
|
||||
}
|
||||
}
|
||||
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";
|
||||
program { 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";
|
||||
|
@ -595,11 +426,9 @@ group { name: "elm/index/item/horizontal/default";
|
|||
target: "base";
|
||||
transition: DECELERATE 0.5;
|
||||
}
|
||||
program { name: "inactive";
|
||||
signal: "elm,state,inactive"; source: "elm";
|
||||
program { 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";
|
||||
|
@ -614,13 +443,11 @@ group { name: "elm/index/item_odd/horizontal/default";
|
|||
data.item: "stacking" "above";
|
||||
data.item: "selectraise" "on";
|
||||
parts {
|
||||
part { name: "base"; mouse_events: 0;
|
||||
part { name: "base"; type: RECT; mouse_events: 0;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
image {
|
||||
normal: "darken_rounded_square_half_h.png";
|
||||
border: 6 8 7 0;
|
||||
}
|
||||
fill.smooth: 0;
|
||||
color: 0 0 0 128;
|
||||
offscale;
|
||||
}
|
||||
description { state: "active" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
|
@ -629,66 +456,32 @@ group { name: "elm/index/item_odd/horizontal/default";
|
|||
}
|
||||
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;
|
||||
offscale;
|
||||
rel.to: "base";
|
||||
rel1.offset: 4 4;
|
||||
rel2.relative: 1.0 0.0;
|
||||
rel2.offset: -5 4;
|
||||
color: 160 160 160 255;
|
||||
align: 0.5 0.0;
|
||||
text { font: FNBD; size: 10;
|
||||
min: 1 1;
|
||||
ellipsis: -1;
|
||||
align: 0.5 0.5;
|
||||
align: 0.5 0.0;
|
||||
text_class: "index_item_text";
|
||||
text: "XXX";
|
||||
}
|
||||
}
|
||||
description { state: "active" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
visible: 0;
|
||||
color: 255 255 255 255;
|
||||
}
|
||||
}
|
||||
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";
|
||||
program { 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";
|
||||
|
@ -696,11 +489,9 @@ group { name: "elm/index/item_odd/horizontal/default";
|
|||
target: "base";
|
||||
transition: DECELERATE 0.5;
|
||||
}
|
||||
program { name: "inactive";
|
||||
signal: "elm,state,inactive"; source: "elm";
|
||||
program { 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";
|
||||
|
|
|
@ -1,9 +1,7 @@
|
|||
group { name: "elm/win/inwin/default";
|
||||
images {
|
||||
image: "button_normal.png" COMP;
|
||||
}
|
||||
images.image: "win_shadow.png" COMP;
|
||||
parts {
|
||||
part { name: "base"; type: RECT; mouse_events: 1;
|
||||
part { name: "bg"; type: RECT; mouse_events: 1;
|
||||
description { state: "default" 0.0;
|
||||
color: 0 0 0 0;
|
||||
}
|
||||
|
@ -12,23 +10,30 @@ group { name: "elm/win/inwin/default";
|
|||
color: 0 0 0 128;
|
||||
}
|
||||
}
|
||||
part { name: "pop"; mouse_events: 1;
|
||||
part { name: "shadow"; mouse_events: 0;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
rel.to: "base";
|
||||
WIN_SHADOW_SMALL;
|
||||
}
|
||||
}
|
||||
part { name: "base"; type: RECT;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
color: 64 64 64 255;
|
||||
offscale;
|
||||
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;
|
||||
}
|
||||
rel1.offset: -8 -8;
|
||||
rel2.offset: 7 7;
|
||||
}
|
||||
}
|
||||
part { name: "elm.swallow.content"; type: SWALLOW;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
rel1.relative: 0.1 0.1;
|
||||
rel2.relative: 0.9 0.9;
|
||||
rel1.offset: 40 40;
|
||||
rel2.offset: -41 -41;
|
||||
offscale;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -38,14 +43,14 @@ group { name: "elm/win/inwin/default";
|
|||
source: "elm";
|
||||
action: STATE_SET "visible" 0.0;
|
||||
transition: DECELERATE 0.5;
|
||||
target: "base";
|
||||
target: "bg";
|
||||
}
|
||||
program { name: "hide";
|
||||
signal: "elm,action,hide";
|
||||
source: "elm";
|
||||
action: STATE_SET "default" 0.0;
|
||||
transition: DECELERATE 0.5;
|
||||
target: "base";
|
||||
target: "bg";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -71,8 +76,8 @@ group { name: "elm/win/inwin/minimal_vertical";
|
|||
type: SWALLOW;
|
||||
description { state: "default" 0.0;
|
||||
fixed: 1 1;
|
||||
rel1.relative: 0.1 0.5;
|
||||
rel2.relative: 0.9 0.5;
|
||||
rel1.relative: 0.0 0.5;
|
||||
rel2.relative: 1.0 0.5;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,18 +1,44 @@
|
|||
#define HORIZONTAL_FIXED \
|
||||
description { state: "horizontal_fixed" 0.0; \
|
||||
inherit: "default" 0.0; \
|
||||
fixed: 1 0; \
|
||||
text.min: 0 1; \
|
||||
}
|
||||
#define FIXED 1
|
||||
|
||||
#define LABEL_SCRIPT \
|
||||
public btmode; \
|
||||
public eval_mode(m) { \
|
||||
new f = m & FIXED; \
|
||||
new d = m & DISABLE; \
|
||||
if (d) { \
|
||||
if (f) set_state(PART:"elm.text", "disabled_horizontal_fixed", 0.0); \
|
||||
else set_state(PART:"elm.text", "disabled", 0.0); \
|
||||
} else { \
|
||||
if (f) set_state(PART:"elm.text", "horizontal_fixed", 0.0); \
|
||||
else set_state(PART:"elm.text", "default", 0.0); \
|
||||
} \
|
||||
} \
|
||||
public flag_set(flag) { \
|
||||
new m = get_int(btmode) | flag; \
|
||||
set_int(btmode, m); eval_mode(m); \
|
||||
} \
|
||||
public flag_unset(flag) { \
|
||||
new m = get_int(btmode) & ~flag; \
|
||||
set_int(btmode, m); eval_mode(m); \
|
||||
}
|
||||
|
||||
group { name: "elm/label/base/default";
|
||||
script {
|
||||
LABEL_SCRIPT
|
||||
}
|
||||
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";
|
||||
base: "font="FN" font_size=10 text_class=tb_plain align=center color=#a0a0a0";
|
||||
tag: "br" "\n";
|
||||
tag: "b" "+ font="FNBD" text_class=tb_light";
|
||||
ENABLED_TEXTBLOCK_TAGS
|
||||
}
|
||||
style { name: "label_style_disabled";
|
||||
base: "font="FN" font_size=10 text_class=tb_plain align=center color=#606060";
|
||||
tag: "br" "\n";
|
||||
tag: "b" "+ font="FNBD" text_class=tb_light";
|
||||
DISABLED_TEXTBLOCK_TAGS
|
||||
}
|
||||
}
|
||||
parts {
|
||||
part { name: "label.text.clip"; type: RECT;
|
||||
|
@ -35,124 +61,178 @@ group { name: "elm/label/base/default";
|
|||
min: 1 1;
|
||||
}
|
||||
}
|
||||
HORIZONTAL_FIXED
|
||||
description { state: "horizontal_fixed" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
fixed: 1 0;
|
||||
text.min: 0 1;
|
||||
}
|
||||
description { state: "disabled" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
text.style: "label_style_disabled";
|
||||
}
|
||||
description { state: "disabled_horizontal_fixed" 0.0;
|
||||
inherit: "horizontal_fixed" 0.0;
|
||||
text.style: "label_style_disabled";
|
||||
}
|
||||
}
|
||||
}
|
||||
programs {
|
||||
program { name: "horizontal_expandable";
|
||||
signal: "elm,state,horizontal,expandable"; source: "elm";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "elm.text";
|
||||
program { signal: "elm,state,horizontal,expandable"; source: "elm";
|
||||
script { flag_unset(FIXED); }
|
||||
}
|
||||
program { name: "horizontal_fixed";
|
||||
signal: "elm,state,horizontal,fixed"; source: "elm";
|
||||
action: STATE_SET "horizontal_fixed" 0.0;
|
||||
target: "elm.text";
|
||||
program { signal: "elm,state,horizontal,fixed"; source: "elm";
|
||||
script { flag_set(FIXED); }
|
||||
}
|
||||
program { signal: "elm,state,disabled"; source: "elm";
|
||||
script { flag_set(DISABLE); }
|
||||
}
|
||||
program { signal: "elm,state,enabled"; source: "elm";
|
||||
script { flag_unset(DISABLE); }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
group { name: "elm/label/base/default/left";
|
||||
inherit: "elm/label/base/default";
|
||||
script {
|
||||
LABEL_SCRIPT
|
||||
}
|
||||
styles {
|
||||
style { name: "label_style_left";
|
||||
base: "font="FN" font_size=10 text_class=tb_plain align=left color=#ffffffff style=shadow,bottom shadow_color=#00000080";
|
||||
base: "font="FN" font_size=10 text_class=tb_plain align=left color=#a0a0a0";
|
||||
tag: "br" "\n";
|
||||
tag: "b" "+ font="FNBD" text_class=tb_light";
|
||||
ENABLED_TEXTBLOCK_TAGS
|
||||
}
|
||||
style { name: "label_style_left_disabled";
|
||||
base: "font="FN" font_size=10 text_class=tb_plain align=left color=#606060";
|
||||
tag: "br" "\n";
|
||||
tag: "b" "+ font="FNBD" text_class=tb_light";
|
||||
DISABLED_TEXTBLOCK_TAGS
|
||||
}
|
||||
}
|
||||
parts {
|
||||
textblock { "elm.text";
|
||||
desc { "default"; text.style: "label_style_left"; }
|
||||
HORIZONTAL_FIXED
|
||||
desc { "horizontal_fixed"; text.style: "label_style_left"; }
|
||||
desc { "disabled"; text.style: "label_style_left_disabled"; }
|
||||
desc { "disabled_horizontal_fixed"; text.style: "label_style_left_disabled"; }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
group { name: "elm/label/base/default/right";
|
||||
inherit: "elm/label/base/default";
|
||||
script {
|
||||
LABEL_SCRIPT
|
||||
}
|
||||
styles {
|
||||
style { name: "label_style_right";
|
||||
base: "font="FN" font_size=10 text_class=tb_plain align=right color=#ffffffff style=shadow,bottom shadow_color=#00000080";
|
||||
base: "font="FN" font_size=10 text_class=tb_plain align=right color=#a0a0a0";
|
||||
tag: "br" "\n";
|
||||
tag: "b" "+ font="FNBD" text_class=tb_light";
|
||||
ENABLED_TEXTBLOCK_TAGS
|
||||
}
|
||||
style { name: "label_style_right_disabled";
|
||||
base: "font="FN" font_size=10 text_class=tb_plain align=right color=#606060";
|
||||
tag: "br" "\n";
|
||||
tag: "b" "+ font="FNBD" text_class=tb_light";
|
||||
DISABLED_TEXTBLOCK_TAGS
|
||||
}
|
||||
}
|
||||
parts {
|
||||
textblock { "elm.text";
|
||||
desc { "default"; text.style: "label_style_right"; }
|
||||
HORIZONTAL_FIXED
|
||||
desc { "horizontal_fixed"; text.style: "label_style_right"; }
|
||||
desc { "disabled"; text.style: "label_style_right_disabled"; }
|
||||
desc { "disabled_horizontal_fixed"; text.style: "label_style_right_disabled"; }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
group { name: "elm/label/base/marker";
|
||||
inherit: "elm/label/base/default";
|
||||
script {
|
||||
LABEL_SCRIPT
|
||||
}
|
||||
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";
|
||||
base: "font="FNBD" font_size=10 text_class=tb_plain align=center color=#a0a0a0";
|
||||
tag: "br" "\n";
|
||||
tag: "hilight" "+ font="FNBD" color=#3399ff text_class=tb_light";
|
||||
tag: "b" "+ font="FNBD" color=#3399ff text_class=tb_light";
|
||||
}
|
||||
style { name: "label_style2_disabled";
|
||||
base: "font="FNBD" font_size=10 text_class=tb_plain align=center color=#606060";
|
||||
tag: "br" "\n";
|
||||
tag: "hilight" "+ font="FNBD" color=#2060a0 text_class=tb_light";
|
||||
tag: "b" "+ font="FNBD" color=#2060a0 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;
|
||||
ellipsis: -1;
|
||||
}
|
||||
}
|
||||
textblock { "elm.text";
|
||||
desc { "default"; text.style: "label_style2"; }
|
||||
desc { "horizontal_fixed"; text.style: "label_style2"; }
|
||||
desc { "disabled"; text.style: "label_style2_disabled"; }
|
||||
desc { "disabled_horizontal_fixed"; text.style: "label_style2_disabled"; }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
group { "elm/label/base/marker/left";
|
||||
inherit: "elm/label/base/default";
|
||||
script {
|
||||
LABEL_SCRIPT
|
||||
}
|
||||
styles {
|
||||
style { name: "label_style3";
|
||||
base: "font="FNBD" font_size=10 text_class=tb_plain align=left color=#ffffffff style=shadow,bottom shadow_color=#00000080";
|
||||
base: "font="FNBD" font_size=10 text_class=tb_plain align=left color=#a0a0a0";
|
||||
tag: "br" "\n";
|
||||
tag: "hilight" "+ font="FNBD" color=#3399ff text_class=tb_light";
|
||||
tag: "b" "+ font="FNBD" color=#3399ff text_class=tb_light";
|
||||
}
|
||||
style { name: "label_style3_disabled";
|
||||
base: "font="FNBD" font_size=10 text_class=tb_plain align=left color=#606060";
|
||||
tag: "br" "\n";
|
||||
tag: "hilight" "+ font="FNBD" color=#2060a0 text_class=tb_light";
|
||||
tag: "b" "+ font="FNBD" color=#2060a0 text_class=tb_light";
|
||||
}
|
||||
}
|
||||
parts {
|
||||
part { name: "elm.text"; type: TEXTBLOCK;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
text { style: "label_style3";
|
||||
min: 1 1;
|
||||
ellipsis: -1;
|
||||
}
|
||||
}
|
||||
textblock { "elm.text";
|
||||
desc { "default"; text.style: "label_style3"; }
|
||||
desc { "horizontal_fixed"; text.style: "label_style3"; }
|
||||
desc { "disabled"; text.style: "label_style3_disabled"; }
|
||||
desc { "disabled_horizontal_fixed"; text.style: "label_style3_disabled"; }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
group { "elm/label/base/marker/right";
|
||||
inherit: "elm/label/base/default";
|
||||
script {
|
||||
LABEL_SCRIPT
|
||||
}
|
||||
styles {
|
||||
style { name: "label_style4";
|
||||
base: "font="FNBD" font_size=10 text_class=tb_plain align=right color=#ffffffff style=shadow,bottom shadow_color=#00000080";
|
||||
base: "font="FNBD" font_size=10 text_class=tb_plain align=right color=#a0a0a0";
|
||||
tag: "br" "\n";
|
||||
tag: "hilight" "+ font="FNBD" color=#3399ff text_class=tb_light";
|
||||
tag: "b" "+ font="FNBD" color=#3399ff text_class=tb_light";
|
||||
}
|
||||
style { name: "label_style4_disabled";
|
||||
base: "font="FNBD" font_size=10 text_class=tb_plain align=right color=#606060";
|
||||
tag: "br" "\n";
|
||||
tag: "hilight" "+ font="FNBD" color=#2060a0 text_class=tb_light";
|
||||
tag: "b" "+ font="FNBD" color=#2060a0 text_class=tb_light";
|
||||
}
|
||||
}
|
||||
parts {
|
||||
part { name: "elm.text"; type: TEXTBLOCK;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
text { style: "label_style4";
|
||||
min: 1 1;
|
||||
ellipsis: -1;
|
||||
}
|
||||
}
|
||||
textblock { "elm.text";
|
||||
desc { "default"; text.style: "label_style4"; }
|
||||
desc { "horizontal_fixed"; text.style: "label_style4"; }
|
||||
desc { "disabled"; text.style: "label_style4_disabled"; }
|
||||
desc { "disabled_horizontal_fixed"; text.style: "label_style4_disabled"; }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -160,6 +240,7 @@ group { "elm/label/base/marker/right";
|
|||
group { name: "elm/label/base/slide_long";
|
||||
inherit: "elm/label/base/default";
|
||||
script {
|
||||
LABEL_SCRIPT
|
||||
public g_duration, g_stopslide, g_timer_id, g_anim_id;
|
||||
|
||||
public message(Msg_Type:type, id, ...) {
|
||||
|
@ -278,6 +359,7 @@ group { name: "elm/label/base/slide_long";
|
|||
group { name: "elm/label/base/slide_short";
|
||||
inherit: "elm/label/base/default";
|
||||
script {
|
||||
LABEL_SCRIPT
|
||||
public g_duration, g_stopslide, g_timer_id, g_anim_id;
|
||||
|
||||
public message(Msg_Type:type, id, ...) {
|
||||
|
@ -392,6 +474,7 @@ group { name: "elm/label/base/slide_short";
|
|||
group { name: "elm/label/base/slide_bounce";
|
||||
inherit: "elm/label/base/default";
|
||||
script {
|
||||
LABEL_SCRIPT
|
||||
public g_duration, g_stopslide, g_timer_id, g_anim_id;
|
||||
|
||||
public message(Msg_Type:type, id, ...) {
|
||||
|
@ -514,4 +597,4 @@ group { name: "elm/label/base/slide_bounce";
|
|||
}
|
||||
}
|
||||
}
|
||||
#undef HORIZONTAL_FIXED
|
||||
#undef FIXED
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
part { name: "base"; \
|
||||
description { state: "default" 0.0; \
|
||||
color: 56 56 56 255; \
|
||||
color_class: "list_item_base_odd"; \
|
||||
} \
|
||||
} \
|
||||
} \
|
||||
|
@ -28,34 +27,6 @@
|
|||
text.ellipsis: 0.0; \
|
||||
} \
|
||||
} \
|
||||
part { name: "label2"; \
|
||||
description { state: "default" 0.0; \
|
||||
text.min: 0 1; \
|
||||
text.ellipsis: 0.0; \
|
||||
} \
|
||||
description { state: "selected" 0.0; \
|
||||
text.min: 0 1; \
|
||||
text.ellipsis: 0.0; \
|
||||
} \
|
||||
description { state: "disabled" 0.0; \
|
||||
text.min: 0 1; \
|
||||
text.ellipsis: 0.0; \
|
||||
} \
|
||||
} \
|
||||
part { name: "label3"; \
|
||||
description { state: "default" 0.0; \
|
||||
text.min: 0 1; \
|
||||
text.ellipsis: 0.0; \
|
||||
} \
|
||||
description { state: "selected" 0.0; \
|
||||
text.min: 0 1; \
|
||||
text.ellipsis: 0.0; \
|
||||
} \
|
||||
description { state: "disabled" 0.0; \
|
||||
text.min: 0 1; \
|
||||
text.ellipsis: 0.0; \
|
||||
} \
|
||||
} \
|
||||
} \
|
||||
}
|
||||
#define COMPRESS_ODD(_NAME, _SRC) \
|
||||
|
@ -76,51 +47,17 @@
|
|||
text.ellipsis: 0.0; \
|
||||
} \
|
||||
} \
|
||||
part { name: "label2"; \
|
||||
description { state: "default" 0.0; \
|
||||
text.min: 0 1; \
|
||||
text.ellipsis: 0.0; \
|
||||
} \
|
||||
description { state: "selected" 0.0; \
|
||||
text.min: 0 1; \
|
||||
text.ellipsis: 0.0; \
|
||||
} \
|
||||
description { state: "disabled" 0.0; \
|
||||
text.min: 0 1; \
|
||||
text.ellipsis: 0.0; \
|
||||
} \
|
||||
} \
|
||||
part { name: "label3"; \
|
||||
description { state: "default" 0.0; \
|
||||
text.min: 0 1; \
|
||||
text.ellipsis: 0.0; \
|
||||
} \
|
||||
description { state: "selected" 0.0; \
|
||||
text.min: 0 1; \
|
||||
text.ellipsis: 0.0; \
|
||||
} \
|
||||
description { state: "disabled" 0.0; \
|
||||
text.min: 0 1; \
|
||||
text.ellipsis: 0.0; \
|
||||
} \
|
||||
} \
|
||||
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";
|
||||
data.item: "focusraise" "on";
|
||||
images.image: "bevel_curved_horiz_out.png" COMP;
|
||||
images.image: "shadow_rounded_horiz.png" COMP;
|
||||
images.image: "vgrad_med_dark.png" COMP;
|
||||
images.image: "bevel_horiz_out.png" COMP;
|
||||
images.image: "shine.png" COMP;
|
||||
// data.item: "selectraise" "on";
|
||||
// data.item: "focusraise" "on";
|
||||
parts {
|
||||
part { name: "event"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
|
@ -131,14 +68,22 @@ group { name: "elm/list/item/default";
|
|||
visible: 0;
|
||||
}
|
||||
}
|
||||
part { name: "base"; type: RECT; mouse_events: 0;
|
||||
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: "base"; type: RECT;
|
||||
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 {
|
||||
|
@ -151,46 +96,10 @@ group { name: "elm/list/item/default";
|
|||
action: STATE_SET "default" 0.0;
|
||||
target: "base";
|
||||
}
|
||||
part { name: "bevel"; mouse_events: 0;
|
||||
part { name: "sel"; type: RECT; 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;
|
||||
rel.to: "base";
|
||||
color: 51 153 255 255;
|
||||
visible: 0;
|
||||
}
|
||||
description { state: "selected" 0.0;
|
||||
|
@ -201,41 +110,27 @@ group { name: "elm/list/item/default";
|
|||
program {
|
||||
signal: "elm,state,selected"; source: "elm";
|
||||
action: STATE_SET "selected" 0.0;
|
||||
target: "sel_shadow";
|
||||
target: "sel_base";
|
||||
target: "sel_bevel";
|
||||
target: "sel";
|
||||
}
|
||||
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";
|
||||
target: "sel";
|
||||
}
|
||||
|
||||
//##//
|
||||
part { name: "elm.text"; type: TEXT; mouse_events: 0;
|
||||
effect: SHADOW BOTTOM;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
rel1.offset: 2 3;
|
||||
offscale;
|
||||
min: 0 15;
|
||||
rel1.offset: 4 4;
|
||||
rel1.relative: 1.0 0.0;
|
||||
rel1.to_x: "elm.swallow.icon";
|
||||
rel2.offset: -3 -3;
|
||||
rel2.offset: -5 -5;
|
||||
rel2.relative: 0.0 1.0;
|
||||
rel2.to_x: "elm.swallow.end";
|
||||
color: FN_COL_DEFAULT;
|
||||
color_class: "list_item";
|
||||
color: 160 160 160 255;
|
||||
text { font: FN; size: 10;
|
||||
min: 1 1;
|
||||
ellipsis: -1;
|
||||
|
@ -245,160 +140,60 @@ group { name: "elm/list/item/default";
|
|||
}
|
||||
description { state: "selected" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
visible: 0;
|
||||
color: 255 255 255 255;
|
||||
}
|
||||
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: FN_COL_DISABLE;
|
||||
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: FN_COL_HIGHLIGHT;
|
||||
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;
|
||||
color: 80 80 80 255;
|
||||
}
|
||||
}
|
||||
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;
|
||||
scale;
|
||||
description { state: "default" 0.0;
|
||||
offscale;
|
||||
min: 15 15;
|
||||
fixed: 1 0;
|
||||
align: 0.0 0.5;
|
||||
aspect: 1.0 1.0;
|
||||
rel1.offset: 2 2;
|
||||
rel1.offset: 4 4;
|
||||
rel2.relative: 0.0 1.0;
|
||||
rel2.offset: 2 -3;
|
||||
rel2.offset: 4 -5;
|
||||
}
|
||||
}
|
||||
part { name: "elm.swallow.end"; type: SWALLOW;
|
||||
scale;
|
||||
description { state: "default" 0.0;
|
||||
offscale;
|
||||
min: 15 15;
|
||||
fixed: 1 0;
|
||||
align: 1.0 0.5;
|
||||
aspect: 1.0 1.0;
|
||||
rel1.offset: -3 2;
|
||||
rel1.offset: -5 4;
|
||||
rel1.relative: 1.0 0.0;
|
||||
rel2.offset: -3 -3;
|
||||
rel2.offset: -5 -5;
|
||||
}
|
||||
}
|
||||
//##//
|
||||
|
||||
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")
|
||||
|
@ -425,13 +220,8 @@ COMPRESS_ODD("elm/list/item_compress_odd/default", "elm/list/item/default")
|
|||
|
||||
|
||||
group { name: "elm/list/h_item/default";
|
||||
data.item: "selectraise" "on";
|
||||
data.item: "focusraise" "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;
|
||||
// data.item: "selectraise" "on";
|
||||
// data.item: "focusraise" "on";
|
||||
parts {
|
||||
part { name: "event"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
|
@ -442,14 +232,22 @@ group { name: "elm/list/h_item/default";
|
|||
visible: 0;
|
||||
}
|
||||
}
|
||||
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: "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 {
|
||||
|
@ -462,46 +260,10 @@ group { name: "elm/list/h_item/default";
|
|||
action: STATE_SET "default" 0.0;
|
||||
target: "base";
|
||||
}
|
||||
part { name: "bevel"; mouse_events: 0;
|
||||
part { name: "sel"; type: RECT; 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;
|
||||
rel.to: "base";
|
||||
color: 51 153 255 255;
|
||||
visible: 0;
|
||||
}
|
||||
description { state: "selected" 0.0;
|
||||
|
@ -512,41 +274,26 @@ group { name: "elm/list/h_item/default";
|
|||
program {
|
||||
signal: "elm,state,selected"; source: "elm";
|
||||
action: STATE_SET "selected" 0.0;
|
||||
target: "sel_shadow";
|
||||
target: "sel_base";
|
||||
target: "sel_bevel";
|
||||
target: "sel";
|
||||
}
|
||||
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";
|
||||
target: "sel";
|
||||
}
|
||||
|
||||
//##//
|
||||
part { name: "elm.text"; type: TEXT; mouse_events: 0;
|
||||
effect: SHADOW BOTTOM;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
rel1.offset: 2 2;
|
||||
offscale;
|
||||
rel1.offset: 4 4;
|
||||
rel1.relative: 0.0 1.0;
|
||||
rel1.to_y: "elm.swallow.icon";
|
||||
rel2.offset: -3 -3;
|
||||
rel2.offset: -5 -5;
|
||||
rel2.relative: 1.0 0.0;
|
||||
rel2.to_y: "elm.swallow.end";
|
||||
color: FN_COL_DEFAULT;
|
||||
color_class: "list_item";
|
||||
color: 160 160 160 255;
|
||||
text { font: FN; size: 10;
|
||||
min: 1 1;
|
||||
ellipsis: -1;
|
||||
|
@ -556,90 +303,32 @@ group { name: "elm/list/h_item/default";
|
|||
}
|
||||
description { state: "selected" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
visible: 0;
|
||||
color: 255 255 255 255;
|
||||
}
|
||||
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: FN_COL_DISABLE;
|
||||
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: FN_COL_HIGHLIGHT;
|
||||
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;
|
||||
color: 80 80 80 255;
|
||||
}
|
||||
}
|
||||
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;
|
||||
|
@ -647,9 +336,9 @@ group { name: "elm/list/h_item/default";
|
|||
fixed: 0 1;
|
||||
aspect: 1.0 1.0;
|
||||
align: 0.5 0.0;
|
||||
rel1.offset: 2 2;
|
||||
rel1.offset: 4 4;
|
||||
rel2.relative: 1.0 0.0;
|
||||
rel2.offset: -3 2;
|
||||
rel2.offset: -5 4;
|
||||
}
|
||||
}
|
||||
part { name: "elm.swallow.end"; type: SWALLOW;
|
||||
|
@ -657,59 +346,11 @@ group { name: "elm/list/h_item/default";
|
|||
fixed: 0 1;
|
||||
aspect: 1.0 1.0;
|
||||
align: 0.5 1.0;
|
||||
rel1.offset: 2 -3;
|
||||
rel1.offset: 4 -5;
|
||||
rel1.relative: 0.0 1.0;
|
||||
rel2.offset: -3 -3;
|
||||
rel2.offset: -5 -5;
|
||||
}
|
||||
}
|
||||
//##//
|
||||
|
||||
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")
|
||||
|
|
|
@ -17,28 +17,24 @@ group { name: "elm/map/marker/radio/default";
|
|||
rel2.relative: 0.5 0.5;
|
||||
rel2.offset: 0 3;
|
||||
align: 0.5 1.0;
|
||||
min: 65 35;
|
||||
max: 65 35;
|
||||
min: 65 35; max: 65 35;
|
||||
image.normal: "map_marker.png";
|
||||
color: 51 153 255 255;
|
||||
}
|
||||
}
|
||||
part { name: "elm.icon"; type: SWALLOW; mouse_events: 0;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "mark";
|
||||
rel.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: FN_COL_DISABLE_SHADOW;
|
||||
rel.to: "elm.icon";
|
||||
color: 255 255 255 255;
|
||||
text { font: FNBD; size: 10;
|
||||
text_class: "map_radio";
|
||||
min: 1 1;
|
||||
|
@ -63,17 +59,13 @@ group { name: "elm/map/marker/empty/default";
|
|||
}
|
||||
part { name: "elm.icon"; type: SWALLOW; mouse_events: 0;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "knob";
|
||||
rel2.to: "knob";
|
||||
rel.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: FN_COL_DEFAULT;
|
||||
rel.to: "knob";
|
||||
color: 160 160 160 255;
|
||||
text { font: FNBD; size: 10;
|
||||
text_class: "map_empty";
|
||||
min: 1 1;
|
||||
|
@ -113,8 +105,7 @@ group { name: "elm/map/scale/base/default";
|
|||
description { state: "default" 0.0;
|
||||
rel1.offset: 6 5;
|
||||
rel2.offset: -7 -5;
|
||||
color_class: "map_scale";
|
||||
color: FN_COL_DEFAULT;
|
||||
color: 255 255 255 255;
|
||||
text { font: FNBD; size: 10;
|
||||
text_class: "map_scale";
|
||||
min: 1 1;
|
||||
|
@ -129,78 +120,22 @@ group { name: "elm/map/scale/base/default";
|
|||
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";
|
||||
part { name: "base"; type: RECT;
|
||||
scale: 1;
|
||||
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";
|
||||
color: 0 0 0 192;
|
||||
rel1.offset: 4 4;
|
||||
rel2.offset: -5 -5;
|
||||
offscale;
|
||||
}
|
||||
}
|
||||
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)
|
||||
rel1.to: "base";
|
||||
rel1.offset: 4 4;
|
||||
rel2.offset: -5 -5;
|
||||
offscale;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -3,27 +3,22 @@ group { name: "elm/multibuttonentry/base/default";
|
|||
data.item: "vertical_pad" 0;
|
||||
data.item: "closed_height" 0;
|
||||
parts {
|
||||
part { name: "bg";
|
||||
type: RECT;
|
||||
scale: 1;
|
||||
part { name: "bg"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
color_class: "multibuttonentry_bg";
|
||||
}
|
||||
}
|
||||
part { name: "elm.swallow.background";
|
||||
type: SWALLOW;
|
||||
part { name: "elm.swallow.background"; type: SWALLOW;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "bg";
|
||||
rel2.to: "bg";
|
||||
rel.to: "bg";
|
||||
}
|
||||
}
|
||||
/* this widget was released with non-namespaced parts in legacy api */
|
||||
alias: "box.swallow" "elm.swallow.box";
|
||||
part { name: "elm.swallow.box"; type: SWALLOW;
|
||||
description { state: "default" 0.0;
|
||||
rel1.to: "bg";
|
||||
rel2.to: "bg";
|
||||
rel.to: "bg";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -32,19 +27,18 @@ group { name: "elm/multibuttonentry/base/default";
|
|||
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: FN_COL_HIGHLIGHT;
|
||||
color_class: "multibuttonentry_label";
|
||||
color: 160 160 160 255;
|
||||
text { font: FNBD; size: 10;
|
||||
min: 1 1;
|
||||
ellipsis: -1;
|
||||
align: 0.5 0.5;
|
||||
text_class: "multibuttonentry_label";
|
||||
}
|
||||
rel1.offset: 2 2;
|
||||
rel1.offset: 4 4;
|
||||
rel2.offset: -5 -5;
|
||||
offscale;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -54,29 +48,25 @@ 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: -4 -4;
|
||||
color: FN_COL_DISABLE;
|
||||
rel1.offset: 4 4;
|
||||
rel2.offset: -5 -5;
|
||||
color: 80 80 80 255;;
|
||||
text { font: FNBD; size: 10;
|
||||
min: 0 1;
|
||||
align: 0.0 0.5;
|
||||
}
|
||||
offscale;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
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;
|
||||
images.image: "border_close.png" COMP;
|
||||
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";
|
||||
base: "font="FN" align=0.5 font_size=10 color=#ffff text_class=multibuttonentry_item ellipsis=1.0";
|
||||
tag: "br" "\n";
|
||||
tag: "ps" "ps";
|
||||
tag: "hilight" "+ font="FNBD;
|
||||
|
@ -90,45 +80,31 @@ group { name: "elm/multibuttonentry/btn/default";
|
|||
}
|
||||
|
||||
parts {
|
||||
part { name: "bg"; type: RECT;
|
||||
part { name: "base"; type: RECT;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
color_class: "multibuttonentry_item_bg";
|
||||
}
|
||||
description { state: "pressed" 0.0;
|
||||
color_class: "multibuttonentry_item_bg_selected";
|
||||
}
|
||||
}
|
||||
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;
|
||||
color: 0 0 0 64;
|
||||
rel1.offset: 2 2;
|
||||
rel2.offset: -3 -3;
|
||||
offscale;
|
||||
}
|
||||
description { state: "pressed" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
image.normal: "button_clicked.png";
|
||||
image.border: 5 5 4 6;
|
||||
color: 0 0 0 192;
|
||||
}
|
||||
}
|
||||
part { name: "glow"; mouse_events: 0;
|
||||
part { name: "glow"; type: RECT; 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;
|
||||
rel.to: "base";
|
||||
rel1.offset: 0 -1;
|
||||
rel1.relative: 0.0 1.0;
|
||||
align: 0.5 1.0;
|
||||
color: 51 153 255 255;
|
||||
visible: 0;
|
||||
}
|
||||
description { state: "focused" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: 255 255 255 255;
|
||||
min: 0 5;
|
||||
visible: 1;
|
||||
}
|
||||
description { state: "unfocused" 0.0;
|
||||
|
@ -137,16 +113,16 @@ group { name: "elm/multibuttonentry/btn/default";
|
|||
}
|
||||
part { name: "close"; mouse_events: 0;
|
||||
description { state: "default" 0.0;
|
||||
image.normal: "sym_close_dark_normal.png";
|
||||
rel1.to: "del";
|
||||
rel2.to: "del";
|
||||
image.normal: "border_close.png";
|
||||
rel.to: "del";
|
||||
min: 15 15;
|
||||
max: 15 15;
|
||||
fixed: 1 1;
|
||||
color: 160 160 160 255;
|
||||
}
|
||||
description { state: "clicked" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
image.normal: "sym_close_dark_selected.png";
|
||||
color: 255 255 255 255;
|
||||
}
|
||||
}
|
||||
part { name: "del"; type: RECT;
|
||||
|
@ -156,94 +132,80 @@ group { name: "elm/multibuttonentry/btn/default";
|
|||
min: 4 4;
|
||||
align: 1.0 0.5;
|
||||
aspect: 1.0 1.0; aspect_preference: VERTICAL;
|
||||
rel.to: "base";
|
||||
rel1.relative: 1.0 0.0;
|
||||
rel1.to: "base";
|
||||
rel1.offset: -6 5;
|
||||
rel2.offset: -6 -7;
|
||||
rel2.to: "base";
|
||||
rel1.offset: -5 4;
|
||||
rel2.offset: -5 -5;
|
||||
color: 0 0 0 0;
|
||||
offscale;
|
||||
}
|
||||
}
|
||||
part { name: "elm.btn.text"; type: TEXTBLOCK; mouse_events: 0;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
color_class: "multibuttonentry_item_text";
|
||||
rel1.offset: 4 4;
|
||||
rel2.offset: -5 -5;
|
||||
rel1.to: "base";
|
||||
rel2.to_x: "del";
|
||||
rel2.to_y: "base";
|
||||
rel2.relative: 0.0 1.0;
|
||||
text { style: "multibuttonentry_textblock_style";
|
||||
min: 1 1;
|
||||
ellipsis: -1;
|
||||
text_class: "multibuttonentry_item_text";
|
||||
}
|
||||
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;
|
||||
offscale;
|
||||
}
|
||||
}
|
||||
part { name: "text"; type: TEXTBLOCK; mouse_events: 0;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
color_class: "multibuttonentry_item_text";
|
||||
rel.to: "elm.btn.text";
|
||||
align: 0.0 0.5;
|
||||
text { style: "multibuttonentry_textblock_style";
|
||||
text_source: "elm.btn.text";
|
||||
min: 0 1;
|
||||
align: 0.0 0.5;
|
||||
text_class: "multibuttonentry_item_text";
|
||||
}
|
||||
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;
|
||||
color: 160 160 160 255;
|
||||
}
|
||||
description { state: "pressed" 0.0;
|
||||
inherit: "default";
|
||||
color_class: "multibuttonentry_item_text_pressed";
|
||||
text {
|
||||
text_class: "multibuttonentry_item_text_pressed";
|
||||
}
|
||||
color: 255 255 255 255;
|
||||
}
|
||||
description { state: "disabled" 0.0;
|
||||
inherit: "default";
|
||||
color_class: "multibuttonentry_item_text_disabled";
|
||||
text {
|
||||
text_class: "multibuttonentry_item_text_disabled";
|
||||
}
|
||||
color: 80 80 80 255;
|
||||
}
|
||||
}
|
||||
}
|
||||
programs {
|
||||
program {
|
||||
signal: "mouse,clicked,1"; source: "base";
|
||||
program { signal: "mouse,clicked,1"; source: "base";
|
||||
script {
|
||||
if (get_int(disabled) == 0) {
|
||||
emit("clicked", "");
|
||||
}
|
||||
}
|
||||
}
|
||||
program {
|
||||
signal: "elm,state,default"; source: "elm";
|
||||
program { signal: "elm,state,default"; source: "elm";
|
||||
action: STATE_SET "default" 0.0;
|
||||
transition: SINUSOIDAL 0.2;
|
||||
target: "glow";
|
||||
}
|
||||
program {
|
||||
signal: "elm,state,focused"; source: "elm";
|
||||
program { signal: "elm,state,focused"; source: "elm";
|
||||
action: STATE_SET "focused" 0.0;
|
||||
transition: SINUSOIDAL 0.2;
|
||||
target: "glow";
|
||||
}
|
||||
program {
|
||||
signal: "elm,state,enabled"; source: "elm";
|
||||
program { signal: "elm,state,enabled"; source: "elm";
|
||||
script {
|
||||
set_state(PART:"text", "default", 0.0);
|
||||
set_int(disabled , 0);
|
||||
}
|
||||
}
|
||||
program {
|
||||
signal: "elm,state,disabled"; source: "elm";
|
||||
program { signal: "elm,state,disabled"; source: "elm";
|
||||
script {
|
||||
new st[31];
|
||||
new Float: vl;
|
||||
|
@ -254,42 +216,34 @@ group { name: "elm/multibuttonentry/btn/default";
|
|||
set_int(disabled , 1);
|
||||
}
|
||||
}
|
||||
program {
|
||||
signal: "elm,state,unfocused"; source: "elm";
|
||||
program { signal: "elm,state,unfocused"; source: "elm";
|
||||
action: STATE_SET "unfocused" 0.0;
|
||||
target: "glow";
|
||||
}
|
||||
program {
|
||||
signal: "mouse,down,1"; source: "base";
|
||||
program { signal: "mouse,down,1"; source: "base";
|
||||
script {
|
||||
if (get_int(disabled) == 0) {
|
||||
set_state(PART:"base", "pressed", 0.0);
|
||||
set_state(PART:"bg", "pressed", 0.0);
|
||||
set_state(PART:"text", "pressed", 0.0);
|
||||
}
|
||||
}
|
||||
}
|
||||
program {
|
||||
signal: "mouse,up,1"; source: "base";
|
||||
program { signal: "mouse,up,1"; source: "base";
|
||||
script {
|
||||
if (get_int(disabled) == 0) {
|
||||
set_state(PART:"base", "default", 0.0);
|
||||
set_state(PART:"bg", "default", 0.0);
|
||||
set_state(PART:"text", "default", 0.0);
|
||||
}
|
||||
}
|
||||
}
|
||||
program {
|
||||
signal: "mouse,clicked,1"; source: "del";
|
||||
program { signal: "mouse,clicked,1"; source: "del";
|
||||
action: SIGNAL_EMIT "elm,deleted" "elm";
|
||||
}
|
||||
program {
|
||||
signal: "mouse,down,1"; source: "del";
|
||||
program { signal: "mouse,down,1"; source: "del";
|
||||
action: STATE_SET "clicked" 0.0;
|
||||
target: "close";
|
||||
}
|
||||
program {
|
||||
signal: "mouse,up,1"; source: "del";
|
||||
program { signal: "mouse,up,1"; source: "del";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "close";
|
||||
}
|
||||
|
@ -299,7 +253,7 @@ group { name: "elm/multibuttonentry/btn/default";
|
|||
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";
|
||||
base: "font="FNBD" font_size=10 text_class=multibuttonentry_closed color=#a0a0a0ff align=center wrap=char";
|
||||
tag: "br" "\n";
|
||||
tag: "ps" "ps";
|
||||
tag: "hilight" "+ font="FNBD;
|
||||
|
@ -316,10 +270,9 @@ group { name: "elm/multibuttonentry/closedbutton/default";
|
|||
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";
|
||||
rel.to: "bg";
|
||||
rel1.offset: 4 4;
|
||||
rel2.offset: -5 -5;
|
||||
text { style: "textblock_style_multibuttonentry_default";
|
||||
min: 1 1;
|
||||
ellipsis: -1;
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue