Commit Graph

927 Commits

Author SHA1 Message Date
Brett Nash 53e4e63b3c Add the Cut and Paste helper code.
SVN revision: 49725
2010-06-17 08:06:07 +00:00
Iván Briano 99ff1921a9 Standardizing elm_<widget>_{icon,content}_set API
elm_<widget>_icon_set was changed to the better form and the signals
was passed to hidden icons when one icon is changed/removed.
Moreover, when changed by {icon,content}_set the old {icon,content}
will be deleted.

By: Fabiano Fidencio <fidencio@profusion.mobi>



SVN revision: 49706
2010-06-16 20:58:09 +00:00
Iván Briano dea0075e7e Changing internal name from chk to radio
chk is used to check.

By: Fabiano Fidencio <fidencio@profusion.mobi>



SVN revision: 49704
2010-06-16 20:57:51 +00:00
Iván Briano 3b77b92e53 Including icon show/hide in bubble widget
States and program craeted to allow that the user can change/delete
an icon without the icon remain floating on the screen

By: Fabiano Fidencio <fidencio@profusion.mobi>



SVN revision: 49703
2010-06-16 20:57:42 +00:00
Bruno Dilly 84d84ac0dd Fix max value wrapping calculation of elm spinner.
By: Rafael Fonseca <rfonseca@profusion.mobi>



SVN revision: 49683
2010-06-15 15:55:22 +00:00
Bruno Dilly 64c0cbc955 Set signal emit hooks for entry, scroller and scrolled entry.
SVN revision: 49682
2010-06-15 15:04:05 +00:00
Bruno Dilly db550353a8 Add elm_object_signal_emit
This function sends a signal to the edje object of the obj.
It's a general function, and every widget should set a hook for this.

I'm setting a hook only for the spinner now, but soon I will work on other widgets.



SVN revision: 49681
2010-06-15 14:11:13 +00:00
Jonathan Atton 0b41132d70 Add style "fade_invisible" to elm_panel. This style create an invisible panel (no image, we only see the content) and the transition is a fading
SVN revision: 49657
2010-06-12 16:05:48 +00:00
Brett Nash 66605560ad /me shuts up GCC for not understanding this new fangled C code.
SVN revision: 49608
2010-06-10 06:41:50 +00:00
Christopher Michael 05574a433f Don't allow toolbar to be dragable w/ the mouse if scrollable is set
to False.



SVN revision: 49602
2010-06-10 01:21:39 +00:00
Christopher Michael cfb93fbfdd Use proper formatting.
SVN revision: 49597
2010-06-09 21:08:12 +00:00
Bruno Dilly e66e89422e oops--
Setting timer handle to NULL when canceling cb function =/


SVN revision: 49554
2010-06-07 14:19:38 +00:00
Bruno Dilly 8214ddb83d oops - forgot to return CALLBACK_CANCEL on elm_clock
SVN revision: 49553
2010-06-07 13:43:07 +00:00
Bruno Dilly 37250a5ab6 This patch make it possible to ask elm_thumb for the generated thumbnail
path.

By: Rafael Fonseca <rfonseca@profusion.mobi>



SVN revision: 49550
2010-06-06 22:15:27 +00:00
Bruno Dilly 8932085312 Del spin timer on elm_spinner del_hook
SVN revision: 49549
2010-06-06 22:09:48 +00:00
Bruno Dilly 0ba2c62314 Make clock set mode consistent with spinners
It will change values while the user keep arrows pressed.



SVN revision: 49548
2010-06-06 22:08:50 +00:00
Vincent Torri 58011e3859 fix prototype of elm_clock_digit_edit_get() too
SVN revision: 49547
2010-06-06 20:22:27 +00:00
Vincent Torri 53d60fdcf3 use Elm_Clock_Digedit instead of unsigned int
SVN revision: 49546
2010-06-06 20:19:26 +00:00
Brett Nash 4856ef5dc0 Scrolled entry doc format update
SVN revision: 49475
2010-06-06 04:44:54 +00:00
Brett Nash 1e41a6cfdb Minor fix to documentation formatting
SVN revision: 49474
2010-06-06 04:32:41 +00:00
Brett Nash 5e39da8d53 Don't deref a pointer before we check it.
SVN revision: 49473
2010-06-06 04:09:56 +00:00
Fabiano Fidêncio 7746e8b514 From: Fabiano Fidêncio <fidencio@profusion.mobi>
Changing return of Eina_Bool functions that were not EINA_TRUE or
EINA_FALSE in Edje.
In Elementary too ...



