aboutsummaryrefslogtreecommitdiffstats
path: root/src/examples
diff options
context:
space:
mode:
authorStefan Schmidt <s.schmidt@samsung.com>2018-08-22 18:37:44 +0900
committerHermet Park <hermetpark@gmail.com>2018-08-22 18:37:44 +0900
commitce3b2dcd99714a59984656d08e7de55248c234d7 (patch)
tree10fd71f7018c2fd78f1f53af362e7528340dbaa4 /src/examples
parentecore-evas/buffer: implement ignore_events method (diff)
downloadefl-ce3b2dcd99714a59984656d08e7de55248c234d7.tar.gz
examples: elementary: add more examples to build
Summary: Three more examples have been sitting in the src tree but have never been hooked up to the build. Also adding a needed resource file and fixing warnings in the newly build examples. Depends on https://phab.enlightenment.org/D6890 Subscribers: cedric, #reviewers, #committers, zmike Tags: #efl Differential Revision: https://phab.enlightenment.org/D6891
Diffstat (limited to 'src/examples')
-rw-r--r--src/examples/elementary.mk7
-rw-r--r--src/examples/elementary/label_example_02.c2
-rw-r--r--src/examples/elementary/label_example_03.c2
3 files changed, 9 insertions, 2 deletions
diff --git a/src/examples/elementary.mk b/src/examples/elementary.mk
index 17f2e98ed4..9ec7dac4f0 100644
--- a/src/examples/elementary.mk
+++ b/src/examples/elementary.mk
@@ -50,6 +50,7 @@ elementary/genlist_example_02.c \
elementary/genlist_example_03.c \
elementary/genlist_example_04.c \
elementary/genlist_example_05.c \
+elementary/glview_example_01.c \
elementary/hover_example_01.c \
elementary/hoversel_example_01.c \
elementary/icon_example_01.c \
@@ -58,6 +59,8 @@ elementary/index_example_01.c \
elementary/index_example_02.c \
elementary/inwin_example.c \
elementary/label_example_01.c \
+elementary/label_example_02.c \
+elementary/label_example_03.c \
elementary/layout_example_01.c \
elementary/layout_example_02.c \
elementary/layout_example_03.c \
@@ -162,6 +165,7 @@ elementary/prefs_example_03.epc
$(AM_V_EPB)$(ELM_PREFS_CC) $< $@
ELM_DATA_FILES = \
+sky_01.jpg \
elementary/dict.txt \
$(ELM_EDCS) \
$(ELM_EPCS)
@@ -260,6 +264,7 @@ elementary/genlist_example_02 \
elementary/genlist_example_03 \
elementary/genlist_example_04 \
elementary/genlist_example_05 \
+elementary/glview_example_01 \
elementary/hover_example_01 \
elementary/hoversel_example_01 \
elementary/icon_example_01 \
@@ -268,6 +273,8 @@ elementary/index_example_01 \
elementary/index_example_02 \
elementary/inwin_example \
elementary/label_example_01 \
+elementary/label_example_02 \
+elementary/label_example_03 \
elementary/layout_example_01 \
elementary/layout_example_02 \
elementary/layout_example_03 \
diff --git a/src/examples/elementary/label_example_02.c b/src/examples/elementary/label_example_02.c
index 0c3cfb2213..cd1e1c1a03 100644
--- a/src/examples/elementary/label_example_02.c
+++ b/src/examples/elementary/label_example_02.c
@@ -17,7 +17,7 @@ _slide_end_cb(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
}
EAPI_MAIN int
-elm_main(int argc, char** argv)
+elm_main(int argc EINA_UNUSED, char** argv EINA_UNUSED)
{
Evas_Object *win, *box, *label1, *label2, *label3;
diff --git a/src/examples/elementary/label_example_03.c b/src/examples/elementary/label_example_03.c
index 217105a78b..60f1d08ec4 100644
--- a/src/examples/elementary/label_example_03.c
+++ b/src/examples/elementary/label_example_03.c
@@ -50,7 +50,7 @@ _slide_stop_cb(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_U
}
EAPI_MAIN int
-elm_main(int argc, char** argv)
+elm_main(int argc EINA_UNUSED, char** argv EINA_UNUSED)
{
Evas_Object *win, *bx, *bx1, *bx2, *style, *label, *btn;
appdata_s *ad = (appdata_s*)calloc(1, sizeof(appdata_s));