E CVS: e kwo

2004-06-27 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir : e16/e/src


Modified Files:
E.h file.c iclass.c settings.c ttfont.c 


Log Message:
Fix compile with imlib1 + trivial stuff.
===
RCS file: /cvsroot/enlightenment/e16/e/src/E.h,v
retrieving revision 1.288
retrieving revision 1.289
diff -u -3 -r1.288 -r1.289
--- E.h 26 Jun 2004 17:49:01 -  1.288
+++ E.h 27 Jun 2004 10:42:52 -  1.289
@@ -66,19 +66,6 @@
 #define ENABLE_TRANSPARENCY 1
 #define ENABLE_THEME_TRANSPARENCY 1
 
-#define ST_UNKNWN  0
-#define ST_BORDER  1
-#define ST_WIDGET  2
-#define ST_ICONBOX 3
-#define ST_MENU4
-#define ST_MENU_ITEM   5
-#define ST_TOOLTIP 6
-#define ST_DIALOG  7
-#define ST_HILIGHT 8
-#define ST_PAGER   9
-#define ST_WARPLIST10
-#define ST_BUTTON  11
-
 #define ICLASS_ATTR_OPAQUE  0  /* No transparency */
 #define ICLASS_ATTR_BG  1  /* Background transparency */
 #define ICLASS_ATTR_GLASS   2  /* Glass transparency */
@@ -565,6 +552,19 @@
 #define SET_ON 1
 #define SET_TOGGLE 2
 
+#define ST_UNKNWN  0
+#define ST_BORDER  1
+#define ST_WIDGET  2
+#define ST_ICONBOX 3
+#define ST_MENU4
+#define ST_MENU_ITEM   5
+#define ST_TOOLTIP 6
+#define ST_DIALOG  7
+#define ST_HILIGHT 8
+#define ST_PAGER   9
+#define ST_WARPLIST10
+#define ST_BUTTON  11
+
 /* ISO encodings */
 #define ENCOING_ISO_8859_1 0
 #define ENCOING_ISO_8859_2 1
===
RCS file: /cvsroot/enlightenment/e16/e/src/file.c,v
retrieving revision 1.60
retrieving revision 1.61
diff -u -3 -r1.60 -r1.61
--- file.c  21 Mar 2004 01:39:40 -  1.60
+++ file.c  27 Jun 2004 10:42:52 -  1.61
@@ -584,7 +584,6 @@
 word(const char *s, int num, char *wd)
 {
int cnt, i;
-   char   *w;
const char *start, *finish, *ss;
 
EDBUG(9, word);
@@ -602,7 +601,6 @@
start = NULL;
finish = NULL;
ss = NULL;
-   w = wd;
 
while (s[i])
  {
===
RCS file: /cvsroot/enlightenment/e16/e/src/iclass.c,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -3 -r1.42 -r1.43
--- iclass.c26 Jun 2004 17:49:01 -  1.42
+++ iclass.c27 Jun 2004 10:42:53 -  1.43
@@ -387,7 +387,7 @@
 
 static void
 ImageStateMakePmapMask(ImageState * is, Drawable win, PmapMask * pmm,
-  int make_mask, int w, int h, int image_type __UNUSED__)
+  int make_mask, int w, int h, int image_type)
 {
int apply, trans;
int ww, hh;
@@ -667,6 +667,9 @@
imlib_context_set_image(ii);
imlib_free_image();
  }
+#else
+   make_mask = 0;
+   image_type = 0;
 #endif
 }
 
===
RCS file: /cvsroot/enlightenment/e16/e/src/settings.c,v
retrieving revision 1.112
retrieving revision 1.113
diff -u -3 -r1.112 -r1.113
--- settings.c  19 Jun 2004 11:17:08 -  1.112
+++ settings.c  27 Jun 2004 10:42:53 -  1.113
@@ -2443,11 +2443,14 @@
 static char tmp_userbg;
 static int  tmp_bg_timeout;
 static int  tmp_theme_transparency;
+
+#ifdef ENABLE_THEME_TRANSPARENCY
 static int  tmp_st_border;
 static int  tmp_st_widget;
 static int  tmp_st_menu;
 static int  tmp_st_tooltip;
 static int  tmp_st_hilight;
+#endif
 
 static void BG_RedrawView(char nuke_old);
 
===
RCS file: /cvsroot/enlightenment/e16/e/src/ttfont.c,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -3 -r1.37 -r1.38
--- ttfont.c26 Jun 2004 20:27:31 -  1.37
+++ ttfont.c27 Jun 2004 10:42:53 -  1.38
@@ -138,6 +138,8 @@
 #else
 #include freetype.h
 #endif
+#include sys/ipc.h
+#include sys/shm.h
 
 struct _efont
 {




---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: e kwo

2004-06-27 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir : e16/e/src


Modified Files:
E.h borders.c evhandlers.c icccm.c session.c snaps.c 


Log Message:
Get the window placement right, I hope.
===
RCS file: /cvsroot/enlightenment/e16/e/src/E.h,v
retrieving revision 1.289
retrieving revision 1.290
diff -u -3 -r1.289 -r1.290
--- E.h 27 Jun 2004 10:42:52 -  1.289
+++ E.h 27 Jun 2004 15:59:32 -  1.290
@@ -1737,6 +1737,7 @@
 #define EWIN_CHANGE_DESKTOP (13)
 #define EWIN_CHANGE_LAYER   (14)
 
+voidEwinGetPosition(EWin * ewin, int *px, int *py);
 voidEwinRefresh(EWin * ewin);
 voidEwinUpdateAfterMoveResize(EWin * ewin, int resize);
 voidEwinFixPosition(EWin * ewin);
===
RCS file: /cvsroot/enlightenment/e16/e/src/borders.c,v
retrieving revision 1.197
retrieving revision 1.198
diff -u -3 -r1.197 -r1.198
--- borders.c   26 Jun 2004 18:24:39 -  1.197
+++ borders.c   27 Jun 2004 15:59:32 -  1.198
@@ -485,8 +485,8 @@
  }
 
/* if it hasn't been placed yet find a spot for it */
-   x = 0;
-   y = 0;
+   x = ewin-x;
+   y = ewin-y;
if ((!ewin-client.already_placed)  (!manplace))
  {
 
@@ -536,53 +536,6 @@
 ArrangeEwinXY(ewin, x, y);
  } /* (Conf.manual_placement_mouse_pointer) */
  } /* ((!ewin-client.already_placed)  (!manplace)) */
-   else
- {
-   x = ewin-x;
-   y = ewin-y;
-   switch (ewin-client.grav)
- {
- case NorthWestGravity:
-x += (ewin-client.bw * 2);
-y += (ewin-client.bw * 2);
-break;
- case NorthGravity:
-y += (ewin-client.bw * 2);
-break;
- case NorthEastGravity:
-y += (ewin-client.bw * 2);
-if (ewin-border)
-   x -= ewin-border-border.left + (ewin-client.bw * 2);
-break;
- case EastGravity:
-if (ewin-border)
-   x -= ewin-border-border.left + (ewin-client.bw * 2);
-break;
- case SouthEastGravity:
-if (ewin-border)
-  {
- x -= ewin-border-border.left + (ewin-client.bw * 2);
- y -= ewin-border-border.top + (ewin-client.bw * 2);
-  }
-break;
- case SouthGravity:
-if (ewin-border)
-   y -= ewin-border-border.top + (ewin-client.bw * 2);
-break;
- case SouthWestGravity:
-x += (ewin-client.bw * 2);
-if (ewin-border)
-   y -= ewin-border-border.top + (ewin-client.bw * 2);
-break;
- case WestGravity:
-x += (ewin-client.bw * 2);
-break;
- case CenterGravity:
-break;
- default:
-break;
- }
- }
 
/* if the window asked to be iconified at the start */
if (ewin-client.start_iconified)
@@ -1149,11 +1102,82 @@
EDBUG_RETURN_;
 }
 
+/*
+ * Derive frame window position from client window and border properties
+ */
+void
+EwinGetPosition(EWin * ewin, int *px, int *py)
+{
+   int x, y, bw, frame_lr, frame_tb;
+
+   x = ewin-client.x;
+   y = ewin-client.y;
+   bw = ewin-client.bw;
+   frame_lr = ewin-border-border.left + ewin-border-border.right;
+   frame_tb = ewin-border-border.top + ewin-border-border.bottom;
+
+   switch (ewin-client.grav)
+ {
+ case NorthWestGravity:
+ case SouthWestGravity:
+ case WestGravity:
+   x -= bw;
+   break;
+ case NorthEastGravity:
+ case EastGravity:
+ case SouthEastGravity:
+   x -= frame_lr / 2;
+   break;
+ case NorthGravity:
+ case CenterGravity:
+ case SouthGravity:
+   x -= frame_lr - bw;
+   break;
+ default:
+   break;
+ }
+
+   switch (ewin-client.grav)
+ {
+ case NorthWestGravity:
+ case NorthGravity:
+ case NorthEastGravity:
+   y -= bw;
+   break;
+ case WestGravity:
+ case CenterGravity:
+ case EastGravity:
+   y -= frame_tb / 2;
+   break;
+ case SouthWestGravity:
+ case SouthGravity:
+ case SouthEastGravity:
+   y -= frame_tb - bw;
+   break;
+ default:
+   break;
+ }
+
+   *px = x;
+   *py = y;
+}
+
+/*
+ * Derive frame window geometry from client window properties
+ */
 static void
 EwinGetGeometry(EWin * ewin)
 {
-   ewin-shape_x = ewin-x = ewin-client.x - ewin-border-border.left;
-   ewin-shape_y = ewin-y = ewin-client.y - ewin-border-border.top;
+   int x, y;
+
+   EwinGetPosition(ewin, x, y);
+
+   ewin-client.x = x + ewin-border-border.left;
+   ewin-client.y = y + ewin-border-border.top;
+
+   ewin-shape_x = ewin-x = x;
+   ewin-shape_y = ewin-y = y;
+
ewin-w = 

E CVS: apps/entrance atmosphere

2004-06-27 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : atmosphere
Project : e17
Module  : apps/entrance

Dir : e17/apps/entrance/src/client


Modified Files:
Makefile.am entrance_user.c entrance_x_session.c 
Added Files:
entrance_smart.c entrance_smart.h 


Log Message:
o add entrance_smart.[ch] - Evas Smart Object handle user and session instances
 - Edje - the edje part we're swallowing(User or Session group from themes)
 - Avatar - the swallowed image/edje (no longer autocleaned up by edje lib)
o entrance_x_session.c - use entrance_smart object
o entrance_user.c - use entrance_smart object

This just keeps the rest of the code from getting cluttered with simple
repetitive crap we have to do ourselves. This also fixes entrance_edit w/o
actually modifying any source. :D  


===
RCS file: /cvsroot/enlightenment/e17/apps/entrance/src/client/Makefile.am,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -3 -r1.14 -r1.15
--- Makefile.am 23 May 2004 14:04:22 -  1.14
+++ Makefile.am 27 Jun 2004 17:05:27 -  1.15
@@ -12,6 +12,7 @@
entrance_user.c entrance_user.h \
entrance_x_session.c entrance_x_session.h \
entrance_ipc.c entrance_ipc.h \
+   entrance_smart.c entrance_smart.h \
util.c util.h \
entrance.h main.c 
 
@@ -22,6 +23,6 @@
 
 entrance_edit_SOURCES = entrance_edit.c \
entrance_config.c entrance_user.c \
-   util.c entrance_x_session.c
+   util.c entrance_x_session.c entrance_smart.c
 entrance_edit_LDADD = @edje_libs@ @ecore_libs@ @edb_libs@ @evas_libs@ \
 @esmart_libs@ -lesmart_container -lesmart_text_entry
===
RCS file: /cvsroot/enlightenment/e17/apps/entrance/src/client/entrance_user.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -3 -r1.9 -r1.10
--- entrance_user.c 25 Mar 2004 05:29:22 -  1.9
+++ entrance_user.c 27 Jun 2004 17:05:27 -  1.10
@@ -1,4 +1,5 @@
 #include entrance_user.h
+#include entrance_smart.h
 #include stdlib.h
 #include stdio.h
 #include Evas.h
@@ -89,32 +90,37 @@
 entrance_user_edje_get(Entrance_User * e, Evas_Object * edje,
const char *file)
 {
-   Evas_Object *o = NULL;
-   Evas_Object *oo = NULL;
Evas_Coord w, h;
+   Evas_Object *o = NULL;
+   Evas_Object *result = NULL;
+   Evas_Object *avatar = NULL;
 
if (e  edje)
{
+  result = entrance_smart_add(evas_object_evas_get(edje));
   o = edje_object_add(evas_object_evas_get(edje));
+  entrance_smart_edje_set(result, o);
   if (edje_object_file_set(o, file, User))
   {
  evas_object_layer_set(o, 0);
  evas_object_move(o, -, -);
  edje_object_size_min_get(o, w, h);
  if ((w  0)  (h  0))
-evas_object_resize(o, w, h);
+evas_object_resize(result, w, h);
 
  if (edje_object_part_exists(o, EntranceUserIcon))
  {
-oo = _entrance_user_icon_load(edje, e-icon);
-if (!strcmp(evas_object_type_get(oo), image))
+if ((avatar = _entrance_user_icon_load(edje, e-icon)))
 {
-
-   edje_object_part_geometry_get(oo, EntranceUserIcon, NULL,
- NULL, w, h);
-   evas_object_image_fill_set(oo, 0.0, 0.0, w, h);
+   if (!strcmp(evas_object_type_get(avatar), image))
+   {
+  edje_object_part_geometry_get(avatar, EntranceUserIcon,
+NULL, NULL, w, h);
+  evas_object_image_fill_set(avatar, 0.0, 0.0, w, h);
+   }
+   entrance_smart_avatar_set(result, avatar);
+   edje_object_part_swallow(o, EntranceUserIcon, avatar);
 }
-edje_object_part_swallow(o, EntranceUserIcon, oo);
  }
  if (edje_object_part_exists(o, EntranceUserName))
  {
@@ -127,16 +133,16 @@
  user_selected_cb, e);
  edje_object_signal_callback_add(o, UserUnSelected, ,
  user_unselected_cb, e);
- evas_object_show(o);
+ evas_object_show(result);
   }
   else
   {
  fprintf(stderr, Failed on: %s(%s)\n, e-name, file);
- evas_object_del(o);
- o = NULL;
+ evas_object_del(result);
+ result = NULL;
   }
}
-   return (o);
+   return (result);
 }
 
 /**
===
RCS file: /cvsroot/enlightenment/e17/apps/entrance/src/client/entrance_x_session.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- entrance_x_session.c10 Mar 2004 22:53:51 -  1.4
+++ entrance_x_session.c27 Jun 2004 17:05:27 -  1.5
@@ -1,5 +1,6 @@
 #include entrance.h
 #include 

E CVS: libs/ewl rbdpngn

2004-06-27 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : rbdpngn
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/test


Modified Files:
ewl_textarea_test.c 


Log Message:
Test the append function for the textarea, and the color manipulation
functions.

===
RCS file: /cvsroot/enlightenment/e17/libs/ewl/test/ewl_textarea_test.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -3 -r1.17 -r1.18
--- ewl_textarea_test.c 13 May 2004 06:03:01 -  1.17
+++ ewl_textarea_test.c 27 Jun 2004 18:06:17 -  1.18
@@ -6,7 +6,7 @@
the new text area.\n
It's possible that it contains\n
unprintable characters such\n
-   as  or extremely long\n
+   as \t or extremely long\n
lines. Beware, it may\n
trigger bugs in etox or\n
ewl\nso\ntrace\ncarefully. Now it's time for some 
@@ -24,29 +24,7 @@
when displaying large text regions. This message will 
now be repeated to do a little stress testing.\n
\n
-   \n
-   This is a long string to test\n
-   the effectiveness of\n
-   the new text area.\n
-   It's possible that it contains\n
-   unprintable characters such\n
-   as  or extremely long\n
-   lines. Beware, it may\n
-   trigger bugs in etox or\n
-   ewl\nso\ntrace\ncarefully. Now it's time for some 
-   gibberish to make this thing longer and to test the 
-   scrollbars. There's probably not enough text here\n
-   to really push etox, but hopefully it will give a 
-   better idea of the speed\n
-   Right now selection of text and click to position\n
-   need quite a bit of work, as well as keyboard\n
-   navigation and focus control\n
-   We really need to get some better text in here at\n
-   some point, since this is pretty lame\n
-   but we need long strings to test it effectively.\n
-   I have heard a couple reports of major slowdowns\n
-   when displaying large text regions. This message will 
-   now be repeated to do a little stress testing.;
+   \n;
 
 static Ewl_Widget *textarea_button;
 
@@ -80,7 +58,7 @@
ewl_window_set_name(EWL_WINDOW(textarea_win), EWL Test Application);
ewl_window_set_class(EWL_WINDOW(textarea_win), EFL Test Application);
ewl_object_set_fill_policy(EWL_OBJECT(textarea_win), EWL_FLAG_FILL_ALL);
-   ewl_object_request_size(EWL_OBJECT(textarea_win), 100, 100);
+   ewl_object_request_size(EWL_OBJECT(textarea_win), 200, 150);
ewl_callback_append(textarea_win, EWL_CALLBACK_DELETE_WINDOW,
__destroy_textarea_test_window, NULL);
ewl_widget_show(textarea_win);
@@ -96,6 +74,12 @@
 * Create the textarea to be displayed.
 */
textarea = ewl_text_new(long_text);
+   ewl_text_color_set(EWL_TEXT(textarea), 255, 0, 0, 255);
+   ewl_text_text_append(EWL_TEXT(textarea), long_text);
+   ewl_text_color_set(EWL_TEXT(textarea), 0, 255, 0, 255);
+   ewl_text_text_append(EWL_TEXT(textarea), long_text);
+   ewl_text_color_set(EWL_TEXT(textarea), 0, 0, 255, 255);
+   ewl_text_text_append(EWL_TEXT(textarea), long_text);
ewl_container_append_child(EWL_CONTAINER(scrollpane), textarea);
ewl_widget_show(textarea);
 




---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: apps/entrance atmosphere

2004-06-27 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : atmosphere
Project : e17
Module  : apps/entrance

Dir : e17/apps/entrance/data/themes/taillights/parts


Modified Files:
entrance_session.edc 


Log Message:
minor fixup
===
RCS file: 
/cvsroot/enlightenment/e17/apps/entrance/data/themes/taillights/parts/entrance_session.edc,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -3 -r1.12 -r1.13
--- entrance_session.edc12 Jun 2004 21:49:06 -  1.12
+++ entrance_session.edc27 Jun 2004 19:03:32 -  1.13
@@ -160,7 +160,7 @@
rel1 {
relative, 0.0 0.0;
offset, 0 0;
-   to, EntranceSession;
+   to_y, EntranceSession;
} rel2 {
relative, 1.0 1.0;
offset, 0 0;




---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: e kwo

2004-06-27 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir : e16/e/src


Modified Files:
E.h borders.c 


Log Message:
Fix repositioning on border change.
===
RCS file: /cvsroot/enlightenment/e16/e/src/E.h,v
retrieving revision 1.290
retrieving revision 1.291
diff -u -3 -r1.290 -r1.291
--- E.h 27 Jun 2004 15:59:32 -  1.290
+++ E.h 27 Jun 2004 20:24:25 -  1.291
@@ -1737,7 +1737,7 @@
 #define EWIN_CHANGE_DESKTOP (13)
 #define EWIN_CHANGE_LAYER   (14)
 
-voidEwinGetPosition(EWin * ewin, int *px, int *py);
+voidEwinGetPosition(const EWin * ewin, int *px, int *py);
 voidEwinRefresh(EWin * ewin);
 voidEwinUpdateAfterMoveResize(EWin * ewin, int resize);
 voidEwinFixPosition(EWin * ewin);
===
RCS file: /cvsroot/enlightenment/e16/e/src/borders.c,v
retrieving revision 1.198
retrieving revision 1.199
diff -u -3 -r1.198 -r1.199
--- borders.c   27 Jun 2004 15:59:32 -  1.198
+++ borders.c   27 Jun 2004 20:24:25 -  1.199
@@ -1106,7 +1106,7 @@
  * Derive frame window position from client window and border properties
  */
 void
-EwinGetPosition(EWin * ewin, int *px, int *py)
+EwinGetPosition(const EWin * ewin, int *px, int *py)
 {
int x, y, bw, frame_lr, frame_tb;
 
@@ -1733,10 +1733,9 @@
if (ewin-border != b)
  {
 EwinSetBorderTo(ewin, b);
-EwinGetGeometry(ewin);
 ICCCM_MatchSize(ewin);
-MoveResizeEwin(ewin, ewin-x, ewin-y, ewin-client.w,
-   ewin-client.h);
+MoveResizeEwin(ewin, ewin-x, ewin-y,
+   ewin-client.w, ewin-client.h);
  }
  }
else




---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: e kwo

2004-06-27 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir : e16/e/src


Modified Files:
E.h actions.c edge.c 


Log Message:
Fix edge flip with fullscreen windows.
===
RCS file: /cvsroot/enlightenment/e16/e/src/E.h,v
retrieving revision 1.291
retrieving revision 1.292
diff -u -3 -r1.291 -r1.292
--- E.h 27 Jun 2004 20:24:25 -  1.291
+++ E.h 27 Jun 2004 22:30:52 -  1.292
@@ -1358,7 +1358,6 @@
int last_button;
Timelast_time;
charqueue_up;
-   charedge_flip_inhibit;
 }
 EMode;
 
===
RCS file: /cvsroot/enlightenment/e16/e/src/actions.c,v
retrieving revision 1.169
retrieving revision 1.170
diff -u -3 -r1.169 -r1.170
--- actions.c   19 Jun 2004 21:31:39 -  1.169
+++ actions.c   27 Jun 2004 22:30:53 -  1.170
@@ -938,11 +938,6 @@
   on = 1;
EwinSetFullscreen(ewin, on);
 
-   /* Inhibit edge flip while in fullscreen mode */
-   /* FIXME: Breaks when multiple windows enter/leave fullscreen state */
-   Mode.edge_flip_inhibit = on;
-   ShowEdgeWindows();
-
return 0;
 }
 
===
RCS file: /cvsroot/enlightenment/e16/e/src/edge.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -3 -r1.5 -r1.6
--- edge.c  31 May 2004 20:30:12 -  1.5
+++ edge.c  27 Jun 2004 22:30:53 -  1.6
@@ -30,11 +30,17 @@
 EdgeTimeout(int val, void *data)
 {
int ax, ay, aw, ah, dx, dy, dax, day;
+   EWin   *ewin;
 
-   if (Mode.edge_flip_inhibit || (Mode.cur_menu_mode  0))
+   if (Mode.cur_menu_mode  0)
   return;
if (!Conf.edge_flip_resistance)
   return;
+
+   ewin = GetEwinPointerInClient();
+   if (ewin  ewin-st.fullscreen)
+  return;
+
throw_move_events_away = 1;
GetCurrentArea(ax, ay);
GetAreaSize(aw, ah);
@@ -93,7 +99,7 @@
 {
int ax, ay, cx, cy;
 
-   if (Mode.edge_flip_inhibit || (Conf.edge_flip_resistance = 0))
+   if (Conf.edge_flip_resistance = 0)
  {
HideEdgeWindows();
return;




---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/emotion raster

2004-06-27 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/emotion

Dir : e17/libs/emotion/src/bin


Modified Files:
emotion_test_main.c 


Log Message:


that slider on the left.. playes with alpha now...

===
RCS file: /cvsroot/enlightenment/e17/libs/emotion/src/bin/emotion_test_main.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- emotion_test_main.c 24 Jun 2004 10:55:42 -  1.2
+++ emotion_test_main.c 28 Jun 2004 01:24:04 -  1.3
@@ -602,9 +602,9 @@

ov = data;
edje_object_part_drag_value_get(o, source, x, y);
-   spd = (y * 20.0) - 10.0;
-   emotion_object_play_speed_set(ov, spd);
-   snprintf(buf, sizeof(buf), %1.1f, spd);
+   spd = 255 * y;
+   evas_object_color_set(ov, 255, 255, 255, spd);
+   snprintf(buf, sizeof(buf), %i, spd);
edje_object_part_text_set(o, video_speed_txt, buf);
 }
 
@@ -746,7 +746,7 @@
edje_object_signal_callback_add(oe, frame_resize, stop, 
video_obj_signal_frame_resize_stop_cb, oe);
edje_object_signal_callback_add(oe, mouse,move, *, 
video_obj_signal_frame_move_cb, oe);

-   edje_object_part_drag_value_set(oe, video_speed, 0.0, 11.0 / 20.0);
+   edje_object_part_drag_value_set(oe, video_speed, 0.0, 1.0);
edje_object_part_text_set(oe, video_speed_txt, 1.0);
 
edje_object_signal_emit(o, video_state, play);




---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs


E CVS: libs/ewl rbdpngn

2004-06-27 Thread enlightenment-cvs
Enlightenment CVS committal

Author  : rbdpngn
Project : e17
Module  : libs/ewl

Dir : e17/libs/ewl/test


Modified Files:
ewl_test.c 


Log Message:
Small adjustment to fill policy on the test list.

===
RCS file: /cvsroot/enlightenment/e17/libs/ewl/test/ewl_test.c,v
retrieving revision 1.63
retrieving revision 1.64
diff -u -3 -r1.63 -r1.64
--- ewl_test.c  26 Jun 2004 19:09:33 -  1.63
+++ ewl_test.c  28 Jun 2004 05:19:23 -  1.64
@@ -143,7 +143,8 @@
ewl_tree_set_headers (EWL_TREE (main_tree), header);
ewl_container_append_child(EWL_CONTAINER(main_box), main_tree);
ewl_object_set_fill_policy (EWL_OBJECT (main_tree),
-EWL_FLAG_FILL_HSHRINK);
+EWL_FLAG_FILL_HSHRINK |
+EWL_FLAG_FILL_VFILL);
ewl_widget_show(main_tree);
 
main_area = ewl_scrollpane_new();




---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs