Commit Graph

386 Commits

Author SHA1 Message Date
Stefan Schmidt 572538e490 build: Make sure we don't redefine SCREENSHOTS but append to it
In 540741dd48d0720876a5e68b2aa4aa7a9d79b8a3 one screenshot was
moved into HAVE_CXX_11 guards to allow building with cxx11 disabled.

But in the case of cxx11 enabled we want all screenshots plus this
one so append here instead of redefine.
2014-08-06 10:59:49 +02:00
Daniel Juyung Seo d9e6ad9ca1 gitignore: ignore a generated file. 2014-08-04 01:27:19 +09:00
Felipe Magno de Almeida eb82d1b30c Fixed trying compiling C++ examples with --disable-c++11
The Makefile.am in examples weren't conditioning the compilation of
C++ examples when C++ is disabled in configuration of elementary.
Which made the compilation to fail when --disable-c++11 is
used (in EFL or elementary) on C++ examples.
2014-07-30 08:43:48 +09:00
Felipe Magno de Almeida fae1461336 Fixed C++ box_cxx_example_02.cc example compilation
The example didn't include "elm_interface_atspi_widget_action.h" and
so failed on headers that used the type Elm_Atspi_Action in the
function's prototypes.
2014-07-29 00:28:10 -03:00
Felipe Magno de Almeida e455a0f640 Fix C++ box_cxx_example_02.cc and removed text_part_{set/get} from elm_button
As discussed in IRC, the commit that added text_part_set,
text_part_get functions to elm_button are wrong. The correct functions
to be used are from elm_layout: text_set and text_get.

Fixed the example to use these functions that are inherited on
elm_button from elm_layout and fixed the cleanup of childrens
in the parent window by using the del event callback.
2014-07-23 16:51:01 -03:00
Savio Sena fc4ef12519 autotools: Fixed 'make check' for elm++ example.
Shouldn't pass -fPIC explicitly. Autoconf should be able to determine that.
2014-07-22 04:43:44 -03:00
Felipe Magno de Almeida c65ecb4445 c++: Added workaround for correct unref times
The legacy functions do unref after construction of the object. Which
doesn't happen on the eo_add calls directly. So it is needed to do
two unref's before letting the parent own the child.
2014-07-21 20:53:12 -03:00
Felipe Magno de Almeida 123040ea48 cxx: refreshed example 2014-07-21 20:53:12 -03:00
Felipe Magno de Almeida b12f6f55be cxx: Changed C++ example to use lambdas 2014-07-21 20:53:12 -03:00
Felipe Magno de Almeida b546141396 Removed C-style code from C++ example 2014-07-21 20:53:12 -03:00
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