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

Functions | |
void | ewl_image_cb_configure (Ewl_Widget *w, void *ev_data, void *user_data) |
void | ewl_image_cb_destroy (Ewl_Widget *w, void *ev_data, void *user_data) |
void | ewl_image_cb_mouse_down (Ewl_Widget *w, void *ev_data, void *user_data) |
void | ewl_image_cb_mouse_move (Ewl_Widget *w, void *ev_data, void *user_data) |
void | ewl_image_cb_mouse_up (Ewl_Widget *w, void *ev_data, void *user_data) |
void | ewl_image_cb_obscure (Ewl_Widget *w, void *ev_data, void *user_data) |
void | ewl_image_cb_reparent (Ewl_Widget *w, void *ev_data, void *user_data) |
void | ewl_image_cb_reveal (Ewl_Widget *w, void *ev_data, void *user_data) |
unsigned int | ewl_image_constrain_get (Ewl_Image *i) |
Get the current constrain value set on the image. | |
void | ewl_image_constrain_set (Ewl_Image *i, unsigned int size) |
Set a size which, if the image is bigger than, scale proportionally. | |
const char * | ewl_image_file_key_get (Ewl_Image *i) |
void | ewl_image_file_key_set (Ewl_Image *i, const char *key) |
Sets the key to use for the image. | |
const char * | ewl_image_file_path_get (Ewl_Image *i) |
get the filename this image uses | |
void | ewl_image_file_path_set (Ewl_Image *i, const char *path) |
Sets the path to the image file. | |
void | ewl_image_file_set (Ewl_Image *i, const char *im, const char *key) |
Change the image file displayed by an image widget. | |
void | ewl_image_flip (Ewl_Image *img, Ewl_Orientation orient) |
Flips the given image in the given direction. | |
int | ewl_image_init (Ewl_Image *i) |
Initialize an image widget to default values and callbacks. | |
Ewl_Widget * | ewl_image_new (void) |
Load an image widget with specified image contents. | |
char | ewl_image_proportional_get (Ewl_Image *i) |
Get boolean to determine how to scale. | |
void | ewl_image_proportional_set (Ewl_Image *i, char p) |
Set boolean to determine how to scale. | |
void | ewl_image_rotate (Ewl_Image *i, Ewl_Rotate rotate) |
Rotates the given image by the given rotate value. | |
void | ewl_image_scale_get (Ewl_Image *i, double *wp, double *hp) |
Retrieve the percentage an image is scaled. | |
void | ewl_image_scale_set (Ewl_Image *i, double wp, double hp) |
Scale image dimensions by a percentage. | |
void | ewl_image_size_get (Ewl_Image *i, int *w, int *h) |
Scale image dimensions to a specific size. | |
void | ewl_image_size_set (Ewl_Image *i, int w, int h) |
Scale image dimensions to a specific size. | |
Ewl_Widget * | ewl_image_thumbnail_get (Ewl_Image *i) |
Create a widget representing a thumbnailed version of the image. | |
int | ewl_image_thumbnail_init (Ewl_Image_Thumbnail *image) |
Initialize an Ewl_Image_Thumbnail to default values. | |
Ewl_Widget * | ewl_image_thumbnail_new (void) |
This will create and initialize a new Ewl_Image_Thumbnail widget. | |
void | ewl_image_thumbnail_request (Ewl_Image_Thumbnail *thumb, const char *path) |
This will request the generation of a thumbnail for the image given by path. | |
Ewl_Thumbnail_Size | ewl_image_thumbnail_size_get (Ewl_Image_Thumbnail *thumb) |
This will return the current size of thumbnails. | |
void | ewl_image_thumbnail_size_set (Ewl_Image_Thumbnail *thumb, Ewl_Thumbnail_Size s) |
This will set the size of the thumbnails. | |
void | ewl_image_tile_set (Ewl_Image *i, int x, int y, int w, int h) |
Tile the image with the given start position and given size. | |
Ewl_View * | ewl_image_view_get (void) |
Creates and returns a view to be used by Ewl_Image widgets. |
Function Documentation
void ewl_image_cb_reparent | ( | Ewl_Widget * | w, | |
void * | ev_data, | |||
void * | user_data | |||
) |
References DCHECK_PARAM_PTR, DCHECK_TYPE, DENTER_FUNCTION, DLEAVE_FUNCTION, DLEVEL_STABLE, DRETURN, EWL_IMAGE, EWL_IMAGE_TYPE, and Ewl_Image::image.