Commit Graph

265 Commits

Author SHA1 Message Date
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
Carsten Haitzler 5328f8ff8e add new test.
SVN revision: 47289
2010-03-16 12:42:24 +00:00
Carsten Haitzler d0f6e1fff2 test entries in a layout - works just fine! so bug--
SVN revision: 47283
2010-03-16 09:22:47 +00:00
Gustavo Sverzut Barbieri 53ac1c8682 sort tests, add index.
Idea by Lucas de Marchi, implementation by myself.

It's not as fancy as it could be, since elm_list does not have an
animated "bring-in" as genlist... but I added a macro to make it easy
to migrate to genlist later without lots of changes...




SVN revision: 47272
2010-03-16 02:15:37 +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 0c5ae56027 more comprehensive test for entry - there are bugs, this will let me test and
fix.



SVN revision: 47101
2010-03-10 07:58:29 +00:00
Carsten Haitzler b9f621228a more comprehensive flip test with multiple children etc.
SVN revision: 47072
2010-03-09 04:00:08 +00:00
Carsten Haitzler 131ac8349a demo++
SVN revision: 45778
2010-02-01 16:46:26 +00:00
Carsten Haitzler 0460f51cff new test.
SVN revision: 45545
2010-01-25 09:07:10 +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 39490cbf44 first test for multi stuff - just printfs now.
SVN revision: 45251
2010-01-17 09:31:44 +00:00
Carsten Haitzler de06f5c6da add a test
SVN revision: 45106
2010-01-14 04:00:17 +00:00
Christopher Michael 914243deb8 Add illume conformant widget and test app.
SVN revision: 44982
2010-01-08 17:54:26 +00:00
Carsten Haitzler 61c86da960 handle label resizes and wraps properly - add test for it!
SVN revision: 44964
2010-01-08 02:33:03 +00:00
Carsten Haitzler 5fa2ec1bc5 asparagus - finally
SVN revision: 44113
2009-12-02 07:22:35 +00:00
Jonathan Atton f60db59094 Elm test : add eweather.
SVN revision: 43988
2009-11-25 20:37:53 +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
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
Carsten Haitzler 827138ec22 and use new signal name
SVN revision: 43070
2009-10-14 08:46:38 +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
Christopher Michael 4edc6ac299 EVAS_HINT_EXPAND/EVAS_HINT_FILL changes in mass.
(Built and tested)



SVN revision: 42779
2009-09-28 19:23:33 +00:00
Carsten Haitzler 492258e12e use some of the new macros and #defines i put into evas - they will help the
code to be more understandable, bgut i haven't done all of them. there are a
lot. they'll get done over time.



SVN revision: 42756
2009-09-28 05:53:28 +00:00
Jonathan Atton 82a9eb4bc5 elementary, new widget: slideshow. See elementary_test
SVN revision: 42660
2009-09-23 22:56:47 +00:00
Jonathan Atton 07967b25e2 elementary new widget: notify. See elementary_test
SVN revision: 42643
2009-09-23 11:15:55 +00:00
Carsten Haitzler 0e13f12009 the rest
SVN revision: 42485
2009-09-14 04:22:37 +00:00
Carsten Haitzler 972b69bb98 1. efreet support.
2. edbus init - if u needit
3. efreet init - if u ned it
4. photo widget test/demo
5. icon desktop test... stuff!



SVN revision: 42434
2009-09-12 09:37:29 +00:00
Carsten Haitzler b08873a42d 1. box has clear.
2. photocam widget++



SVN revision: 42405
2009-09-11 13:43:02 +00:00
Carsten Haitzler 14b8de3a18 index not in scroller. better. a start.
SVN revision: 42241
2009-09-04 09:50:25 +00:00
Carsten Haitzler 59fc4b1be8 1. new spinner widget from Viktor Kojouharov <vkojouharov@gmail.com>
2. scroller stop fix in paginated mode
3. scroller docs



SVN revision: 42202
2009-09-03 12:36:39 +00:00
Carsten Haitzler 5781ad4a3e 1. add scroller test
2. add pagination concept to scroller (only scroll by pages)
3. add longpress callback for list + genlist
4. scroller docs and some empty api calls. 



SVN revision: 42147
2009-09-01 10:42:52 +00:00
Daniel Kolesa 4f9446c92f Add separator widget for Elementary.
SVN revision: 41911
2009-08-21 12:25:50 +00:00
Davide Andreoli cf6f01b171 * Split up elementary test.c in several files, one per widget
SVN revision: 41749
2009-08-13 22:41:43 +00:00
Davide Andreoli ea2b12673b * File Selector: sort better the directory list (not case-sens & order-dir-first)
I used the strcoll function to order the list. You need to set the locale in your
application or the comparison will be made by strcmp (in a case sensitive manner)

SVN revision: 41722
2009-08-12 22:43:50 +00:00
Davide Andreoli 2e56d80cef * Remove duplicated 'File selector' entry in the tests list
SVN revision: 41718
2009-08-12 20:08:41 +00:00
michael bouchaud eecdb5e668 From: michael bouchaud <michael.bouchaud@gmail.com>
progress bar patch - awesome. all there. excellent. a bit of formatting
fixes, but in. thanks!



SVN revision: 41710
2009-08-12 16:16:31 +00:00
Davide Andreoli 59b39ea802 From: Dave Andreoli <dave@gurumeditation.it>
file selector patch - awesome! in early. work needed.



SVN revision: 41709
2009-08-12 16:08:53 +00:00
Vincent Torri e2be9d2b24 remove trailing spaces
SVN revision: 41261
2009-07-07 06:46:51 +00:00
Cedric BAIL 29adfe9fc8 * elementary: Full switch to Eina data type.
SVN revision: 41081
2009-06-17 15:35:19 +00:00
Carsten Haitzler 3fdf30bc4e fix hoversel theme.
SVN revision: 41037
2009-06-14 22:20:15 +00:00
Carsten Haitzler f2a75b0f05 1. configure.ac finally
2. add docsbuilding infra
3. fix list/genlist on code-based select.



SVN revision: 40667
2009-05-15 11:45:14 +00:00
Carsten Haitzler 5c7e2ec144 1. fix box as it didnt hide clipper when it gets empty
2. add bouncing at ends for scroller and config for it
3. fix quicklaunch to be cserver-freidnly thanks to its fork tricks
4. add signals to scroller when scrolling and hitting edges
5. pants.



SVN revision: 40549
2009-05-08 11:27:32 +00:00
Carsten Haitzler e74b5f1cb7 use more rediculously big double
SVN revision: 40525
2009-05-06 12:41:23 +00:00
Carsten Haitzler 7d29bb4cb2 fix horizontal scroll in auto-scroll select mode
SVN revision: 40506
2009-05-05 04:58:25 +00:00
Carsten Haitzler 9af8000740 always_select added to normal list too.
SVN revision: 40406
2009-04-27 01:29:02 +00:00
Carsten Haitzler 6eeaf7eb1a 1.fix always_select mode
2. fix double_label style tohave selected text color for 2nd txt field
3. test always select and multi-select



SVN revision: 40332
2009-04-23 17:29:07 +00:00
Carsten Haitzler 01edbe1c08 double-label genlist item - demo.
SVN revision: 40328
2009-04-23 15:17:27 +00:00
Carsten Haitzler bef9cfb99c a whole bunch of entry+scroller fixes.
SVN revision: 40327
2009-04-23 12:58:34 +00:00
Carsten Haitzler af12fa8bb2 a bunch of adds and improvements around gnelist
SVN revision: 40323
2009-04-23 08:51:07 +00:00
Carsten Haitzler f1bd3ad572 use style generic call in test and fix up freeing of style string.
SVN revision: 40320
2009-04-23 04:10:43 +00:00
Carsten Haitzler b4d9964e70 lutin... release soname patch. verbose svn soname used right now
SVN revision: 40131
2009-04-17 10:01:45 +00:00
Michael Lauer 569434d6e0 fix typo (can't stand it any more :))
SVN revision: 39512
2009-03-17 00:13:25 +00:00
Carsten Haitzler 6e0c99e69f fixes for some bugs i found, tree ability in genlist (basic not fully done
visually yet), and some win util calls added.



SVN revision: 39456
2009-03-13 05:50:38 +00:00
Carsten Haitzler fd86051c05 pager now is all happy. after fiddling ... and some thought.
SVN revision: 39327
2009-03-02 09:42:58 +00:00
Carsten Haitzler 0290e9d631 finally pager working how i like.. a little...
SVN revision: 39326
2009-03-02 08:59:00 +00:00
Carsten Haitzler d1227d4099 glow easier to see.
SVN revision: 39325
2009-03-02 05:48:14 +00:00
Carsten Haitzler 82bea491f8 demo changed callback of check and using it in genlist item
SVN revision: 39242
2009-02-26 08:25:22 +00:00
Carsten Haitzler f7a18a3db9 add quicklauncher infra! elementary_testql uses this infra.
SVN revision: 39199
2009-02-25 11:00:07 +00:00
Carsten Haitzler 017cc96515 fix next/prev bug.
SVN revision: 39186
2009-02-25 00:41:57 +00:00
Carsten Haitzler e6b518e7af comment--
SVN revision: 39175
2009-02-24 11:59:51 +00:00
Carsten Haitzler 03f44c4768 genlist theme issue - fixed.
SVN revision: 39174
2009-02-24 11:58:52 +00:00
Carsten Haitzler 7e31e6d212 radio widget working.
SVN revision: 39173
2009-02-24 09:23:51 +00:00
Carsten Haitzler fa0c07db79 todo stuff
scroller segv fix (list showed it).
check theme item placeholder. doing gfx.



SVN revision: 39161
2009-02-23 11:40:24 +00:00
Carsten Haitzler 15b7022242 a specific test for update and multiple/different icons etc.
SVN revision: 39108
2009-02-20 01:07:21 +00:00
Carsten Haitzler 2d303c2ce7 and demo focusing a specific widget, not just the first.
SVN revision: 39090
2009-02-19 07:05:12 +00:00
Carsten Haitzler 8af44b2483 and back to 10k test, and only insert 8 items from the queue at a time.
SVN revision: 39089
2009-02-19 06:29:07 +00:00
Carsten Haitzler f9fb1d3f0f make scroller stay in the exact pixel pos when resizign - unless at the end.
SVN revision: 39080
2009-02-18 13:42:56 +00:00
Carsten Haitzler 145967f4ee insert and prepend calls work... at least in my tests.
SVN revision: 39077
2009-02-18 12:41:45 +00:00
Carsten Haitzler f5ae19e69f genlist items can enable/disable
SVN revision: 39074
2009-02-18 04:51:22 +00:00
Carsten Haitzler 385fcff490 add clear call. fix free to have less leaks
SVN revision: 39073
2009-02-18 04:27:49 +00:00
Carsten Haitzler 0c40d9a0a8 fix up some dynamic add/del and showing code.
SVN revision: 39072
2009-02-18 04:18:25 +00:00
Carsten Haitzler d6c75b5cad more genlist work.
SVN revision: 39059
2009-02-17 14:39:08 +00:00
Carsten Haitzler 00f0b4c9cc more genlist testing - deletign items works. not perfect - but working... in
small tests.



SVN revision: 39056
2009-02-17 07:50:35 +00:00
Carsten Haitzler 1d36bea662 use new fill mode, fix bug in object tracking and deletion - nasty one. more
genlist work too.



SVN revision: 39021
2009-02-15 02:53:56 +00:00
Carsten Haitzler bb9742a604 more work on genlist!
SVN revision: 39002
2009-02-12 13:39:43 +00:00
Carsten Haitzler 1099280784 fix some min size calc issues.
fix some theme size calc issues
make all widgets able to... do finger size! this way a ui can be tweaked with
1 value (finger size) if it is to be finger or mouse/stylus driven. and it
was so simple to add in.
work on genlist - beginning to display items and scroll.



SVN revision: 38995
2009-02-11 11:49:43 +00:00
Carsten Haitzler fc5d7b65e9 adjust slider theme a bit and test app. some skleton work on genlist.
SVN revision: 38992
2009-02-10 11:57:47 +00:00
Carsten Haitzler 86ebf4591c more work on slider - i think its complete now vertical mode works. might be
some buglts to clear up though.
fix scroller to scroll only at animator framerate.. using an animator making
scrolling much better.
begin genlist (geeric but complicated) list.



SVN revision: 38979
2009-02-09 11:23:59 +00:00
Carsten Haitzler a86ca90a14 horizontal is there. but man does it look wrong. need todo theme work.
SVN revision: 38973
2009-02-08 12:45:52 +00:00
Carsten Haitzler 55055feb3e slider... horizontal only done right now - but complete. looks decent methinks.
SVN revision: 38972
2009-02-08 12:34:58 +00:00
Carsten Haitzler 986fcca059 allow for all widgets.objects to have different scaling factors.
add tests for these
add tests for inheriting scaling factor from parent
fix test app to use list now instead of box+buttons (cleaner)



SVN revision: 38909
2009-02-03 05:09:03 +00:00
Carsten Haitzler 478023f683 export markup<->plain utf8 conversion calls and use them too.
SVN revision: 38803
2009-01-27 00:44:29 +00:00
Carsten Haitzler 6a6dee4e08 fix list slowness with edje complaints on min size. also handle sizing icons
down when icon allowed to down-scale.



SVN revision: 38593
2009-01-15 11:34:39 +00:00
Carsten Haitzler a8d40d0d5f provide a #defined macro for the standard main() for elementary apps.
SVN revision: 38510
2009-01-09 11:34:55 +00:00
Carsten Haitzler d63440b865 list is pretty functional now.
SVN revision: 38509
2009-01-09 07:35:52 +00:00
Carsten Haitzler 2c90cd89ae more list stuff working
SVN revision: 38508
2009-01-09 03:03:36 +00:00
Carsten Haitzler f382576f6a more list work - also some minimal safety stuff.
SVN revision: 38503
2009-01-08 14:29:13 +00:00
Carsten Haitzler 381d0d2e23 beginning of the list widget - includes a scroller and items inside. not
meant for long long long lists of lots of items. not complete yet.



SVN revision: 38488
2009-01-07 13:49:08 +00:00
Carsten Haitzler 737a2c2bfd fix comment
SVN revision: 38458
2009-01-05 00:36:00 +00:00
Carsten Haitzler ba18110513 tests for hoversel (and photo) and toolbar and more complete toolbar.
SVN revision: 38222
2008-12-19 04:26:24 +00:00
Carsten Haitzler 56bb7d664a toolbar in. not 100% done yet.
SVN revision: 38209
2008-12-18 13:38:58 +00:00
Carsten Haitzler 347e702f87 set up new init structure that will enable fast-start, when the code is done.
SVN revision: 38206
2008-12-18 08:12:27 +00:00
Carsten Haitzler 034f736160 used new edje calls and fix bugs.
SVN revision: 37701
2008-11-18 08:45:38 +00:00
Carsten Haitzler 403bb8baa3 notes++
SVN revision: 37664
2008-11-15 14:07:15 +00:00
Carsten Haitzler dd41a7761c add .desktop + icon for test prog, add multiple bubble layouts - use top-left
by default.



SVN revision: 37466
2008-11-05 05:27:42 +00:00
Carsten Haitzler 2586c28fec bubble widget and test. looking good.
SVN revision: 37291
2008-10-29 01:51:45 +00:00
Carsten Haitzler 6f493e0ee1 so much more - valgrind complaints fixed in many places, leaks
and anchorblock/view are working...



SVN revision: 37081
2008-10-25 02:11:06 +00:00
Carsten Haitzler 5963897c67 printf--
SVN revision: 36974
2008-10-22 12:48:44 +00:00
Carsten Haitzler 979b2661da and final focus fixes.
SVN revision: 36973
2008-10-22 12:47:12 +00:00
Carsten Haitzler f6c143674f and now focus works right! excellent.
SVN revision: 36969
2008-10-22 12:08:39 +00:00
Carsten Haitzler a3ad00322f and support password mode and proper focus on click
SVN revision: 36958
2008-10-22 08:58:56 +00:00
Carsten Haitzler cfaf33567d first composite widget - a simple notepad widget - loads (and saves) to a
given filename. done for you. just tell it the file.



SVN revision: 36925
2008-10-21 12:01:00 +00:00
Carsten Haitzler 11bc6d908d and some final touches on signals from entry widget
SVN revision: 36755
2008-10-17 14:51:17 +00:00
Carsten Haitzler ab493a0d00 and now entry is pretty much done (no hooks to x copy/paste selections etc.
but for now that's ok)



SVN revision: 36754
2008-10-17 14:40:54 +00:00
Carsten Haitzler 4c94e5067a and support/test the new edje entry stuff. pretyt solid i think.
SVN revision: 36742
2008-10-17 06:41:07 +00:00
Carsten Haitzler c0fd5ab12f use edje entry stuff more
SVN revision: 36710
2008-10-16 09:17:57 +00:00
Carsten Haitzler 1d74aa8f21 more entry testing and support.
SVN revision: 36666
2008-10-15 09:58:44 +00:00
Carsten Haitzler 17feb3757b hover does styles now and popout style is animated.
SVN revision: 36541
2008-10-09 08:10:20 +00:00
Carsten Haitzler ad01d08412 ok icon too in hover test. looks nice. :)
SVN revision: 36529
2008-10-08 15:21:14 +00:00
Carsten Haitzler 2a39e68ad8 comments for stuff to do to make this hover stuff actually useful soon.
SVN revision: 36518
2008-10-08 08:48:09 +00:00
Carsten Haitzler eeb785ac88 and enable the 5 swallow regions (possibly limitless) of the hover and test
SVN revision: 36516
2008-10-08 08:14:25 +00:00
Carsten Haitzler c78abf03be 1. fix scale property fetch
2. add hover object - beginning to work. will be used to pop up menus/options
etc.



SVN revision: 36515
2008-10-08 06:38:20 +00:00
Carsten Haitzler a6026e95cb test layout.
SVN revision: 36492
2008-10-07 07:45:49 +00:00
Carsten Haitzler 2eee18b46f fix sub object tracking. add layout object (untested)
SVN revision: 36491
2008-10-07 06:55:11 +00:00
Carsten Haitzler e8ef0d8bab new elm api - more evas liek and evas/edje freindly. i can mvoe forward now.
SVN revision: 36487
2008-10-07 01:23:49 +00:00
Carsten Haitzler 51123a3452 elementary becomes its own tree/lib/test binary
SVN revision: 36343
2008-09-30 06:58:56 +00:00