Carsten Haitzler
61c86da960
handle label resizes and wraps properly - add test for it!
...
SVN revision: 44964
2010-01-08 02:33:03 +00:00
Tiago Rezende Campos Falcao
fb2b5b1c5c
Elm_List_Item selected getter
...
SVN revision: 44951
2010-01-07 16:34:19 +00:00
Vincent Torri
c9f4c5b56d
fix spelling. Patch by 'misc'
...
SVN revision: 44943
2010-01-07 08:00:49 +00:00
Tiago Rezende Campos Falcao
5d587ae577
Elm_List multi and horizontal getters
...
SVN revision: 44913
2010-01-05 19:42:04 +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
0ea2b23bfa
Elm_Slideshow : add item_data_get()
...
SVN revision: 44696
2009-12-23 17:10:18 +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
Gustavo Sverzut Barbieri
abde958791
elm_slider : Add indicator format callback function and drag signals
...
Hello all,
I just made my first attempt to improve Elementary. The attached
patch adds an indicator format callback function for showing a more
versatile indicator string. It also sends drag start/stop signals
when the dragging starts and ends. This is useful for showing a
music playback progress slider. When the slider indicator is being
dragged, the indicator would show the "seek position" in time.
When the dragging is stopped, the music player can then seek to the
correct position.
I couldn't figure out how to do this with elm_slider, so I just
added these lines.
By: Brian Wang
SVN revision: 44649
2009-12-22 12:11:21 +00:00
Jonathan Atton
3de84a0229
Elm slideshow : resize the next and previous loaded object because if the size is 0 some widget like photocam will load nothing
...
SVN revision: 44645
2009-12-22 09:57:35 +00:00
Jonathan Atton
aa2b072351
Elm slideshow : fix item_del
...
SVN revision: 44644
2009-12-22 09:34:29 +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
Gustavo Sverzut Barbieri
33d3edaf1f
change .h.in as well :-(
...
SVN revision: 44588
2009-12-20 00:27:19 +00:00
Gustavo Sverzut Barbieri
bc02f36c33
Return if standard icon was really set (ie: exists) or not.
...
SVN revision: 44587
2009-12-20 00:26:12 +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
Iván Briano
801dcf0966
Allow unbinding radio groups by passing NULL
...
SVN revision: 44554
2009-12-18 20:21:39 +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
Carsten Haitzler
fe9ba3dd4c
add more bounce controls
...
SVN revision: 44533
2009-12-18 02:30:01 +00:00
Christopher Michael
4af589e631
Fix signal typo
...
SVN revision: 44532
2009-12-18 01:22:22 +00:00
Carsten Haitzler
cbccd10876
support more vkbd states in elm
...
SVN revision: 44471
2009-12-15 06:38:32 +00:00
Carsten Haitzler
a86f0b9ac6
flip widget! first go at it and still primitive. will expand! for flipping
...
between 2 bits of content (front and back).
SVN revision: 44352
2009-12-11 08:12:58 +00:00
Iván Briano
bcc4b4db54
Scrolled entry, first step.
...
This is a compound widget that puts an entry inside a scroller,
so the user doesn't have to manage that stuff. Still needs some
more exposure of the scroller stuff and probably some automatizations.
SVN revision: 44349
2009-12-11 05:57:53 +00:00
Carsten Haitzler
162337ae68
patch from luis moraes to fix list deleted macro checks
...
SVN revision: 44325
2009-12-09 21:54:06 +00:00
Carsten Haitzler
58df307651
layout sizing eval call - plus generic singal
...
SVN revision: 44272
2009-12-08 04:41:02 +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
Carsten Haitzler
958aad8241
fix swallows to happen after u added hint change cb
...
SVN revision: 44245
2009-12-07 14:19:20 +00:00
Carsten Haitzler
a053200ed2
oops - fix. longpress cb always shoudl work. just menu go away.
...
SVN revision: 44178
2009-12-03 22:26:37 +00:00
Gustavo Sverzut Barbieri
99c5f101e7
fix couple of list issues while deleting during item usage.
...
now list marks itself as "walking" every time it's usign wd->items,
this way any call to clear or deletion (elm_list_item_del()) will be
postponed using the wd->to_delete list.
please let me know of any bugs you may find.
SVN revision: 44124
2009-12-02 18:59:41 +00:00
Carsten Haitzler
5fa2ec1bc5
asparagus - finally
...
SVN revision: 44113
2009-12-02 07:22:35 +00:00
Gustavo Sverzut Barbieri
d3bf1f01ec
oops, edited .h and not .h.in
...
SVN revision: 44095
2009-12-01 13:50:22 +00:00
Gustavo Sverzut Barbieri
0feec55afb
elm_policy_set() and friends. easy way to quit app when last window is closed.
...
SVN revision: 44090
2009-12-01 13:32:48 +00:00
Carsten Haitzler
07eee5720e
use all dem cursor api's... and module it up bro
...
SVN revision: 44088
2009-12-01 11:03:14 +00:00
Vincent Torri
cd2180a2ea
formatting
...
SVN revision: 44045
2009-11-29 16:12:00 +00:00
Vincent Torri
787cc28cff
elm_object_scale_set() returns nothing
...
SVN revision: 44043
2009-11-29 16:02:05 +00:00
Brett Nash
705ee71f24
elm_list: Call the callbacks _last_. Saves segv when the user deletes stuff.
...
SVN revision: 44037
2009-11-29 00:01:13 +00:00
Brett Nash
2693774336
elm_list: Delete the timer when deleting an item.
...
SVN revision: 44036
2009-11-28 23:57:54 +00:00
Carsten Haitzler
82fde2663d
comment++
...
SVN revision: 43995
2009-11-26 06:16:07 +00:00
Jonathan Atton
fca192b469
Elm menu, slideshow and notify: remove warnings
...
SVN revision: 43993
2009-11-25 21:06:23 +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
Carsten Haitzler
1b7241944d
fix some freeze issues with scroller.
...
SVN revision: 43887
2009-11-22 06:25:10 +00:00
Jonathan Atton
e7f6a13ddc
Elm map : add elm_map_bubbles_close()
...
SVN revision: 43883
2009-11-21 22:38:07 +00:00
Boris Faure
158a917bc3
elementary: add del_cb to toolbar items
...
SVN revision: 43862
2009-11-21 16:21:35 +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
Carsten Haitzler
074b91c5fe
Treviño's patch for genlist compress mode - from tac bug #308
...
SVN revision: 43766
2009-11-18 03:09:04 +00:00
Gustavo Sverzut Barbieri
818032a68f
elm_layout: deferred sizing_eval to calculate (pre-render) phase.
...
This plays well with edje's own deferred calculations. Usually size
hints are set on children and edje will flag itself as dirty, but real
calculations are deferred to "calculate" phase before rendering.
For now this unbreaks elm_layout with contents... but other types such
as GROUP, BOX and TABLE remain broken: when they change their internal
state (ie: child object is packed into box or table), this will not
trigger elm_layout.
That said, we need a better solution. Maybe ask edje to emit signals
when one of its children change hints (it already listen to this
anyway), in this case elm_layout should listen to those instead of
connecting directly to objects given through elm_layout_content_set().
SVN revision: 43752
2009-11-17 16:32:45 +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
Christopher Michael
b5f88e9ace
Panel working nicely now, tho still one issue (content does not initially
...
show until you resize the window/panel. Not sure why)
SVN revision: 43714
2009-11-15 17:29:22 +00:00
Jonathan Atton
f8982352ae
Elm map : fix bubble theme
...
SVN revision: 43713
2009-11-15 16:24:02 +00:00
Christopher Michael
8f270a63e8
Revert back to old panel code for now. This will get fixed someday, time
...
permitting.
SVN revision: 43712
2009-11-15 16:14:51 +00:00
Christopher Michael
0df0cad61d
Fix variable declarations for naughty compilers.
...
SVN revision: 43711
2009-11-15 16:03:52 +00:00
Jonathan Atton
5601e74460
Elm map : add the markers
...
SVN revision: 43710
2009-11-15 15:53:37 +00:00
Carsten Haitzler
9ee4a90f46
compiling before u commit is a good idea
...
SVN revision: 43707
2009-11-15 14:06:38 +00:00
Christopher Michael
6898d90ca9
Rework panel code to be more like toolbar (not complete yet)
...
SVN revision: 43699
2009-11-15 01:53:46 +00:00
Christopher Michael
550cb8193a
Use EVAS_HINT_EXPAND/FILL.
...
SVN revision: 43698
2009-11-15 01:53:08 +00:00
Christopher Michael
1978788879
Formatting.
...
SVN revision: 43697
2009-11-15 01:52:53 +00:00
Christopher Michael
4d62ebac5b
Add missing function prototypes.
...
SVN revision: 43696
2009-11-15 01:52:40 +00:00
Christopher Michael
956b35a669
Set edje frametime once during init
...
Set edje scale once during init.
SVN revision: 43695
2009-11-15 01:52:25 +00:00
Christopher Michael
f2bc714d81
Formatting.
...
Reduce potential register usage.
No need to always set edje frametime when creating a window (NB: This was
getting done for every window)
No need to always set edje scale when creating a window (NB: This was
getting done for every window)
Don't need to get the Widget_Data in changed_size_hints as it's not used.
Use EVAS_HINT_EXPAND/FILL
SVN revision: 43694
2009-11-15 01:51:39 +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
Andreas Volz
b9b190cb4c
document spinner style vertical
...
SVN revision: 43683
2009-11-13 22:27:06 +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
Gustavo Sverzut Barbieri
16fec09332
nasty bug, die die dieeeeeeeeeeeeee
...
took me some time to spot the problem was in the nasty typo... :-(
SVN revision: 43681
2009-11-13 22:18:43 +00:00
Gustavo Sverzut Barbieri
7424d452f8
let's save some function calls.
...
Actually those should not be multiple calls on GCC that supports
functions attributes, but it does not hurt and code is a bit smaller
and easier to read.
SVN revision: 43680
2009-11-13 22:18:01 +00:00
Gustavo Sverzut Barbieri
7485ad2742
elm_box: fix move to evas_object_box and avoid double-deletion.
...
We must clear the box before, otherwise on delete it will
automatically delete all existing children, which would be deleted
right after with sub-objects.
SVN revision: 43675
2009-11-13 18:54:55 +00:00
Gustavo Sverzut Barbieri
a60ce4e74f
elm_entry: play nice with stringshare.
...
This avoids removing entries from cache to just add them later if it
was the last reference count.
SVN revision: 43674
2009-11-13 18:53:34 +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
Jonathan Atton
28e2b8664c
Photocam: set the type of the widget
...
SVN revision: 43633
2009-11-12 19:23:44 +00:00
Christopher Michael
f719ff7119
Formatting.
...
SVN revision: 43599
2009-11-10 04:26:51 +00:00
Christopher Michael
eb489c6809
Formatting.
...
Use EVAS_HINT_EXPAND/FILL.
Remove unused variables.
Reduce duplicated code.
SVN revision: 43598
2009-11-10 02:03:52 +00:00
Jonathan Atton
43ffe878b5
Elementary: add the patch from Dave Andreoli to remove the <br> at the end of the entry. This break a lot of applications but every new applications implement their own fix, it is time to fix it in elm.
...
SVN revision: 43593
2009-11-09 22:15:26 +00:00
Boris Faure
8c7b6924a1
typo
...
SVN revision: 43591
2009-11-09 20:12:16 +00:00
Christopher Michael
8e41d90a0e
Use EVAS_HINT_EXPAND/EVAS_HINT_FILL.
...
SVN revision: 43583
2009-11-09 13:14:05 +00:00
Christopher Michael
9c475d8580
More panel work. (Not complete yet).
...
Add some doxy.
SVN revision: 43581
2009-11-09 12:58:01 +00:00
Christopher Michael
5381320d34
Remove useless variables.
...
SVN revision: 43580
2009-11-09 12:56:26 +00:00
Christopher Michael
3b022f66ae
Remove 2 useless variables.
...
SVN revision: 43579
2009-11-09 12:55:50 +00:00
Christopher Michael
df49f80eca
Formatting.
...
Remove useless variables.
Use ELM_NEW instead of calloc directly.
SVN revision: 43578
2009-11-09 12:54:44 +00:00
Christopher Michael
3303d5b936
Formatting.
...
SVN revision: 43577
2009-11-09 12:50:16 +00:00
Christopher Michael
41b3e9fc8e
Formatting.
...
SVN revision: 43576
2009-11-09 12:46:31 +00:00
Christopher Michael
a6fc39c6b1
Remove 2 useless variables.
...
SVN revision: 43575
2009-11-09 12:42:35 +00:00
Christopher Michael
d4f6bb5e70
Remove 2 useless variables.
...
SVN revision: 43574
2009-11-09 12:32:10 +00:00
Boris Faure
b2c4f81501
elementary: add del_cb to hoversel items
...
SVN revision: 43550
2009-11-08 22:20:46 +00:00
Daniel Kolesa
58e656d64b
why that long?
...
SVN revision: 43461
2009-11-05 14:58:45 +00:00
Andreas Volz
f93236d6b2
NULL check
...
SVN revision: 43456
2009-11-04 22:00:56 +00:00
Andreas Volz
c0fef3e01c
implemented elm_menu_object_get
...
SVN revision: 43455
2009-11-04 21:00:56 +00:00
Davide Andreoli
2ddaccbe38
* Genlist: delete the long_press timer on _item_unrealize(), not on _item_del().
...
SVN revision: 43448
2009-11-04 11:09:02 +00:00
Cedric BAIL
4723717a79
* elementary: Remove work around edje bug.
...
SVN revision: 43417
2009-11-02 10:21:52 +00:00
Jonathan Atton
8da22b8178
Elm notify : move evas_callback_add to the end, it can prevent some bugs
...
SVN revision: 43397
2009-11-01 19:05:00 +00:00
Jonathan Atton
9ea4e89810
elm pager: remove the white rect
...
SVN revision: 43366
2009-10-31 11:28:33 +00:00
Jonathan Atton
359474bcec
Elb menu: Fix bug. add the callback in the end else they can be called before all data are ready.
...
SVN revision: 43364
2009-10-31 09:27:22 +00:00
Jonathan Atton
13d77f2c4b
Elm pager: now evas_object_hide work
...
SVN revision: 43353
2009-10-30 18:25:57 +00:00
Jonathan Atton
100f4724c0
Elm toosbar : fix item_label_set(), recalc the min size
...
SVN revision: 43351
2009-10-30 14:10:41 +00:00
Jonathan Atton
f7c963cad5
Elm toolbar : If the icon is bigger than the text fit to the icon size
...
SVN revision: 43350
2009-10-30 13:13:21 +00:00
Jonathan Atton
5533c2a8f9
Elm menu: do not delete this items
...
SVN revision: 43347
2009-10-30 12:26:31 +00:00
Jonathan Atton
f0dbbfd01a
Elm slideshow s/item_build/item_realize
...
SVN revision: 43346
2009-10-30 12:05:31 +00:00
Jonathan Atton
4981bf693c
Elm pager : new style : fade_translucide. The background of the panel is translucide
...
SVN revision: 43345
2009-10-30 12:00:18 +00:00
Jonathan Atton
1895a9ec7d
Elm slideshow : fix preload
...
SVN revision: 43344
2009-10-30 11:58:03 +00:00
Iván Briano
f46b9c6fc2
Looks like the size hint changes are not taking effect in edje,
...
all reswallows are slowly coming back.
SVN revision: 43341
2009-10-29 23:36:49 +00:00
Jonathan Atton
5a04f07e9d
Elm slideshow: fix preload and memory leak
...
SVN revision: 43340
2009-10-29 17:58:16 +00:00
Jonathan Atton
cfed8739bc
elm slideshow : add elm_slideshow_items_get() and preload the next and the previous object.
...
SVN revision: 43339
2009-10-29 17:26:52 +00:00
Carsten Haitzler
8d5d9dbe67
another swallow vicitm.... why?
...
SVN revision: 43322
2009-10-28 07:06:41 +00:00
Christopher Michael
8694f94d26
Fix formatting in elm_theme.
...
Fix compiler warnings in elm_theme.
More Panel work...can now slide in & out. Still needs more love tho.
SVN revision: 43318
2009-10-27 19:32:50 +00:00
Jonathan Atton
2d68c3558c
Elm scroller: Fix _smart_scrollto_x/y_animator(). The callback "scroll" was not called for the last move
...
SVN revision: 43297
2009-10-26 10:48:09 +00:00
Jonathan Atton
baf4d22681
Elm box/table : Fix callback_del/add and memory leak
...
SVN revision: 43296
2009-10-26 10:11:14 +00:00
Carsten Haitzler
66f7668004
1. fix window size hint update. somehow this broke with recent changes.
...
2. fix frame and pager - for some reason there is a neww to re-swallow.
baffles me why!
SVN revision: 43293
2009-10-26 08:27:08 +00:00
Carsten Haitzler
89dc11e1a0
wtf? why add a resize callback? the FRAME will resize the child, not the
...
child just resize itself. this broke scale inheritance. the resize code
ASSUMES the child is an edje object - not a smart object or anything else.
removed.
SVN revision: 43290
2009-10-26 05:54:22 +00:00
Vincent Torri
959022991c
find the extension of the shared libraries at configure time
...
SVN revision: 43267
2009-10-25 12:46:49 +00:00
Iván Briano
b263f7cd23
ok, I should get some sleep
...
SVN revision: 43240
2009-10-24 05:12:17 +00:00
Iván Briano
bddead122d
copy/paste
...
SVN revision: 43239
2009-10-24 05:09:01 +00:00
Iván Briano
c51b48ed29
Delete correct entry from overlay and extension list and recreate cache on flush
...
SVN revision: 43238
2009-10-24 05:05:38 +00:00
Jonathan Atton
d343eb188a
Elm genlist: new item style : default_style. The text part is a textblock instead of a text.
...
SVN revision: 43233
2009-10-23 19:24:57 +00:00
Carsten Haitzler
da355f2db2
add del for overlays/extensions and also an explicit flush
...
SVN revision: 43230
2009-10-23 14:42:39 +00:00
Jonathan Atton
7be1d94aa2
Elm: use evas_object_event_callback_del_full() everywhere and improve elm_notify
...
SVN revision: 43217
2009-10-22 22:10:23 +00:00
Jonathan Atton
210a6bec9d
elm table : add elm_table_padding_set()
...
SVN revision: 43216
2009-10-22 22:07:02 +00:00
Jonathan Atton
6be3e6708b
elm frame : add callback_del
...
SVN revision: 43215
2009-10-22 22:01:56 +00:00
Jonathan Atton
756639fecd
Elm label: set the size hint min of the content to the size of the content. Then the frame size hint min of the frame will be update. This is not easy to understand but in some special cases the content of the frame was bigger than the frame.
...
SVN revision: 43214
2009-10-22 21:46:54 +00:00
Carsten Haitzler
97f0feec59
add extra safety checks.
...
SVN revision: 43199
2009-10-22 12:08:20 +00:00
Carsten Haitzler
07dee04e84
dont grab focus if widget cant focus.
...
SVN revision: 43197
2009-10-22 12:04:55 +00:00
Carsten Haitzler
0f07a18010
allow/disallow focusing of objects explicitly
...
SVN revision: 43193
2009-10-22 08:04:34 +00:00
Christopher Michael
ab13fe634f
Getting closer to a usable panel :)
...
SVN revision: 43174
2009-10-20 22:23:23 +00:00
Christopher Michael
bbef9b8fce
Remove unused variables.
...
SVN revision: 43172
2009-10-20 21:35:57 +00:00
Christopher Michael
6e31924ebe
Formatting.
...
Reduce code size in certain places by not reproducing the same
edje_object_text_set.
SVN revision: 43171
2009-10-20 21:02:37 +00:00
Christopher Michael
77ed1224ab
Fix more formatting, *sigh*
...
Use ELM_NEW instead of calloc directly
SVN revision: 43155
2009-10-18 17:20:18 +00:00
Christopher Michael
2b6e62ee2c
Use elm_widget_del_pre_hook_set for setting pre-delete hook on menu.
...
SVN revision: 43153
2009-10-18 16:59:51 +00:00
Christopher Michael
50f9647f7e
Formatting.
...
SVN revision: 43152
2009-10-18 16:55:31 +00:00
Christopher Michael
a9f20c2a91
Formatting.
...
SVN revision: 43151
2009-10-18 16:31:53 +00:00
Christopher Michael
8eab5228ea
Remove unused variables.
...
Formatting.
SVN revision: 43144
2009-10-18 06:03:03 +00:00
Christopher Michael
5dc064a4fd
Don't use depreciated function for setting style. Use elm_object_style_set
...
SVN revision: 43143
2009-10-18 05:52:20 +00:00
Christopher Michael
551018cc0f
Don't use depreciated *style_set functions. Use elm_object_style_set
...
SVN revision: 43142
2009-10-18 05:49:23 +00:00
Christopher Michael
be8679fbd2
Fix compiler warnings for elm_index. Use proper Evas when adding box.
...
SVN revision: 43141
2009-10-18 05:43:39 +00:00
Christopher Michael
aa454b3618
Fix callbacks to be proper Evas_Smart_Cb's and remove compiler warnings.
...
SVN revision: 43140
2009-10-18 05:40:22 +00:00
Christopher Michael
528b304c12
Formatting on menu & notify.
...
Some cleanup for panel widget...still no where near complete tho.
SVN revision: 43137
2009-10-18 00:10:36 +00:00
Jonathan Atton
d434116d77
Elm : delete some added callback. The callbacks associated to the parent by the hover was not deleted when the parent is deleted
...
SVN revision: 43102
2009-10-15 20:48:00 +00:00
Christopher Michael
0b8583f293
Actually commit panel files.
...
SVN revision: 43101
2009-10-15 20:34:42 +00:00
Christopher Michael
821e101030
Work on a new panel widget. Still not complete yet, but it's started :)
...
SVN revision: 43100
2009-10-15 20:34:11 +00:00
Christopher Michael
0163f8c703
Add missing function prototype.
...
SVN revision: 43099
2009-10-15 19:33:28 +00:00
Christopher Michael
718ebd12c6
Don't need to fetch Widget_Data here as we never use it.
...
SVN revision: 43097
2009-10-15 17:36:48 +00:00
Davide Andreoli
e112d527b5
* make use of use EINA_DEPRECATED, it spotted out (as compiler warning) where the deprecated functions is still used
...
SVN revision: 43096
2009-10-15 14:07:27 +00:00
Davide Andreoli
bbb976c85a
* Revert my previous commit, the correct way to set the style of a widget is to use elm_object_style_set.
...
* Mark all the remaining elm_*_style_set() as deprecated.
* Some whitespaces
SVN revision: 43095
2009-10-15 13:18:11 +00:00
Davide Andreoli
ca97022ec3
* Add missing elm_pager_style_set() func & 3 little whitespaces
...
SVN revision: 43094
2009-10-15 11:16:05 +00:00
Jonathan Atton
947f7ffd37
Elm genlist: add elm_genlist_item_middle_bring_in/show(item)). Elm slideshow : fix a problem with the timer
...
SVN revision: 43087
2009-10-14 21:57:46 +00:00
Carsten Haitzler
015304b20b
add paused state to photocam to allow for instance changes of zoom level when
...
desired.
SVN revision: 43072
2009-10-14 14:03:42 +00:00
Carsten Haitzler
f0fbc554e3
fix fit with small images.
...
SVN revision: 43071
2009-10-14 09:22:20 +00:00
Carsten Haitzler
c3ccf673e8
1. add signal emits for scrolling in photocam
...
2. standardise all callback names to be x,y,z etc. if they have multiple words.
3. add cal to get the region viewed
4. test photocams signals and new call
SVN revision: 43069
2009-10-14 08:41:36 +00:00
Carsten Haitzler
0648ca2875
photocam -> allow zoom as a double and allow all values > 0.0 for zoom for
...
variable zoom levels.
SVN revision: 43066
2009-10-14 03:23:03 +00:00
Jonathan Atton
26d43ce773
elm slideshow: s/elm_widget_disabled_set/elm_object_disabled_set
...
SVN revision: 43061
2009-10-13 18:27:35 +00:00
Christopher Michael
e472033c3b
Fix some really weird formatting.
...
Use ELM_NEW instead of calloc directly.
No need to retrieve Widget_Data in certain functions so commented out.
SVN revision: 43060
2009-10-13 18:13:25 +00:00
Christopher Michael
48ec1a6e8e
Remove this API function as grid widget is not ready yet.
...
SVN revision: 43058
2009-10-13 17:35:13 +00:00
Christopher Michael
7f83060158
Use ELM_NEW macro
...
SVN revision: 43052
2009-10-13 17:11:00 +00:00
Daniel Kolesa
4b813be329
Dave forgot to add elm_win_sticky_get prototype into Elementary.h.in
...
SVN revision: 43051
2009-10-13 17:06:39 +00:00
Jonathan Atton
1df3d50ea1
Elm : fix the svn after devilhorns made a re-indent. And add 2 new methods in the slideshow, thank to captainigloo
...
SVN revision: 43043
2009-10-12 22:00:14 +00:00
Christopher Michael
14f5ca63eb
Fix formatting & keep functions aligned for easier reading.
...
SVN revision: 43042
2009-10-12 21:06:28 +00:00
Christopher Michael
6ddb7d155a
Fix some formatting.
...
Add missing function prototype & fix function declaration.
SVN revision: 43041
2009-10-12 20:51:26 +00:00
Jonathan Atton
1ea45c3803
Elm forgot to commit the header
...
SVN revision: 43040
2009-10-12 20:10:55 +00:00
Jonathan Atton
5ac89d0727
Elm slideshow: Now theslideshow use the same way than the genlist widget: callbacks to create/delete the items
...
SVN revision: 43039
2009-10-12 20:02:56 +00:00
Carsten Haitzler
86547a1fa2
use external fn - not internal.
...
SVN revision: 43035
2009-10-12 10:10:12 +00:00
Davide Andreoli
286653bb37
* Implement some elm_win_*_get() functions
...
SVN revision: 43034
2009-10-12 09:09:55 +00:00
Jonathan Atton
c61b56a1a2
elm slideshow : rewrite it. Now the slideshow display a list of Evas_Object* . This is more clean than the previous hack.
...
SVN revision: 43020
2009-10-11 17:18:44 +00:00
Jonathan Atton
2dc274cc02
elm menu+toolbar: Rewrite the menu, add separator and submenus. Fix the separator in the toolbar
...
SVN revision: 43019
2009-10-11 13:37:01 +00:00
Carsten Haitzler
fbb15eb4ee
thanks to marco - wrapped (line wrapped) label mode too.
...
SVN revision: 43012
2009-10-11 05:57:05 +00:00
Carsten Haitzler
5f2b460aba
thanks to marco - disable cut/paste if not editable, add ability to toally
...
disable the menu
SVN revision: 43011
2009-10-11 05:48:24 +00:00
Carsten Haitzler
82540069b8
fix scale_get(). thanks marco
...
SVN revision: 43010
2009-10-11 05:43:42 +00:00
Carsten Haitzler
0fe15aa512
remove commented out code.
...
SVN revision: 43009
2009-10-11 04:32:09 +00:00
Carsten Haitzler
3c422f238d
printf--
...
SVN revision: 43008
2009-10-11 03:10:52 +00:00
Carsten Haitzler
08d2f2b3f7
fix scrolling in genlist and photocam
...
SVN revision: 43007
2009-10-11 03:10:36 +00:00
Carsten Haitzler
8d4735d43a
ther is no _() macro in elm! intl not done (yet)
...
SVN revision: 42990
2009-10-10 02:53:22 +00:00
Christopher Michael
5f9ad176c9
More EVAS_HINT_EXPAND/FILL.
...
Allow button labels to be translated.
SVN revision: 42989
2009-10-10 00:35:05 +00:00
Christopher Michael
45d94713b9
Use EVAS_HINT_EXPAND & EVAS_HINT_FILL.
...
SVN revision: 42988
2009-10-10 00:32:27 +00:00
Carsten Haitzler
e2bb0e987f
use exposed api call!
...
SVN revision: 42961
2009-10-08 14:29:38 +00:00
Carsten Haitzler
71f6c6475c
fix #ifdef - thanks to Vincent Pomageot for spotting it
...
SVN revision: 42959
2009-10-08 09:31:15 +00:00
Carsten Haitzler
6643ff85ec
1. move orientation box call to after back- this makes the box do a calc
...
2. too keen on removing swallows. add back.
SVN revision: 42955
2009-10-08 06:18:51 +00:00
Carsten Haitzler
a4996f90ae
1. remove excess swallows - now edje handles that itself
...
2. beforfe show.. calc first so initial windowis the right size!
SVN revision: 42953
2009-10-08 05:26:58 +00:00
Jonathan Atton
142f0f04d9
Elemetary : add a new widget: menu. See elementary_test. submenu will coming soon. Rewrite the toolbar to use this new widget
...
SVN revision: 42943
2009-10-07 17:11:41 +00:00
Carsten Haitzler
de95cab53e
if item is being dragged dont unrealize it + block. will get unrealised next
...
scroll.
SVN revision: 42942
2009-10-07 14:02:55 +00:00
Jonathan Atton
a3105e664e
elm toolbar: little fix to avoid a infinite loop
...
SVN revision: 42924
2009-10-06 22:24:24 +00:00
Jonathan Atton
72e5eb0517
elm toolbar: fix the position of the menu
...
SVN revision: 42922
2009-10-06 21:46:11 +00:00
Jonathan Atton
48a16579fc
elm toolbar: add elm_toolbar_align_set(), set the alignment of the items. Defalt is 0.5 (center)
...
SVN revision: 42920
2009-10-06 20:14:46 +00:00
Jonathan Atton
9029e6ed9e
elm toolbar: add item_unselect_all(). Automatically unselect the item when the menu is closed.
...
SVN revision: 42917
2009-10-06 18:18:21 +00:00
Jonathan Atton
145c90a7e4
elm toolbar: add menu. See the last item in the tollbar test. Thi implementation is simple: each item are a button with a custom style
...
SVN revision: 42904
2009-10-06 15:08:41 +00:00
Jonathan Atton
5b3d25c2a2
elm progrees bar: new style: wheel. simple style, no text, no progression, only pulse is available
...
SVN revision: 42887
2009-10-05 13:58:13 +00:00
Jonathan Atton
ba714b567c
elm notify : some fix. hoversel :add items_get()
...
SVN revision: 42879
2009-10-04 23:05:50 +00:00
Iván Briano
a95ba2636d
Hacky move to evas_box
...
Evas_Box layouts don't get along with what elm expects,
so for now, it's using the old els_box calculate functions
as a custom layout.
SVN revision: 42863
2009-10-02 19:22:40 +00:00
Jonathan Atton
6b56241c3a
elm photocam : add file_get()> elm slideshow test : fix a bug
...
SVN revision: 42857
2009-10-02 13:03:57 +00:00
Jonathan Atton
58b8005d51
elm toolbar : rewrite/fix _sizing_eval
...
SVN revision: 42818
2009-09-30 11:26:26 +00:00
Jonathan Atton
a00f198b0f
elm toolbar : add homogenous_set
...
SVN revision: 42817
2009-09-30 10:53:08 +00:00
Carsten Haitzler
448f7575f2
add zoom param to docs
...
SVN revision: 42815
2009-09-30 09:25:28 +00:00
Christopher Michael
35d46f8a63
Sub is not used here.
...
SVN revision: 42808
2009-09-29 21:03:23 +00:00
Jonathan Atton
4de8463e0c
elm slideshow : keep the ratio
...
SVN revision: 42801
2009-09-29 14:07:18 +00:00
Carsten Haitzler
111735b63d
1. add elm module internal code. will be used later for things like:
...
* putting policy into modules
* multitouch handling being able to be farmed off to modules
* farming off things that are not compatible with license/code of elm into a
3rd party piece of code via a clean defined interface API
2. fix doc image - dont need it
3. fix toolbar bounce settings. was wrong
SVN revision: 42793
2009-09-29 04:35:35 +00:00
Christopher Michael
96c5a5ab5e
fix formatting of divide by 0 'fix'.
...
No need to get the minw & minh if we are just going to set it to -1 anyway.
SVN revision: 42785
2009-09-28 22:18:03 +00:00
Jonathan Atton
d3a677e5d9
elm photocam: fix a case of divide by 0
...
SVN revision: 42784
2009-09-28 22:05:37 +00:00
Iván Briano
eba91344f5
Elm table now uses Evas table.
...
Simple switch, nothing new.
SVN revision: 42781
2009-09-28 19:43:56 +00:00
Christopher Michael
ae26bb6849
Subinfo is not used or needed for this widget.
...
SVN revision: 42755
2009-09-28 04:05:31 +00:00
Christopher Michael
803e07e83b
Fix more nasty formatting.
...
Reduce repeated code.
SVN revision: 42753
2009-09-28 03:23:54 +00:00
Christopher Michael
9a25a4bb87
Fix some really nasty formatting.
...
SVN revision: 42752
2009-09-28 03:07:20 +00:00
Christopher Michael
15382d4092
Formatting.
...
SVN revision: 42745
2009-09-27 20:10:03 +00:00
Christopher Michael
e64c4c9473
No need to use variables for this. Just code the -1 value into the function
...
call & save the register space by not using the variables.
SVN revision: 42733
2009-09-26 21:15:29 +00:00
Christopher Michael
03665b7239
Remove unused variables.
...
SVN revision: 42732
2009-09-26 20:16:37 +00:00
Christopher Michael
72db117b71
Formatting.
...
SVN revision: 42731
2009-09-26 19:23:45 +00:00
Christopher Michael
e585bff480
Formatting.
...
SVN revision: 42730
2009-09-26 19:18:36 +00:00
Christopher Michael
e175d00c94
Formatting.
...
SVN revision: 42729
2009-09-26 19:16:51 +00:00
Christopher Michael
825883e894
Formatting & Whitespace removal.
...
SVN revision: 42728
2009-09-26 18:51:36 +00:00
Christopher Michael
7f910399b5
More formatting & some cleanup.
...
SVN revision: 42727
2009-09-26 18:43:26 +00:00
Christopher Michael
89796ed9cc
Formatting & some code cleanup.
...
SVN revision: 42726
2009-09-26 18:41:19 +00:00
Christopher Michael
cab5886644
More formatting.
...
SVN revision: 42725
2009-09-26 18:39:09 +00:00
Christopher Michael
2093e12af3
Formatting.
...
SVN revision: 42724
2009-09-26 18:24:06 +00:00
Christopher Michael
e70e2dda21
Formatting.
...
SVN revision: 42721
2009-09-26 18:04:05 +00:00
Christopher Michael
b221c0fc4a
More formatting.
...
SVN revision: 42720
2009-09-26 18:00:51 +00:00
Christopher Michael
02c446a98d
Ooops, make clock build again.
...
SVN revision: 42719
2009-09-26 17:50:56 +00:00
Christopher Michael
fdffddab66
Formatting.
...
Remove unused variable(s).
SVN revision: 42718
2009-09-26 17:50:03 +00:00
Christopher Michael
3f9a285db7
Formatting.
...
Remove some duplicate code.
SVN revision: 42717
2009-09-26 17:46:05 +00:00
Christopher Michael
e97e75ddf4
little bit of formatting.
...
SVN revision: 42716
2009-09-26 17:43:30 +00:00
Christopher Michael
dd5b63045f
Formatting.
...
SVN revision: 42715
2009-09-26 17:39:29 +00:00
Christopher Michael
2fd991639f
formatting
...
SVN revision: 42714
2009-09-26 17:36:26 +00:00
Christopher Michael
01e0f540db
Formatting.
...
SVN revision: 42713
2009-09-26 17:28:01 +00:00
Christopher Michael
530abc9a05
Formatting.
...
Remove unused variables.
Some code cleanup.
SVN revision: 42712
2009-09-26 17:26:32 +00:00
Jonathan Atton
9541fa5df3
elm slideshow timer fixed
...
SVN revision: 42710
2009-09-26 12:25:34 +00:00
Christopher Michael
14a2655958
Remove Whitespace.
...
Fix formatting.
Reduce register usage in the reconfigure callback by relocating variable
declarations.
SVN revision: 42708
2009-09-26 03:36:29 +00:00
Jonathan Atton
0898a51735
elm slideshow new animation
...
SVN revision: 42695
2009-09-25 10:43:41 +00:00
Carsten Haitzler
c880a4f5ba
and a lot more added to photocam + test code
...
SVN revision: 42693
2009-09-25 09:26:04 +00:00
Iván Briano
5b6f2d5b2d
Delete timer if it's there when slideshow dies
...
SVN revision: 42688
2009-09-25 02:35:24 +00:00
Carsten Haitzler
fdb8792448
and add doce for photocam. and a todo of less essential features
...
SVN revision: 42677
2009-09-24 13:57:04 +00:00
Carsten Haitzler
cd712671a6
clean up nicer
...
SVN revision: 42676
2009-09-24 13:20:46 +00:00
Carsten Haitzler
9cf54a3efb
and fit handles resizes.. as will fill...
...
SVN revision: 42675
2009-09-24 13:10:42 +00:00
Jonathan Atton
294fb4b6eb
elementary slideshow : add a timer
...
SVN revision: 42670
2009-09-24 09:43:05 +00:00
Carsten Haitzler
5b0a120ea4
other zoom modes work now.
...
SVN revision: 42669
2009-09-24 08:55:12 +00:00
Carsten Haitzler
031439f6d7
and another config value
...
SVN revision: 42668
2009-09-24 07:40:14 +00:00
Carsten Haitzler
c9036091d4
make these friction and config values
...
SVN revision: 42667
2009-09-24 07:35:54 +00:00
Carsten Haitzler
d32071097c
longpress fix for list
...
SVN revision: 42666
2009-09-24 07:22:58 +00:00
Carsten Haitzler
a58e9e3d24
and zoom actually works dynamically
...
SVN revision: 42665
2009-09-24 07:17:52 +00:00