Commit Graph

60 Commits

Author SHA1 Message Date
Mike Blumenkrantz 99db9e2557 more E_BITFIELD conversions 2017-11-08 09:22:24 -05:00
Mike Blumenkrantz 5f9cbb1446 set/unset smart parent as e_widget when adding sub-objects
in the case where there is no smart parent, this fixes the object tree
and resolves some stacking issues. if there is a parent or a parent is added
later, nothing is changed

fixes eg. screenshot preview visibility in wayland
2016-07-19 13:43:59 -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 471dcb24cb __UNUSED__ -> EINA_UNUSED
this has been bugging me forever. __UNUSED__ is no longer a valid macro here.
2015-03-18 18:09:09 -04:00
Carsten Haitzler ab975cc349 e - fix e widgets to use evas size hints - this unifies sizing elm vs e 2015-01-25 22:50:23 +09:00
Mike Blumenkrantz f43819c49b remove widget subobj delete callback on widget delete 2015-01-15 03:05:20 -05:00
Mike Blumenkrantz b98c1a44f2 don't update widget size hints on resize add if hints already exist 2015-01-15 03:05:20 -05:00
Mike Blumenkrantz 3fc96af2dd Revert "revert all the ui breakes in e - going the wrong direction in the"
This reverts commit 3ea6a3569d.
2015-01-15 03:04:42 -05:00
Carsten Haitzler 3ea6a3569d revert all the ui breakes in e - going the wrong direction in the
first place anyway. shoudl replace the entire dialgo one at a time by
an elm version not try and stuff elm widgets into where e widgets used
to be. this doesnt improve e's config dialogs, just makes them buggy
as all hell in the name of a move to elm.

Revert "e_widget_button -> elm_button conversion"
This reverts commit b1c976d80d.

Revert "update widget size hints when setting a resize object"
This reverts commit fdab0218b2.

Revert "remove no-longer-necessary size hinting in list widgets"
This reverts commit 21479f5019.

Revert "e_widget_textblock -> elm_entry conversion"
This reverts commit 8fe2f00f75.

Revert "e frame -> elm_frame conversion"
This reverts commit e9da6a02fc.

Revert "remove unnecessary size hinting"
This reverts commit b596623efd.

Revert "e_label -> elm_label conversion"
This reverts commit 049b318679.

Revert "set evas size hint min in widget min size"
This reverts commit 2f09aa2fda.

Revert "e_table -> elm_table conversion"
This reverts commit 6434012982.

Revert "remove unused vars"
This reverts commit b19e706b23.
2015-01-15 12:13:53 +09:00
Mike Blumenkrantz fdab0218b2 update widget size hints when setting a resize object 2015-01-14 20:43:31 -05:00
Mike Blumenkrantz e1dbb122c7 autoupdate widget min sizes 2015-01-13 22:44:55 -05:00
Mike Blumenkrantz 2f09aa2fda set evas size hint min in widget min size 2015-01-13 22:44:55 -05:00
Mike Blumenkrantz 99589eb5af remove E_Win+e_canvas, convert all internal wins to use elm_win
known issues:

* keybindings for efm windows (eg. ctrl+w) are broken until the rest of the conversion is completed
2014-11-20 15:26:21 -05:00
discomfitor b67381916e unfocus focused+disabled widget always, not just when focus jump fails
pretty sure this doesn't affect anything in e18, but it does break things in a really hard to reproduce setting involving clicking/disabling/focusing widgets simultaneously
2013-10-26 09:53:15 +01:00
discomfitor b11305652d sanitize widget disabled_set flag, only jump focus when disabling focused widget 2013-10-26 09:52:43 +01:00
Mike Blumenkrantz b9cca5a97a fix e widget focus un-setting 2013-06-17 09:52:14 +01:00
Mike Blumenkrantz 2f828589bb added e_widget_on_disable_hook_set
SVN revision: 83670
2013-02-06 09:34:53 +00:00
Mike Blumenkrantz 73728b0262 e widget focus stealing should respect can_focus = false
SVN revision: 74714
2012-08-01 07:49:55 +00:00
Mike Blumenkrantz e51cf14d4f fix amazingly subtle e widget bug which crashed e whenever a subwidget of one object was set to be the subwidget of another object
SVN revision: 74350
2012-07-24 09:46:33 +00:00
Mike Blumenkrantz 7924b453e5 when a widget is disabled, don't try to focus it, also some focus chain outdenting
SVN revision: 73953
2012-07-17 08:26:22 +00:00
Mike Blumenkrantz 4128a1345f remove subobj from list before beginning delete callback chain, also add borker certification
SVN revision: 73259
2012-07-04 08:38:19 +00:00
Mike Blumenkrantz a4d99c2f30 this code appears to be functionally identical, yet one version breaks the world.
SVN revision: 73258
2012-07-04 08:29:30 +00:00
Mike Blumenkrantz a885647450 formatting
SVN revision: 73227
2012-07-03 12:02:05 +00:00
Mike Blumenkrantz c6ce9e563b fix e widget smart deletion to not be stupid
SVN revision: 73210
2012-07-03 08:33:54 +00:00
Vincent Torri c3b0637802 e17: whitespaces--
SVN revision: 72561
2012-06-21 06:19:43 +00:00
Carsten Haitzler 83dbefaf87 fix sub object add for e widgets... will be happy to let elm do this
in future :)



SVN revision: 65644
2011-11-28 11:40:18 +00:00
Carsten Haitzler 9cbcff8ea0 quick hack to fix inf loop on del onf fsel.
SVN revision: 61686
2011-07-25 11:29:37 +00:00
Carsten Haitzler 1d376c6207 get rid of crash vector with obj del tracking
SVN revision: 61628
2011-07-24 04:13:23 +00:00
Christopher Michael ead21f1854 Add missing function placeholders for Evas_Smart_Class.
SVN revision: 51326
2010-08-18 19:41:30 +00:00
Lucas De Marchi 6638a10e20 FORMATTING
* Remove vim modelines:
 find . -name '*.[chx]' -exec sed -i '/\/\*$/ {N;N;/ \* vim:ts/d}' \{\} \;
 find . -name '*.[chx]' -exec sed -i '/\/[\*\/] *vim:/d' \{\} \;

* Remove leading blank lines:
 find . -name '*.[cxh]' -exec sed -i '/./,$!d'

If you use vim, use this in your .vimrc:
set ts=8 sw=3 sts=8 expandtab cino=>5n-3f0^-2{2(0W1st0



SVN revision: 50816
2010-08-04 16:57:32 +00:00
Christopher Michael 6ab63682dd Fix API Inconsistency in regards to e_widget_min_size_* . Renamed to
e_widget_size_min_* . This Large commit should fix everything in svn that is
using those functions.



SVN revision: 42152
2009-09-01 13:34:42 +00:00
Christopher Michael 01ba9b9df5 Use simpler method for testing disabled state vs what we want it to be.
SVN revision: 41996
2009-08-25 23:06:40 +00:00
Cedric BAIL f8c05999e4 * e: Cleanup use of Eina data structure.
Patch from Peter van de Werken <pwerken-e@a-eskwadraat.nl>.


SVN revision: 41916
2009-08-21 15:08:49 +00:00
Gustavo Sverzut Barbieri 30c9bc06ad widgets must emit "changed" even if they don't have parents.
this unbreaks all dialogs that were not enabling "ok" and "apply"
buttons.

bad raster, bad... =)



SVN revision: 41797
2009-08-16 00:23:38 +00:00
Carsten Haitzler 072f4b664f fix evas error debug where passing in null objects is bad.
SVN revision: 41788
2009-08-15 11:32:32 +00:00
Christopher Michael 9533dd4543 Formatting, Whitespace Removal, Remove useless return in one function,
Initialize variables to NULL.


SVN revision: 39872
2009-04-05 17:07:18 +00:00
Christopher Michael 794ef7748f Formatting
SVN revision: 39870
2009-04-05 16:58:49 +00:00
Gustavo Sverzut Barbieri e5c4d62fd4 Set member_{add,del} to NULL.
SVN revision: 37091
2008-10-25 03:13:33 +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
Carsten Haitzler 8150904ad8 add a widget resize to min size call - convenience. tnx k-s for the oopsie
catch!



SVN revision: 36035
2008-09-17 05:58:46 +00:00
Gustavo Sverzut Barbieri 26b444f0d8 Fix e_widget hierarchy.
e_widget_resize_object_set() gets the SUB (child) object as the second
parameter, it's named "sobj", but it's being used as the SMART
(parent) object with evas_object_smart_member_add(), so hierarchy was
all swapped.



SVN revision: 36034
2008-09-17 05:22:08 +00:00
Carsten Haitzler 4b969ed2fc been hacking... umm. config dialog additions.
SVN revision: 36033
2008-09-17 02:21:00 +00:00
Gustavo Sverzut Barbieri 18966c828b Add calculate callback to Evas_Smart_Class.
Some people is using it for some time now without problems, so I'm
adding it to SVN to get some broader use. Remember to recompile ALL
libraries that depend on Evas as it will change the
EVAS_SMART_CLASS_VERSION and old classes will fail to load.

This will also change Edje so it will postpone _edje_recalc() to
render time, calculate() callback, however some methods will force
early recalculation.



SVN revision: 35860
2008-09-07 01:25:49 +00:00
Carsten Haitzler 69c89fe5c1 god damn.. chasing that bad mem access was tricky. found it after futzing
with edje, evas and e.


SVN revision: 31206
2007-08-07 14:20:47 +00:00
Carsten Haitzler a960cd070b move a chunk of stuff to use evas_smart_class_new() - evas_smart_new() will
probably die as it's already got legacy funcion methods for layer etc. stuff.


SVN revision: 31161
2007-08-04 13:12:43 +00:00
rephorm 1532587bcb Dynamically add and remove desks in the preview when you change the # of virtual desks.
A few small fixmes still to go


SVN revision: 26662
2006-10-16 23:45:16 +00:00
Carsten Haitzler 908bc388c6 and disable check
SVN revision: 26619
2006-10-15 15:56:45 +00:00
Carsten Haitzler 69d34400a9 e_widget needs to track sub objects so it knwos what to delete on deletion of
the widget. if u delete a sub object prematurely - u need to tell e_widget. u
also need to dell it about the new object!


SVN revision: 26616
2006-10-15 15:12:14 +00:00
Carsten Haitzler f501859f3d leak-- - and other thigns creeping in due to other debugging
SVN revision: 26614
2006-10-15 14:04:36 +00:00
Carsten Haitzler 96cd8dc8de container stacking/layer consistency and safety. also preview in fsel packs
preview properly now. fixed error dialog


SVN revision: 25113
2006-08-26 08:32:56 +00:00