Commit Graph

427 Commits

Author SHA1 Message Date
Iván Briano 847ab424c8 consider style when theming entry
SVN revision: 42423
2009-09-11 19:35:57 +00:00
Viktor Kojouharov 3d7c117c61 elm_spinner work:
* Arrow keys increment/decrement the value
  * Escape and clicking on an arrow resets the value to its original "before-entry" value


SVN revision: 42420
2009-09-11 17:41:29 +00:00
Gustavo Sverzut Barbieri 3489ecb89b better logging so users can understand why things do not work.
SVN revision: 42417
2009-09-11 15:02:07 +00:00
Gustavo Sverzut Barbieri c4e74d9681 loggify message.
SVN revision: 42415
2009-09-11 14:51:25 +00:00
Gustavo Sverzut Barbieri f53e73241f fix segv on 64bits machines.
SVN revision: 42414
2009-09-11 14:49:04 +00:00
Gustavo Sverzut Barbieri 86fb2312fd shutdown log and eina
SVN revision: 42413
2009-09-11 14:42:44 +00:00
Gustavo Sverzut Barbieri 80408baae4 quick launch converted to eina log, but still crashes...
SVN revision: 42412
2009-09-11 14:39:01 +00:00
Gustavo Sverzut Barbieri 421e333b9a oops!
SVN revision: 42411
2009-09-11 14:36:10 +00:00
Gustavo Sverzut Barbieri 0d07a5208a elm using logging, please use new macros.
SVN revision: 42409
2009-09-11 14:21:58 +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
Viktor Kojouharov 1eba6e5ddc fix disable state for the spinner
SVN revision: 42396
2009-09-10 23:06:07 +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 046d4dfa7f test callbacks and fix select on drag
SVN revision: 42344
2009-09-08 06:35:14 +00:00
Carsten Haitzler 2f9bbcae45 fix drag start and ad drag callback too
SVN revision: 42343
2009-09-08 06:22:11 +00:00
Carsten Haitzler 3167305fa7 fix scroll freeze and propagate to built-in scrollers. also genlist now knows
about dragging items. callbacks for that.



SVN revision: 42342
2009-09-08 06:20:32 +00:00
Carsten Haitzler fa8fac0c23 comments.
SVN revision: 42339
2009-09-08 04:41:36 +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
Carsten Haitzler fafe278612 more index work. not working yet.
SVN revision: 42320
2009-09-07 11:10:13 +00:00
Carsten Haitzler ec3cdde8fd remove finger size. progressbars are not interacted with. no need for finger
adjustment



SVN revision: 42318
2009-09-07 08:39:03 +00:00
Davide Andreoli 6e5bab4961 * Fileselector: Tests for the new save ability
SVN revision: 42307
2009-09-07 00:05:25 +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
Viktor Kojouharov 48947f3d4d pressing a spinner button while the entry is visible hides the entry but does not apply its value to the spinner
SVN revision: 42257
2009-09-04 18:16:59 +00:00
Viktor Kojouharov f1b9e5945f improvements to the button spinning mechanism
SVN revision: 42256
2009-09-04 18:10:18 +00:00
Christopher Michael d367ac8b92 Add traps for null widget data so we don't segfault needlessly.
SVN revision: 42253
2009-09-04 17:32:50 +00:00
Christopher Michael 34b0e68a3b Fix some formatting. Cleanup some snprintf's.
SVN revision: 42247
2009-09-04 15:39:30 +00:00
Viktor Kojouharov 52e04c9c50 default step value
SVN revision: 42244
2009-09-04 13:55:57 +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 e173cf51a2 fix genlist item show!
SVN revision: 42233
2009-09-04 03:55:08 +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 b5532973b0 Cleanup some commented out lines that were left there on last commit.
SVN revision: 42111
2009-08-30 16:57:14 +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
Christopher Michael 07b8fa32ca Formatting.
Only calculate min_size once in certain places, rather than several
calculations.


SVN revision: 42108
2009-08-30 16:33:03 +00:00
Carsten Haitzler 6e7325ad8a upgrade to lgpl 2.1 with static linking
SVN revision: 42076
2009-08-28 11:30:46 +00:00
Carsten Haitzler b85b68d414 static linking exception.
SVN revision: 42072
2009-08-28 11:10:18 +00:00
Iván Briano 150c72c6cc As requested by vtorri, to fix compilation on Windows
SVN revision: 42056
2009-08-28 05:28:44 +00:00
Viktor Kojouharov f7a39407b7 disable states for radio and check widgets
SVN revision: 42028
2009-08-27 08:09:17 +00:00
Carsten Haitzler 14287466c9 fix symbol clash
SVN revision: 42027
2009-08-26 23:39:17 +00:00
Christopher Michael ea010dd225 Actually add the icons.
SVN revision: 42025
2009-08-26 18:00:07 +00:00
Christopher Michael 8af7cf2468 Add standard Folder & file icons.
Resize refresh icon to match other icons so file size is slightly smaller.
Make fileselector widget use Folder & File icons.
Remove some printfs in fileselector widget.



SVN revision: 42024
2009-08-26 17:59:41 +00:00
Christopher Michael 158f95cd37 Simplier check for disabled state.
SVN revision: 42022
2009-08-26 16:52:53 +00:00
Viktor Kojouharov 91dcee72db add disabled state for the hoversel widget
SVN revision: 42020
2009-08-26 16:43:17 +00:00
Christopher Michael 65644d237e Add missing check for calloc failure, thanks Vincent :)
SVN revision: 42019
2009-08-26 16:22:52 +00:00
Christopher Michael b686b3207a Oops, small typo.
SVN revision: 42013
2009-08-26 14:42:40 +00:00
Christopher Michael ae0afa4902 Don't calloc a toolbar item if elm_widget_data_get returns NULL.
Slightly better trapping(s).



SVN revision: 42012
2009-08-26 14:34:55 +00:00
Christopher Michael 37a4995d6c Add traps to test that elm_widget_data_get actually returned something.
SVN revision: 42011
2009-08-26 14:29:18 +00:00
Daniel Kolesa 0a7873850b Calling sizing_eval after theme_hook is useless, thanks devilhorns
SVN revision: 42010
2009-08-26 14:25:49 +00:00
Daniel Kolesa ed1dcddafb Add disabled state for entry widget.
SVN revision: 42009
2009-08-26 12:51:27 +00:00
Daniel Kolesa 2bb063d443 Damn, revert configure.ac
SVN revision: 42008
2009-08-26 07:47:52 +00:00
Daniel Kolesa 265154f763 Add some checks etc to separator widget
SVN revision: 42007
2009-08-26 07:46:11 +00:00
Daniel Kolesa 17339236d3 Update my information in elementary's dox in Authors section
SVN revision: 42006
2009-08-26 07:21:16 +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
Christopher Michael 34ac5a43c6 Stop trying to make the m4 directory. It already exists in the source tree.
SVN revision: 41986
2009-08-25 21:38:33 +00:00
Christopher Michael aa47ff2142 Add "refresh" icon to EXTRA_DIST.
SVN revision: 41977
2009-08-25 16:50:37 +00:00
Christopher Michael d470ee5e7f Add a standard icon "refresh" (used the image from E's theme for now).
May want to rename this to "reload" later.



SVN revision: 41976
2009-08-25 16:49:58 +00:00
Daniel Kolesa 8efa3cc1fd Fixes in elm progressbar theme.
SVN revision: 41946
2009-08-24 07:22:39 +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 8379f8cf9d * Doxy: don't need to generate the index, is on the topbar yet
SVN revision: 41759
2009-08-14 12:05:40 +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
Carsten Haitzler 6b53444949 note++
SVN revision: 41711
2009-08-12 16:43:46 +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