Commit Graph

266 Commits

Author SHA1 Message Date
Carsten Haitzler d3ec3dbaaf genlist - get item at xy. handy for dnd. skips blocks that dont intersect
SVN revision: 42635
2009-09-23 03:22:07 +00:00
Carsten Haitzler 8c7e32b63b add api calls (non-functioning), remove unneeded objects, turn off smooth
scaling while scrolling around



SVN revision: 42619
2009-09-22 14:04:09 +00:00
Daniel Kolesa 6522e43a98 Revert my box unpack function and use ones by Marco Trevisan instead.
SVN revision: 42603
2009-09-21 18:09:51 +00:00
Daniel Kolesa 03fe4c8f40 Unpack function for Elementary box.
SVN revision: 42585
2009-09-20 13:01:25 +00:00
Iván Briano fb7a90d7a4 Get icon info from hoversel item.
Patch by billiob


SVN revision: 42522
2009-09-16 19:13:55 +00:00
Carsten Haitzler 644b2d07d0 api-- ... in elm_index
SVN revision: 42487
2009-09-14 08:46:52 +00:00
Viktor Kojouharov 55c5f99b76 added a disable state for the toggle. the design could use a more experienced hand though
SVN revision: 42457
2009-09-13 11:51:11 +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 a264bca2b5 get api in .h and fix return
SVN revision: 42407
2009-09-11 14:01:54 +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 51e1595773 index all happy worky fun fun!
SVN revision: 42379
2009-09-10 09:25:11 +00:00
Carsten Haitzler db10fed1be more index work
SVN revision: 42347
2009-09-08 11:18:02 +00:00
Carsten Haitzler 580e3911a4 add public api to scroll freeze/hold
SVN revision: 42338
2009-09-08 04:40:27 +00:00
Carsten Haitzler d45553e452 image size get from princeamd
SVN revision: 42337
2009-09-08 04:28:05 +00:00
Carsten Haitzler e7c398372a add realized call to genlist + call to get item object
SVN revision: 42335
2009-09-08 02:09:13 +00:00
Davide Andreoli fe918771b3 * FileSelector: Add new API call:
elm_fileselector_is_save_set(Evas_Object *obj, Eina_Bool is_save)

When the fs is in 'save' mode you can type the name of the file to save.

SVN revision: 42306
2009-09-07 00:00:33 +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 4686255022 1. scroller uses event timestamps for momentum chrecks
2. fixed paged scrollin to work better
3. entry hoveresel is themable separately
4. entry hofersel is extenstible
5. test improvings



SVN revision: 42181
2009-09-02 12:48:00 +00:00
Carsten Haitzler a376cde000 + prototypes
SVN revision: 42148
2009-09-01 10:45:27 +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
Christopher Michael 353a2d8bbc Add missing EAPI function for toolbar_separator_get.
SVN revision: 42110
2009-08-30 16:56:17 +00:00
Christopher Michael 04f996d5ff Add ability for toolbar to have a separator item. Still a problem here in
that the toolbar box sets everything homogenous.

Fix some formatting.
Reduce register use in certain places.
Reduce number of calculations to get scale in certain places.



SVN revision: 42109
2009-08-30 16:54:15 +00:00
Viktor Kojouharov f7a39407b7 disable states for radio and check widgets
SVN revision: 42028
2009-08-27 08:09:17 +00:00
Viktor Kojouharov 91dcee72db add disabled state for the hoversel widget
SVN revision: 42020
2009-08-26 16:43:17 +00:00
Daniel Kolesa ed1dcddafb Add disabled state for entry widget.
SVN revision: 42009
2009-08-26 12:51:27 +00:00
Christopher Michael cc428cedeb Add function to return the icon size.
Add trap for a max icon size (currently hard-coded to 48 as anything greater
causes issues with the buttons).

Add trap to check if the toolbar's icon size is already set to what is
requested. This trap added, because without it the toolbar goes into a
"disabled" look.



SVN revision: 42000
2009-08-26 00:47:31 +00:00
Christopher Michael d4f3e92860 Add function to allow setting toolbar icon size.
SVN revision: 41998
2009-08-26 00:30:55 +00:00
Christopher Michael 3a2795f0ed Add function (ability) to change a toolbar item's Label.
SVN revision: 41997
2009-08-25 23:47:08 +00:00
Christopher Michael 9a79344847 Update medium priority item to indicate that toolbar supports disabling items.
Add myself to Authors (via elementary.dox)


SVN revision: 41992
2009-08-25 22:51:24 +00:00
Christopher Michael d4528aa391 Add a method to disable a toolbar item.
Add a couple of blank lines in elm_toolbar.c to separate variables from code
in certain functions.

Set first button in Toolbar Test to be disabled (just so Elm develops can
see how it looks & acts)

NB: The theme/colors for disabled text may need/warrant work. Not sure how
Elementary people want the disabled text to look, so I used the disabled
text colors from elm_button for now.

(Hopefully the code here is acceptable ;) If not, please let me know what
needs fixing)



SVN revision: 41990
2009-08-25 22:46:19 +00:00
Daniel Kolesa 88e96b73c6 Elementary: New function in separator widget: elm_separator_horizontal_get
SVN revision: 41912
2009-08-21 13:07:15 +00:00
Daniel Kolesa 4f9446c92f Add separator widget for Elementary.
SVN revision: 41911
2009-08-21 12:25:50 +00:00
Viktor Kojouharov 5fb0b1e786 From: Viktor Kojouharov <vkojouharov@gmail.com>
Hi raster, glad you're back. I'm resending some elm patches your way. the
disabled_buttons.diff also needs bt_dis_base.png and bt_dis_hilight.png
from e17's b&w theme.



SVN revision: 41818
2009-08-16 11:35:55 +00:00
Jonathan Atton b0bbf7348b ferme #403: a new layout in elementary for genlist
SVN revision: 41816
2009-08-16 11:14:39 +00:00
Carsten Haitzler 1a30473392 add api in header.
SVN revision: 41815
2009-08-16 10:00:02 +00:00
Davide Andreoli 87e362f839 * Hoversel: add 2 new API calls:
EAPI void elm_hoversel_clear(Evas_Object *obj)
  To remove all the items from the hoversel.

EAPI void elm_hoversel_item_icon_set(Elm_Hoversel_Item *it, const char *icon_file, const char *icon_group, Elm_Icon_Type icon_type)
 To set the icon of the item, also from an edje file!!


SVN revision: 41757
2009-08-14 11:17:06 +00:00
Gustavo Sverzut Barbieri 163d1ce756 elm_list: setters for label, icon and end.
This way we can dynamically change the row contents.



SVN revision: 41746
2009-08-13 17:56:07 +00:00
Gustavo Sverzut Barbieri d65e18c875 data_get returns void*, not const void*
It is the convention for generic user data to get as const and return
as not const to avoid useless casts all around.



SVN revision: 41741
2009-08-13 15:15:18 +00:00
Davide Andreoli d69a56c1e8 * Add the *_icon_get() API calls for all the widgets that have the *_icon_set() corresponding func.
SVN revision: 41721
2009-08-12 22:37:48 +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
Davide Andreoli 1e91fe20be * add another _label_get() function
This also fix ticket #294 on trac :)

SVN revision: 41700
2009-08-12 11:18:08 +00:00
Davide Andreoli bf16de5092 Implement all the *_label_get() functions for widgets that have a *_label_set() function.
SVN revision: 41684
2009-08-11 10:44:49 +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 227008a8a8 and new style doxy for elm
SVN revision: 40735
2009-05-19 09:48:21 +00:00
Carsten Haitzler 9d7db82782 documentation... more! build! look vaguely ok
SVN revision: 40734
2009-05-19 09:29:20 +00:00
Carsten Haitzler 84e589e5ed genlis - create and del as items come into view.
SVN revision: 40588
2009-05-11 13:10:19 +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 9af8000740 always_select added to normal list too.
SVN revision: 40406
2009-04-27 01:29:02 +00:00
Carsten Haitzler 8bbdd17763 fix headers a bit. add docs for item styles
SVN revision: 40329
2009-04-23 15:59:08 +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 8cc69d4ee6 dup--
SVN revision: 40324
2009-04-23 09:03:42 +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 73f3de55f4 patch from victor to make styles generic - not all widgets support them
tho... but calls to set style are now. old calls are left in place, but
likely will be phased out.



SVN revision: 40317
2009-04-23 04:03:27 +00:00
Viktor Kojouharov 7b2198b7d3 From: Viktor Kojouharov <vkojouharov@gmail.com>
this is a patch for the elm_image so far.

After some valgrind work and with the help of Gustavo, the orient code
for the image is not leak free (according to valgrind). According to
k-s, this way of doing things would avoid any nasty caching errors I've
been getting though valgrind before.



SVN revision: 40314
2009-04-23 03:48:41 +00:00
Gustavo Sverzut Barbieri 75431ef347 add other Netwm window types, good for launcher ;-)
SVN revision: 39957
2009-04-11 04:54:12 +00:00
Gustavo Sverzut Barbieri b9670eb461 focus in/out signals.
SVN revision: 39860
2009-04-04 16:58:28 +00:00
Gustavo Sverzut Barbieri 17840b8120 list items no keep reference to their node, returns siblings.
SVN revision: 39857
2009-04-04 15:06:58 +00:00
Gustavo Sverzut Barbieri 557a0c1f98 couple of changes and addition.
* list: export label and base object for items

 * list: per-item delete function, cleanup associated data.

 * list: clear.

 * couple of functions return success or failure.

 * win: sticky, lower and raise




SVN revision: 39845
2009-04-03 21:52:01 +00:00
Carsten Haitzler 42853697f8 add data get call for convenience.
SVN revision: 39815
2009-03-31 11:58:56 +00:00
Carsten Haitzler e5298074e7 work on bettre touchscreen text selection support. not 100% done yet. been
playing with ideas. this one seems best.



SVN revision: 39579
2009-03-19 13:36:46 +00:00
Carsten Haitzler 0c6c2eefd0 tree is working... i'm happy (for now). :)
SVN revision: 39488
2009-03-15 09:32:35 +00:00
Carsten Haitzler 5eb759a0e9 and fix the updates for vala
SVN revision: 39487
2009-03-15 04:13:08 +00:00
Carsten Haitzler 5673ab5eb7 make vala happy.
SVN revision: 39485
2009-03-15 03:03:54 +00:00
Carsten Haitzler e730cb0364 indent tree items... not perfect... but good
add rotation api call.



SVN revision: 39480
2009-03-14 18:03:19 +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 acf2ea7eb3 only build quicklaunch on systems that have... fork!
SVN revision: 39319
2009-03-01 23:52:13 +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 841ea095da clean up elm header and add acknowledgements
SVN revision: 39236
2009-02-26 06:50:36 +00:00
Carsten Haitzler e75be2e724 change argv[0] to match quicklanch process name. much better for debugging!
SVN revision: 39235
2009-02-26 06:20:41 +00:00
Gustavo Sverzut Barbieri 2e62b41b1b major warning + cast cleanup.
* casts: remove internal "Item" and use "Elm_XXXX_Item" for carousel,
   list, genlist and toolbar.

 * warning: fix const on lots of getter apis, the object should be
   const, and not the return! Of course lists that are returned and
   are not supposed to be modified are still returned as const, but
   maybe we should return iterators!

 * list/genlist: fix selected_set() to be a bit (marginally)
   faster. Do not operate if state has not changed and if it did
   changed we're sure we're not in the object->selected list.




SVN revision: 39208
2009-02-25 15:54:26 +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 7e31e6d212 radio widget working.
SVN revision: 39173
2009-02-24 09:23:51 +00:00
Carsten Haitzler 5a806c775b oops - how did that happen? no get state for toggle and check. added.
SVN revision: 39169
2009-02-24 01:23:18 +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 be9254a478 add ability for apps to extend their theme (adding more styles) or overlay it
forcibly (with their own customtheme implementing custom modifications of
their own).



SVN revision: 39158
2009-02-23 08:40:58 +00:00
Carsten Haitzler 87f728b766 begin check widget work, and make elm_theme use a path like normal unix paths
do with : - allow relative, absolute and ~/ files. otherwise as before.



SVN revision: 39156
2009-02-23 08:05:05 +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 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 55055feb3e slider... horizontal only done right now - but complete. looks decent methinks.
SVN revision: 38972
2009-02-08 12:34:58 +00:00
Cedric BAIL f53b4bea0f * elementary/configure.in,
* elementary/data/themes/Makefile.am,
	* elementary/data/objects/Makefile.am: Make configurable edje_cc binary (usefull when cross compiling).

	* elementary/src/lib/Elementary.h.in: Make libintl.h optional.



SVN revision: 38948
2009-02-05 10:23:04 +00:00
Carsten Haitzler 40029378de remove a todo item
SVN revision: 38911
2009-02-03 05:54:46 +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 680daaa606 update .h.in todo
SVN revision: 38867
2009-01-31 23:23:51 +00:00
Carsten Haitzler 2706ed3038 add styles for inwin for mininmal and minimal_vertical
SVN revision: 38821
2009-01-28 00:28:20 +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 fbce5a6f7f oops. c++ support broken. fix!
SVN revision: 38675
2009-01-21 00:05:38 +00:00
Carsten Haitzler e737a9e838 fix header to document styles for widgets with styles.
SVN revision: 38602
2009-01-16 02:49:18 +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 90f79c27db 1. add carousel start - does nothnig. ignore. copy of toolbar atm to start with
2. make elementary be able to determine theme from
  PREFIX/share/elementary/themes or ~/.elementary/themes (~/ takes preference)
  currently using a delimited list of theme names in order to check like:
    mytheme/fallback/morestuff/default
  (if the last theme entry is on default it is added explicitly).
  this allows multiple theme files bascially to work a bit like a fontset - try
  the first one - if not there, try the next and so on. set $ELM_THEME to your
  theme setting
3. determine prefix and thus data dir - where system themes go. if it can't
  rely on dladdr, or the compiled-in prefix/data dir, you can set $ELM_PREFIX
  and/or $ELM_DATA_DIR accordingly.
  


SVN revision: 38568
2009-01-13 09:20:53 +00:00
Carsten Haitzler 6a8274378d fix typos.
SVN revision: 38517
2009-01-09 13:58:48 +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 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 f05d05fc0e better kbd focus handling and inwin is there.
SVN revision: 38357
2008-12-30 16:19:46 +00:00
Carsten Haitzler 6505d78bc0 clear up some shutdown/deletion bugs
SVN revision: 38291
2008-12-23 14:05:56 +00:00
Carsten Haitzler 80d2554630 todo--
SVN revision: 38227
2008-12-19 14:35:15 +00:00
Carsten Haitzler 1461696c97 todo-- :)
SVN revision: 38223
2008-12-19 06:14:18 +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
Vincent Torri 902f48fa2d fix compilation on win ce and windows
SVN revision: 38219
2008-12-19 01:47:42 +00:00
Carsten Haitzler 43b88b9359 and now edbus headers are back (if found). als alloca.h is detected and
included from system headers



SVN revision: 38217
2008-12-19 01:22:11 +00:00
Carsten Haitzler b3aab18f67 and vtorri's wince support for elementary. god forbid. we support windows! :)
SVN revision: 38214
2008-12-19 00:34:56 +00:00