Commit Graph

323 Commits

Author SHA1 Message Date
Daniel Kolesa 265154f763 Add some checks etc to separator widget
SVN revision: 42007
2009-08-26 07:46:11 +00:00
Christopher Michael ca6418164c Check that item is valid before we try to set a disabled state on it.
Perhaps a bit overkill here, but at least we don't crash if item == NULL :)



SVN revision: 42001
2009-08-26 00:49:38 +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 9ae087ca95 Remove commented out line as it's not needed.
SVN revision: 41993
2009-08-25 22:53:13 +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 bda28da4f3 Fix elm progressbar theme.
SVN revision: 41945
2009-08-24 07:03:11 +00:00
Carsten Haitzler b3e2249849 b3etter progress - quaker, pay attention to what i did. :)
SVN revision: 41923
2009-08-22 01:36:52 +00:00
Cedric BAIL 042eee70c4 * elementary: Fix Makefile break.
SVN revision: 41915
2009-08-21 14:05:23 +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
Jonathan Atton fef6a50cf4 Add test insert_after/before in the test genlist 2
SVN revision: 41893
2009-08-20 17:49:04 +00:00
Daniel Kolesa 42bb6581af Better look for elementary progress bar widget.
SVN revision: 41886
2009-08-20 12:36:22 +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 9bd9876fbc * miss doxy for new API
SVN revision: 41793
2009-08-15 18:24:58 +00:00
Davide Andreoli e0992b5ac8 * Genlist: Add a new method to set the data of an item.
SVN revision: 41792
2009-08-15 18:20:28 +00:00
Davide Andreoli a054df7d94 * Progressbar: Use correct doxygen start symbol
SVN revision: 41787
2009-08-15 10:46:57 +00:00
Gustavo Sverzut Barbieri 0179fcdd11 optimization: remove list using it's node pointer.
this makes removal order-1 instead of order-N



SVN revision: 41778
2009-08-14 21:03:09 +00:00
Jonathan Atton 9d9f0cb6eb Add a test on hold on in the callback events
SVN revision: 41775
2009-08-14 19:08:54 +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
Viktor Kojouharov fdefdcdd8b From: Viktor Kojouharov <vkojouharov@gmail.com>
scroller patch for elm to not scroll while modifier down (ok) and to use
other axis for wheel too.



SVN revision: 41752
2009-08-14 01:53:58 +00:00
Davide Andreoli ba9bc87be0 * Rename some cbs in tests
SVN revision: 41751
2009-08-13 22:59:12 +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
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 9f93e36cfe File Selector: rename the source from elm_ to elc_
SVN revision: 41723
2009-08-12 23:04:26 +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 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
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
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
Gustavo Sverzut Barbieri 5af0125a30 proper check of elm_win object types.
This allows using elm stuff inside regular evas windows not created
with elm_win and possible mistakes using elm_win api, now it checks
for elm type before continuing.

By: Thiago 'bolaum' Borges Abdnur.


SVN revision: 41651
2009-08-09 22:23:46 +00:00
Carsten Haitzler 5784c9f47f SNAPSHOT: svn-03
SVN revision: 41532
2009-07-29 08:03:25 +00:00
Vincent Torri e2be9d2b24 remove trailing spaces
SVN revision: 41261
2009-07-07 06:46:51 +00:00
Carsten Haitzler 66a02d654c and add the top docs
SVN revision: 41240
2009-07-03 11:16:16 +00:00
Carsten Haitzler ee958da653 more docs!
SVN revision: 41239
2009-07-03 11:04:25 +00:00
Carsten Haitzler 47b94a0ecc more docs!
SVN revision: 41238
2009-07-03 02:24:43 +00:00
Carsten Haitzler da1044c3a3 more docs
SVN revision: 41234
2009-07-03 01:09:54 +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
Gustavo Sverzut Barbieri 324514d258 report global scale if none is set.
If there is no parent or no scale set we should report the global
value, not try to get from the existent parent that would fail the
API_ENTRY and thus return 1.0.



