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