Spank spank!! Missing elm_video.c Daniel Juyung Seo (SeoZ)
On Fri, Jul 1, 2011 at 2:18 AM, Enlightenment SVN <no-re...@enlightenment.org> wrote: > Log: > elementary: add higger level elm_video object. > > > Author: cedric > Date: 2011-06-30 10:18:13 -0700 (Thu, 30 Jun 2011) > New Revision: 60877 > Trac: http://trac.enlightenment.org/e/changeset/60877 > > Modified: > trunk/elementary/configure.ac trunk/elementary/data/themes/default.edc > trunk/elementary/src/lib/Elementary.h.in trunk/elementary/src/lib/Makefile.am > > Modified: trunk/elementary/configure.ac > =================================================================== > --- trunk/elementary/configure.ac 2011-06-30 16:11:35 UTC (rev 60876) > +++ trunk/elementary/configure.ac 2011-06-30 17:18:13 UTC (rev 60877) > @@ -229,6 +229,17 @@ > > AM_CONDITIONAL([HAVE_EIO], [test "x${have_eio}" = "xyes"]) > > +PKG_CHECK_MODULES([EMOTION], > + [emotion], > + [ > + have_emotion="yes" > + AC_DEFINE(HAVE_EMOTION, 1, [Use Emotion for asynchronous file > access]) > + requirement_elm="emotion ${requirement_elm}" > + ], > + [have_emotion="no"]) > + > +AM_CONDITIONAL([HAVE_EMOTION], [test "x${have_emotion}" = "xyes"]) > + > requirement_elm="edje >= 1.0.0 ecore-file >= 1.0.0 ecore-evas >= 1.0.0 ecore > >= 1.0.0 evas >= 1.0.0 eet >= 1.4.0 eina >= 1.0.0 ${requirement_elm}" > > have_elementary_x="no" > @@ -605,7 +616,8 @@ > echo " EMap...................: ${have_elementary_emap}" > echo " Ethumb.................: ${have_elementary_ethumb}" > echo " Quick Launch...........: ${have_fork}" > -echo " eio....................: ${have_eio}" > +echo " EIO....................: ${have_eio}" > +echo " Emotion................: ${have_emotion}" > echo > echo " eet......................: ${eet_eet}" > echo " edje_cc..................: ${edje_cc}" > > Modified: trunk/elementary/data/themes/default.edc > =================================================================== > --- trunk/elementary/data/themes/default.edc 2011-06-30 16:11:35 UTC (rev > 60876) > +++ trunk/elementary/data/themes/default.edc 2011-06-30 17:18:13 UTC (rev > 60877) > @@ -36504,4 +36504,67 @@ > } > } > } > + > + group { > + name: "elm/video/base/default"; > + > + parts { > + part { > + name: "clipper"; > + type: RECT; > + > + description { > + color: 255 255 255 255; > + } > + description { > + state: darker 0.0; > + color: 128 128 128 255; > + } > + } > + part { > + name: "elm.swallow.video"; > + type: SWALLOW; > + > + clip_to: "clipper"; > + mouse_events: 0; > + > + description { > + aspect_preference: BOTH; > + aspect: 1 1; > + } > + } > + } > + > + programs { > + program { > + signal: "elm,video,load"; > + source: "elm"; > + > + action: STATE_SET darker 0.0; > + target: clipper; > + } > + program { > + signal: "elm,video,play"; > + source: "elm"; > + > + action: STATE_SET default 0.0; > + target: clipper; > + } > + program { > + signal: "elm,video,end"; > + source: "elm"; > + > + action: STATE_SET darker 0.0; > + target: clipper; > + transition: LINEAR 0.5; > + } > + program { > + signal: "elm,video,pause"; > + source: "elm"; > + > + action: STATE_SET darker 0.0; > + target: clipper; > + } > + } > + } > } > > Modified: trunk/elementary/src/lib/Elementary.h.in > =================================================================== > --- trunk/elementary/src/lib/Elementary.h.in 2011-06-30 16:11:35 UTC (rev > 60876) > +++ trunk/elementary/src/lib/Elementary.h.in 2011-06-30 17:18:13 UTC (rev > 60877) > @@ -6398,7 +6398,26 @@ > > EAPI Evas_Object *elm_genscroller_add(Evas_Object *parent); > EAPI void elm_genscroller_world_size_set(Evas_Object *obj, > Evas_Coord w, Evas_Coord h); > - > + > + EAPI Evas_Object *elm_video_add(Evas_Object *parent); > + EAPI void elm_video_file_set(Evas_Object *video, const char *filename); > + EAPI void elm_video_uri_set(Evas_Object *video, const char *uri); > + EAPI Evas_Object *elm_video_emotion_get(Evas_Object *video); > + EAPI void elm_video_play(Evas_Object *video); > + EAPI void elm_video_pause(Evas_Object *video); > + EAPI void elm_video_stop(Evas_Object *video); > + EAPI Eina_Bool elm_video_is_playing(Evas_Object *video); > + EAPI Eina_Bool elm_video_audio_mute_get(Evas_Object *video); > + EAPI void elm_video_audio_mute_set(Evas_Object *video, Eina_Bool mute); > + EAPI double elm_video_audio_level_get(Evas_Object *video); > + EAPI void elm_video_audio_level_set(Evas_Object *video, double volume); > + EAPI double elm_video_play_position_get(Evas_Object *video); > + EAPI void elm_video_play_position_set(Evas_Object *video, double > position); > + EAPI double elm_video_play_length_get(Evas_Object *video); > + EAPI void elm_video_remember_position_set(Evas_Object *video, Eina_Bool > remember); > + EAPI Eina_Bool elm_video_remember_position_get(Evas_Object *video); > + EAPI const char *elm_video_title_get(Evas_Object *video); > + > #ifdef __cplusplus > } > #endif > > Modified: trunk/elementary/src/lib/Makefile.am > =================================================================== > --- trunk/elementary/src/lib/Makefile.am 2011-06-30 16:11:35 UTC (rev > 60876) > +++ trunk/elementary/src/lib/Makefile.am 2011-06-30 17:18:13 UTC (rev > 60877) > @@ -24,6 +24,7 @@ > @ELEMENTARY_EMAP_CFLAGS@ \ > @EVIL_CFLAGS@ \ > @EIO_CFLAGS@ \ > +@EMOTION_CFLAGS@ \ > @EFL_PTHREAD_CFLAGS@ > > if ELEMENTARY_WINDOWS_BUILD > @@ -107,6 +108,7 @@ > elm_toolbar.c \ > elm_transit.c \ > elm_util.c \ > +elm_video.c \ > elm_widget.c \ > elm_win.c \ > els_box.c \ > @@ -136,6 +138,7 @@ > @ELEMENTARY_EMAP_LIBS@ \ > @EVIL_LIBS@ \ > @EIO_LIBS@ \ > +@EMOTION_LIBS@ \ > @EFL_PTHREAD_LIBS@ > libelementary_la_LDFLAGS = \ > -no-undefined @lt_enable_auto_import@ \ > > > ------------------------------------------------------------------------------ > All of the data generated in your IT infrastructure is seriously valuable. > Why? It contains a definitive record of application performance, security > threats, fraudulent activity, and more. Splunk takes this data and makes > sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-d2d-c2 > _______________________________________________ > enlightenment-svn mailing list > enlightenment-...@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-svn > ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel