forked from enlightenment/efl
remove api that isnt functioning and wont for a while.
SVN revision: 13404
This commit is contained in:
parent
7b9264ecd2
commit
c562850750
|
@ -53,13 +53,6 @@ typedef enum _Evas_Button_Flags
|
||||||
EVAS_BUTTON_TRIPLE_CLICK = (1 << 1) /**< This mouse button press was the 3rd press of a triple click */
|
EVAS_BUTTON_TRIPLE_CLICK = (1 << 1) /**< This mouse button press was the 3rd press of a triple click */
|
||||||
} Evas_Button_Flags; /**< Flags for Mouse Button events */
|
} Evas_Button_Flags; /**< Flags for Mouse Button events */
|
||||||
|
|
||||||
typedef enum _Evas_Format_Direction
|
|
||||||
{
|
|
||||||
EVAS_FORMAT_DIRECTION_VERTICAL = 0,
|
|
||||||
EVAS_FORMAT_DIRECTION_HORIZONTAL = 1
|
|
||||||
} Evas_Format_Direction;
|
|
||||||
|
|
||||||
|
|
||||||
typedef struct _Evas_List Evas_List; /**< A generic linked list node handle */
|
typedef struct _Evas_List Evas_List; /**< A generic linked list node handle */
|
||||||
typedef struct _Evas_Rectangle Evas_Rectangle; /**< A generic rectangle handle */
|
typedef struct _Evas_Rectangle Evas_Rectangle; /**< A generic rectangle handle */
|
||||||
typedef struct _Evas_Smart_Class Evas_Smart_Class; /**< A smart object base class */
|
typedef struct _Evas_Smart_Class Evas_Smart_Class; /**< A smart object base class */
|
||||||
|
@ -461,8 +454,6 @@ extern "C" {
|
||||||
EAPI const char *evas_object_textblock_format_prev_get (Evas_Object *obj, int n);
|
EAPI const char *evas_object_textblock_format_prev_get (Evas_Object *obj, int n);
|
||||||
EAPI void evas_object_textblock_format_prev_del (Evas_Object *obj, int n);
|
EAPI void evas_object_textblock_format_prev_del (Evas_Object *obj, int n);
|
||||||
EAPI char *evas_object_textblock_current_format_get (Evas_Object *obj);
|
EAPI char *evas_object_textblock_current_format_get (Evas_Object *obj);
|
||||||
EAPI void evas_object_textblock_format_direction_set (Evas_Object *obj, Evas_Format_Direction dir);
|
|
||||||
EAPI Evas_Format_Direction evas_object_textblock_format_direction_get (Evas_Object *obj);
|
|
||||||
EAPI void evas_object_textblock_format_size_get (Evas_Object *obj, Evas_Coord *w, Evas_Coord *h);
|
EAPI void evas_object_textblock_format_size_get (Evas_Object *obj, Evas_Coord *w, Evas_Coord *h);
|
||||||
EAPI void evas_object_textblock_native_size_get (Evas_Object *obj, Evas_Coord *w, Evas_Coord *h);
|
EAPI void evas_object_textblock_native_size_get (Evas_Object *obj, Evas_Coord *w, Evas_Coord *h);
|
||||||
EAPI int evas_object_textblock_native_lines_get (Evas_Object *obj);
|
EAPI int evas_object_textblock_native_lines_get (Evas_Object *obj);
|
||||||
|
|
|
@ -118,7 +118,6 @@ struct _Evas_Object_Textblock
|
||||||
char changed : 1;
|
char changed : 1;
|
||||||
|
|
||||||
int pos, len, lines;
|
int pos, len, lines;
|
||||||
Evas_Format_Direction format_dir;
|
|
||||||
Node *nodes;
|
Node *nodes;
|
||||||
Layout_Node *layout_nodes;
|
Layout_Node *layout_nodes;
|
||||||
Evas_Coord last_w, last_h;
|
Evas_Coord last_w, last_h;
|
||||||
|
@ -2381,41 +2380,6 @@ evas_object_textblock_current_format_get(Evas_Object *obj)
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
|
||||||
evas_object_textblock_format_direction_set(Evas_Object *obj, Evas_Format_Direction dir)
|
|
||||||
{
|
|
||||||
Evas_Object_Textblock *o;
|
|
||||||
|
|
||||||
MAGIC_CHECK(obj, Evas_Object, MAGIC_OBJ);
|
|
||||||
return;
|
|
||||||
MAGIC_CHECK_END();
|
|
||||||
o = (Evas_Object_Textblock *)(obj->object_data);
|
|
||||||
MAGIC_CHECK(o, Evas_Object_Textblock, MAGIC_OBJ_TEXTBLOCK);
|
|
||||||
return;
|
|
||||||
MAGIC_CHECK_END();
|
|
||||||
if (o->format_dir == dir) return;
|
|
||||||
/* FIXME: DOES NOTHING YET - FUTURE FEATRUE */
|
|
||||||
o->native.dirty = 1;
|
|
||||||
o->format.dirty = 1;
|
|
||||||
o->changed = 1;
|
|
||||||
evas_object_change(obj);
|
|
||||||
}
|
|
||||||
|
|
||||||
Evas_Format_Direction
|
|
||||||
evas_object_textblock_format_direction_get(Evas_Object *obj)
|
|
||||||
{
|
|
||||||
Evas_Object_Textblock *o;
|
|
||||||
|
|
||||||
MAGIC_CHECK(obj, Evas_Object, MAGIC_OBJ);
|
|
||||||
return EVAS_FORMAT_DIRECTION_VERTICAL;
|
|
||||||
MAGIC_CHECK_END();
|
|
||||||
o = (Evas_Object_Textblock *)(obj->object_data);
|
|
||||||
MAGIC_CHECK(o, Evas_Object_Textblock, MAGIC_OBJ_TEXTBLOCK);
|
|
||||||
return EVAS_FORMAT_DIRECTION_VERTICAL;
|
|
||||||
MAGIC_CHECK_END();
|
|
||||||
return o->format_dir;
|
|
||||||
}
|
|
||||||
|
|
||||||
void
|
void
|
||||||
evas_object_textblock_format_size_get(Evas_Object *obj, Evas_Coord *w, Evas_Coord *h)
|
evas_object_textblock_format_size_get(Evas_Object *obj, Evas_Coord *w, Evas_Coord *h)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue