home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / lang / tcl / 2447 < prev    next >
Encoding:
Text File  |  1993-01-22  |  1.2 KB  |  32 lines

  1. Newsgroups: comp.lang.tcl
  2. Path: sparky!uunet!cs.utexas.edu!torn!nott!bnrgate!bgtys9!bnr.ca!arorav
  3. From: arorav@bnr.ca (Vikas Arora)
  4. Subject: Reverse Video Problem for drawing widgets.
  5. Message-ID: <1993Jan22.143234.6523@bnr.ca>
  6. Sender: news@bnr.ca
  7. Organization: Bell-Northern Research Ltd., Ottawa, Ontario, Canada
  8. Date: Fri, 22 Jan 93 14:32:34 GMT
  9. Lines: 21
  10.  
  11.  
  12. I have an application which uses TK2.3 and helps in drawing lines and
  13. recangles on the canvas. When I run my application setting my Xresources
  14. background "black" and foreground as "white" I am not able to see the
  15. widgets drawn. It seems to me that I will have to use appropriate fill values
  16. based on the foreground and background values set in the Xresource file
  17. while drawing the widgets on the canvas.
  18.  
  19. Is this the right way?
  20. Has anyone faced a similar problem?. 
  21. Any suggestions/comments to deal with this problem will be highly appreciated. 
  22.  
  23. Thanks,
  24.  
  25. ----------------------------------------------------------------------------------
  26. Vikas Arora                             email: arorav@bnr.ca
  27. Software Engineering Centre             Phone: (613) 763-3353 (w)
  28. Bell-Northern Research                         
  29. Ottawa-Canada
  30. ----------------------------------------------------------------------------------
  31.  
  32.