Commit Graph

426 Commits

Author SHA1 Message Date
Felipe Magno de Almeida aea51868e3 Added simple, initial, C++ example 2014-07-21 20:53:12 -03:00
Daniel Juyung Seo e9bcb8f2a5 gitignore: do not track generated files. 2014-07-20 05:22:36 +09:00
Daniel Juyung Seo e01e7683e6 examples: Call window object show after its content creation.
Window show call triggers all smart objects' smart calculation
and in case of X11, XMapWindow() is called directly.
Also moved resize of window accordingly.
2014-07-20 05:21:08 +09:00
Daniel Juyung Seo 2782c35fbc example/evas3d: set the window name as other example codes.
__WIN__ is too distinguishable.
2014-07-20 05:08:41 +09:00
Jaehyun Cho 72ab60a50b elementary examples: Add an elm_map example using evas3d
Summary: Add an elm_map example using evas3d. elm_map is shown in 3D or 2D.

Reviewers: cedric, Hermet

Reviewed By: Hermet

Subscribers: cedric, seoz

Differential Revision: https://phab.enlightenment.org/D1120
2014-07-16 11:00:52 +09:00
Daniel Juyung Seo e39781d834 examples: use a proper casting for 64 bit system by uintptr_t. 2014-07-10 00:45:47 +09:00
Daniel Juyung Seo 927ed7c013 .gitignore: do not trace build result. 2014-07-03 02:32:16 +09:00
Cedric BAIL 600ff08ceb gitignore: let's not track generated files. 2014-06-23 09:36:39 +02:00
ChunEon Park 793145c4fb examples - renamed evas3d examples. 2014-06-09 13:31:54 +09:00
ChunEon Park ff9238ad0e examples - clean up the button on 3d object example.
1. remove shadow var warnings.
2. use elm_main()
3. set engine gl in default.
2014-06-05 16:38:34 +09:00
se.osadchy 81dc840d03 example: add new example for button and Evas_3D object.
Summary: This example shows the mechanism of elementary widget (button) adding to the 3d scene object.

Reviewers: Hermet, cedric, raster

Differential Revision: https://phab.enlightenment.org/D937

Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
2014-06-04 19:37:23 +02:00
ChunEon Park b3b5b83cf1 examples - clean up 3d_scene_on_button_example. 2014-06-02 22:50:33 +09:00
se.osadchy 26a4b301dd [Examples] Add new example for evas-3d and widget.
Summary: This example shows the mechanism of scene object adding to the widget button.

Reviewers: Hermet, cedric, raster

Differential Revision: https://phab.enlightenment.org/D914
2014-06-02 22:34:25 +09:00
Carsten Haitzler ec896a6acc fix example to follow namespace correctness in elm theme
fixes T1024
2014-05-26 19:11:02 +09:00
Daniel Juyung Seo bbb70363f1 example: added ellipsis: -1 to text parts which have min 1. 2014-05-17 20:22:00 +09:00
Daniel Juyung Seo 87ce5fcf58 diskselector_example_02: Added 'selected' callback usage.
This reveals the diskselector bug that the GUI is not updated even after
the selected item is changed.
Click "Delete item" button to test it.
2014-03-04 00:33:05 +09:00
Daniel Juyung Seo 5910426fce flipselector_example: fixed to return correct value.
- return EINA_TRUE when the event is processed. return EINA_FALSE
otherwise.
- use 'else if' statement without successive 'if' statement.
- removed unnecessary casting.
- marked on_hold flag to processed event.
2014-03-02 16:19:30 +09:00
Daniel Juyung Seo 1a29ad5679 elm: removing trailing white space ceremony for 1.9 release. 2014-03-02 00:52:26 +09:00
Carsten Haitzler 4053da6f6f more thread example fixes
this should cover fixes for T956
2014-02-17 17:08:18 +09:00
Carsten Haitzler a93ca4497d fix thread complaint in thread examples 2014-02-17 17:04:12 +09:00
Carsten Haitzler 8d2c55df46 fix thread complaints in examples 2014-02-17 16:59:50 +09:00
Carsten Haitzler b48010fb59 examples - thread 6 - ensure threads quit quickly to avoid timeout on shutdown 2014-02-17 16:02:21 +09:00
Carsten Haitzler 34246e34a4 examples - thread - cancel ecore thread before shutdown 2014-02-15 14:43:03 +09:00
Carsten Haitzler 08a175d31c examples - threads - fix nitpick on still running threads on shutdown
this fixes T955
2014-02-15 14:41:13 +09:00
Daniel Juyung Seo 3a84bc82b5 spinner_example: Made spinner editable to have more test cases about
changed and delay,changed callbacks.
2014-02-05 02:21:16 +09:00
Daniel Juyung Seo b6b90d7c83 test, examples fileselector_entry: Changed the usage of deprecated APIs
to recommended APIs.
2014-01-21 23:53:48 +09:00
Daniel Juyung Seo b3dff64665 test, examples fileselector_button: Changed the usage of deprecated APIs to recommended
APIs.
2014-01-21 23:44:29 +09:00
Daniel Juyung Seo 16479145e9 elm: Use EINA_FALSE instead of 0 for elm_image_resizable_set()
parameters.
2014-01-08 10:28:18 +09:00
Daniel Juyung Seo bdeb046b6d elm examples: removed all the unnecessary empty lines.
being pedantic.
2013-12-15 06:24:41 +09:00
Daniel Juyung Seo 1c553d7d24 elm examples: call evas_object_show(win) after its content creation.
- refer commit 64fd5a825b24591aedb9cac695d03f5b4d867442 for the detail
explanation.
- also move evas_object_resize(win, xx) alongside evas_object_show(win).
2013-12-15 05:57:30 +09:00
Carsten Haitzler 3c0fde2f66 example - prefs 03 - disallow animation time of 0 (just not valid/sensible)
this fixes T602
2013-12-10 18:05:09 +09:00
Chinmaya Panigrahi 0bd965abc8 [Radio] Correcting example program of radio in elementary
Summary: Minor defect in example program fixed.

Test Plan: gcc -g radio_example_01.c -o radio_example_01 `pkg-config --cflags --libs elementary`

Reviewers: seoz, singh.amitesh

Differential Revision: https://phab.enlightenment.org/D363
2013-12-04 08:21:56 +09:00
Cedric Bail fafb90676c autotools: improve build system to be able to correctly pick outside and inside tools. 2013-12-01 23:35:43 +09:00
Daniel Juyung Seo 3c418bdad3 track_example_01.c: internal refactoring of track example code.
- removed unnecessary box.
- fixed a typo of gcc build command.
2013-11-28 19:59:39 +09:00
Daniel Juyung Seo 782c54cee0 general_funcs_example.c: fixed wrong window's resize object addition logic in general_funcs sample code.
Do not use elm_win_resize_object_add() if that object is already a child of another object.
2013-11-22 22:49:19 +09:00
Sanjeev BA 1a4f8a0979 T531 - Elemntary_popup does not respond to 'close' event
Reviewers: seoz, raster

Reviewed By: seoz

Differential Revision: https://phab.enlightenment.org/D344
2013-11-22 06:16:49 +09:00
ChunEon Park d362b574ab elementary/ctxpopup - fix T235 ctxpopup_example_01 can popup many times at once.
I know this is not fundamental fix but there is no solution at this moment unless fixing the evas.
2013-11-20 10:58:05 +09:00
Daniel Juyung Seo fc48b1bf7a genlist_example_04/05.c: initialize pointer variables and check null.
This removes build warnings.
2013-11-20 10:46:10 +09:00
Daniel Juyung Seo 674287da50 index_example_01.c: sample code internal refactoring.
- avoid using unnecessary global variable.
- use common name for item variable, it.
- print out more useful messages on _active_set.
2013-11-20 10:46:10 +09:00
Daniel Juyung Seo 7e53ba272d index_example_01.c: fixed wrong example code. elm_index_level_go() should be called after every index item changes.
This fixes T510.
2013-11-20 10:46:09 +09:00
Michael Bouchaud bcce0eb70e elementary: fix image counts in slideshow exemple 2013-11-16 02:48:29 +01:00
Carsten Haitzler 9c96c4fa36 fix color premul complaints in examples
this should fix T498
2013-11-16 10:21:03 +09:00
Carsten Haitzler 9d4a9900cc option build deps that efl guarantees... now just are assumed and not ifdef'd 2013-11-12 22:56:05 +09:00
Carsten Haitzler 2124d59625 add another example to ignores 2013-10-26 23:51:10 +09:00
Daniel Juyung Seo 200e3a0127 efl_thread examples: fixed comment typos. 2013-10-25 00:40:18 +09:00
U. Artie Eoff 8982c267a9 elm/examples: port 265eff94bb6274c284e8e111192f9922906990ac
"Autodetect engine on the glview example"

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
2013-09-12 19:54:13 -07:00
U. Artie Eoff 47cdc87bac examples: Fixed Makefile regression of rELM1dcd32068
https://phab.enlightenment.org/T366

make - Circular dependency dropped

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
2013-09-12 19:28:28 -07:00
ChunEon Park ef23dda65e elementary - oops missed example adding. 2013-09-12 23:30:23 +09:00
ChunEon Park 5957b118de elementary - introduces 3 apis elm_object_item_track/untrack/track_get(). 2013-09-12 23:24:02 +09:00
Daniel Juyung Seo f06cd8aad3 Overall refactoring.
1. Use image variables in smart way.
2. Fixed function parameter formatting.
3. Changed callback function names.
4. Reordered control panel buttons logically.
2013-09-01 08:28:01 +09:00
Daniel Juyung Seo 3685ea66fe slideshow_example.c: fix notify show issue.
1. Adding notify to window resize object is not a good idea.
2. This fixes T262.
2013-09-01 07:53:07 +09:00
Daniel Juyung Seo 559b8e96fa gengrid_example.c: refactoring layout.
This fixes T239.
2013-08-13 02:25:15 +09:00
Daniel Juyung Seo a35b31849b transit_example_04.c: refactoring the sample code layout.
This fixes T263.
2013-08-13 02:13:38 +09:00
Daniel Juyung Seo 634bb39958 thumb_example_01.c: revival of size set. special thanks to okra. 2013-08-12 13:34:58 +09:00
Daniel Juyung Seo b20c482cb0 progressbar_example.c: fixed wheel style pluse issue. 2013-08-07 13:53:50 +09:00
Carsten Haitzler d0d2020b07 fix up elm thumb docs/examples. 2013-08-05 18:45:27 +09:00
Chris Michael 8e02c9541c Add elm quit policy to conformant_example_02.
NB: In the future, can we please add this to any new examples also ?
so that we do not have to waste time chasing down stupid phab tickets
about apps not closing when the 'X' is pressed...

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-23 07:35:02 +01:00
Daniel Juyung Seo a4e8501ed6 examples: refactoring about elm_win_resize_object_add.
1. call evas_object_size_hint_weight_set() before calling elm_win_resize_object_add() as documented.
2. evas_object_size_hint_align_set() is not needed for elm_win_resize_object_add().
2013-06-27 08:27:48 +09:00
Daniel Juyung Seo 1e6f58bd01 examples: refactoring. use elm_win_util_standard_add() for normal cases. season 4.
now it's done :)
2013-06-26 21:26:21 +09:00
Daniel Juyung Seo d372445a1b examples: refactoring. use elm_win_util_standard_add() for normal cases. season 3. 2013-06-26 21:26:21 +09:00
Daniel Juyung Seo 61dd0ba0ba hoversel_example_01.c: refactoring example.
Make the button text description clear. It was ambigous what will happen if we press the buttons and hoversel items.
This fixes T181 issue. https://phab.enlightenment.org/T181
2013-06-26 16:24:53 +09:00
Daniel Juyung Seo 1e4ee8a6e5 examples: refactoring. use elm_win_util_standard_add() for normal cases. season 2. 2013-06-26 15:34:38 +09:00
Daniel Juyung Seo 53a3c18c5b examples: refactoring. use elm_win_util_standard_add() for normal cases. 2013-06-26 15:16:08 +09:00
Daniel Juyung Seo c5486ca5d3 list_example_02.c: remove box. box is not needed in this example. 2013-06-26 11:02:44 +09:00
Daniel Juyung Seo fc08fd6bc6 src/examples: use delete,request callback only when it's really needed. this can be covered by elm_policy_set and elm_win_autodel_set easily. 2013-06-26 10:54:58 +09:00
Daniel Juyung Seo eb41a56d85 ctxpopup_example01.c: delete ctxpopup object when it's dismissed. 2013-06-26 09:35:26 +09:00
Daniel Juyung Seo 376ebbadb2 examples: fixed warnings. 2013-06-25 12:05:43 +09:00
Daniel Juyung Seo a7082cfb73 naviframe_example.c: added very simple naviframe example. 2013-06-19 02:02:17 +09:00
Daniel Juyung Seo 6ae4796cd1 genlist_example_0x.c: clean up sample codes.
1. use elm_win_util_standard_add in normal case. don't need to create the bg manually.
2. size hint align is not needed for window resize object.
2013-06-19 01:25:32 +09:00
Daniel Juyung Seo 8e8f98ce93 src/examples/.gitignore: updated git ignore. 2013-06-16 22:28:46 +09:00
Ryuan Choi c3e0b5fc7c Fix build break on example
I got a below break while building example.

