home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / x / volume8 / xcoledit / patch1 next >
Encoding:
Internet Message Format  |  1990-06-26  |  2.2 KB

  1. Path: uunet!mailrus!wuarchive!usc!apple!sun-barr!newstop!sun!ukc.ac.uk
  2. From: rlh2@ukc.ac.uk (Richard Hesketh)
  3. Newsgroups: comp.sources.x
  4. Subject: v08i006: xcoloredit -- colour mixing/editing tool, Patch1, Part01/01
  5. Message-ID: <137920@sun.Eng.Sun.COM>
  6. Date: 27 Jun 90 06:47:37 GMT
  7. Sender: news@sun.Eng.Sun.COM
  8. Lines: 67
  9. Approved: argv@sun.com
  10.  
  11. Submitted-by: Richard Hesketh <rlh2@ukc.ac.uk>
  12. Posting-number: Volume 8, Issue 6
  13. Archive-name: xcoledit/patch1
  14. Patch-To: xcoledit: Volume 7, Issue 38 (5/12/90)
  15.  
  16. This patch fixes a couple of small errors in the original program.
  17.  
  18. *** Xcoloredit.h.orig    Mon May 14 20:19:02 1990
  19. --- Xcoloredit.h    Mon May 14 20:19:15 1990
  20. ***************
  21. *** 33,39 ****
  22.       "Xcoloredit*Foreground: black",
  23.       "Xcoloredit*Background: white",
  24.       "Xcoloredit*BorderColor: black",
  25. -     "Xcoloredit*Font: screen.r.14",
  26.   /* For mixing form */
  27.       "Xcoloredit*mixingForm.translations: <Expose>: draw_boxed()",
  28.   /* For all scrollbars */
  29. --- 33,38 ----
  30. *** patchlevel.h.orig    Wed May 16 09:23:17 1990
  31. --- patchlevel.h    Wed May 16 09:23:29 1990
  32. ***************
  33. *** 1 ****
  34. ! #define PATCHLEVEL 0
  35. --- 1 ----
  36. ! #define PATCHLEVEL 1
  37. *** xcoloredit.c.orig    Mon May 14 20:42:00 1990
  38. --- xcoloredit.c    Fri May 18 18:10:16 1990
  39. ***************
  40. *** 305,311 ****
  41.       valScroll = XtVaCreateManagedWidget("valScroll", scrollbarWidgetClass,
  42.                           mixingForm, NULL);
  43.   
  44. !     temp = redScroll;
  45.       for (i = 0; i < NUM_MEMORIES; i++) {
  46.           if (i > 0 && i%NUM_IN_ROW == 0)
  47.               temp = colorMemory[i-1];
  48. --- 305,311 ----
  49.       valScroll = XtVaCreateManagedWidget("valScroll", scrollbarWidgetClass,
  50.                           mixingForm, NULL);
  51.   
  52. !     temp = quit;
  53.       for (i = 0; i < NUM_MEMORIES; i++) {
  54.           if (i > 0 && i%NUM_IN_ROW == 0)
  55.               temp = colorMemory[i-1];
  56. ***************
  57. *** 937,943 ****
  58.       Boolean own;
  59.   
  60.       XtVaGetValues(w, XtNstate, &own, NULL);
  61. !     OwnSelection(w, (XtPointer)TRUE, (XtPointer)own);
  62.   }
  63.   
  64.   
  65. --- 937,943 ----
  66.       Boolean own;
  67.   
  68.       XtVaGetValues(w, XtNstate, &own, NULL);
  69. !     OwnSelection(w, (XtPointer)TRUE, (XtPointer)(own ? TRUE : FALSE));
  70.   }
  71.   
  72.   
  73.  
  74. dan
  75. ----------------------------------------------------
  76. O'Reilly && Associates   argv@sun.com / argv@ora.com
  77. Opinions expressed reflect those of the author only.
  78.