lib/ewl_media.c File Reference
#include "ewl_base.h"
#include "ewl_media.h"
#include "ewl_macros.h"
#include "ewl_private.h"
#include "ewl_debug.h"
#include <Evas.h>
Include dependency graph for ewl_media.c:

Functions | |
int | ewl_media_audio_mute_get (Ewl_Media *m) |
Checks if the media widget is muted. | |
void | ewl_media_audio_mute_set (Ewl_Media *m, int mute) |
Mutes the media widget. | |
double | ewl_media_audio_volume_get (Ewl_Media *m) |
Gets the current volume from the media widget. | |
void | ewl_media_audio_volume_set (Ewl_Media *m, double v) |
Sets the media widget to the given volume. | |
void | ewl_media_cb_configure (Ewl_Widget *w, void *ev_data, void *user_data) |
void | ewl_media_cb_realize (Ewl_Widget *w, void *ev_data, void *user_data) |
void | ewl_media_cb_reveal (Ewl_Widget *w, void *ev_data, void *user_data) |
void | ewl_media_cb_unrealize (Ewl_Widget *w, void *ev_data, void *user_data) |
int | ewl_media_init (Ewl_Media *m) |
Initialize the fields and callbacks of a media object. | |
unsigned int | ewl_media_is_available (void) |
This will check if the modules required for the media widget were available at compile time or not. | |
int | ewl_media_length_get (Ewl_Media *m) |
Retrieve the length of the media displayed by the media widget. | |
void | ewl_media_length_time_get (Ewl_Media *m, int *h, int *min, double *s) |
Puts the length of the video into the h, m, s variables. | |
const char * | ewl_media_media_get (Ewl_Media *m) |
Retrieve the media of a media widget. | |
void | ewl_media_media_set (Ewl_Media *m, const char *media) |
Set the media of a media widget. | |
Ewl_Media_Module_Type | ewl_media_module_get (Ewl_Media *m) |
Retrieve the module of a media widget. | |
int | ewl_media_module_set (Ewl_Media *m, Ewl_Media_Module_Type module) |
Set the module of a media widget. | |
Ewl_Widget * | ewl_media_new (void) |
Allocate a new media widget. | |
void | ewl_media_play_set (Ewl_Media *m, int p) |
Sets the media widget into the given state. | |
double | ewl_media_position_get (Ewl_Media *m) |
Returns the position of the current media. | |
void | ewl_media_position_set (Ewl_Media *m, double p) |
Sets the media widget to the specified position. | |
void | ewl_media_position_time_get (Ewl_Media *m, int *h, int *min, double *s) |
Puts the position of the video into the h, m, s variables. | |
int | ewl_media_seekable_get (Ewl_Media *m) |
Returns if the media area is seekable. |