SVN revision: 49470
2010-06-05 13:12:45 +00:00
Carsten Haitzler 1bc500518c dont need that anymore.
SVN revision: 49466
2010-06-05 05:30:59 +00:00
Carsten Haitzler ad6ec2e43e oops - typo. fix.
SVN revision: 49465
2010-06-05 04:34:00 +00:00
Carsten Haitzler 4d58c10c09 init imf in elm_main. saves de-init and re-inti when entires are around.
SVN revision: 49442
2010-06-04 05:14:35 +00:00
Rafael Fonseca 24feacfa4c From: Rafael Fonseca <rfonseca@profusion.mobi>
As requested, I've changed the widget name. Let me know about any
issues.



SVN revision: 49411
2010-06-03 12:53:14 +00:00
Carsten Haitzler fa58ea8625 elm... version too!
SVN revision: 49284
2010-05-29 09:48:05 +00:00
Mike Blumenkrantz 2c44eda4e0 kill off some unused variables, return values on some widtype check fails
SVN revision: 49222
2010-05-27 09:01:41 +00:00
Bruno Dilly 46762b882e Add right orientation to elm panel widget
And create a new test for panel, a bit more complex, that should
be extended to show panels with all the 4 orientations, when they're
implemented.



SVN revision: 49202
2010-05-26 03:08:10 +00:00
Bruno Dilly 7d57c9c432 Fix misuse of win_resize_object on test_flip3 and add comments
explaining better the sorted insertion of index widget.
Thanks to Sachiel for spotting that stuff.


SVN revision: 49195
2010-05-25 13:36:20 +00:00
Mike Blumenkrantz feafca280f sighhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh
SVN revision: 49176
2010-05-24 08:28:23 +00:00
Mike Blumenkrantz 7a283dbdf0 fix smart_object_add param order (hooray for Sachiel at 4:30am!)
SVN revision: 49175
2010-05-24 08:26:18 +00:00
Bruno Dilly a5fa20a9ab Adding function to set cell selected in elm_scrolled_grid
By: Rafael Fonseca



SVN revision: 49173
2010-05-23 23:54:16 +00:00
Bruno Dilly 0fa431bcc0 Implement elm index sorted insert
- Name index item as Elm_Index_Item
 - Add some other index functions:
   + Item find
   + Data get/set
   + Letter get

I think this stuff will make easier to create index for
dynamically created lists.


SVN revision: 49171
2010-05-23 23:41:32 +00:00
Christopher Michael de41ec04e3 Proper fix for compiler warnings by adding const to the _get functions
(thanks k-s).
Fix formatting & remove some whitespace.

NB: Please take notice, do not format if statements like this:
      if (val && !val2).
    You will get spanked...hard :P
    Proper if formatting should be:
      if ((val) && (!val2))
    This avoids potential evaluation errors (as was recently seen in
    ecore_con).



SVN revision: 49111
2010-05-21 19:26:57 +00:00
Bruno Dilly b93adb9b7c Implements elm_object_focus_get that returns if the object is focused.
SVN revision: 49005
2010-05-19 13:17:02 +00:00
Bruno Dilly 00371747b9 When the grid size was different from the viewport's, the min size
for the grid was being wrongly calculated leading to children
objects leaking through the widget.

By Rafael Fonseca



SVN revision: 48984
2010-05-18 18:23:11 +00:00
Iván Briano 5a19ae8a8b Set main object as resize object for the widget
This way, Elementary handles stacking, resizing and moving of the
object by itself, instead of letting it loose and stacked over
everything else.



