Enlightenment CVS committal
Author : dj2
Project : e17
Module : libs/ewl
Dir : e17/libs/ewl/src
Modified Files:
ewl_events.c ewl_menu.c ewl_window.c ewl_window.h
Log Message:
- help with the EWL api breakage, convert ewl_window to the efl type names
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/ewl_events.c,v
retrieving revision 1.64
retrieving revision 1.65
diff -u -3 -r1.64 -r1.65
--- ewl_events.c 12 Aug 2004 16:20:43 -0000 1.64
+++ ewl_events.c 18 Aug 2004 02:28:54 -0000 1.65
@@ -180,7 +180,7 @@
DENTER_FUNCTION(DLEVEL_STABLE);
ev = e;
- window = ewl_window_find_window((void *)ev->win);
+ window = ewl_window_window_find((void *)ev->win);
if (!window)
DRETURN_INT(TRUE, DLEVEL_STABLE);
@@ -221,7 +221,7 @@
ev = e;
- window = ewl_window_find_window((void *)ev->win);
+ window = ewl_window_window_find((void *)ev->win);
if (!window)
DRETURN_INT(TRUE, DLEVEL_STABLE);
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/ewl_menu.c,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -3 -r1.20 -r1.21
--- ewl_menu.c 13 Aug 2004 00:41:13 -0000 1.20
+++ ewl_menu.c 18 Aug 2004 02:28:55 -0000 1.21
@@ -50,7 +50,7 @@
* Create the popup menu portion of the widget.
*/
menu->base.popup = ewl_window_new();
- ewl_window_set_borderless(EWL_WINDOW(menu->base.popup));
+ ewl_window_borderless_set(EWL_WINDOW(menu->base.popup));
ewl_widget_internal_set(menu->base.popup, TRUE);
ewl_widget_layer_set(menu->base.popup, 1000);
ewl_widget_appearance_set(EWL_WIDGET(menu->base.popup), "menu");
@@ -75,7 +75,7 @@
emb = ewl_embed_find_by_widget(w);
if (ewl_widget_type_is(EWL_WIDGET(emb), "window"))
- ewl_window_get_position(EWL_WINDOW(emb), &x, &y);
+ ewl_window_position_get(EWL_WINDOW(emb), &x, &y);
else {
x = CURRENT_X(w);
y = CURRENT_Y(w);
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/ewl_window.c,v
retrieving revision 1.85
retrieving revision 1.86
diff -u -3 -r1.85 -r1.86
--- ewl_window.c 13 Aug 2004 00:41:14 -0000 1.85
+++ ewl_window.c 18 Aug 2004 02:28:55 -0000 1.86
@@ -27,7 +27,7 @@
* @return Returns a new window on success, or NULL on failure.
* @brief Allocate and initialize a new window
*/
-Ewl_Widget *ewl_window_new()
+Ewl_Widget *ewl_window_new()
{
Ewl_Window *w;
@@ -50,7 +50,7 @@
* @return Returns the found ewl window on success, NULL on failure.
* @brief Find an ewl window by it's X window
*/
-Ewl_Window *ewl_window_find_window(void *window)
+Ewl_Window *ewl_window_window_find(void *window)
{
Ewl_Window *retwin;
@@ -75,7 +75,7 @@
* Sets the title of window @a w to @a title and calls the necessary X lib
* functions to update the window.
*/
-void ewl_window_set_title(Ewl_Window * win, char *title)
+void ewl_window_title_set(Ewl_Window * win, char *title)
{
DENTER_FUNCTION(DLEVEL_STABLE);
DCHECK_PARAM_PTR("win", win);
@@ -106,7 +106,7 @@
*
* The returned title should be freed.
*/
-char *ewl_window_get_title(Ewl_Window * win)
+char *ewl_window_title_get(Ewl_Window * win)
{
DENTER_FUNCTION(DLEVEL_STABLE);
DCHECK_PARAM_PTR_RET("win", win, NULL);
@@ -123,7 +123,7 @@
* Sets the name of window @a w to @a name and calls the necessary X lib
* functions to update the window.
*/
-void ewl_window_set_name(Ewl_Window * win, char *name)
+void ewl_window_name_set(Ewl_Window * win, char *name)
{
DENTER_FUNCTION(DLEVEL_STABLE);
DCHECK_PARAM_PTR("win", win);
@@ -155,7 +155,7 @@
*
* The returned name should be freed.
*/
-char *ewl_window_get_name(Ewl_Window * win)
+char *ewl_window_name_get(Ewl_Window * win)
{
DENTER_FUNCTION(DLEVEL_STABLE);
DCHECK_PARAM_PTR_RET("win", win, NULL);
@@ -172,7 +172,7 @@
* Sets the class of window @a w to @a class and calls the necessary X lib
* functions to update the window.
*/
-void ewl_window_set_class(Ewl_Window * win, char *classname)
+void ewl_window_class_set(Ewl_Window * win, char *classname)
{
DENTER_FUNCTION(DLEVEL_STABLE);
DCHECK_PARAM_PTR("win", win);
@@ -204,7 +204,7 @@
*
* The returned class should be freed.
*/
-char *ewl_window_get_class(Ewl_Window * win)
+char *ewl_window_class_get(Ewl_Window * win)
{
DENTER_FUNCTION(DLEVEL_STABLE);
DCHECK_PARAM_PTR_RET("win", win, NULL);
@@ -220,7 +220,7 @@
* Remove the border from the specified widget and call the
* necessary X lib functions to update the appearance.
*/
-void ewl_window_set_borderless(Ewl_Window * win)
+void ewl_window_borderless_set(Ewl_Window * win)
{
DENTER_FUNCTION(DLEVEL_STABLE);
DCHECK_PARAM_PTR("win", win);
@@ -270,7 +270,7 @@
*
* Stores the window position into the parameters @a x and @a y.
*/
-void ewl_window_get_position(Ewl_Window * win, int *x, int *y)
+void ewl_window_position_get(Ewl_Window * win, int *x, int *y)
{
DENTER_FUNCTION(DLEVEL_STABLE);
DCHECK_PARAM_PTR("win", win);
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/ewl_window.h,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -3 -r1.30 -r1.31
--- ewl_window.h 17 Jun 2004 04:38:23 -0000 1.30
+++ ewl_window.h 18 Aug 2004 02:28:55 -0000 1.31
@@ -52,16 +52,16 @@
Ewl_Widget *ewl_window_new(void);
int ewl_window_init(Ewl_Window * win);
-Ewl_Window *ewl_window_find_window(void *window);
-void ewl_window_set_title(Ewl_Window * win, char *title);
-char *ewl_window_get_title(Ewl_Window * win);
-void ewl_window_set_name(Ewl_Window * win, char *name);
-char *ewl_window_get_name(Ewl_Window * win);
-void ewl_window_set_class(Ewl_Window * win, char *classname);
-char *ewl_window_get_class(Ewl_Window * win);
-void ewl_window_set_borderless(Ewl_Window * win);
+Ewl_Window *ewl_window_window_find(void *window);
+void ewl_window_title_set(Ewl_Window * win, char *title);
+char *ewl_window_title_get(Ewl_Window * win);
+void ewl_window_name_set(Ewl_Window * win, char *name);
+char *ewl_window_name_get(Ewl_Window * win);
+void ewl_window_class_set(Ewl_Window * win, char *classname);
+char *ewl_window_class_get(Ewl_Window * win);
+void ewl_window_borderless_set(Ewl_Window * win);
void ewl_window_move(Ewl_Window * win, int x, int y);
-void ewl_window_get_position(Ewl_Window * win, int *x, int *y);
+void ewl_window_position_get(Ewl_Window * win, int *x, int *y);
/*
* Internally used callbacks, override at your own risk.
-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs