Commit Graph

33 Commits

Author SHA1 Message Date
Mike Blumenkrantz 59fa0e418d use E_BITFIELD define for bitfield struct members
on release builds this will be a bitfield, on devel builds it will make
bools a normal unsigned char for easier debugging
2017-11-07 10:39:56 -05:00
Mike Blumenkrantz ce78226c0e add ilist method for setting disabled state
ilist widget adds items in a deferred queue, resulting in attempts to
immediately toggle the disabled state having no effect. now there is
a flag so that items added after the disabled flag have been set will
have the correct state

fix T2730
2015-09-15 13:05:21 -04:00
Chris Michael 0a94e8ba71 enlightenment: Make E build again with EFL from git
sed -i 's/EAPI/E_API/g'

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-05-07 15:13:10 -04:00
Mike Blumenkrantz 0b5a3ec96d break out ilist item label setting
SVN revision: 78832
2012-11-02 08:00:58 +00:00
Mike Blumenkrantz 31052004d0 add method for setting a custom theme for ilist
SVN revision: 76797
2012-09-18 10:28:02 +00:00
Mike Blumenkrantz 0a66fa4671 ilist_items_get() now returns a const list
SVN revision: 76524
2012-09-12 13:03:04 +00:00
Mike Blumenkrantz 0fe8872ab7 add mechanism for getting the list of selected ilist items
SVN revision: 73143
2012-07-02 09:56:47 +00:00
Vincent Torri c3b0637802 e17: whitespaces--
SVN revision: 72561
2012-06-21 06:19:43 +00:00
Christopher Michael 4eefa59387 Use Eina_Bool for multi-select of ilist.
Fix formatting issues in some other files.



SVN revision: 47573
2010-03-30 01:05:56 +00:00
Gustavo Sverzut Barbieri 073a946433 new, single list module loader dialog.
This dialog was reworked to have one single list instead of two. This
makes the internals way simpler and also fits small screens.

Extra benefit is that we don't need to reload the list, so it's
flicker-free and you don't loose context. Of course it will save some
cpu cycles not having to do these list fills over and over again.

the ilist had to be changed to include an "end" object, in the default
theme it is at the right. It will use a part named
e/widget/ilist/toggle_end to present the selected state. (The
favorites/heart icon was choosen because it is red and thus easily
visible in both black and white background -- selected/unselected).



SVN revision: 46813
2010-03-03 04:10:04 +00:00
Christopher Michael 3e1c0d622a Fix API Inconsistency:
e_ilist_min_size_* to e_ilist_size_min_*



SVN revision: 42163
2009-09-01 16:39:10 +00:00
Carsten Haitzler 7576e5a311 move ilist widget filling to a idler... defers a chunk of work to idle time
over a period of time keeping e interactive and usable.



SVN revision: 38836
2009-01-29 06:29:36 +00:00
Cedric BAIL 1087de2397 Remove Evas list and replace them with Eina list.
No change for ->next and ->data access right now, as the patch is already
big enough.



SVN revision: 36962
2008-10-22 11:49:33 +00:00
Christopher Michael 5b8a3e7555 Better modules config dialog. Can now multi-select several modules to
enable/disable at one time. Added some APIs to e_widget_ilist to help with
this.


SVN revision: 30832
2007-07-15 23:39:28 +00:00
Christopher Michael dc7f614937 Give menu apps dialogs (favs, ibar, etc, etc) ability to move items up/down
in the list. Allows user to "customize" their order in the menus, as per
ManoWarrior feature request.

Added some API to ilist widget to help with this. iList can now do
append_relative, prepend, and prepend_relative.


SVN revision: 30701
2007-07-10 11:15:34 +00:00
rephorm aa355036c4 when going back to categories list, scroll to the category we were just in
get rid of some warnings


SVN revision: 30269
2007-06-07 03:49:09 +00:00
Carsten Haitzler cb12aef97c ilist patches from Laurent Ghigonis <ooookiwi@gmail.com>
SVN revision: 29958
2007-05-12 02:43:13 +00:00
Christopher Michael 332f1bc2ce Rework of the ilist widget.
- Added ability to optionally do multi-select and range-select.
   - Update Font Config Dialog to allow multi-select & setting of fonts in batch.

No changes should be necessary for existing apps/dialogs that use ilist. If
you would like to implement multi-select in something, have a look at the
font config dialog for usage.


SVN revision: 27875
2007-01-08 19:23:21 +00:00
Carsten Haitzler ef11f7a10d add freeze/thaw for ilist - makes the mime config dialog much better :)
SVN revision: 27235
2006-11-27 14:23:07 +00:00
Carsten Haitzler 34d6645d66 lots of freaky stuff.
1. cleaned up actions for restart and exit
2. made main menu cleaner in just using the actions
3. added ilits unselect calls for ilist smart and widget
4. patch for cpufreq to set all cpu clocks
5. fix battery module to handle broken acpi impl's that don't report drain rate
6. add e_sys subsystem - for executing system sensitive stuff like halt, reboot
   suspend, hibernate etc. this also covers exit, restart and logout. logout
   is currently dormant and just an action - not bound or in a menu. not
   complete anyway (no code for it). halt and reboot should probably use
   logout logic to shut down apps - i will recycle it. i added a suid root
   binary to do the actions - uses a system config (default one supplied that
   is secure - root will need to modify it to allow things).
7. fixed suid install hook for cpufreq
8. added sysconf dir to build for sys config file.
9. pants on


SVN revision: 25395
2006-09-03 08:51:32 +00:00
Christopher Michael 6b49e365a4 Add a function to e_ilist and e_widget_ilist to return if a particular item
is a header or not. Allows traversing ilist items in a loop while
testing if the item is a header, and potentially skipping it.


SVN revision: 23286
2006-06-08 12:48:36 +00:00
Stafford Mitchell Horne 27fcbce58a Code cleanups for font config dialog
* Move sndev's code into ilist so it can be reused


SVN revision: 22075
2006-04-13 00:01:15 +00:00
Stafford Mitchell Horne 5828935a95 Add font fallbacks configuration to font config dialog
* Add arrow icons to default theme
 * Add api to ilist for manipulating list labels (for moving)
 * TODO: need to split list manipulation code out to its own widget but
   what should the diget be called? e_widget_editable_list?


SVN revision: 21806
2006-04-04 14:00:19 +00:00
Stafford Mitchell Horne afdd5b0686 Add Font Configuration Dialog, and...
* Added some e_widget api for handy things (Toggling checks, Setting Entry Text...)
 * Fixed some compiler warnings
 * TODO : Font hinting and this new font dialog should be merged, Also, need
   To add font fallbacks configuration to this dialog


SVN revision: 21655
2006-04-01 09:24:56 +00:00
Carsten Haitzler f96980dbe8 add ilist headers - much easier to organise things now
SVN revision: 21513
2006-03-27 14:46:26 +00:00
Christopher Michael 36aa7e2d70 Add some functions to e_ilist and e_widget_ilist.c . Fix commented
unused variables (just removed them). Added Cursor Settings and Startup
Settings dialogue. Removed General Settings dialog.


SVN revision: 20020
2006-01-25 04:06:51 +00:00
David Walter Seikel c220a4beba Devilhorns wanted a count function added while I was playing in this.
And formatting.


SVN revision: 19998
2006-01-23 18:47:10 +00:00
Carsten Haitzler 1a51c5c283 ilist jumps to the selected spot now with the ilist widget (keyboard nav is
sane again)


SVN revision: 19938
2006-01-21 10:06:13 +00:00
Christopher Michael f33c45d144 Rename e_ilist_select_* functions to be e_ilist_selected_* as this seems
more intuitive.
Update e_int_config_theme.c for this change.
Update e_int_config_background.c for this change.
Update e_int_border_border.c for this change.

Added e_ilist_remove_num to remove entries by number.
Added e_widget_ilist_remove_num.

Added e_ilist_remove_label to remove entries by label.
Added e_widget_ilist_remove_label.

Added e_ilist_selected_label_get to retrieve the selected items label.
Added e_widget_ilist_selected_label_get.


SVN revision: 19245
2005-12-22 21:08:34 +00:00
Carsten Haitzler 44a5e0fb3e working on ma configuration panel biatches
SVN revision: 18431
2005-11-12 05:27:58 +00:00
Carsten Haitzler 99dafd01e7 ading "livethumb" - it uses the ecore evas buffer engine stuff to make a
canvas withni a canvas as a smart obj where ucan set 1 object as the base.
going to be handy for some stuff...


SVN revision: 18334
2005-11-06 05:48:51 +00:00
Carsten Haitzler 85c28ba965 ilist cd's have some extra params.
SVN revision: 18322
2005-11-05 13:54:43 +00:00
Carsten Haitzler db8f53b3b8 starting work on ilist... gfx suck atm. need to eat. commit.
SVN revision: 18318
2005-11-05 12:12:17 +00:00