Enlightenment CVS committal

Author  : devilhorns
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/bin


Modified Files:
        e_pointer.c 


Log Message:
Add support for themeing X cursor type "plus".

===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_pointer.c,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -3 -r1.33 -r1.34
--- e_pointer.c 4 Nov 2007 04:13:59 -0000       1.33
+++ e_pointer.c 27 Dec 2007 22:53:30 -0000      1.34
@@ -453,6 +453,12 @@
             if (!cursor) printf("X Cursor for %s is missing\n", type);
             ecore_x_window_cursor_set(p->win, cursor);
          }
+       else if (!strcmp(type, "plus"))
+         {
+            cursor = ecore_x_cursor_shape_get(ECORE_X_CURSOR_PLUS);
+            if (!cursor) printf("X Cursor for %s is missing\n", type);
+            ecore_x_window_cursor_set(p->win, cursor);
+         }
        else
          {
             printf("Unknown pointer type: %s\n", type);



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to