Daniel Juyung Seo
6d71a23c3a
elm lib: removed all the unnecessary empty lines.
...
being pedantic.
2013-12-15 06:18:35 +09:00
ChunEon Park
45ed80a0c8
image - fix the elm_image_prescale_set() to work properly.
...
before this, it had the insane logic so the prescale_set() never work.
Now, it works well and the prescale won't be set in default. (before, the default value is 64. why?)
2013-11-25 20:48:22 +09:00
Daniel Juyung Seo
5567837cf5
button,check,colorselector,diskselector,flipselector,image,radio,toolbar: fixed formatting of smart_event functions before working on it.
...
Now they look more consistent.
2013-11-13 09:54:37 +09:00
Tom Hacohen
2f1e1554e5
Changed Eo class names to be consistent.
...
All the class names are now of the format: Elm_Type_Subtype_Extra
2013-11-07 11:44:22 +00:00
Daniel Zaoui
b66233d128
DnD: multi-callbacks support
...
This features permits execution of more than one set of functions during
DnD.
Delete function API has been modified to give the developer the
possibility to remove a specific set of functions.
2013-11-05 08:28:54 +02:00
Daniel Juyung Seo
cee446d308
elm_slider.c, elm_image.c: Removed executable permission from c source.
...
Please be more careful of file permission.
2013-11-04 22:46:50 +09:00
Cedric Bail
1f442e4a8e
elm_image: add mmap_set infrastructure.
2013-11-04 12:19:04 +09:00
Amitesh Singh
72c30bb3e2
[image] - Added support for "clicked" callback on Return/space/KP_Enter key press.
...
Summary: [image] - Added support for "clicked" callback on Return/space/KP_Enter key press.
Reviewers: seoz, Hermet
Differential Revision: https://phab.enlightenment.org/D278
2013-10-30 08:32:44 +09:00
Daniel Juyung Seo
6397761c6a
elm_test: Fixed formatting. tab to space.
...
Changed tab to space before working on the code.
Kinda surprised by the number of tabs we had.
2013-10-14 19:12:32 +09:00
Daniel Juyung Seo
a4fb4efcd7
elm_config/elm_image: Internal small refactoring.
...
1. Use more ELM_SAFE_FREE macro.
2. Use correct more descriptive macro for timer callback.
2013-10-02 20:18:51 +09:00
Jean-Philippe Andre
6078f040fb
elm_image: Fix preload for normal files
...
grmbl, elm_image must explicitely start preload or the
image will stay blank if evas_object_show() is called before
elm_image_file_set().
2013-10-01 19:09:52 +09:00
Jean-Philippe Andre
fada635034
elm_image: Remove double callback on mouse_up
...
In case of MOUSE_UP event, both the hit rectangle and the
smart image object received the event, thus producing double
clicks.
2013-10-01 19:09:52 +09:00
Daniel Juyung Seo
e756f97dae
elm: Longwaited trailing white space removal. Clean elm up!
2013-09-30 22:15:01 +09:00
Jean-Philippe Andre
39fe09b137
elm_image: Fix remote image loading
...
Fixes commit dcb8b54aee3a545a1:
- elm_image: do not preload full image on file_set.
elementary_test "Image Remote" was not working anymore because
the image was never loaded after download.
2013-09-26 18:57:16 +09:00
Jean-Philippe Andre
cdf8137da7
elm_image: do not preload full image on file_set.
2013-09-25 18:39:42 +09:00
Cedric Bail
29af5e1e43
elementary: update to new eo_parent_get/set API.
2013-09-25 13:34:27 +09:00
ChunEon Park
d461a8be05
elementary/widgets - set parents before widget constructs their body.
...
This avoids unnecessary multiple setups when obj and subobj has connected.
2013-08-27 14:19:19 +09:00
Daniel Juyung Seo
c5b0d63838
fixed documentation for consistency. Gets -> Get.
...
Occurance of Get is super much higher than Gets.
So change Gets to Get for consistency.
2013-08-22 05:24:46 +09:00
Cedric Bail
1baaa321a7
elm_image: add support for url.
2013-08-09 21:13:15 +09:00
Cedric Bail
118918d42c
elm_image: let's only propagate the event from one object.
...
NOTE: Why do we destroy and recreate the image object, couldn't we just reset its state ?
2013-07-29 11:31:23 +09:00
Daniel Juyung Seo
59c5970c72
elm_image.c: eo refactoring. place internal functions into a better place.
2013-06-25 11:15:15 +09:00
Daniel Juyung Seo
d0d4afd590
elm: refactoring. no printf in the library. use eina log instead.
2013-06-05 14:40:03 +09:00
Daniel Juyung Seo
9a7bbbf3be
elm_image.c: ELM_SAFE_FREE adoption.
...
I splited ELM_SAFE_FREE refactoring patches. One commit per each file as recommended.
For the detail, please refer 3072dab12f12fe83fb5a628d15efd5cded11787f.
2013-05-29 20:56:07 +09:00
Daniel Juyung Seo
5f053bf79a
elm: refactoring. use more ELM_FREE_FUNC.
2013-05-23 15:54:49 +09:00
Cedric Bail
c929b33052
elementary: properly sanitize headers order.
2013-05-03 16:07:06 +09:00
Daniel Zaoui
187d6bf8de
Elementary: replace eo_data_get for objects data referencing.
2013-05-01 11:04:09 +03:00
Daniel Juyung Seo
74b3eed5fd
elm: print the error message inside elm_widget_sub_object_add().
...
1. Do not need to print the same error message from all the widget codes.
2. Even though elm_widget_sub_object_add() can be used internally, there should be no error message at all.
Elm devs should fix it beforehand.
So it looks ok to print the error message in elm_widget_sub_object_add() to force elm devs to fix it.
3. Got additional code cleanups.
2013-04-03 11:28:53 +09:00
Tom Hacohen
d75cb616da
Change usage of eo_do_super to the new prototype.
2013-03-18 16:15:12 +00:00
Carsten Haitzler
3091ccc3f6
flesh out a lot more of dnd support in elm and add apis to set up dnd
...
targets for objects as well as initiate a dnd.
SVN revision: 84282
2013-02-21 13:21:08 +00:00
Cedric BAIL
1aaa6e41e1
elementary: as previously stated sizeof (long) != sizeof (void*)
...
SVN revision: 84014
2013-02-17 03:53:02 +00:00
Daniel Zaoui
cdd1eea853
Replace supported_types
...
Signed-off-by: Daniel Zaoui <daniel.zaoui@samsung.com>
SVN revision: 83803
2013-02-10 07:52:31 +00:00
Daniel Juyung Seo
ffa9c1e793
elm: Refactoring.
...
Smart data is already initialized so we do not need to re-initialize them if the value equals to 0, NULL, or EINA_FALSE.
Sometimes re-initializing smart data explicitly is needed for readability. So there are left overs.
SVN revision: 82228
2013-01-04 19:10:19 +00:00
ChunEon Park
a4c735c632
elementary/image - +FIXME
...
SVN revision: 81413
2012-12-20 01:54:57 +00:00
ChunEon Park
8680aa4ec9
elementary/image - fix the image to show the image right away if the image preloading is disabled.
...
SVN revision: 81207
2012-12-18 07:06:42 +00:00
ChunEon Park
da7e0b5e62
elementary/image - removed unnecessary lines.
...
SVN revision: 81205
2012-12-18 06:13:01 +00:00
Jaehwan Kim
4cf133cf15
Set the color of the hit_rect (0, 0, 0, 0), when the image is set the color.
...
SVN revision: 80002
2012-12-03 03:53:13 +00:00
Jaehwan Kim
81dc417ea7
Add the hit_rect in elm_image. When the image is changed, the evas callback cannot be called.
...
So hit_rect gets the mouse events in a top of the widget.
SVN revision: 79740
2012-11-27 09:29:16 +00:00
Daniel Zaoui
0c915e9023
Cleaning: removed include Eo.h in widgets because it was indirectly included by Elementary.h
...
Signed-off-by: Daniel Zaoui <daniel.zaoui@samsung.com>
SVN revision: 79682
2012-11-26 09:29:01 +00:00
Yakov Goldberg
5c98343198
We have ported to Eo all the widgets of elementary. We didn't change the inheritance itself, only the mechanism, as done previously in Evas, Ecore and Edje. We removed totally the previous inheritance mechanism.
...
Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
Signed-off-by: Daniel Zaoui <daniel.zaoui@samsung.com>
SVN revision: 79668
2012-11-26 06:32:53 +00:00
Daniel Juyung Seo
f05a7001f1
elm image, photo, plug, segment_control, thumb: Check button type and on_hold flag on mouse_down/up.
...
SVN revision: 79284
2012-11-14 10:49:54 +00:00
Jaehwan Kim
869f71a514
Fix the elm_image which is made up of a edje object can call a callback function
...
SVN revision: 79261
2012-11-14 03:27:15 +00:00
Gustavo Lima Chaves
5e1126935a
Gotta love those leftovers.
...
SVN revision: 79156
2012-11-12 12:56:21 +00:00
Cedric BAIL
07bfc8e14d
elementary: fix elm_image_orient_get/set and add a test case.
...
SVN revision: 74793
2012-08-02 08:15:05 +00:00
Gustavo Lima Chaves
451c8e6791
[elm] Image now (better) inheritable.
...
SVN revision: 74607
2012-07-30 22:36:19 +00:00
Seunggyun Kim
133937ed6d
From: Seunggyun Kim <sgyun.kim@samsung.com>
...
Subject: [E-devel] [PATCH] elm_icon is disappeared when theme hook is
called.
[Current Issue]
- The elm_icon can be disappeared when theme hook is called.
You can see the problem in the below situation.
a) elementary_test -> Layout select
b) elementary_config -> Fonts(toolbar) -> select some font
class, font,
style, size
c) Select "Apply" button
then two icons in title layout are disappeared.
[Main cause]
- when theme hook is called, internally
_elm_image_smart_sizing_eval
function is called.
The function calculates icon's min, max size.
But min, max size is calculated only in case no_scale is true or
resize_down or resize_up is false.
If application isn't set no_scale or resize_down/up, minw and
minh value
is just -1.
So when theme hooks is called then sizing_eval is called, icon's
min size
is -1 and that is disappeared.
[Change Description]
- I just added evas_object_size_hint_min_get(obj, &minw, minh) in
_elm_image_smart_sizing_eval.
Patch is working well, but I don't think this is right solution
because
that would break image(icon) min,max concept
SVN revision: 74163
2012-07-19 08:10:02 +00:00
Gustavo Lima Chaves
584c53c1be
[elm] New elm_widget_add() usage spread.
...
SVN revision: 74148
2012-07-18 21:03:39 +00:00
Daniel Juyung Seo
5575df4a09
elm image: Removed existing trailing whitespace while reading the
...
code.
SVN revision: 74031
2012-07-18 02:25:38 +00:00
Daniel Juyung Seo
6c7791d580
elm image: Renamed internal variable/function name to be less confusing. They could be confused by no_scale option.
...
SVN revision: 74030
2012-07-18 02:25:34 +00:00
Gustavo Lima Chaves
1e5389754e
[elm] Fix init on image.
...
SVN revision: 74015
2012-07-17 18:45:09 +00:00
Carsten Haitzler
c7fad4ef42
fix discomfitors list scalign thing.. was actually image/icon madness.
...
:)
SVN revision: 72109
2012-06-14 07:55:55 +00:00
Gustavo Lima Chaves
b15d43ef71
[elm] Oops, forgotten class smart cbs setting
...
paths.
This will also unb0rk Edje externals signal proxying.
SVN revision: 71868
2012-06-08 21:05:45 +00:00
Gustavo Lima Chaves
f61af030b6
[elm] Fixing typo, sorry.
...
SVN revision: 71511
2012-05-29 19:38:24 +00:00
Gustavo Lima Chaves
f72b6c8ad6
[elm] Warn about deprecation of some icon calls
...
The ones just wrapping their image counterparts should die eventually.
The signal callbacks on icons will die, too, eventually.
SVN revision: 71468
2012-05-28 20:35:35 +00:00
Gustavo Lima Chaves
1ee046765a
[elm] Image animation should be in the base
...
(image), not just icon.
SVN revision: 71467
2012-05-28 20:35:29 +00:00
Gustavo Lima Chaves
4f8b51b1aa
[elm] And here comes image, icon and photo on the
...
new schema.
els_icon smart object was brought to be the base of the image widget,
in the form of an image class.
An elm icon is now a elm image, with a little more on top of it.
An elm photo is a now base widget aggregating an icon.
Toolbar's internal usage of the former els_icon is now changed to
icons, instead.
Some naviframe instantiations were set to enable events during
transitions, because this code is buggy and my chages exposed the
problem. It will be fixed as soon as I get to port Naviframe.
SVN revision: 71429
2012-05-25 19:53:59 +00:00
Jiyoun Park
edd0df25aa
remove deprecated code related with
...
elm_image_scale_set/get
function.
SVN revision: 69277
2012-03-13 01:41:02 +00:00
Daniel Juyung Seo
0ad0ac6ff2
elm: fixed build break. sorry.
...
Signed-off-by: Daniel Juyung Seo <juyung.seo@samsung.com>
SVN revision: 68881
2012-03-07 06:54:17 +00:00
Daniel Juyung Seo
22b98643a0
elm image: Added elm_image_preload_disabled_set(). Patch by Shinwoo Kim.
...
On Wed, Mar 7, 2012 at 12:21 PM, cnook <kimcinoo@gmail.com> wrote:
> Dear All, Hello.
>
> There was no API for preload cancel. simple
>
> Sincerely,
> Shinwoo Kim.
SVN revision: 68879
2012-03-07 06:26:20 +00:00
WooHyun Jung
6009652735
[elementary] change API name from _scale_set to _resizable_set in
...
elm_image + elm_icon.
SVN revision: 68719
2012-03-05 13:36:01 +00:00
Mike Blumenkrantz
59528e6551
void function returning a void function confuses my small american brain
...
SVN revision: 68043
2012-02-16 22:41:52 +00:00
Mike Blumenkrantz
8638957866
aspect_ratio_retained -> aspect_fixed
...
SVN revision: 66926
2012-01-06 05:55:51 +00:00
Carsten Haitzler
2bdda6fe40
fix some of sanjeev's api review commentry.
...
SVN revision: 65752
2011-12-01 06:43:06 +00:00
Mike McCormack
beafec3884
elementary: Improve include file modularity
...
Move stuff out of elm_priv.h
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>
SVN revision: 63900
2011-10-07 05:56:07 +00:00
Rafael Antognolli
c30abbba25
elementary/image - Improve documentation and add an example.
...
Doxygen comments moved out from .c and in to Elementary.h.in. They
received better descriptions for most of the API too.
SVN revision: 61388
2011-07-14 20:48:00 +00:00
ChunEon Park
64d22905a0
elementary/image - just removed white trailing
...
SVN revision: 60722
2011-06-27 07:34:30 +00:00
ChunEon Park
21a8768ad0
elementary/image - fixed typo, stuffed missings in doxy.
...
SVN revision: 60720
2011-06-27 05:05:05 +00:00
ChunEon Park
e33cf1eb0f
elementary/elm_image - added 2 APIs elm_image_aspect_ratio_retained_set/get
...
these API allows the image to resize with changeable aspect ratio.
SVN revision: 60719
2011-06-27 05:02:40 +00:00
Daniel Juyung Seo
0349ab98ce
elm: Fixed wrong vim formatting.
...
SVN revision: 60714
2011-06-27 02:54:41 +00:00
Michael BOUCHAUD
179252f378
elementary: add object_get to elm_image
...
SVN revision: 59543
2011-05-19 20:02:16 +00:00
ChunEon Park
ef3bc9a48d
elementary / image, icon - added missing lines about signal callback table.
...
SVN revision: 58694
2011-04-15 17:08:04 +00:00
ChunEon Park
89787877e8
elementary/image, icon - updated signal callback table
...
SVN revision: 58693
2011-04-15 17:05:34 +00:00
ChunEon Park
c7c99ddea6
elementry / entry, menu, notify, list, gengrid, actionslider, image, icon, anchorview, fileselector_button, calendar, photocam, anchorblock,
...
button, map, colorselector, hover, photo, diskselector, index, bubble, pager, hoversel, check, scrolled_entry, clock, flipselector
updated signal callback list in the doxygen.
should update genlist, progressbar ...
SVN revision: 58335
2011-04-04 16:34:18 +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
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
116cd3c6dc
Setters/Getters fix 1.
...
Setters can't receive const pointers.
All setter need corresponding getter.
In this patch, i adjust getter in: Bg, Box, Icon, Image, Win and Main.
SVN revision: 53917
2010-10-27 14:38:37 +00:00
김지훈
d99918389f
From: 김지훈 <imfine98@gmail.com>
...
I changed elementary source code related to focus functions.
Eina_Bool is used instead of integer type in those functions.
SVN revision: 52839
2010-09-28 04:28:14 +00:00
Lucas De Marchi
3e8419285d
Fix common misspellings
...
Following misspellings were fixed:
accomodate->accommodate
alwyas->always
backgorund->background
beween->between
dependant->dependent
desireable->desirable
doesnt->doesn't
emmitted->emitted
imediately->immediately
ocurred->occurred
sucess->success
ther->the
tranformed->transformed
usefull->useful
SVN revision: 52009
2010-09-09 00:35:43 +00:00
Brett Nash
9640443824
Add 'drop' callback when objects are dropped.
...
SVN revision: 51977
2010-09-08 06:20:05 +00:00
Brett Nash
bf912e24c0
Elm: doco++ (image editable set)
...
SVN revision: 51975
2010-09-08 06:19:57 +00:00
Brett Nash
308e09effd
editiable flags to allow drag dests for photso and images.
...
SVN revision: 51973
2010-09-08 04:55:20 +00:00
Brett Nash
6e3764585e
Docimet elm_image_object_size_get
...
SVN revision: 51968
2010-09-08 04:55:01 +00:00
Lucas De Marchi
54531a69ed
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
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
6792e2db2c
warning fix 1. :)
...
SVN revision: 47074
2010-03-09 07:30:48 +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
Gustavo Sverzut Barbieri
24d6072ecc
fix valgrind reported problems.
...
GENERAL WARNING:
do NOT delete sub-objects (elm_widget_sub_object_add) or resize object
(elm_widget_resize_object_set) from del_hook()!! These are deleted
automatically before this function is called, thus you might double
free.
Fixed all occurrences I've spotted with valgrind. Please do not add more :-)
SVN revision: 43682
2009-11-13 22:22:05 +00:00
Carsten Haitzler
c3ccf673e8
1. add signal emits for scrolling in photocam
...
2. standardise all callback names to be x,y,z etc. if they have multiple words.
3. add cal to get the region viewed
4. test photocams signals and new call
SVN revision: 43069
2009-10-14 08:41:36 +00:00
Christopher Michael
7f910399b5
More formatting & some cleanup.
...
SVN revision: 42727
2009-09-26 18:43:26 +00:00
Iván Briano
e8bf64d566
Improve documentation for Evas, Ecore, Edje and Elementary.
...
Work by:
- Thiago R. Masaki (mostly)
- Fabiano Fidencio
- Gustavo Lima
SVN revision: 42553
2009-09-17 22:39:18 +00:00
Carsten Haitzler
d45553e452
image size get from princeamd
...
SVN revision: 42337
2009-09-08 04:28:05 +00:00
Vincent Torri
e2be9d2b24
remove trailing spaces
...
SVN revision: 41261
2009-07-07 06:46:51 +00:00
Cedric BAIL
29adfe9fc8
* elementary: Full switch to Eina data type.
...
SVN revision: 41081
2009-06-17 15:35:19 +00:00
Carsten Haitzler
26b4f340b6
actually give widgets type name strings and set parent by default
...
SVN revision: 40618
2009-05-13 12:21:52 +00:00
Viktor Kojouharov
7b2198b7d3
From: Viktor Kojouharov <vkojouharov@gmail.com>
...
this is a patch for the elm_image so far.
After some valgrind work and with the help of Gustavo, the orient code
for the image is not leak free (according to valgrind). According to
k-s, this way of doing things would avoid any nasty caching errors I've
been getting though valgrind before.
SVN revision: 40314
2009-04-23 03:48:41 +00:00