Commit Graph

155 Commits

Author SHA1 Message Date
ChunEon Park 4c3ccfcd60 elementary/conform - fixed a missing content hooking.
Thanks Jihoon for reporting. 



SVN revision: 67900
2012-02-14 08:00:20 +00:00
PRINCE KUMAR DUBEY 72ba73fa91 From: PRINCE KUMAR DUBEY <prince.dubey@samsung.com>
Subject: [E-devel]  [Patch] elm_conform patch

Change Description:
  When no geometry information of ind/sft/kbd, resetting the geometry.
  


SVN revision: 66586
2011-12-28 04:24:06 +00:00
Jaehwan Kim 546d5e51e5 Bug fix about scrolling wrong location. The main point is to use the UPDATED geometry of the child object, but the geometry has yet to be calculated and is queued for calculation later.
Firstly, for efficiency, we add a Job to calculate the whole canvas. Jobs implicitly coallate work per event loop.
Calcuation of object can be a reasonably intensive set of work.
In the job callback we calculate the whole canvas with evas_smart_objects_calculate() to ensure that all objects have the correct geometry at this point.
Reviewed by Raster.


SVN revision: 65509
2011-11-22 06:37:30 +00:00
ChunEon Park 236192cd9a elementary - modified content_set/get/unset part names to be simple names.
Previous part names are just the swallow part names
but in modified version, the part names chaned to simpler meaning names to use.

i.e for button

elm_object_content_part_set(button, "elm.swallow.icon", icon);
-> elm_object_content_part_set(button, "icon", icon);




SVN revision: 65295
2011-11-16 12:51:53 +00:00
Daniel Juyung Seo bafe9c7426 elm: Use appropriate add/del_full for evas event callbacks.
SVN revision: 64536
2011-10-31 00:13:32 +00:00
ChunEon Park 213873a6c0 elementary/conformant - content_set/get/unset
SVN revision: 64489
2011-10-28 09:36:50 +00:00
Mike McCormack a59721b120 elementary: Declare variables at top of function
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 63951
2011-10-10 08:33:13 +00:00
Daniel Juyung Seo 804a13f2dd elm: Refactoring. Removed trailing whitespaces.
SVN revision: 61673
2011-07-25 08:48:47 +00:00
Christopher Michael ddc4c191f7 Elm: Conformant Widget: Fix 'Zone may be used uninitialized' warning. Fix some formatting.
SVN revision: 61624
2011-07-23 23:54:17 +00:00
Bruno Dilly 6330bbe01e Elementary: conform only use X stuff if we are on X
Fix issues with shot.


SVN revision: 61589
2011-07-22 13:44:42 +00:00
Bruno Dilly a1ad7bc0bd Elementary: elm conform get illume parts size from env
For tests and documentation purposes, make possible to define
illume parts: keyboard, softkey, indicator with enviroment vars.
This way is possible to see elm_conformant behavior even without
illume.
Useful for tests and doc.
Usage examples:
ILLUME_KBD="0, 0, 240, 123"
ILLUME_IND=0,0,240,32
ILLUME_STK="0,288,240,32"



SVN revision: 61572
2011-07-21 22:03:22 +00:00
Bruno Dilly af5fe8ef30 Elementary: Conformant Documentation
SVN revision: 61479
2011-07-18 14:00:36 +00:00
Daniel Juyung Seo a4ba91dd39 elm conform: Eina_Bool parameter is added to API
elm_widget_show_region_set to set the show region always. Earlier, the
API expects some change, to redo the job. Patch by Prince Kumar Dubey
<prince.dubey@samsung.com>

------- Original Message -------
Sender : PRINCE KUMAR DUBEY<prince.dubey@samsung.com>
Date : 2011-05-20 17:41 (GMT+09:00)
Title : [E-devel] [Patch] elm_conform patch

Hi Mr Seo,
Can you please send the attached patch of elm_conformant to EFL ope-src community.
Change Log:
Eina_Bool parameter is added to API elm_widget_show_region_set to set
the show region always. Earlier, the API expects some change, to redo the job.
This enhancement is already approved by raster in gerrit review.

Thank you.
Regards,

Prince


SVN revision: 61148
2011-07-08 07:50:36 +00:00
Cedric BAIL af57202475 elementary: fix build without X.
SVN revision: 61024
2011-07-04 21:59:48 +00:00
ChunEon Park 9954d925a4 elementary/elm_conform
> -----Original Message-----
> *From:* "cnook"<kimcinoo@gmail.com>
> *To:* enlightenment-devel@lists.sourceforge.net
> *Cc:*
> *Sent:* 11-06-27(월) 14:19:14
> *Subject:* [E-devel] [Patch][elm_conform] add del_pre_hook for removing
> handlerDear All,
>
> Hello,
> I have got elm_confrom does not remove its handler while it is deleted.
> This patch is for that. Please review attached patch. Thanks always.
>
> Sincerely,
> Shinwoo Kim.




SVN revision: 60729
2011-06-27 11:31:32 +00:00
Carsten Haitzler 837ed0011a wrn--
SVN revision: 60617
2011-06-23 06:25:12 +00:00
cnook 5c060442b3 From: cnook <kimcinoo@gmail.com>
Subject: Re: [E-devel] [Patch][elm_conform]

When the indicator is displayed initially and use elm_confrom as parent by
using elm_conformant_content_area_get, the indicator area (wd->shelf) does
not display properly.
Because any interested ECORE_X_EVENT_WINDOW_PROPERTY does not notify.
In this case, we have got to evaluate size, when EVAS_CALLBACK_RESIZE
occurs.



SVN revision: 60616
2011-06-23 06:24:57 +00:00
Daniel Juyung Seo 46ee160b3f Elementary conform: Patch by Prince for virtual keypad support and
adding a new API.

1. Virtual Keypad Support.
2. New API "elm_conformant_content_area_get" added.
- Reviewed by Rasterman and I just fixed warnings.


SVN revision: 59528
2011-05-19 10:58:16 +00:00
Vincent Torri d35990ebbc elm_conform.c : MIN and MAX not always defined
SVN revision: 59514
2011-05-18 16:49:20 +00:00
Daniel Juyung Seo d8bf2f9623 Elementary elm_conform.c: Fixed warnings.
SVN revision: 58960
2011-04-27 13:53:25 +00:00
govi.sm 3432414a79 From: govi.sm@samsung.com
Subject: Conformant Widget Code refactoring patch

Can you please review the attached patch for elm_conformant.

Change Log: 1.  On Theme change, swallowing Parts again. Swallowing
parts done in separate function.
2.  Conformant parts size set  is repeated in two places, moved to a
function.
3. Conformant Object Move/Resize is handled to realign the Visible
content area. 
 


SVN revision: 58948
2011-04-27 06:33:34 +00:00
Daniel Juyung Seo 95b2697f0f Elementary conform: Fixing indentation, coding guideline. Patch by
Prince <prince.dubey@samsung.com>


SVN revision: 58730
2011-04-19 07:31:59 +00:00
Daniel Juyung Seo 3d99ec3932 Elementary: Removed trailing white spaces.
SVN revision: 58661
2011-04-14 11:43:43 +00:00
Carsten Haitzler 315dc93196 mm.... new widget options/modes for win... u can put a window..
INLINED in another window. :) it's an image object. have fun!



SVN revision: 58657
2011-04-14 10:48:43 +00:00
ChunEon Park 5176a3f867 elementary / entry, list, scroller, fileselector_button, config, photocam, map, pan, bg, store, priv, pager, conform, box, clock, flipselector
fixed indentation, removed white spaces.



SVN revision: 58267
2011-04-01 19:08:56 +00:00
ChunEon Park b880342a74 elementary - entry, genlist, gengrid, image, icon, hover, frame, diskselector, index, layout, label, conform, flip, flipselector - removed white spaces
SVN revision: 58252
2011-04-01 11:32:33 +00:00
Carsten Haitzler f74c18a02e make all widgets use a standard setup macro. cuts code down and
handles null parent errors, null wd alloc, null obj create errors etc.



SVN revision: 58242
2011-04-01 06:08:02 +00:00
Tom Hacohen c04d8990f0 Elementary: Added on-the-fly UI-mirroing support to all of the widgets
SVN revision: 56846
2011-02-09 16:14:02 +00:00
Tom Hacohen 99da5b6541 Elementary: Added ui-mirroring support for all the widgets.
SVN revision: 56803
2011-02-08 12:08:28 +00:00
3v1n0 ff67ce31fb Always check for valid evas object.
If you try to create a new widget, you must be sure that the parent
is really an evas object.

With the previous implementation it was possible to call an _add
function for an elementary widget with any non-null pointer as parent
eventually causing crashes (like with the elm_box).


SVN revision: 55521
2010-12-12 19:12:43 +00:00
helen 030b697366 EINA_SAFETY_ON_NULL_RETURN
Checking parameters with EINA_SAFETY_ON_NULL_RETURN and
EINA_SAFETY_ON_NULL_RETURN_VAL in Elementary

SVN revision: 55188
2010-12-03 14:08:33 +00:00
Tiago Rezende Campos Falcao 738bfaa747 Review of content setters, getters and unsetters
Revised the parent, icon, end and content setter and getters of
elementary objects.
Review to smart objects and widgets items will be the next steps.

SVN revision: 53425
2010-10-14 18:54:42 +00:00
Tiago Rezende Campos Falcao 8ca4d18a0b Fixing can_focus to the widgets
Author:    Helen Fornazier <helen.fornazier@profusion.mobi>

widgets:
anchorblock:    can_focus = EINA_TRUE
anchorview:     can_focus = EINA_TRUE
fileselector:   can_focus = EINA_FALSE
hoversel:       can_focus = EINA_FALSE
notepad:        can_focus = EINA_TRUE
scrolled_entry: can_focus = EINA_TRUE
bubble:         can_focus = EINA_FALSE
calendar:       can_focus = EINA_TRUE
clock:          can_focus = EINA_TRUE
conformant:     can_focus = EINA_FALSE
flip:           can_focus = EINA_FALSE
frame:          can_focus = EINA_FALSE
gengrid:        can_focus = EINA_TRUE
genlist:        can_focus = EINA_TRUE
index:          can_focus = EINA_FALSE
list:           can_focus = EINA_TRUE
layout:         can_focus = EINA_FALSE
map:            can_focus = EINA_TRUE
mapbuf:         can_focus = EINA_FALSE
menu:           can_focus = EINA_FALSE
notify:         can_focus = EINA_FALSE
pager:          can_focus = EINA_FALSE
panes:          can_focus = EINA_FALSE
progressbar:    can_focus = EINA_FALSE
photocam:       can_focus = EINA_TRUE
scroller:       can_focus = EINA_TRUE
table:          can_focus = EINA_FALSE
thumb:          can_focus = EINA_FALSE
win:            can_focus = EINA_FALSE

SVN revision: 52888
2010-09-29 12:22:30 +00:00
Cedric BAIL bdf6efa129 * elementary: fix Ecore API changes.
SVN revision: 49860
2010-06-25 09:58:14 +00:00
Iván Briano 99ff1921a9 Standardizing elm_<widget>_{icon,content}_set API
elm_<widget>_icon_set was changed to the better form and the signals
was passed to hidden icons when one icon is changed/removed.
Moreover, when changed by {icon,content}_set the old {icon,content}
will be deleted.

By: Fabiano Fidencio <fidencio@profusion.mobi>



SVN revision: 49706
2010-06-16 20:58:09 +00:00
Carsten Haitzler d888b71dba theme -> can specify a new theme for an object andit gets inherited. need to
add tests.



SVN revision: 48771
2010-05-12 01:03:46 +00:00
Carsten Haitzler 5ceae54321 fix more runtime wornings... added ELM_ERROR_ABORT! :)
SVN revision: 47195
2010-03-14 03:48:22 +00:00
Vincent Torri b07e49d435 remove unused parameter in the library.
I won't do this everyday, and i won't touch the tests.


SVN revision: 47093
2010-03-09 17:51:30 +00:00
Carsten Haitzler 8599a54123 more warnning fixes!
SVN revision: 47087
2010-03-09 16:46:13 +00:00
Carsten Haitzler 91e01aa86e patch from discomfitor <- check type of widget on api call and return if not
the right type



SVN revision: 47073
2010-03-09 06:15:39 +00:00
Christopher Michael 7b48a5bc95 Add case for keyboard geometry changing. (not completely handled yet, but
conformant widget does get notified now).



SVN revision: 46403
2010-02-23 20:54:39 +00:00
Christopher Michael debae61a2d Updates to elm_conform and elm_win code for new illume2.
SVN revision: 46288
2010-02-19 02:33:17 +00:00
Christopher Michael f87a7d374d Add initial doxy for conformant widget.
SVN revision: 46000
2010-02-09 02:46:19 +00:00
Carsten Haitzler a9295a655d code+comments.
SVN revision: 45891
2010-02-05 06:14:50 +00:00
Carsten Haitzler 56aba6a22b 1. fix conforman stuff to actually respect min size of content. it never did.
2. more comprehensive test.



SVN revision: 45863
2010-02-04 09:08:02 +00:00
Cedric BAIL 085f4e23f4 * elementary: Fix elementary build without X.
SVN revision: 45804
2010-02-02 13:55:55 +00:00
Carsten Haitzler 0cee32572c fix proeprly
SVN revision: 45617
2010-01-27 04:08:42 +00:00
Christopher Michael 1e0f1b2210 No space at all if indicator & softkey are not present.
SVN revision: 45616
2010-01-27 04:03:22 +00:00
Christopher Michael ffc9efb9d9 Handle property changes for conformant widget.
Don't hardcode size to 32 (but kept a small buffer of 1 pixel).



SVN revision: 45609
2010-01-27 01:48:18 +00:00
Carsten Haitzler 6a73fa3764 4 not 4 screens for launcher test
SVN revision: 45581
2010-01-26 10:59:26 +00:00
Carsten Haitzler f7a8067a66 more launcher test code.... and mapbuf object used by launcher test code.
SVN revision: 45575
2010-01-26 08:17:26 +00:00
Christopher Michael 23a8daed87 Add elm_win function(s) for get/set of quickpanel.
SVN revision: 45510
2010-01-24 10:12:57 +00:00
Christopher Michael 15e801e3d3 Account for bottom panel size in conformant widget.
SVN revision: 45104
2010-01-14 02:45:15 +00:00
xcomputerman 62fc69f32d X11 calls should be conditional
SVN revision: 45082
2010-01-13 08:37:56 +00:00
Christopher Michael bf4e3b6719 Add missing files, thanks Sachiel :)
SVN revision: 44983
2010-01-08 18:00:33 +00:00