Enlightenment CVS committal
Author : rbdpngn
Project : e17
Module : libs/ewl
Dir : e17/libs/ewl/test
Modified Files:
Makefile.am ewl_box_test.c ewl_button_test.c ewl_entry_test.c
ewl_filedialog_test.c ewl_fileselector_test.c
ewl_floater_test.c ewl_image_test.c ewl_imenu_test.c
ewl_menu_bar_test.c ewl_menu_test.c ewl_notebook_test.c
ewl_scrollbar_test.c ewl_scrollpane_test.c ewl_seeker_test.c
ewl_selectionbar_test.c ewl_selectionbook_test.c
ewl_spinner_test.c ewl_table_test.c ewl_test.c
ewl_textarea_test.c ewl_tree_test.c
Added Files:
ewl_test.h
Log Message:
Fix for bad max size on x86, slight re-organization of the test program, and
some progress on the notebook widget.
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/test/Makefile.am,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -3 -r1.27 -r1.28
--- Makefile.am 24 Sep 2003 07:13:25 -0000 1.27
+++ Makefile.am 20 Oct 2003 05:05:48 -0000 1.28
@@ -7,7 +7,8 @@
bin_PROGRAMS = ewl_test
ewl_test_DEPENDENCIES = $(top_builddir)/src/libewl.la
-ewl_test_SOURCES = ewl_test.c \
+ewl_test_SOURCES = ewl_test.h \
+ ewl_test.c \
ewl_box_test.c \
ewl_button_test.c \
ewl_entry_test.c \
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/test/ewl_box_test.c,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -3 -r1.25 -r1.26
--- ewl_box_test.c 8 Oct 2003 21:42:19 -0000 1.25
+++ ewl_box_test.c 20 Oct 2003 05:05:48 -0000 1.26
@@ -1,9 +1,6 @@
-#include <Ewl.h>
+#include "ewl_test.h"
static Ewl_Widget *box_button = NULL;
-
-void __create_box_test_window(Ewl_Widget * w, void *ev_data,
- void *user_data);
void
__destroy_box_test_window(Ewl_Widget * w, void *ev_data, void *user_data)
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/test/ewl_button_test.c,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -3 -r1.20 -r1.21
--- ewl_button_test.c 29 Sep 2003 21:46:51 -0000 1.20
+++ ewl_button_test.c 20 Oct 2003 05:05:48 -0000 1.21
@@ -1,9 +1,6 @@
-#include <Ewl.h>
+#include "ewl_test.h"
static Ewl_Widget *button_button = NULL;
-
-void __create_button_test_window(Ewl_Widget * w, void *ev_data,
- void *user_data);
void
__break_here(Ewl_Widget * w, void *ev_data, void *user_data)
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/test/ewl_entry_test.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -3 -r1.17 -r1.18
--- ewl_entry_test.c 29 Sep 2003 21:46:51 -0000 1.17
+++ ewl_entry_test.c 20 Oct 2003 05:05:48 -0000 1.18
@@ -1,10 +1,7 @@
-#include <Ewl.h>
+#include "ewl_test.h"
static Ewl_Widget *entry_button;
static Ewl_Widget *entry[2];
-
-void __create_entry_test_window(Ewl_Widget * w, void *ev_data,
- void *user_data);
void
__destroy_entry_test_window(Ewl_Widget * w, void *ev_data, void *user_data)
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/test/ewl_filedialog_test.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- ewl_filedialog_test.c 29 Sep 2003 21:46:51 -0000 1.4
+++ ewl_filedialog_test.c 20 Oct 2003 05:05:48 -0000 1.5
@@ -1,10 +1,8 @@
-#include <Ewl.h>
+#include "ewl_test.h"
static Ewl_Widget *fd_button = NULL;
-
-void __create_filedialog_test_window(Ewl_Widget * w, void *ev_data,
- void *user_data);
+
void __start_fd (Ewl_Widget *w, void *ev_data, void *user_data);
void __open_file (Ewl_Widget *, void *ev_data, void *user_data);
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/test/ewl_fileselector_test.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- ewl_fileselector_test.c 29 Sep 2003 21:46:51 -0000 1.4
+++ ewl_fileselector_test.c 20 Oct 2003 05:05:48 -0000 1.5
@@ -1,10 +1,7 @@
-#include <Ewl.h>
+#include "ewl_test.h"
static Ewl_Widget *fs_button = NULL;
-
-void __create_fileselector_test_window(Ewl_Widget * w, void *ev_data,
- void *user_data);
void __file_clicked(Ewl_Widget *, void *ev_data, void *user_data);
void
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/test/ewl_floater_test.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -3 -r1.6 -r1.7
--- ewl_floater_test.c 29 Sep 2003 21:46:51 -0000 1.6
+++ ewl_floater_test.c 20 Oct 2003 05:05:48 -0000 1.7
@@ -1,9 +1,6 @@
-#include <Ewl.h>
+#include "ewl_test.h"
static Ewl_Widget *floater_button = NULL;
-
-void __create_floater_test_window(Ewl_Widget * w, void *ev_data,
- void *user_data);
void
__destroy_floater_test_window(Ewl_Widget * w, void *ev_data, void *user_data)
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/test/ewl_image_test.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -3 -r1.14 -r1.15
--- ewl_image_test.c 18 Oct 2003 17:00:37 -0000 1.14
+++ ewl_image_test.c 20 Oct 2003 05:05:48 -0000 1.15
@@ -1,5 +1,4 @@
-#include <Ewl.h>
-#include <ewl-config.h>
+#include "ewl_test.h"
static Ewl_Widget *image_button;
Ewl_Widget *image_win;
@@ -9,11 +8,6 @@
Ewl_Widget *entry_path;
Ewl_Widget *note_box;
Ewl_Widget *note;
-
-
-void __create_image_test_window(Ewl_Widget * w, void *ev_data,
- void *user_data);
-
void
__destroy_image_test_window(Ewl_Widget * w, void *ev_data, void *user_data)
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/test/ewl_imenu_test.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -3 -r1.9 -r1.10
--- ewl_imenu_test.c 29 Sep 2003 21:46:51 -0000 1.9
+++ ewl_imenu_test.c 20 Oct 2003 05:05:48 -0000 1.10
@@ -1,9 +1,7 @@
-#include <Ewl.h>
+#include "ewl_test.h"
static Ewl_Widget *imenu_button = NULL;
-void __create_imenu_test_window(Ewl_Widget * w, void *ev_data,
- void *user_data);
void __item_down(Ewl_Widget * w, void *ev_data, void *user_data);
void
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/test/ewl_menu_bar_test.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- ewl_menu_bar_test.c 14 Jan 2003 21:45:08 -0000 1.2
+++ ewl_menu_bar_test.c 20 Oct 2003 05:05:48 -0000 1.3
@@ -1,4 +1,3 @@
-
#include "ewl_test.h"
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/test/ewl_menu_test.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -3 -r1.5 -r1.6
--- ewl_menu_test.c 29 Sep 2003 21:46:51 -0000 1.5
+++ ewl_menu_test.c 20 Oct 2003 05:05:48 -0000 1.6
@@ -1,9 +1,7 @@
-#include <Ewl.h>
+#include "ewl_test.h"
static Ewl_Widget *menu_button = NULL;
-void __create_menu_test_window(Ewl_Widget * w, void *ev_data,
- void *user_data);
void __item_down(Ewl_Widget * w, void *ev_data, void *user_data);
void
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/test/ewl_notebook_test.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -3 -r1.14 -r1.15
--- ewl_notebook_test.c 29 Sep 2003 21:46:51 -0000 1.14
+++ ewl_notebook_test.c 20 Oct 2003 05:05:48 -0000 1.15
@@ -1,9 +1,7 @@
-#include <Ewl.h>
+#include "ewl_test.h"
static Ewl_Widget *notebook_button;
-void __create_notebook_test_window(Ewl_Widget * w, void *ev_data,
- void *user_data);
void __notebook_append_page(Ewl_Widget * w, void *ev_data,
void *user_data);
void __notebook_prepend_page(Ewl_Widget * w, void *ev_data,
@@ -62,7 +60,6 @@
if (!ewl_radiobutton_is_checked(w))
return;
- /*
if (w == button_pleft)
ewl_notebook_set_tabs_position(user_data, EWL_POSITION_LEFT);
else if (w == button_pright)
@@ -71,7 +68,6 @@
ewl_notebook_set_tabs_position(user_data, EWL_POSITION_TOP);
else if (w == button_pbottom)
ewl_notebook_set_tabs_position(user_data, EWL_POSITION_BOTTOM);
- */
return;
ev_data = NULL;
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/test/ewl_scrollbar_test.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- ewl_scrollbar_test.c 25 Mar 2003 18:36:25 -0000 1.3
+++ ewl_scrollbar_test.c 20 Oct 2003 05:05:48 -0000 1.4
@@ -1,10 +1,6 @@
-#include <Ewl.h>
+#include "ewl_test.h"
static Ewl_Widget *scrollbar_button;
-
-void __create_scrollbar_test_window(Ewl_Widget * w, void *ev_data,
- void *user_data);
-
void
__destroy_scrollbar_test_window(Ewl_Widget * w, void *ev_data,
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/test/ewl_scrollpane_test.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- ewl_scrollpane_test.c 18 Jun 2003 05:39:32 -0000 1.4
+++ ewl_scrollpane_test.c 20 Oct 2003 05:05:48 -0000 1.5
@@ -1,10 +1,6 @@
-#include <Ewl.h>
+#include "ewl_test.h"
static Ewl_Widget *scrollpane_button;
-
-void __create_scrollpane_test_window(Ewl_Widget * w, void *ev_data,
- void *user_data);
-
void
__destroy_scrollpane_test_window(Ewl_Widget * w, void *ev_data,
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/test/ewl_seeker_test.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -3 -r1.10 -r1.11
--- ewl_seeker_test.c 23 Jun 2003 05:59:19 -0000 1.10
+++ ewl_seeker_test.c 20 Oct 2003 05:05:48 -0000 1.11
@@ -1,10 +1,6 @@
-#include <Ewl.h>
+#include "ewl_test.h"
static Ewl_Widget *seeker_button;
-
-void __create_seeker_test_window(Ewl_Widget * w, void *ev_data,
- void *user_data);
-
void
__destroy_seeker_test_window(Ewl_Widget * w, void *ev_data, void *user_data)
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/test/ewl_selectionbar_test.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -3 -r1.5 -r1.6
--- ewl_selectionbar_test.c 29 Sep 2003 21:46:51 -0000 1.5
+++ ewl_selectionbar_test.c 20 Oct 2003 05:05:48 -0000 1.6
@@ -1,11 +1,7 @@
-#include <Ewl.h>
+#include "ewl_test.h"
static Ewl_Widget *sbar_button = NULL;
-
-void __create_selectionbar_test_window(Ewl_Widget * w, void *ev_data,
- void *user_data);
-
void
__destroy_selectionbar_test_window(Ewl_Widget * w, void *ev_data,
void *user_data)
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/test/ewl_selectionbook_test.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -3 -r1.5 -r1.6
--- ewl_selectionbook_test.c 29 Sep 2003 21:46:51 -0000 1.5
+++ ewl_selectionbook_test.c 20 Oct 2003 05:05:48 -0000 1.6
@@ -1,11 +1,6 @@
-#include <Ewl.h>
+#include "ewl_test.h"
static Ewl_Widget *sbook_button = NULL;
-
-
-void __create_selectionbook_test_window(Ewl_Widget * w,
- void *ev_data,
- void *user_data);
void
__destroy_selectionbook_test_window(Ewl_Widget * w, void *ev_data,
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/test/ewl_spinner_test.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -3 -r1.14 -r1.15
--- ewl_spinner_test.c 11 Oct 2003 06:16:06 -0000 1.14
+++ ewl_spinner_test.c 20 Oct 2003 05:05:48 -0000 1.15
@@ -1,15 +1,12 @@
-#include <Ewl.h>
+#include "ewl_test.h"
Ewl_Widget *tmp_win;
static Ewl_Widget *spinner_button;
static Ewl_Widget *spinner[4];
-void __create_spinner_test_window(Ewl_Widget * w, void *ev_data,
- void *user_data);
-void
- __spinner_main_window_configure(Ewl_Widget * w, void *ev_data,
- void *user_data);
+void __spinner_main_window_configure(Ewl_Widget * w, void *ev_data,
+ void *user_data);
void
__destroy_spinner_test_window(Ewl_Widget * w, void *ev_data, void *user_data)
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/test/ewl_table_test.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -3 -r1.17 -r1.18
--- ewl_table_test.c 29 Sep 2003 21:46:51 -0000 1.17
+++ ewl_table_test.c 20 Oct 2003 05:05:48 -0000 1.18
@@ -1,4 +1,4 @@
-#include <Ewl.h>
+#include "ewl_test.h"
static Ewl_Widget *table_button = NULL;
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/test/ewl_test.c,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -3 -r1.50 -r1.51
--- ewl_test.c 16 Oct 2003 20:54:25 -0000 1.50
+++ ewl_test.c 20 Oct 2003 05:05:48 -0000 1.51
@@ -1,55 +1,4 @@
-#include <Ewl.h>
-#include <ewl-config.h>
-
-#define BUTTONS 18
-
-typedef struct _test_set test_set;
-struct _test_set
-{
- char *name;
- Ewl_Callback_Function func;
-};
-
-void __close_main_widow(Ewl_Widget * w, void *ev_data,
- void *user_data);
-void __create_box_test_window(Ewl_Widget * w, void *ev_data,
- void *user_data);
-void __create_button_test_window(Ewl_Widget * w, void *ev_data,
- void *user_data);
-void __create_fileselector_test_window(Ewl_Widget * w, void *ev_data,
- void *user_data);
-void __create_filedialog_test_window(Ewl_Widget * w, void *ev_data,
- void *user_data);
-void __create_floater_test_window(Ewl_Widget * w, void *ev_data,
- void *user_data);
-void __create_entry_test_window(Ewl_Widget * w, void *ev_data,
- void *user_data);
-void __create_image_test_window(Ewl_Widget * w, void *ev_data,
- void *user_data);
-void __create_imenu_test_window(Ewl_Widget * w, void *ev_data,
- void *user_data);
-void __create_menu_test_window(Ewl_Widget * w, void *ev_data,
- void *user_data);
-void __create_notebook_test_window(Ewl_Widget * w, void *ev_data,
- void *user_data);
-void __create_scrollpane_test_window(Ewl_Widget * w, void *ev_data,
- void *user_data);
-void __create_seeker_test_window(Ewl_Widget * w, void *ev_data,
- void *user_data);
-void __create_spinner_test_window(Ewl_Widget * w, void *ev_data,
- void *user_data);
-void __create_table_test_window(Ewl_Widget * w, void *ev_data,
- void *user_data);
-void __create_textarea_test_window(Ewl_Widget * w, void *ev_data,
- void *user_data);
-void __create_tree_test_window(Ewl_Widget * w, void *ev_data,
- void *user_data);
-void __create_selectionbook_test_window(Ewl_Widget * w,
- void *ev_data,
- void *user_data);
-void __create_selectionbar_test_window(Ewl_Widget * w,
- void *ev_data,
- void *user_data);
+#include "ewl_test.h"
void
__close_main_window(Ewl_Widget * w, void *ev_data, void *user_data)
@@ -77,6 +26,7 @@
{ "Entry", __create_entry_test_window },
{ "Floater", __create_floater_test_window },
{ "Image", __create_image_test_window },
+ { "Notebook", __create_notebook_test_window },
{ "Spinner", __create_spinner_test_window },
{ "Textarea", __create_textarea_test_window },
{ "Tree", __create_tree_test_window },
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/test/ewl_textarea_test.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -3 -r1.9 -r1.10
--- ewl_textarea_test.c 29 Sep 2003 21:46:51 -0000 1.9
+++ ewl_textarea_test.c 20 Oct 2003 05:05:48 -0000 1.10
@@ -1,4 +1,4 @@
-#include <Ewl.h>
+#include "ewl_test.h"
static char *long_text =
"This is a long string to test\n"
@@ -49,10 +49,6 @@
"now be repeated to do a little stress testing.";
static Ewl_Widget *textarea_button;
-
-void __create_textarea_test_window(Ewl_Widget * w, void *ev_data,
- void *user_data);
-
void
__destroy_textarea_test_window(Ewl_Widget * w, void *ev_data, void *user_data)
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/test/ewl_tree_test.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- ewl_tree_test.c 22 Sep 2003 06:09:25 -0000 1.4
+++ ewl_tree_test.c 20 Oct 2003 05:05:48 -0000 1.5
@@ -1,14 +1,10 @@
-#include <Ewl.h>
+#include "ewl_test.h"
#define ROWS 10
#define COLS 4
#define NEST 3
static Ewl_Widget *tree_button;
-
-void __create_tree_test_window(Ewl_Widget * w, void *ev_data,
- void *user_data);
-
void
__destroy_tree_test_window(Ewl_Widget * w, void *ev_data,
-------------------------------------------------------
This SF.net email sponsored by: Enterprise Linux Forum Conference & Expo
The Event For Linux Datacenter Solutions & Strategies in The Enterprise
Linux in the Boardroom; in the Front Office; & in the Server Room
http://www.enterpriselinuxforum.com
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs