Enlightenment CVS committal

Author  : dj2
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/src


Modified Files:
        ewl_entry.h 


Log Message:
add the needed function declaraions and structs into the header

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/ewl_entry.h,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -3 -r1.40 -r1.41
--- ewl_entry.h 23 Sep 2004 23:39:00 -0000      1.40
+++ ewl_entry.h 25 Sep 2004 16:49:40 -0000      1.41
@@ -66,8 +66,53 @@
 void ewl_entry_word_begin_delete(Ewl_Entry * e);
 
 /*
+ * Internal API stuff
+ */
+
+/* 
+ * the cursor stuff 
+ */
+typedef struct Ewl_Entry_Cursor Ewl_Entry_Cursor;
+
+#define EWL_ENTRY_CURSOR(cursor) ((Ewl_Entry_Cursor *) cursor)
+
+struct Ewl_Entry_Cursor
+{
+       Ewl_Widget      widget;
+       int position;
+};
+
+Ewl_Widget *ewl_entry_cursor_new(void);
+void ewl_entry_cursor_init(Ewl_Entry_Cursor *c);
+void ewl_entry_cursor_position_set(Ewl_Entry_Cursor *c, int pos);
+int ewl_entry_cursor_position_get(Ewl_Entry_Cursor *c);
+
+/* 
+ * the selection stuff
+ */
+typedef struct Ewl_Entry_Selection Ewl_Entry_Selection;
+
+#define EWL_ENTRY_SELECTION(selection) ((Ewl_Entry_Selection *) selection)
+
+struct Ewl_Entry_Selection
+{
+       Ewl_Widget      widget;
+       unsigned int start;
+       unsigned int    end;
+};
+
+Ewl_Widget *ewl_entry_selection_new(void);
+void ewl_entry_selection_init(Ewl_Entry_Selection *s);
+void ewl_entry_selection_start_position_set(Ewl_Entry_Selection *s, unsigned int 
start);
+int ewl_entry_selection_start_position_get(Ewl_Entry_Selection *s);
+void ewl_entry_selection_end_position_set(Ewl_Entry_Selection *s, unsigned int end);
+int ewl_entry_selection_end_position_get(Ewl_Entry_Selection *s);
+void ewl_entry_selection_select_to(Ewl_Entry_Selection *s, unsigned int pos);
+
+/*
  * Internally used callbacks, override at your own risk.
  */
+
 void ewl_entry_configure_cb(Ewl_Widget * w, void *ev_data, void *user_data);
 void ewl_entry_configure_text_cb(Ewl_Widget * w, void *ev_data,
                                 void *user_data);




-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to