Enlightenment CVS committal
Author : kwo
Project : e16
Module : e
Dir : e16/e/src
Modified Files:
E.h Makefile.am arrange.c
Removed Files:
arrange.h
Log Message:
There is no point in having arrange.h when everything else is in E.h.
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/E.h,v
retrieving revision 1.196
retrieving revision 1.197
diff -u -3 -r1.196 -r1.197
--- E.h 6 Feb 2004 19:56:25 -0000 1.196
+++ E.h 8 Feb 2004 16:17:58 -0000 1.197
@@ -315,8 +315,6 @@
#include <esd.h>
#endif
-#include "arrange.h"
-
/* This is a start to providing internationalization by means */
/* of gettext */
@@ -1559,6 +1557,14 @@
}
RememberWinList;
+typedef struct _rectbox
+{
+ void *data;
+ int x, y, w, h;
+ int p;
+}
+RectBox;
+
/* function prototypes */
void Efont_extents(Efont * f, char *text,
@@ -2295,6 +2301,17 @@
void MoveEwinLinearAreaBy(EWin * ewin, int a);
int Emkstemp(char *template);
+
+/* arrange.c */
+#define ARRANGE_VERBATIM 0
+#define ARRANGE_BY_SIZE 1
+#define ARRANGE_BY_POSITION 2
+
+void ArrangeRects(RectBox * fixed, int fixed_count,
+ RectBox * floating, int floating_count,
+ RectBox * sorted, int startx, int starty,
+ int width, int height, int policy,
+ char initial_window);
void SnapEwin(EWin * ewin, int dx, int dy, int *new_dx,
int *new_dy);
void ArrangeEwin(EWin * ewin);
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/Makefile.am,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -3 -r1.28 -r1.29
--- Makefile.am 18 Jan 2004 10:24:03 -0000 1.28
+++ Makefile.am 8 Feb 2004 16:17:58 -0000 1.29
@@ -20,7 +20,6 @@
alert.c \
areas.c \
arrange.c \
- arrange.h \
atoms.c \
borders.c \
buttons.c \
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/arrange.c,v
retrieving revision 1.62
retrieving revision 1.63
diff -u -3 -r1.62 -r1.63
--- arrange.c 21 Jan 2004 23:32:44 -0000 1.62
+++ arrange.c 8 Feb 2004 16:17:58 -0000 1.63
@@ -22,10 +22,7 @@
*/
#include "E.h"
-int ArrangeAddToList(int **array, int current_size, int value);
-void ArrangeSwapList(RectBox * list, int a, int b);
-
-int
+static int
ArrangeAddToList(int **array, int current_size, int value)
{
int i, j;
@@ -47,7 +44,7 @@
EDBUG_RETURN(current_size + 1);
}
-void
+static void
ArrangeSwapList(RectBox * list, int a, int b)
{
RectBox bb;
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs