Commit Graph

36 Commits

Author SHA1 Message Date
Christopher Michael 4af10df930 E: Make sure the window actually has a pointer before trying to delete
it.



SVN revision: 60704
2011-06-26 18:10:03 +00:00
Gustavo Sverzut Barbieri 6f2213cb25 convert init/shutdown to EINTERN, move some to _update().
Do not abuse the concept of e_*_init(), make them call-once and those
that needed multiple call are renamed to e_*_update(). To make sure
convert them to EINTERN so the symbols are not exported.

Actually I guess too much is exported as EAPI while they should be
EINTERN, but that would require manual investigation, while this patch
was basically created with sed + grep.



SVN revision: 54795
2010-11-22 15:21:32 +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
Carsten Haitzler 74e89eba71 comments++
SVN revision: 44999
2010-01-09 01:01:56 +00:00
Carsten Haitzler 4ed5747b83 dont show ecore-evas of internal windows b4efore border evals! do it there!
SVN revision: 44995
2010-01-08 23:08:07 +00:00
Gustavo Sverzut Barbieri be6a6ba639 improvements to e_border positioning.
* e_border_center() will center window in a better way, accounting
   the shelves/panels instead of just centering on the screen. This is
   better and most noticeable if screens are small and a big shelf on
   just one edge.

 * e_border_move_without_border(), e_border_resize_without_border()
   and e_border_move_resize_without_border() will assume the given
   values do not acount border/decorations (client_inset) and will do
   automatically. As stated in documentation, this is specially useful
   when it is a new client and thus have no decorations when it is
   positioned, when decorations are added window would be placed at
   wrong position. One can try this by adding efwin window overflowing
   the bottom-right corner, closing it and when reopen fileman would
   try to make it inside the screen, this would not work well with
   part of the window still being outside.

 * e_win_move(), e_win_resize() and e_win_move_resize() will now use
   new e_border functions.



SVN revision: 40307
2009-04-23 02:24:59 +00:00
Gustavo Sverzut Barbieri 855f5080af export function to get useful area of zone.
This should be used by other parts of e17, like window placement.


SVN revision: 40197
2009-04-18 21:44:21 +00:00
Vincent Torri 0e6ad24c60 remove useless subwindow code
SVN revision: 39975
2009-04-11 08:33:44 +00:00
Carsten Haitzler 834952304f ghost windows-- ?
SVN revision: 39655
2009-03-23 13:39:24 +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
Cedric BAIL 3d6749983b Switch to eina_stringshare.
This could also change the usage of string share in E17.



SVN revision: 36679
2008-10-15 15:12:56 +00:00
Carsten Haitzler 77e26d9daa add a way to force e to not remember a window of its own .
SVN revision: 35139
2008-07-17 14:01:36 +00:00
Christopher Michael da1bd71e00 Provide a convenience function for setting a window border internal icon key.
SVN revision: 31679
2007-09-10 21:50:54 +00:00
Christopher Michael 307cd6a9a7 Fix up the border_icon_set a little bit.
- Make sure we stringshare_del any old border_icons.


SVN revision: 27231
2006-11-27 12:54:29 +00:00
Christopher Michael b3e5363aa1 Add function to set window border icon so that Import dialogs and such can
have same icon as their parent.


SVN revision: 25303
2006-09-01 17:38:25 +00:00
Carsten Haitzler 90c133e32f fixingup of pointer code to fallback a bit simpler - on demand buffer canvas
creation now and deletion - and entry widget displays "entry" cursor :)


SVN revision: 24928
2006-08-20 06:42:20 +00:00
Carsten Haitzler 0a5e26b82b jamse brown ... errr... gadman is dead.
basically if moduels wish to put objects on a desktop - they now will have to
DIY and look after themselves. until we have gadcons with "free" layout that
do similar stuff - but this simply means module authors need to d a bit more
work. gadman code is unmaintained and a burden - thus removed.

also borders and e_win's have their own pointers now - this should nuke the
stuck pointer bug... :)


SVN revision: 24925
2006-08-20 04:48:27 +00:00
Carsten Haitzler 2286040067 add win get call!
SVN revision: 24920
2006-08-20 03:39:48 +00:00
Carsten Haitzler 826dc4b4dc and dialogs work again
SVN revision: 21093
2006-03-08 08:54:43 +00:00
stffrdhrn 218717c8dc Clean up compile warnings:
* char * -> const char * for stringshare strings
 * char * -> const char * where needed in functions
 * remove unused vars in some places


SVN revision: 20912
2006-03-02 12:03:48 +00:00
sebastid 6a638a7806 Fix EAPI warnings.
SVN revision: 19597
2006-01-07 10:39:46 +00:00
Carsten Haitzler eff5eeeac7 fix several bugs (cursors for example)... found some more... :)
SVN revision: 19555
2006-01-06 13:56:46 +00:00
codewarrior 4c76423df2 - efm smart uses its own edje
- fix x, y in win (move)
- clean up efm code
- add basics for typebuffer
- allow icon_layout to sort internall (no unpack / pack)


SVN revision: 18362
2005-11-07 15:31:08 +00:00
sebastid bdd04a90d2 So fix it the correct way :)
SVN revision: 18306
2005-11-04 23:59:53 +00:00
Carsten Haitzler 9eef59377f file selector is resizable now - cleaned up some unfinisehd code to make it
work :)


SVN revision: 18240
2005-11-03 06:17:08 +00:00
Carsten Haitzler 2a3f77d8f6 remove useless test (doesnt work anymore) and make e win popdown/destruction
slicker


SVN revision: 18003
2005-10-27 03:31:57 +00:00
sebastid 5b5dd52684 XRender engine
SVN revision: 17173
2005-10-04 21:59:46 +00:00
sebastid 3fad0f04f1 Use the right engine, and only center if asked for.
SVN revision: 17165
2005-10-04 17:56:08 +00:00
sebastid f901f8ce1f Remove space
SVN revision: 17155
2005-10-04 11:15:33 +00:00
Carsten Haitzler 9f9468645d 1. centralise canvas creation.
2. allow xrender to be (*hard-coded) chosen.


SVN revision: 17126
2005-10-03 07:36:23 +00:00
Carsten Haitzler 9063352d93 oh for gods sake! now all day was sunk into getting focus fixed for dialogs.
argh! i'll have to do the app cache after this... grrr....x


SVN revision: 16905
2005-09-24 09:04:39 +00:00
Carsten Haitzler 6375b62f0f clean up canvas show - uncessesary exposure there. fixed.
SVN revision: 16824
2005-09-21 04:53:12 +00:00
sebastid ef9b5bd806 If we want to center a e_win, and it has a border, move it.
SVN revision: 16427
2005-08-30 10:42:47 +00:00
sebastid ce95056320 Add convenience functions for settings layer and sticky.
Support internal states, and add centered state.
Add object paranoia check.


SVN revision: 16413
2005-08-30 01:16:48 +00:00
rbdpngn 35c5378aae EEK, return a value.
SVN revision: 15755
2005-07-12 18:08:52 +00:00
Carsten Haitzler 30d026df6f e_win is a quick api wrapper for makign internal windows that the wm creates
then manages as if they were normal client windows. should work just fine and
is something to build better dialogs on top of


SVN revision: 15728
2005-07-11 09:19:17 +00:00