/usr/bin/ld: location_example_01.o: undefined reference to symbol 'elocation_address_free'
/usr/bin/ld: note: 'elocation_address_free' is defined in DSO /usr/elocal/lib/libelocation.so.0 so try adding it to the linker command line
/usr/elocal/lib/libelocation.so.0: could not read symbols: Invalid operation
2013-06-14 09:25:38 +09:00
Stefan Schmidt 3134a75de1 elm_web: Fix up various typos from URL conversion.
Ryuan please check if I adapted these correctly. And next time please
do a compile before pushing it. Spank :)

Thanks to Uartie for spotting it.
2013-06-13 15:45:33 +01:00
Ryuan Choi e11bbc24b5 web/web2 : Deprecated uri. url will be used instead.
ewebkit used uri and url as mixed for a long time.
But last year, ewebkit2 decide to use url for the consistency.

Below is discussion and webkit-efl bug about "uri vs url"
https://lists.webkit.org/pipermail/webkit-efl/2012-October/000312.html
https://bugs.webkit.org/show_bug.cgi?id=98643
2013-06-13 10:30:10 +09:00
Daniel Juyung Seo e44d3427e1 fileselector_example.c: fix the compile command. 2013-06-12 14:23:13 +09:00
Eduardo Lima (Etrunko) fffdaeb025 Split .gitignore into multiple files
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
2013-06-11 18:18:06 -03:00
Lucas De Marchi cb495f13de Rename edbus->eldbus 2013-04-23 13:05:43 -03:00
Rafael Antognolli 542b7f4bae elm/examples: Fix hoversel example to don't check for expanded mode.
Checking if the hoversel is not expanded does not make sense, since it
will be always expanded when one is clicking on its visible items.
2013-04-08 17:11:06 -03:00
Rafael Antognolli 44b230b56a elm/examples: Fix layout_example_02.
Remove segfault and correctly cycle through the icons.
2013-04-08 16:19:08 -03:00
Daniel Juyung Seo bba7bd67d8 src/examples: fixed formatting. 2013-04-08 19:29:19 +09:00
Eduardo Lima (Etrunko) 5858baf6e0 Fix edje_cc verbosity if building with V=1
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
2013-03-07 18:05:53 -03:00
Daniel Juyung Seo 6cd68a82da elm bg_example_01.c: simplified example. 2013-03-08 03:16:55 +09:00
Daniel Juyung Seo 5408dc3060 elm anchorblock_example_01.c: removed deprecated widget example.
anchorview and anchorblock were removed 1 year ago.
2013-03-08 02:58:36 +09:00
Gustavo Lima Chaves 312d0217a0 An internal layout error, on a widget set, is a CRITICAL error. 2013-03-01 23:04:31 -03:00
Daniel Juyung Seo 9fd0cb4708 elm test_panes.c, panes_example.c: refactoring. use the panes in a better way.
1. do not use unnecessary global variable.
2. remember the last left pane size and set it later when double clicked again.
3. do not call elm_panes_content_left_size_get() twice.

SVN revision: 83963
2013-02-15 19:32:05 +00:00
Jihoon Kim 48fc67271f fixed print problem of list_example_03
Before the patch, the list item didn't appended or prepended in the list.
Algorithms were not wrong, but function "elm_list_go(li)" was missed before showing list.
So, I added "elm_list_go(li)" in some proper functions.

Written by Jiyoung Choi <jychoi7.choi@samsung.com>



SVN revision: 83712
2013-02-07 07:54:13 +00:00
Jihoon Kim 27617917a9 Hello, I'm jiyoung choi.
It's the first time sending patch. haha :)

I found the simple typo.
1. At the description of list : algarism (x) ----> algorithm (o)
2. ~trunk/elementary/src/examples/ fileselector_entry_example.c
   line 8 : gcc -g file selector_entry_example.c -o file selector_entry_example 'pkg-config --cflags --libs elementary' (x)
   *** wrong word spacing (file selector) ***
   ----> gcc -g fileselector_entry_example.c -o fileselector_entry_example 'pkg-config --cflags --libs elementary' (o)

I fixed these 2 typo.
So I want you to check this patch.



SVN revision: 83707
2013-02-07 07:26:45 +00:00
Daniel Juyung Seo 01a96dd036 elm index_example_0x.c: Fixed build command.
SVN revision: 82557
2013-01-10 11:49:55 +00:00
Daniel Juyung Seo e6a6ecfb97 elm index: Call elm_index_level_go(). It's a must.
SVN revision: 82555
2013-01-10 11:46:34 +00:00
Cedric BAIL 951f944737 elementary: remove build dependencie from old e_dbus.
SVN revision: 82517
2013-01-10 07:50:14 +00:00
Jonas M. Gastal 24e2e9d2e7 elm: Don't try to take screenshot of glview_example since it wont work and isn't used.
SVN revision: 81565
2012-12-21 17:38:05 +00:00
Daniel Juyung Seo dc0ad517bf elm codegen_example.c: Fixed formatting.
SVN revision: 81216
2012-12-18 08:08:39 +00:00
Daniel Juyung Seo bfd55da606 elm codegen_example.c: Use correct command to build examples.
SVN revision: 81215
2012-12-18 08:07:52 +00:00
Daniel Juyung Seo 31c852ca9d elm location_example_01.c: Fixed a build command of location example.
SVN revision: 81197
2012-12-17 23:46:18 +00:00
Flavio Vinicius Alvares Ceolin b470aaa0f2 adding support for elocation
SVN revision: 80657
2012-12-11 14:05:48 +00:00
Jonas M. Gastal d6b0cea1e8 elm: Fix instruction of how compile icon_example_01.c
Author:    Joao Paulo Fernandes Ventura <ventura@profusion.mobi>

SVN revision: 80470
2012-12-07 16:19:56 +00:00
Gustavo Sverzut Barbieri 3a5e358d9d damn it, forgot the pkg-config is a different name
SVN revision: 80111
2012-12-03 21:49:29 +00:00
Gustavo Lima Chaves 166cf36825 [elm] Silent warnings on prefs examples.
SVN revision: 79942
2012-11-30 19:57:20 +00:00
Gustavo Lima Chaves 6063c0dc5d Hopefully don't bitch about elm_prefs_cc not being
found anymore.




SVN revision: 79914
2012-11-30 16:52:05 +00:00
Gustavo Lima Chaves 87648e9ace [elm] Introducing a new widget, along with its infrastructure -- prefs.
The prefs widgets aims to aid with the implementation of
preference/configuration windows/UI elements in Elementary-based
applications (think of Enlightenment configuration dialogs,
elementary_config, etc).

Prefs is a widget that populates its view with widgets
bound to data types (following the instructions of a ".epb" file that
describes a set of items) and handles the storage/restoration of such
data on a configuration file automatically.

There's also the prefs_data handle, which is the one dealing with
user saved data for a given epb defaults set.

The documentation on the new widget is rich (we have examples and even
an EPC reference) and there's a new test entry for it.

I'm blogging about it soon, with screeshots and more details.

Enjoy.

ps.: This is a team work by Murilo Belluzzo, Ricardo de Almeida and me.



SVN revision: 79909
2012-11-30 14:41:39 +00:00
Gustavo Lima Chaves 04ced4384a [elm] Fix typo on notify example.
SVN revision: 78975
2012-11-07 18:28:48 +00:00