Commit Graph

403 Commits

Author SHA1 Message Date
Jee-Yong Um a3a42ea192 elm_label: Add an example handling "slide,end" signal
Summary:
Label widget example that handles "slide,end" signal
When each label ends its slide, it stops and makes next one slide.

Reviewers: Hermet

Subscribers: Hermet

Differential Revision: https://phab.enlightenment.org/D1787
2014-12-18 14:24:29 +09:00
Daniel Juyung Seo 24011adab4 example/sphere_hunter: Clean up source code.
- Remove shadow variable.
- Don't call elm_init() twice. It is called automatically when you use
ELM_MAIN() macro.
- Don't set weight/align to swallowed objects.
- Set weight first before adding the object to window's resize object.
- Show window after creating all of its content.
2014-12-10 16:31:16 +09:00
Cedric BAIL 7b5976b963 .gitignore: ignore new example. 2014-12-10 06:06:50 +01:00
Cedric BAIL e59b5b8342 autotools: build Sphere Hunter with the rest of the examples. 2014-12-10 06:06:17 +01:00
Cedric BAIL 3378828d7f sphere_hunter: remove warning. 2014-12-10 06:05:08 +01:00
Cedric BAIL cc95ab08f6 autotools: fix indentation. 2014-12-10 03:57:02 +01:00
se.osadchy f03ce34072 [Elementary/example]: Add new 3D game - Sphere Hunter.
Summary: This example shows the just using elementary with evas 3D.

Reviewers: cedric, raster, Hermet

Differential Revision: https://phab.enlightenment.org/D1755
2014-12-10 03:53:40 +01:00
Daniel Juyung Seo 757eea9588 elm: Remove unnecessary elm_shutdown() while using ELM_MAIN().
elm_shutdown() is automatically called when you use ELM_MAIN() since
elementary 1.12.
2014-11-14 14:17:54 +09:00
Srivardhan Hebbar c6ddc20220 elementary: Adding example to demonstrate radio "changed" functionality.
Summary:
Added this example which demonstrate the exact behavior or "changed" in radio button.
After changing the documentation of "changed" as in https://phab.enlightenment.org/D1445, thought the example might be useful, so added this.

Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>

Reviewers: devilhorns, stefan_schmidt, seoz

Differential Revision: https://phab.enlightenment.org/D1490
2014-09-28 23:50:16 +09:00
Tom Hacohen f72bcf2b64 Eo: Get rid of eo_add_custom.
This has been deprecated for a while and is now completely dropped.
2014-09-25 10:46:04 +01:00
Savio Sena b1679131cf examples: Remove a warning during release compilation. 2014-09-17 20:28:05 -03:00
Savio Sena 08275af33f examples: Add extern "C" guards to C++ example. 2014-09-16 19:10:40 -03:00
Vincent Torri ea6246a8ee autotools: simplify .pc.in.
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2014-09-04 17:33:05 +02:00
Vincent Torri 8c705cac78 autotools: add m4 macro to check for options
This simplify autotools in elementary by recycling the same m4
and also compilation flags. Less code to read and maintain.
2014-09-04 17:33:05 +02:00
Carsten Haitzler c9b74dfb0b elm examples - missing -lm link - fix
@fix
2014-09-03 17:13:00 +09:00
Vincent Torri 092f40579a configure.ac: Clean up and add macros for backend-checks.
Add an m4 macro and start using it (also fixes some issues).
2014-09-02 10:29:51 +01:00
Savio Sena 791d1dbcaf elm++: Update C++ examples to use the new API. 2014-08-13 11:36:40 -03:00
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