SVN revision: 41022
2009-06-12 22:55:06 +00:00
Carsten Haitzler 714f1624f6 fix string for font path env var
SVN revision: 41011
2009-06-12 05:34:00 +00:00
Cedric BAIL d78cb6a54e * elementary: Remove use of deprecated evas_stringshare.
SVN revision: 40981
2009-06-09 15:29:41 +00:00
Vincent Torri bc87c3d18f use the gdi engine on Windows. It has better rotation support.
This means that i have to fix ddraw engine :)


SVN revision: 40961
2009-06-08 07:07:21 +00:00
Carsten Haitzler 0106f9ac05 move getenvs to just before use
SVN revision: 40879
2009-06-03 14:30:32 +00:00
Carsten Haitzler d7a3bd786d more... DOCS!
SVN revision: 40868
2009-05-31 21:59:31 +00:00
Carsten Haitzler 88434cc4cf add release stuff to elementary!
SVN revision: 40788
2009-05-23 08:45:57 +00:00
Carsten Haitzler a4bf81cef2 elementary doc
SVN revision: 40781
2009-05-22 21:01:46 +00:00
Carsten Haitzler 3276a99966 some more docs
SVN revision: 40745
2009-05-19 14:08:18 +00:00
Carsten Haitzler 93479d5499 multi-line the docs for main
SVN revision: 40744
2009-05-19 14:05:43 +00:00
Carsten Haitzler 29f28236bc fix - missing call
SVN revision: 40742
2009-05-19 13:53:03 +00:00
Carsten Haitzler 20e0973f36 more docs!
SVN revision: 40741
2009-05-19 13:50:06 +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 b68636289b hmm more select issues - put in hilights
SVN revision: 40724
2009-05-18 14:14:33 +00:00
Carsten Haitzler 47b9b5bcfe begin docs inline...
SVN revision: 40716
2009-05-18 06:08:53 +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
Christopher Michael aafbdaea0e Pass the event_info in the "clicked" callback so apps can determine what
button was clicked.


SVN revision: 40647
2009-05-14 21:03:20 +00:00
Carsten Haitzler 26b4f340b6 actually give widgets type name strings and set parent by default
SVN revision: 40618
2009-05-13 12:21:52 +00:00
Carsten Haitzler 0523f39faa make lists handle drag+select logic better
SVN revision: 40598
2009-05-12 10:16:49 +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 e74b5f1cb7 use more rediculously big double
SVN revision: 40525
2009-05-06 12:41:23 +00:00
Carsten Haitzler a604a593f6 fix cursor pos change when enter on last line of multi-line text or last char
of sigle line



SVN revision: 40507
2009-05-05 05:10:13 +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 8bbdd17763 fix headers a bit. add docs for item styles
SVN revision: 40329
2009-04-23 15:59:08 +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 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 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 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 4e41c03059 From: Viktor Kojouharov <vkojouharov@gmail.com>
This patch tries to fix some warnings I noticed using valgrind.




SVN revision: 40315
2009-04-23 03:51:50 +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
Vincent Torri 87e7d4b5d7 allow the build of elementary_run on opensolaris
SVN revision: 40245
2009-04-20 04:48:58 +00:00
Carsten Haitzler 9e809611c1 restorer--
SVN revision: 40134
2009-04-17 10:37:49 +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
Rafael Antognolli 71f3c6b743 Fixed elementary build when builddir != srcdir.
SVN revision: 40076
2009-04-15 05:01:26 +00:00
Gustavo Sverzut Barbieri 4fe27de5ea actually enable netwm window type set, simplify code.
SVN revision: 40071
2009-04-15 02:08:07 +00:00
Carsten Haitzler d77c35a2fc fix load alloc bug.
SVN revision: 39980
2009-04-11 12:34:14 +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 e136d2a03a fix scale for toolbar
SVN revision: 39797
2009-03-30 08:32:25 +00:00
Carsten Haitzler 26102c8cfe add cancel action for copy & paste.
SVN revision: 39642
2009-03-23 04:55:37 +00:00
Carsten Haitzler 16a328cba1 and make entry work nicely by freezing/holding scrolling (hold == different
scroll mode).



SVN revision: 39601
2009-03-20 15:08:33 +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 2685a2feef oopsie thanks to hendrik!
SVN revision: 39513
2009-03-17 00:37:02 +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 0c6c2eefd0 tree is working... i'm happy (for now). :)
SVN revision: 39488
2009-03-15 09:32:35 +00:00