Daniel Juyung Seo
7908a77ad8
elm: Fixed formatting.
...
SVN revision: 69700
2012-03-28 09:02:22 +00:00
Gustavo Lima Chaves
02aa57d92e
[Elm] Ok, since we don't have time to address all functions, just
...
return val. on the most critical one: file_set (on bg).
SVN revision: 68856
2012-03-06 22:35:27 +00:00
Gustavo Lima Chaves
c74b07247b
[Elm] Now applying some more ret. values on bg.
...
Also bumping docs, as I had to fix them.
SVN revision: 68854
2012-03-06 22:12:42 +00:00
Jiyoun Park
6bfd5967e4
remove deprecated code related with elm_bubble and elm_bg_overlay.
...
SVN revision: 68775
2012-03-06 06:54:02 +00:00
ChunEon Park
085e500875
elemlentary - minor changes.
...
guarantee the compatibility for priveous content_set/get/unset changes.
SVN revision: 65320
2011-11-17 00:42:14 +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
ChunEon Park
31678440d9
elementary/bg - content_set/get/unset, fixed indentation
...
SVN revision: 64484
2011-10-28 08:31:42 +00:00
Rafael Antognolli
c8e506d9ed
elementary: add some examples and a better explanation to elm_bg.
...
The example code was copied from elementary_test, but now there are 3
pages (one for each example) explaining its usage.
SVN revision: 60394
2011-06-16 14:10:23 +00:00
Daniel Juyung Seo
77450413d7
Elementary src/lib: Removed all trailing whitespaces.
...
SVN revision: 58492
2011-04-08 14:36:29 +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
0369dbff50
elementary / calendar, button, colorselector, bg, cnp_helper, bubble, check, box, clock - removed white spaces
...
SVN revision: 58253
2011-04-01 11:35:07 +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
ChunEon Park
11365c7445
fixed white trailing
...
SVN revision: 57962
2011-03-22 07:51:17 +00:00
ChunEon Park
8bc2330ac2
elementary / elm_bg - modified minor things.
...
changed int to Evas_Coord
appended EINA_NONNULL to a API in header.
SVN revision: 57031
2011-02-14 17:13:40 +00:00
ChunEon Park
878bef7fa7
elementary/elm_bg - added new api elm_bg_load_size_set
...
SVN revision: 57029
2011-02-14 16:38:18 +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
helen
59351f8aac
Fix elm_bg_file_set/get
...
If the file is a NULL pointer, it will delete the old imagem and set its
internal strings about file and group to NULL.
In the get function if the file argument is null does not mean that
it will not retrieve the group too.
SVN revision: 54986
2010-11-25 15:16:48 +00:00
Tiago Rezende Campos Falcao
3a6369174d
Revert. Remove INVALID enum option
...
SVN revision: 53926
2010-10-27 17:01:58 +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
Christopher Michael
22e8a30e9b
Fix elm_bg overlay issue:
...
The problem was that when you toggle show/hide overlay in
ELM_BG_CENTER mode, the 'image' itself would not retain it's proper
size (it would fill the whole swallow and thus not be 'centered'
anymore). Solved by setting hint_min/max on the image when in centered
mode.
NB: Raster this fixes that elm_bg issue I mentioned the other day so
all is well now ;)
SVN revision: 53476
2010-10-15 23:03:56 +00:00
Leandro Pereira
c245c6483f
[Elementary] Code cleanups, as suggested by clang static analyzer.
...
SVN revision: 53472
2010-10-15 21:26:11 +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
Christopher Michael
6a3bfc1a6a
Add 2 new options for bg image: Center & Stretch.
...
Add a new Test for BG Options.
Add a new 'bg_overlay' in objects/test.edc for testing bg overlay stuff.
NB: There is an issue here that I cannot seem to get straight (perhaps
pebkac, not sure)...but basically it seems that showing/hiding the
overlay causes the other swallows of the edc to get recalc'd and makes
the 'image' not work well w/ Center.
SVN revision: 53307
2010-10-12 14:38:46 +00:00
Christopher Michael
4595005550
Better name(s) for the bg option enum.
...
SVN revision: 53302
2010-10-12 10:30:32 +00:00
Christopher Michael
c178a21aca
Add ability for elm_bg to have a color rectangle.
...
Add ability for elm_bg to have 'overlays' such as animated fog, etc.
Normalize elm_bg internal object names:
Rename wd->img to the more generic wd->base.
Remove erroneous evas_object_resize(wd->base, 0, 0) (not needed).
Fix typo in doxy comment.
Add doxy for new functions (color_set, overlay_set)
Add swallow part in edc for bg color rectangle.
Fix overlay swallow part offsets.
SVN revision: 53299
2010-10-12 08:46:17 +00:00
Christopher Michael
52ebe2e754
Make 'Tiled' actually do a tile :)
...
SVN revision: 53292
2010-10-12 04:34:42 +00:00
Christopher Michael
1921dd5802
Widget_Data gets passed to the _custom_resize callback as 'data'
...
already, so no need to refetch it.
SVN revision: 53291
2010-10-12 04:21:50 +00:00
Christopher Michael
042a9432d3
Add option for elm_bg to be Tiled, Scaled (more options to come).
...
SVN revision: 53290
2010-10-12 04:12:48 +00:00
Christopher Michael
76f19fc03a
String.h is already included via Elementary.h
...
SVN revision: 53280
2010-10-12 02:38:19 +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
Carsten Haitzler
23d81913d8
ok strange bg bug when theme changing on the fly. why?
...
SVN revision: 52277
2010-09-14 23:42:50 +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
Gustavo Sverzut Barbieri
e01d72fe26
Use eina_stringshare_replace to avoid crashes.
...
By: Rafael Fonseca <rfonseca@profusion.mobi>
SVN revision: 47187
2010-03-13 21:01:26 +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
Christopher Michael
0163f8c703
Add missing function prototype.
...
SVN revision: 43099
2009-10-15 19:33:28 +00:00
Christopher Michael
01e0f540db
Formatting.
...
SVN revision: 42713
2009-09-26 17:28:01 +00:00
Vincent Torri
e2be9d2b24
remove trailing spaces
...
SVN revision: 41261
2009-07-07 06:46:51 +00:00
Carsten Haitzler
47b94a0ecc
more docs!
...
SVN revision: 41238
2009-07-03 02:24:43 +00:00
Cedric BAIL
d78cb6a54e
* elementary: Remove use of deprecated evas_stringshare.
...
SVN revision: 40981
2009-06-09 15:29:41 +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
Carsten Haitzler
73f3de55f4
patch from victor to make styles generic - not all widgets support them
...
tho... but calls to set style are now. old calls are left in place, but
likely will be phased out.
SVN revision: 40317
2009-04-23 04:03:27 +00:00
Carsten Haitzler
6e0c99e69f
fixes for some bugs i found, tree ability in genlist (basic not fully done
...
visually yet), and some win util calls added.
SVN revision: 39456
2009-03-13 05:50:38 +00:00
Carsten Haitzler
986fcca059
allow for all widgets.objects to have different scaling factors.
...
add tests for these
add tests for inheriting scaling factor from parent
fix test app to use list now instead of box+buttons (cleaner)
SVN revision: 38909
2009-02-03 05:09:03 +00:00
Carsten Haitzler
b3aab18f67
and vtorri's wince support for elementary. god forbid. we support windows! :)
...
SVN revision: 38214
2008-12-19 00:34:56 +00:00
Carsten Haitzler
ee7131de29
and make elm auto-scale much better on the fly - not perfect... but not to
...
shabby. also in theory should cover theme changes on the fly... haven't tested.
SVN revision: 37662
2008-11-15 13:58:50 +00:00
Carsten Haitzler
a0fd0771f5
theme stuff is done properly now with a style (always default - onyl one
...
available for all widgets for now) and icons emit callback.
SVN revision: 36522
2008-10-08 09:33:05 +00:00
Carsten Haitzler
e8ef0d8bab
new elm api - more evas liek and evas/edje freindly. i can mvoe forward now.
...
SVN revision: 36487
2008-10-07 01:23:49 +00:00