home *** CD-ROM | disk | FTP | other *** search
- Path: uunet!mailrus!wuarchive!usc!apple!sun-barr!newstop!sun!ukc.ac.uk
- From: rlh2@ukc.ac.uk (Richard Hesketh)
- Newsgroups: comp.sources.x
- Subject: v08i006: xcoloredit -- colour mixing/editing tool, Patch1, Part01/01
- Message-ID: <137920@sun.Eng.Sun.COM>
- Date: 27 Jun 90 06:47:37 GMT
- Sender: news@sun.Eng.Sun.COM
- Lines: 67
- Approved: argv@sun.com
-
- Submitted-by: Richard Hesketh <rlh2@ukc.ac.uk>
- Posting-number: Volume 8, Issue 6
- Archive-name: xcoledit/patch1
- Patch-To: xcoledit: Volume 7, Issue 38 (5/12/90)
-
- This patch fixes a couple of small errors in the original program.
-
- *** Xcoloredit.h.orig Mon May 14 20:19:02 1990
- --- Xcoloredit.h Mon May 14 20:19:15 1990
- ***************
- *** 33,39 ****
- "Xcoloredit*Foreground: black",
- "Xcoloredit*Background: white",
- "Xcoloredit*BorderColor: black",
- - "Xcoloredit*Font: screen.r.14",
- /* For mixing form */
- "Xcoloredit*mixingForm.translations: <Expose>: draw_boxed()",
- /* For all scrollbars */
- --- 33,38 ----
- *** patchlevel.h.orig Wed May 16 09:23:17 1990
- --- patchlevel.h Wed May 16 09:23:29 1990
- ***************
- *** 1 ****
- ! #define PATCHLEVEL 0
- --- 1 ----
- ! #define PATCHLEVEL 1
- *** xcoloredit.c.orig Mon May 14 20:42:00 1990
- --- xcoloredit.c Fri May 18 18:10:16 1990
- ***************
- *** 305,311 ****
- valScroll = XtVaCreateManagedWidget("valScroll", scrollbarWidgetClass,
- mixingForm, NULL);
-
- ! temp = redScroll;
- for (i = 0; i < NUM_MEMORIES; i++) {
- if (i > 0 && i%NUM_IN_ROW == 0)
- temp = colorMemory[i-1];
- --- 305,311 ----
- valScroll = XtVaCreateManagedWidget("valScroll", scrollbarWidgetClass,
- mixingForm, NULL);
-
- ! temp = quit;
- for (i = 0; i < NUM_MEMORIES; i++) {
- if (i > 0 && i%NUM_IN_ROW == 0)
- temp = colorMemory[i-1];
- ***************
- *** 937,943 ****
- Boolean own;
-
- XtVaGetValues(w, XtNstate, &own, NULL);
- ! OwnSelection(w, (XtPointer)TRUE, (XtPointer)own);
- }
-
-
- --- 937,943 ----
- Boolean own;
-
- XtVaGetValues(w, XtNstate, &own, NULL);
- ! OwnSelection(w, (XtPointer)TRUE, (XtPointer)(own ? TRUE : FALSE));
- }
-
-
-
- dan
- ----------------------------------------------------
- O'Reilly && Associates argv@sun.com / argv@ora.com
- Opinions expressed reflect those of the author only.
-