forked from enlightenment/efl
parent
2a123c0d6a
commit
54c06677b4
|
@ -119,6 +119,16 @@ struct _Evas_Rectangle /** A rectangle */
|
||||||
int h; /**< height of rectangle */
|
int h; /**< height of rectangle */
|
||||||
};
|
};
|
||||||
|
|
||||||
|
typedef enum _Evas_Aspect_Control
|
||||||
|
{
|
||||||
|
EVAS_ASPECT_CONTROL_NONE = 0,
|
||||||
|
EVAS_ASPECT_CONTROL_NEITHER = 1,
|
||||||
|
EVAS_ASPECT_CONTROL_HORIZONTAL = 2,
|
||||||
|
EVAS_ASPECT_CONTROL_VERTICAL = 3,
|
||||||
|
EVAS_ASPECT_CONTROL_BOTH = 4
|
||||||
|
} Evas_Aspect_Control;
|
||||||
|
|
||||||
|
|
||||||
#define EVAS_SMART_CLASS_VERSION 1 /** the version you have to put into the version field in the smart class struct */
|
#define EVAS_SMART_CLASS_VERSION 1 /** the version you have to put into the version field in the smart class struct */
|
||||||
struct _Evas_Smart_Class /** a smart object class */
|
struct _Evas_Smart_Class /** a smart object class */
|
||||||
{
|
{
|
||||||
|
@ -707,6 +717,8 @@ extern "C" {
|
||||||
EAPI void evas_object_size_hint_max_set (Evas_Object *obj, Evas_Coord w, Evas_Coord h);
|
EAPI void evas_object_size_hint_max_set (Evas_Object *obj, Evas_Coord w, Evas_Coord h);
|
||||||
EAPI void evas_object_size_hint_request_get (const Evas_Object *obj, Evas_Coord *w, Evas_Coord *h);
|
EAPI void evas_object_size_hint_request_get (const Evas_Object *obj, Evas_Coord *w, Evas_Coord *h);
|
||||||
EAPI void evas_object_size_hint_request_set (Evas_Object *obj, Evas_Coord w, Evas_Coord h);
|
EAPI void evas_object_size_hint_request_set (Evas_Object *obj, Evas_Coord w, Evas_Coord h);
|
||||||
|
EAPI void evas_object_size_hint_aspect_get (const Evas_Object *obj, Evas_Aspect_Control *aspect, Evas_Coord *w, Evas_Coord *h);
|
||||||
|
EAPI void evas_object_size_hint_aspect_set (Evas_Object *obj, Evas_Aspect_Control aspect, Evas_Coord w, Evas_Coord h);
|
||||||
|
|
||||||
EAPI void evas_object_show (Evas_Object *obj);
|
EAPI void evas_object_show (Evas_Object *obj);
|
||||||
EAPI void evas_object_hide (Evas_Object *obj);
|
EAPI void evas_object_hide (Evas_Object *obj);
|
||||||
|
|
|
@ -82,7 +82,6 @@ struct _Evas_Module_Engine
|
||||||
|
|
||||||
typedef struct _Evas_Layer Evas_Layer;
|
typedef struct _Evas_Layer Evas_Layer;
|
||||||
typedef struct _Evas_Size Evas_Size;
|
typedef struct _Evas_Size Evas_Size;
|
||||||
typedef enum _Evas_Aspect_Control Evas_Aspect_Control;
|
|
||||||
typedef struct _Evas_Aspect Evas_Aspect;
|
typedef struct _Evas_Aspect Evas_Aspect;
|
||||||
typedef struct _Evas_Size_Hints Evas_Size_Hints;
|
typedef struct _Evas_Size_Hints Evas_Size_Hints;
|
||||||
typedef struct _Evas_Font_Dir Evas_Font_Dir;
|
typedef struct _Evas_Font_Dir Evas_Font_Dir;
|
||||||
|
@ -377,15 +376,6 @@ struct _Evas_Size
|
||||||
Evas_Coord w, h;
|
Evas_Coord w, h;
|
||||||
};
|
};
|
||||||
|
|
||||||
enum _Evas_Aspect_Control
|
|
||||||
{
|
|
||||||
EVAS_ASPECT_CONTROL_NONE = 0,
|
|
||||||
EVAS_ASPECT_CONTROL_NEITHER = 1,
|
|
||||||
EVAS_ASPECT_CONTROL_HORIZONTAL = 2,
|
|
||||||
EVAS_ASPECT_CONTROL_VERTICAL = 3,
|
|
||||||
EVAS_ASPECT_CONTROL_BOTH = 4
|
|
||||||
};
|
|
||||||
|
|
||||||
struct _Evas_Aspect
|
struct _Evas_Aspect
|
||||||
{
|
{
|
||||||
Evas_Aspect_Control mode;
|
Evas_Aspect_Control mode;
|
||||||
|
|
Loading…
Reference in New Issue