summaryrefslogtreecommitdiff
path: root/legacy/elementary/data
diff options
context:
space:
mode:
authorBluezery <ohpowel@gmail.com>2012-03-22 10:40:04 +0000
committerCarsten Haitzler <raster@rasterman.com>2012-03-22 10:40:04 +0000
commit9e3b73137bf83e3cb2b62a03c6275e40ffd120c5 (patch)
treeb159a54584e83bee277af2f505c86c8a90db0e3f /legacy/elementary/data
parent047fcff3c303dbf1abdf28a6c96d41720e9cc7cf (diff)
From: Bluezery <ohpowel@gmail.com>
Subject: [E-devel] [Patch][elm_map] Add line, polygon, circle, scale overlay This patch adds new overlay APIs (line, polygon, circle, scale) for elm_map. These overlays are adhered to map even though zooming, panning. You can test these by doing "elementary_test --> click mouse right --> overlay" SVN revision: 69562
Diffstat (limited to 'legacy/elementary/data')
-rw-r--r--legacy/elementary/data/themes/map_circle.pngbin0 -> 28715 bytes
-rw-r--r--legacy/elementary/data/themes/map_scale.pngbin0 -> 244 bytes
-rw-r--r--legacy/elementary/data/themes/widgets/map.edc57
3 files changed, 56 insertions, 1 deletions
diff --git a/legacy/elementary/data/themes/map_circle.png b/legacy/elementary/data/themes/map_circle.png
new file mode 100644
index 0000000..1641097
--- /dev/null
+++ b/legacy/elementary/data/themes/map_circle.png
Binary files differ
diff --git a/legacy/elementary/data/themes/map_scale.png b/legacy/elementary/data/themes/map_scale.png
new file mode 100644
index 0000000..ff7be49
--- /dev/null
+++ b/legacy/elementary/data/themes/map_scale.png
Binary files differ
diff --git a/legacy/elementary/data/themes/widgets/map.edc b/legacy/elementary/data/themes/widgets/map.edc
index c4711c4..2d7b177 100644
--- a/legacy/elementary/data/themes/widgets/map.edc
+++ b/legacy/elementary/data/themes/widgets/map.edc
@@ -742,4 +742,59 @@ group { name: "elm/map/marker_bubble/default";
742 } 742 }
743 } 743 }
744} 744}
745 745group { name: "elm/map/circle/base/default";
746 images {
747 image: "map_circle.png" COMP;
748 }
749 parts {
750 part { name: "base";
751 ignore_flags: ON_HOLD;
752 description { state: "default" 0.0;
753 image.normal: "map_circle.png";
754 }
755 }
756 }
757}
758group { name: "elm/map/scale/base/default";
759 data {
760 item: size_w 100;
761 item: size_h 25;
762 }
763 images {
764 image: "map_scale.png" COMP;
765 }
766 parts {
767 part { name: "base";
768 ignore_flags: ON_HOLD;
769 description { state: "default" 0.0;
770 image.normal: "map_scale.png";
771 image.border: 10 10 10 10;
772 }
773 }
774 part { name: "elm.text";
775 type: TEXT;
776 ignore_flags: ON_HOLD;
777 effect: SOFT_SHADOW;
778 mouse_events: 0;
779 scale: 1;
780 description { state: "default" 0.0;
781 color: 224 224 224 255;
782 color3: 0 0 0 64;
783 rel1 {
784 relative: 0 0;
785 offset: 1 1;
786 }
787 rel2 {
788 relative: 1 1;
789 offset: -1 -1;
790 }
791 text {
792 font: "Sans,Edje-Vera";
793 size: 10;
794 min: 0 0;
795 align: 0.1 0.5;
796 }
797 }
798 }
799 }
800}