SVN revision: 48945
2010-05-17 17:36:43 +00:00
Gustavo Sverzut Barbieri ad18100ff3 Work around elementary's lack of proper inheritance.
Someday someone should take care to make elementary real smart objects
and benefit from everything it brings... yes, types more, but it is
worth -- and we added macros to help the type-a-lot.



SVN revision: 48831
2010-05-13 22:02:26 +00:00
Iván Briano 0e397de63c Signal edje when clock gets focused.
By Rafael Fonseca


SVN revision: 48789
2010-05-12 21:59:08 +00:00
Carsten Haitzler 5d79733553 add docs.
SVN revision: 48779
2010-05-12 16:37:33 +00:00
Carsten Haitzler 1c2f713799 working much better elm config stuff. hs old config sliders still there, now
adding theme tab. not complete tho.



SVN revision: 48778
2010-05-12 16:32:12 +00:00
Luis Felipe Strano Moraes 8e692f5686 Create elm_list_item_sorted_insert
Function that include items to an elm list in a sorted way defined by
an Eina_Compare_Cb function.

Author: Bruno Dilly <bdilly@profusion.mobi>




SVN revision: 48777
2010-05-12 15:43:54 +00:00
Carsten Haitzler d888b71dba theme -> can specify a new theme for an object andit gets inherited. need to
add tests.



SVN revision: 48771
2010-05-12 01:03:46 +00:00
Iván Briano cd097950e4 Let the user choose what digits of the clock are editable.
Patch by Rafael "15 years of experience" Fonseca.


SVN revision: 48757
2010-05-11 15:25:01 +00:00
Carsten Haitzler 2ae7757e30 if sub scroller bigger than oparent - it's still usable now - u can get to
edge of child then it stops and now parent moves etc.



SVN revision: 48717
2010-05-09 16:05:18 +00:00
Carsten Haitzler 63f9c12ad1 fix list scroller to use ppropeer internal scroller calls.
remove commented out code from elm_scroller



SVN revision: 48712
2010-05-09 10:46:49 +00:00
Carsten Haitzler 4de621bd64 oooh lookie here. profiel and config can now be properties on root - and will
be re-fectsh when they change etc. etc. etc. :)



SVN revision: 48701
2010-05-09 02:19:14 +00:00
Carsten Haitzler 6a2932cfbc re-jig elm config stuff to be in its own file and modularise it a little.
will be modified more soon to support x prop.



SVN revision: 48669
2010-05-07 15:49:06 +00:00
Carsten Haitzler 6ef532ddae and do the other instances too.
SVN revision: 48668
2010-05-07 13:24:29 +00:00
Carsten Haitzler 83286a1d84 scroller in scroller.... works! well with scrollers for now (elm_scroller).
need to fix up some other instances of use of elm_smart_scroller. it's a 1
liner.



SVN revision: 48667
2010-05-07 13:21:45 +00:00
Iván Briano 91b4652e87 Signal de edje on focus changes. Can be used to show/hide the spinner buttons based on it.
SVN revision: 48585
2010-05-03 18:29:02 +00:00
Carsten Haitzler 27012f5b0e sorry.. elm_widget is internal. dont document it. not to be known outside of
elm. :)



SVN revision: 48535
2010-05-02 01:44:38 +00:00
Iván Briano 123c0140de more friendliness with the lispers, and also shuts up valgrind a bit about leaks
SVN revision: 48410
2010-04-28 23:14:04 +00:00
Carsten Haitzler 5b26300221 support items in anchorblock/view too.
SVN revision: 48384
2010-04-28 06:13:06 +00:00
Carsten Haitzler 85a924c9e2 some docs on items.
SVN revision: 48357
2010-04-27 08:12:59 +00:00
Carsten Haitzler 88bee2cadb emoticons!!!! woot woot!
SVN revision: 48356
2010-04-27 08:06:42 +00:00
Michael Blumenkrantz e571b14068 From: Michael Blumenkrantz <mike@zentific.com>
elm.diff is a patch which implements a number of convenience functions
for various widgets, as well as some new features for toolbar and panel.
With the panel widget, I've written a number of calls related to
toolbar items and the selected item in particular, allowing
manipulation of the selection and toolbar items more easily. These
functions are as follows:
+elm_toolbar_item_get_all() returns a Eina_List* of all the toolbar
items
+elm_toolbar_item_get_first() returns the first toolbar item
+elm_toolbar_item_get_last() returns the last toolbar item
+elm_toolbar_item_get_next() returns the item after the
currently selected item
+elm_toolbar_item_select_next() moves the selection to the next valid
item
+elm_toolbar_item_select_first() selects the first valid item
+elm_toolbar_item_select_last() selects the last valid item
+elm_toolbar_item_find_by_label() returns the first Elm_Toolbar_Item
matching "label"

The new panel functions I have written allow for control of the panel's
state from code, and are as follows:
+elm_panel_hidden_set() sets the panel's toggle state to a bool value
and runs the animation
+elm_panel_hidden_get() returns whether the panel is hidden
+elm_panel_toggle() toggles the panel to its other state

The remainder of the functions are just general wd->data returns which
were missing, the functionality of which may be of use to people.



SVN revision: 48355
2010-04-27 05:43:54 +00:00
Iván Briano 9c45d6aac5 Let the grid be shrunk when resizing. By Rafael Fonseca.
SVN revision: 48333
2010-04-26 16:51:03 +00:00
Carsten Haitzler 52e86cb31c use the new item stuff! :):) it works.... wow!
SVN revision: 48330
2010-04-26 14:59:01 +00:00
titan 5aaf50253f Add the ability to set the way the grid contents are aligned in the
scroller... Set x and y values ranging from 0.0 to 1.0. Default is 0.5
0.5.


SVN revision: 48326
2010-04-26 02:34:07 +00:00
Vincent Torri 86d5c41583 * remove shadow declarations
* missing initializer in Evas_Smart_Class (the data field was missing)


SVN revision: 48197
2010-04-21 07:46:03 +00:00
Vincent Torri 291c607e15 remove unused parameters
SVN revision: 48196
2010-04-21 07:38:25 +00:00
Iván Briano 2bec9f57d8 Set evas focus for some objects when focused. More will come later.
SVN revision: 48179
2010-04-20 20:03:05 +00:00
Gustavo Sverzut Barbieri 8a23d2a6b7 Add special values to spinner.
Special value is a string showed instead a numerical one.

By: Rafael Fonseca <rfonseca@profusion.mobi>



SVN revision: 48090
2010-04-18 00:31:07 +00:00
Gustavo Sverzut Barbieri 37d6782967 Add elm_scrolled_grid object.
A genlist like grid widget: just the visible objects are actually built.

By: Rafael Fonseca <rfonseca@profusion.mobi>



SVN revision: 48086
2010-04-17 20:21:59 +00:00
Gustavo Lima Chaves 24b1c5d025 Fixing some compiler warnings on filesector widgets.
SVN revision: 48024
2010-04-15 18:00:31 +00:00
Carsten Haitzler 7aceaa4a41 support flush and dump protocol - also add call to do this by requuest from
the app itself.



SVN revision: 47949
2010-04-12 08:27:10 +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 bf7c032627 Fix race condition on item selection for file selectors.
Also, fixing bug at file selector button (last selection saving).



SVN revision: 47881
2010-04-09 17:52:55 +00:00
Iván Briano 07d91767cd Expose elm_list as external
Patch by Thiago Masaki


SVN revision: 47847
2010-04-08 20:53:01 +00:00
Gustavo Lima Chaves 23b65bc2de Welcome a new Elementary widget: file selector button.
This is an elm button extended to launch a file selector on click and to callback_call registered funcs
when selection is completed.

Many uses may arise from it, but as a fresh 1st example here comes the first (primitive, but cool) video
player in edje:

externals {
  external: "emotion";
  external: "elm";
}

collections {
  group { name: "main";
     parts {
        part { name: "video";
           type: EXTERNAL;
           source: "emotion";
           description { state: "default" 0;
              rel1 {
                 offset: 10 10;
              }
              rel2 {
                 offset: -11 -61;
              }
              params {
                 choice: "engine" "gstreamer";
              }
           }
        }
        part { name: "play";
           type: RECT;
           description { state: "default" 0;
              color: 0 255 0 128;
              rel1 {
                 relative: 0 1;
                 offset: 10 -51;
              }
              rel2 {
                 relative: 0.3 1;
                 offset: -6 -11;
              }
           }
        }
        part { name: "pause";
           type: RECT;
           description { state: "default" 0;
              color: 255 0 0 128;
              rel1 {
                 relative: 0.3 1;
                 offset: 5 -51;
              }
              rel2 {
                 relative: 0.6 1;
                 offset: -6 -11;
              }
           }
        }

        part { name: "file_sel_btn";
           type: EXTERNAL;
           source: "elm/fileselector_button";
           description { state: "default" 0;
              rel1 {
                 relative: 0.6 1;
                 offset: 5 -51;
              }
              rel2 {
                 offset: -11 -11;
              }
              params {
                 string: "label" "open file";
                 string: "icon" "file";
              }
           }
        }

        programs {
           program {
              signal: "mouse,clicked,1";
              source: "play";
              after: "do_play";
           }
           program {
              name: "do_play";
              action: PARAM_SET "video" "play" "1";
           }
           program {
              signal: "mouse,clicked,1";
              source: "pause";
              action: PARAM_SET "video" "play" "0";
           }
           program {
              signal: "file,chosen";
              source: "file_sel_btn";
              action: PARAM_COPY "file_sel_btn" "path" "video" "file";
              after: "do_play";
           }
        }
     }
  }
}

Enjoy. I've seen bugs on the fileselector itself wrt to list selection logic.
I'll dig into then soon.



SVN revision: 47846
2010-04-08 20:36:37 +00:00
Iván Briano 7c413d98dd Assorted fixes to slideshow in lib and externals
Patch by Thiago Masaki


SVN revision: 47845
2010-04-08 20:16:21 +00:00
Iván Briano 415e38c50c Fix issues with button autorepeat
Patch by Brian Wang


SVN revision: 47836
2010-04-08 15:15:22 +00:00
Tiago Rezende Campos Falcao 58ffdf8254 Fix some bugs in Genlist/Photocam. By Fidencio
Author:    Fabiano Fidêncio <fidencio at profusion.mobi>

SVN revision: 47823
2010-04-07 21:30:54 +00:00
Boris Faure 97dfb904e9 add doc, thanks to Mike Blumenkrantz (zmike)
SVN revision: 47801
2010-04-07 07:37:49 +00:00
Carsten Haitzler 0e56acdbcb patch from disco-man! :)
SVN revision: 47799
2010-04-07 01:31:36 +00:00
Tiago Rezende Campos Falcao baa7e26d78 Some fixes in external Photocam. By Fidencio
Author:    Fabiano Fidêncio <fidencio at profusion.mobi>

SVN revision: 47785
2010-04-06 14:01:08 +00:00
Tiago Rezende Campos Falcao ffaa68c266 Added get functions in elm_genlist and added external Genlist support. By Fidencio
Author:    Fabiano Fidêncio <fidencio at profusion.mobi>

SVN revision: 47784
2010-04-06 14:01:04 +00:00
Gustavo Lima Chaves 07702cd2f3 Elm slideshow as edje external, by Masaki.
SVN revision: 47780
2010-04-05 20:23:30 +00:00
Gustavo Lima Chaves 10baacf024 1st use of description field for callback signals.
SVN revision: 47779
2010-04-05 19:38:59 +00:00
Gustavo Lima Chaves a446b18538 Signal description infra for map.
SVN revision: 47778
2010-04-05 19:21:22 +00:00
Gustavo Lima Chaves b15b3376b6 Fix signal description infra for anchorblock.
SVN revision: 47777
2010-04-05 19:20:48 +00:00
Gustavo Lima Chaves 32a79e1c61 Fix signal description infra for anchorview.
SVN revision: 47776
2010-04-05 19:20:06 +00:00
Gustavo Lima Chaves ef78e544f1 Signal description infra for file thumb.
SVN revision: 47775
2010-04-05 19:19:16 +00:00
Gustavo Lima Chaves 31d1a343c5 Signal description infra for file selector.
SVN revision: 47774
2010-04-05 19:18:36 +00:00
Carsten Haitzler 31c4f0349c 1. if window is transient for another.. if parent del - nuke reference to it
in transient.
2. addd flush button in genlist test - for exposing memory issues.



SVN revision: 47757
2010-04-05 04:58:43 +00:00
Gustavo Lima Chaves 6d3534b6f8 Elm_map exported as edje external.
SVN revision: 47654
2010-04-01 17:34:49 +00:00
Tiago Rezende Campos Falcao 8428f91d63 Just some fixes to show changes like horizontal and inverted in editje.By Fidencio
Author: Fabiano Fidêncio <fidencio at profusion.mobi>

SVN revision: 47648
2010-04-01 14:22:41 +00:00
Tiago Rezende Campos Falcao eb475b53bd Added get functions in elm progressbar and added elm progressbar support in edje externals.By Fidencio
Author: Fabiano Fidêncio <fidencio at profusion.mobi>

SVN revision: 47647
2010-04-01 14:22:36 +00:00
Tiago Rezende Campos Falcao c00911ee84 Added get functions in elm spinner and added elm spinner in edje externals.By Fidencio
Author: Fabiano Fidêncio <fidencio at profusion.mobi>

SVN revision: 47646
2010-04-01 14:22:32 +00:00
Tiago Rezende Campos Falcao c8823541a4 Added get functions in elm clock and added elm clock support in edje externals. By Fidencio
Author: Fabiano Fidêncio <fidencio at profusion.mobi>

SVN revision: 47645
2010-04-01 14:22:26 +00:00
Gustavo Lima Chaves a1228094fd Elm_fileselector as edje external.
SVN revision: 47634
2010-03-31 20:19:55 +00:00
Gustavo Lima Chaves 8483246729 Elm_thumb as an edje external.
There's a bug while adding it at Editje: it will draw itself over the part moving knob.
Fixing it later.



SVN revision: 47632
2010-03-31 19:08:51 +00:00
Cedric BAIL 341d5cff52 * elementary: Add elm_toolbar_item_selected_get and some const.
Patch by Mike Blumenkrantz (zmike) <mike@zentific.com>.


SVN revision: 47629
2010-03-31 16:38:37 +00:00
Tiago Rezende Campos Falcao b30117f449 Don't forget to shutdown ethumb. By Fonseca
Author:    Rafael Fonseca <rfonseca at profusion.mobi>

SVN revision: 47624
2010-03-31 12:38:58 +00:00
Tiago Rezende Campos Falcao 5884ebfb18 Toolbar External
SVN revision: 47608
2010-03-30 20:42:01 +00:00
Tiago Rezende Campos Falcao 5dd010bb26 Hoversel External
SVN revision: 47607
2010-03-30 20:41:56 +00:00
Gustavo Lima Chaves 9a8981530d Elm anchorblock edje external support. Same progress as anchorview's.
SVN revision: 47606
2010-03-30 18:38:02 +00:00
Gustavo Lima Chaves 5f686476b5 Anchorview exported to edje.
Just text exported, for now.
TODO: make editje pass *unescaped* text down to this property.



SVN revision: 47604
2010-03-30 17:21:47 +00:00
Carsten Haitzler 2f17c7c339 avoid adding timer to item that is not realized...
SVN revision: 47582
2010-03-30 05:42:56 +00:00
Iván Briano d7517b304a Also kill timer on genlist_clear
SVN revision: 47580
2010-03-30 05:26:14 +00:00
Carsten Haitzler 2fd70ad255 eek 2 longtimer dels.. move to end anyway.
SVN revision: 47579
2010-03-30 05:22:34 +00:00
Carsten Haitzler 2ae3d5f457 long timer del - on item del. why didnt this happen before?
SVN revision: 47578
2010-03-30 05:19:00 +00:00
Iván Briano 9fc0f17a49 Delete long press timer on item deletion
SVN revision: 47576
2010-03-30 05:03:57 +00:00
Gustavo Lima Chaves 3451411326 New elm widget exported to edje: bubble.
SVN revision: 47559
2010-03-29 17:19:35 +00:00
Carsten Haitzler a22555c551 avoid norender when doing initial queued block - it's limited to 1 block
anyway.



SVN revision: 47550
2010-03-29 02:27:26 +00:00
Sebastian Dransfeld f1ff260f2d efreet_util_init gone
SVN revision: 47512
2010-03-27 19:58:21 +00:00
Carsten Haitzler a9560949f5 fix unrealizesd dragging item issue.
SVN revision: 47502
2010-03-27 04:17:01 +00:00
Gustavo Sverzut Barbieri 64bc9152d5 allow init to be called multiple times.
SVN revision: 47498
2010-03-27 01:24:21 +00:00
Gustavo Sverzut Barbieri 86bf257913 fix _elm_widget_type_check() to return FALSE on failure.
SVN revision: 47497
2010-03-27 01:19:44 +00:00
Gustavo Sverzut Barbieri 5d36cbef7a allow elm_init() being called with NULL argc/argv.
SVN revision: 47496
2010-03-27 01:19:05 +00:00
Gustavo Sverzut Barbieri 68321b408a ops, forgot some signals.
SVN revision: 47489
2010-03-26 11:25:55 +00:00
Gustavo Sverzut Barbieri 9c951bc6fc Describe more widgets callbacks.
These are all that Editje support now :-) Add others later as
required, but patches are welcome!



SVN revision: 47488
2010-03-26 10:59:56 +00:00
Iván Briano c70784c37c Adding focus and unfocused smart callbacks for entry
SVN revision: 47481
2010-03-26 06:46:31 +00:00
Carsten Haitzler d8f22e5020 password mode - really dont allow selecting of passwords form password fields.
SVN revision: 47467
2010-03-26 04:45:11 +00:00
Iván Briano b01e9fc400 NULL pointer after deleting timer to avoid bitching later
Patch by Brian Wang


SVN revision: 47462
2010-03-26 03:17:05 +00:00
Gustavo Sverzut Barbieri 439a3bd492 Proxy Elementary widget signals to Edje.
Add support to automatic proxy events from Elementary to Edje using
callbacks described with Evas_Smart_Cb_Description and set to
Evas_Smart_Class or per-instance with
evas_object_smart_callbacks_descriptions_set().

Right now elm_widget is not subclassable, so there is no way to define
class signals, just instance signals.

Just doing it for button, lots of widgets to do... If you can help,
please follow the process:

  * see example at src/lib/elm_button.c, copy it.

  * read your widget documentation at Elementary.h

  * grep for evas_object_smart_callback_call(), see if they are all
    documented in Elementary.h, or if there are some missing. Fix Elementary.h

  * paste and change based on fixed Elementary.h My recommendation is
    to create "static const char []" variables and replace all
    evas_object_smart_callback_call() with that, to force sync.


With callback descriptions pre-defined and using the same pointer with
a custom variation evas_object_smart_callback_call_ptr() we may later
optimize signal calling heavily, removing the requirement to call
eina_stringshare_add()/eina_stringshare_del() and also not mixing all
the callbacks in teh same list, instead having an array for defined
signals, and a list from there.  These optimizations are not in, but
they are easily added later without breaking the API/ABI.




SVN revision: 47461
2010-03-26 00:58:14 +00:00
Cedric BAIL 96657f33af * elementary: enable wheel in slider.
SVN revision: 47454
2010-03-25 17:47:48 +00:00
Gustavo Sverzut Barbieri f48ba4fb22 Some missing getters...
I'm working on edje_externals param_get/param_set and they will need
these functions.



SVN revision: 47450
2010-03-25 17:27:00 +00:00
Carsten Haitzler 59961838f1 return "" if conv is null anyway (as thats a "" src string)
SVN revision: 47441
2010-03-25 05:13:59 +00:00
Carsten Haitzler 9ed7a42108 when adding items to genlist - if there is no block yet, or a block that is
incomplete - always calc a block worth immediately.



SVN revision: 47416
2010-03-24 10:00:50 +00:00
Carsten Haitzler 29e61e39cb longpress <- for dan!
SVN revision: 47414
2010-03-24 08:54:59 +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 8ef9ff019e Add a theme hook to elm_scrolled_entry
This patch makes it possible to specify a different style to an
elm_scrolled_entry. Worked fine in ewebkit-demo.


By: Raphael Kubo da Costa <kubo@profusion.mobi>



SVN revision: 47376
2010-03-23 00:06:32 +00:00
Gustavo Sverzut Barbieri dbd9fcce4d Enable check of Elementary widgets and getting the first widget that
is parent of an Evas_Object.

With these in place, one can check if the given object is an elmentary
widget and query for the first widget that is parent, so we can add
them and keep focus chain correct, useful for Edje externals, patch to
follow.




SVN revision: 47374
2010-03-22 21:36:59 +00:00
Vincent Torri be6a95129a support Windows file system
patch by Nicolas Aguirre


SVN revision: 47346
2010-03-19 18:24:58 +00:00
Carsten Haitzler 2257453fe4 example of how to work around heirachy to go back up the tree - but wont work
for going bck down. i.e. - focus.



SVN revision: 47302
2010-03-17 01:08:39 +00:00
Gustavo Sverzut Barbieri 7462246b63 reorganize genlist functions in header to make more sense.
SVN revision: 47294
2010-03-16 15:43:49 +00:00
Gustavo Sverzut Barbieri abe1f4275a Typedefs to help bindings, type less and make things easier to identify.
SVN revision: 47292
2010-03-16 15:31:38 +00:00
Gustavo Sverzut Barbieri bbfce69db0 fix compile without ethumb...
SVN revision: 47246
2010-03-15 19:30:24 +00:00
Gustavo Sverzut Barbieri 37de81817f Add elm_thumb object to Elementary.
The elm_thumb object interacts with ethumb to create a thumbnail.

By: Rafael Fonseca <rfonseca@profusion.mobi>



SVN revision: 47240
2010-03-15 18:34:04 +00:00
Carsten Haitzler 8f34a43231 aaah typo! fix from lupan.
SVN revision: 47225
2010-03-14 22:33:52 +00:00
Carsten Haitzler 5ceae54321 fix more runtime wornings... added ELM_ERROR_ABORT! :)
SVN revision: 47195
2010-03-14 03:48:22 +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 6c46e85395 remove newline stuff.
SVN revision: 47130
2010-03-11 08:08:15 +00:00
Carsten Haitzler c86c9ea795 and make entry api's acutally work - and be tested.
SVN revision: 47127
2010-03-11 06:35:07 +00:00
Carsten Haitzler ca93701c55 remove deprecated calls (been deprecated for a while now)
SVN revision: 47100
2010-03-10 07:21:10 +00:00
Carsten Haitzler 27a1fc9a9c more warning--
SVN revision: 47099
2010-03-10 06:46:28 +00:00
Carsten Haitzler 310810413c and some more warning--
SVN revision: 47097
2010-03-10 03:47:33 +00:00
Carsten Haitzler df611db335 more wanring-- and safety checks.
SVN revision: 47096
2010-03-10 00:31:54 +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 f3034c8196 more members for newer struct - init to null.
SVN revision: 47092
2010-03-09 16:56:31 +00:00
Carsten Haitzler 8599a54123 more warnning fixes!
SVN revision: 47087
2010-03-09 16:46:13 +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 6e5836950a warning-- more
SVN revision: 47078
2010-03-09 14:42:41 +00:00
Carsten Haitzler d32e700fe3 more warning fixes!
SVN revision: 47076
2010-03-09 11:42:53 +00:00
Carsten Haitzler 6792e2db2c warning fix 1. :)
SVN revision: 47074
2010-03-09 07:30:48 +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