Author: manolo
Date: 2010-12-02 14:59:30 -0800 (Thu, 02 Dec 2010)
New Revision: 7942
Log:
Fix STR 2281: documentation changes only to clarify names and functions of the 
2 clipboards

Modified:
   branches/branch-1.3/FL/Fl.H
   branches/branch-1.3/src/fl_dnd_mac.cxx
   branches/branch-1.3/src/fl_dnd_win32.cxx

Modified: branches/branch-1.3/FL/Fl.H
===================================================================
--- branches/branch-1.3/FL/Fl.H 2010-12-02 22:07:29 UTC (rev 7941)
+++ branches/branch-1.3/FL/Fl.H 2010-12-02 22:59:30 UTC (rev 7942)
@@ -682,24 +682,28 @@
    @{ */
   // cut/paste:
   /**
-    Copies the data pointed to by \p stuff to the selection (0) or
-    primary (1) clipboard. The selection clipboard is used for
-    middle-mouse pastes and for drag-and-drop selections. The primary
-    clipboard is used for traditional copy/cut/paste operations.
+    Copies the data pointed to by \p stuff to the selection clipboard (0) or
+    the copy clipboard (1). The selection clipboard is used for
+    middle-mouse pastes and for drag-and-drop selections. The 
+    copy clipboard is used for traditional copy/cut/paste operations.
   */
   static void copy(const char* stuff, int len, int clipboard = 0); // platform 
dependent
   /**
-    Pastes the data from the selection (0) or primary (1) clipboard into 
receiver.  
+    Pastes the data from the selection clipboard (0) or the copy clipboard (1) 
+    into receiver.  
     The selection clipboard is used for middle-mouse pastes and for 
-    drag-and-drop selections. The primary clipboard is used for 
-    traditional copy/cut/paste operations.
+    drag-and-drop selections. The copy clipboard is used for traditional 
+    copy/cut/paste operations.
   */
   static void paste(Fl_Widget &receiver, int clipboard /*=0*/); // platform 
dependent
   /**
-    Initiate a Drag And Drop operation. The clipboard should be
+    Initiate a Drag And Drop operation. The selection clipboard (0) should be
     filled with relevant data before calling this method. FLTK will
     then initiate the system wide drag and drop handling. Dropped data
     will be marked as <i>text</i>.
+   
+    Create a selection first using:
+    Fl::copy(const char *stuff, int len, 0)
   */
   static int dnd(); // platform dependent
 

Modified: branches/branch-1.3/src/fl_dnd_mac.cxx
===================================================================
--- branches/branch-1.3/src/fl_dnd_mac.cxx      2010-12-02 22:07:29 UTC (rev 
7941)
+++ branches/branch-1.3/src/fl_dnd_mac.cxx      2010-12-02 22:59:30 UTC (rev 
7942)
@@ -32,11 +32,6 @@
 
 extern int MACpreparedrag(void);
 
-/**
- * drag and drop whatever is in the cut-copy-paste buffer
- * - create a selection first using: 
- *     Fl::copy(const char *stuff, int len, 0)
- */
 int Fl::dnd()
 {
   return MACpreparedrag();

Modified: branches/branch-1.3/src/fl_dnd_win32.cxx
===================================================================
--- branches/branch-1.3/src/fl_dnd_win32.cxx    2010-12-02 22:07:29 UTC (rev 
7941)
+++ branches/branch-1.3/src/fl_dnd_win32.cxx    2010-12-02 22:59:30 UTC (rev 
7942)
@@ -483,13 +483,6 @@
 };
 
 
-/**
-   Drag and drop whatever is in the cut-copy-paste buffer.
-
-   Create a selection first using:
-
-     Fl::copy(const char *stuff, int len, 0)
-*/
 int Fl::dnd()
 {
   DWORD dropEffect;

_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit

Reply via email to