Commit Graph

49 Commits

Author SHA1 Message Date
Carsten Haitzler 6ef532ddae and do the other instances too.
SVN revision: 48668
2010-05-07 13:24:29 +00:00
Boris Faure 1ca26086db elm: add lots of doc! Thanks to Mike (zmike/discomfitor)
SVN revision: 47944
2010-04-12 08:12:02 +00:00
Gustavo Lima Chaves a446b18538 Signal description infra for map.
SVN revision: 47778
2010-04-05 19:21:22 +00:00
Gustavo Sverzut Barbieri 06d14ed245 const and -Wextra, come on guys! :-/
SVN revision: 47409
2010-03-24 03:06:00 +00:00
Carsten Haitzler 9705f7dbe1 (remove useless edje_object_scale_sets's on objects that are not edje objects)
but more importantly - fix list to actually have a specific theme/base for it



SVN revision: 47381
2010-03-23 04:46:53 +00:00
Gustavo Sverzut Barbieri e01d72fe26 Use eina_stringshare_replace to avoid crashes.
By: Rafael Fonseca <rfonseca@profusion.mobi>



SVN revision: 47187
2010-03-13 21:01:26 +00:00
Carsten Haitzler 27a1fc9a9c more warning--
SVN revision: 47099
2010-03-10 06:46:28 +00:00
Vincent Torri b07e49d435 remove unused parameter in the library.
I won't do this everyday, and i won't touch the tests.


SVN revision: 47093
2010-03-09 17:51:30 +00:00
Carsten Haitzler 58f0a50c45 more warning -- - and fix a lot of formatting in elm_map and some bugs lurking.
SVN revision: 47082
2010-03-09 16:27:46 +00:00
Carsten Haitzler 91e01aa86e patch from discomfitor <- check type of widget on api call and return if not
the right type



SVN revision: 47073
2010-03-09 06:15:39 +00:00
Carsten Haitzler dd7ed79b3c add test for floating objects (they can slide in etc. andnot be already
packed inside the view) and... fix issues with pan based objects clipping to
vieport etc. etc.



SVN revision: 45542
2010-01-25 03:53:36 +00:00
Carsten Haitzler 82ab409f96 also use canvas as live-region for pan contents like genlist
SVN revision: 45277
2010-01-18 06:44:56 +00:00
Jonathan Atton 63dd4538dc Elm map : change PATH_MAX by sizeof(buf) in snprintf
SVN revision: 44713
2009-12-24 10:21:54 +00:00
Jonathan Atton fb5a1aae29 Elm map : add API to set a custom source
SVN revision: 44678
2009-12-23 09:53:39 +00:00
Jonathan Atton 3a6d8926d3 Elm_Map : add a source manager and 3 souces
SVN revision: 44665
2009-12-22 22:47:17 +00:00
Jonathan Atton 4af4c79d48 Elm map : * do not display a bubble if the content is empty
* use a different temp dir for each map



SVN revision: 44634
2009-12-21 17:01:19 +00:00
Jonathan Atton 4e8afed130 Elm map : add a method to hide the markers of a group's class
SVN revision: 44615
2009-12-20 20:40:55 +00:00
Jonathan Atton fecc91bf03 Elm map : we can tell to a group class to not group the items if the zoom si greater than zoom_grouped
SVN revision: 44613
2009-12-20 18:48:31 +00:00
Jonathan Atton 007680e73f Elm map :
* now we have 2 class : 1 for the marker and 1 for the group. When a marker is "alone", the class of the marker is used, if it is grouped with others markers, the class of the group is used.
* markers with the same class are grouped. If 2 markers do not have the same class they are not grouped.
* an icon can be set by the user for a single marker or a class
* the theme have 3 different markers/groups : radio, radio2 and empty (only the numbers of markers and the icon are displayed)
* we can specify to display a group's class only for a zoom >= to a value. It means a marker of this group is not displayed for a zoom < to this value.
* off course we have new bugs too :)


SVN revision: 44610
2009-12-20 16:34:45 +00:00
Vincent Torri 831805ef0a use ecore_file_remove() instead of remove()
SVN revision: 44579
2009-12-19 19:12:08 +00:00
Jonathan Atton 33f4e9f399 Elm map: add poused_markers, if true the markers are not displayed while the zoom animation.
SVN revision: 44555
2009-12-18 21:28:06 +00:00
Jonathan Atton 61f4ac5c9e Elm map : the text no more fit in the marker (this is so sloowww) and some minors improvements
SVN revision: 44553
2009-12-18 20:16:37 +00:00
Jonathan Atton 5115557aba elm map : check if the matrixsparse exits
SVN revision: 44552
2009-12-18 18:30:28 +00:00
Jonathan Atton e32500af29 Elm map : fix elm_map_marker_remove() and when a marker is added in a dispalyed group -> update the bubble
SVN revision: 44551
2009-12-18 18:24:56 +00:00
Jonathan Atton c8c2cbc91b Elm map : increase the speed when marker are updated
SVN revision: 44549
2009-12-18 17:45:47 +00:00
Jonathan Atton 9af7495ecb Elm map : Put the evas_object which represent a marker in a cache to avoid create/delete the objects when the zoom change.
SVN revision: 44546
2009-12-18 17:00:01 +00:00
Jonathan Atton 805e5d1bb5 Elm map : replace the list of markers by a matrixsparse (1 cell per region), this way we can have a lot of markers (10k+)))
SVN revision: 44545
2009-12-18 14:28:36 +00:00
Christopher Michael 3ab5ec940f Fix nasty formatting.
Don't segfault if map cannot be created when launching test_map.



SVN revision: 44253
2009-12-07 18:05:04 +00:00
Jonathan Atton dd5cb32961 Elm map: remove warnings
SVN revision: 43990
2009-11-25 20:51:28 +00:00
Jonathan Atton f60db59094 Elm test : add eweather.
SVN revision: 43988
2009-11-25 20:37:53 +00:00
Jonathan Atton f9104face8 Elm map: when we delete a marker, if the group is empty -> delete it
SVN revision: 43972
2009-11-25 13:21:02 +00:00
Jonathan Atton 914a1d3868 Elm map: close the bubble, do not destroy the marker object.
SVN revision: 43893
2009-11-22 10:15:12 +00:00
Jonathan Atton e7f6a13ddc Elm map : add elm_map_bubbles_close()
SVN revision: 43883
2009-11-21 22:38:07 +00:00
Jonathan Atton c248cece9a Elm map : add new methods like delete a marker, display a list of markers ....
SVN revision: 43791
2009-11-18 21:07:01 +00:00
Carsten Haitzler d4b7bb1351 dont use class -> clas. c++!
SVN revision: 43776
2009-11-18 10:59:17 +00:00
Jonathan Atton 04242f0952 Elm Photocam : Fix the zoom.
SVN revision: 43751
2009-11-17 15:55:59 +00:00
Jonathan Atton 5374075e65 Elm map : Fix the zoom (need to be fixed in photocam too). Everything seems working fine now
SVN revision: 43750
2009-11-17 15:44:11 +00:00
Jonathan Atton a2bb1b0cbf Elm map : the height of the bubble is equals to the height of the content
SVN revision: 43743
2009-11-16 21:32:33 +00:00
Jonathan Atton 8d73a92e60 Elm map: remove curl_easy_error()
SVN revision: 43722
2009-11-15 23:10:31 +00:00
Jonathan Atton 85a087b648 Elm map : zoom is centred to the coordinate show/bring in. Focus the zoom on a specific geographic coordinate and a classic coordinate (x,y) is not the same because the zoom increase/decrease the precision.
SVN revision: 43717
2009-11-15 21:36:44 +00:00
Jonathan Atton 49f51f2bca Elm map: improvements in the theme. Double clic on a marker bring it to the center
SVN revision: 43715
2009-11-15 19:52:07 +00:00
Jonathan Atton f8982352ae Elm map : fix bubble theme
SVN revision: 43713
2009-11-15 16:24:02 +00:00
Jonathan Atton 5601e74460 Elm map : add the markers
SVN revision: 43710
2009-11-15 15:53:37 +00:00
Jonathan Atton 93e8a448ce Elm map : some fixs
SVN revision: 43692
2009-11-14 15:30:03 +00:00
Jonathan Atton 59d8a34755 Elm Map : some fix. "Show paris" wich is a zoom to 18 segv.
SVN revision: 43690
2009-11-14 13:58:22 +00:00
Gustavo Sverzut Barbieri 24d6072ecc fix valgrind reported problems.
GENERAL WARNING:

do NOT delete sub-objects (elm_widget_sub_object_add) or resize object
(elm_widget_resize_object_set) from del_hook()!! These are deleted
automatically before this function is called, thus you might double
free.

Fixed all occurrences I've spotted with valgrind. Please do not add more :-)




SVN revision: 43682
2009-11-13 22:22:05 +00:00
Jonathan Atton f2362de07c Elm map: test if http is supported by ecore. Fix a bug in thedownload destination path. Frequently the downloads are never finished, I investigate
SVN revision: 43673
2009-11-13 18:42:58 +00:00
Jonathan Atton 5b36d0ceeb Elm: add the zoom with the mouse wheel in the photocam test.
SVN revision: 43666
2009-11-13 17:34:20 +00:00
Jonathan Atton bf12a8e8e1 Elementary : add Elm_Map. 2 bugs are known : ecore become crazy after a time (I think ecore_download bug somewhere) and "Show Paris" does not work well because we can't zoom and immediately after move (an idler somewhere in the sroller move the scroller ?)
SVN revision: 43664
2009-11-13 15:22:23 +00:00