From mboxrd@z Thu Jan 1 00:00:00 1970 From: shebs@sourceware.cygnus.com To: xconq-cvs@sourceware.cygnus.com Subject: xconq ./ChangeLog tcltk/imfapp.tcl tcltk/tkisamp.c Date: Sat, 16 Sep 2000 06:35:00 -0000 Message-id: <20000916133513.28054.qmail@sourceware.cygnus.com> X-SW-Source: 2000/msg00449.html List-Id: CVSROOT: /cvs/xconq Module name: xconq Changes by: shebs@sourceware.cygnus.com 2000-09-16 06:35:13 Modified files: . : ChangeLog tcltk : imfapp.tcl tkisamp.c Log message: Add controls to format ximfapp's image display into the standard layout for a file image, for the purpose of being able to take screenshots and convert into file images. * imfapp.tcl: Add foreground color and grid format menu items, maroon and magenta colors to background color menu. (toggle_show_grid, set_fg_color): New procs. * tkisamp.c (Imfsample fg_border, show_grid): New fields. (config_specs): New attributes -fg, -showgrid. (imfsample_configure): Set them up. (imfsample_display): Make show_grid override other display options, paint fg color before drawing image. Also set the GCs' fg/bg colors to standard values before returning.