gzz-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gzz-commits] libvob/doc/pegboard/cursors--humppake peg.rst


From: Asko Soukka
Subject: [Gzz-commits] libvob/doc/pegboard/cursors--humppake peg.rst
Date: Fri, 09 May 2003 09:36:51 -0400

CVSROOT:        /cvsroot/libvob
Module name:    libvob
Changes by:     Asko Soukka <address@hidden>    03/05/09 09:36:51

Modified files:
        doc/pegboard/cursors--humppake: peg.rst 

Log message:
        twid

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/libvob/libvob/doc/pegboard/cursors--humppake/peg.rst.diff?tr1=1.6&tr2=1.7&r1=text&r2=text

Patches:
Index: libvob/doc/pegboard/cursors--humppake/peg.rst
diff -u libvob/doc/pegboard/cursors--humppake/peg.rst:1.6 
libvob/doc/pegboard/cursors--humppake/peg.rst:1.7
--- libvob/doc/pegboard/cursors--humppake/peg.rst:1.6   Fri May  9 09:24:57 2003
+++ libvob/doc/pegboard/cursors--humppake/peg.rst       Fri May  9 09:36:51 2003
@@ -4,8 +4,8 @@
 
 :Authors:  Asko Soukka
 :Date-Created: 2003-05-09
-:Last-Modified: $Date: 2003/05/09 13:24:57 $
-:Revision: $Revision: 1.6 $
+:Last-Modified: $Date: 2003/05/09 13:36:51 $
+:Revision: $Revision: 1.7 $
 :Status:   Current
 :Scope:    Trivial
 :Type:     Feature, Interface, Implementation
@@ -95,8 +95,9 @@
        NOTE: In Java, Toolkit.createCustomCursor is available since
         JDK 1.2. How custom cursor could be used efficiently in GL?
 
-       RE-RESOLVED: Using custom cursor is allowed, thought it left
-        unimplemented in GL.
+       RE-RESOLVED: Since ustom cursors should be also possible 
+        outside the AWT, using custom cursor is allowed. Althought, left
+        yet unimplemented in GL.
 
 Changes
 =======
@@ -162,19 +163,15 @@
           Os::Window *w = (Os::Window *)windows.get(id);
           DBG(dbg) << "Set window "<<id<<" Cursor shape "<<shape<<" at 
"<<(int)w<<"\n";
           std::string shape_str = jstr2stdstr(env, shape);
-         std::transform(shape_str.begin(), shape_strend(),
-                       shape_str.begin(), std::toupper);
           w->setCursor(shape_str);
     }
 
 Into ``src/os/Os-GLX.cxx``::
 
-       // For setCursor()
-       #include <X11/Xlib.h>
-       #include <X11/cursorfont.h>
-       #include <string>
-       using std::string;
-       //
+    // For setCursor()
+    #include <X11/Xlib.h>
+    #include <X11/cursorfont.h>
+    //
 
 Into ``src/os/Os-GLX.cxx Vob.Os.LXWindow``::
 
@@ -206,7 +203,7 @@
          cursor = XCreateFontCursor(ws->dpy, XC_xterm);
        else if (shape == "W_RESIZE_CURSOR")
          cursor = XCreateFontCursor(ws->dpy, XC_left_side);
-        else if (shape == "WAIT_CURSOR")
+       else if (shape == "WAIT_CURSOR")
          cursor = XCreateFontCursor(ws->dpy, XC_watch);
        if (cursor != 0) XDefineCursor(ws->dpy, xw, cursor);
     } 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]