Commit Graph

253 Commits

Author SHA1 Message Date
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 5b26300221 support items in anchorblock/view too.
SVN revision: 48384
2010-04-28 06:13:06 +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
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
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
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
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
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
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 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
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 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 3451411326 New elm widget exported to edje: bubble.
SVN revision: 47559
2010-03-29 17:19:35 +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
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
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
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 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
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 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 ca93701c55 remove deprecated calls (been deprecated for a while now)
SVN revision: 47100
2010-03-10 07:21:10 +00:00
이상진 1ed46d09fb From: 이상진 <lsj119@samsung.com>
I am attaching another patches for transparent window.

1. Use RGB Visual.
2. Set destination_alpha in ecore_evas for alpha composite in evas.
3. add Function
   - Ecore_Evas_Engine_Func->fn_transparent_set
   - ecore_evas_transparent_set , ecore_evas_transparent_get
   - elm_win_transparent_set, elm_win_transparent_get




SVN revision: 46106
2010-02-12 05:31:26 +00:00
이상진 957fc1e3e2 From: 이상진 <lsj119@samsung.com>
Patch for rotate with resize

(some formatting fixed too like ecore patch)



SVN revision: 46047
2010-02-10 14:38:08 +00:00
Iván Briano ceb6345b7f Improve scrolled_entry a bit, it's still open for more love though.
Move test_conformant to use scrolled_entry.


SVN revision: 46012
2010-02-09 15:43:17 +00:00
Carsten Haitzler 56aba6a22b 1. fix conforman stuff to actually respect min size of content. it never did.
2. more comprehensive test.



SVN revision: 45863
2010-02-04 09:08:02 +00:00
Carsten Haitzler fb06522eb4 allow genlist items to be "display only" - eg used as spacers or state
indicators, section markers etc.



SVN revision: 45862
2010-02-04 08:06:41 +00:00
Sebastian Dransfeld 2356db9d22 Remove Ecore_Txt
SVN revision: 45791
2010-02-02 04:50:04 +00:00
Carsten Haitzler fbb103cfca label preferred line wrap width set thing.
SVN revision: 45576
2010-01-26 08:42:37 +00:00
Carsten Haitzler f7a8067a66 more launcher test code.... and mapbuf object used by launcher test code.
SVN revision: 45575
2010-01-26 08:17:26 +00:00
Cedric BAIL 99cea068ba * ecore: Move ecore_job inside ecore.
Patch from Albin "Lutin" Tonnerre <albin.tonnerre@gmail.com>.


SVN revision: 45570
2010-01-25 21:59:21 +00:00
Carsten Haitzler 0460f51cff new test.
SVN revision: 45545
2010-01-25 09:07:10 +00:00
Carsten Haitzler cb8c22cde4 genlist - get realized items call! add!
SVN revision: 45543
2010-01-25 05:54:31 +00:00
Christopher Michael 708ca2cb9f If we are setting the window as a quickpanel, set some other properties also
(focus, window type, skip_pager, etc).

Add function for setting quickpanel zone (zone integer being 0-based).



SVN revision: 45529
2010-01-24 20:05:09 +00:00
Christopher Michael 5a719b953d Add elm_win functions for get/set of quickpanel priorities.
SVN revision: 45511
2010-01-24 10:21:54 +00:00