[GRASS-dev] tcl Map Display gui updates

Hi,

I have just done some cosmetic updates to the Tcl/Tk GUI Map Display
window.

Measurement tool now auto-formats. The output is like:
  "5.939 km" instead of "5939.234567" (map units = meters)
  "5.939 miles" instead of "34567.000000" (map units = [US surv] feet)
  "45.123 minutes" instead of "0.75205" (map units = degrees)
etc. I don't think people will parsing the measure tool's output, so it
changes units on the fly.

Map Display status bar (bottom of window) is a bit more readable.
I've only enforced number of sig digits for mouse-over updates, not
while in zoom, pan, measure mode. I wanted to make sure there were no
objections before spending the time to do those.

please test.

Hamish

Thanks Hamish. These make the output more readable, as well as aesthetically
pleasing.

Michael

On 4/4/07 1:23 AM, "Hamish" <hamish_nospam@yahoo.com> wrote:

Hi,

I have just done some cosmetic updates to the Tcl/Tk GUI Map Display
window.

Measurement tool now auto-formats. The output is like:
  "5.939 km" instead of "5939.234567" (map units = meters)
  "5.939 miles" instead of "34567.000000" (map units = [US surv] feet)
  "45.123 minutes" instead of "0.75205" (map units = degrees)
etc. I don't think people will parsing the measure tool's output, so it
changes units on the fly.

Map Display status bar (bottom of window) is a bit more readable.
I've only enforced number of sig digits for mouse-over updates, not
while in zoom, pan, measure mode. I wanted to make sure there were no
objections before spending the time to do those.

please test.

Hamish

__________________________________________
Michael Barton, Professor of Anthropology
School of Human Evolution & Social Change
Center for Social Dynamics & Complexity
Arizona State University

phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton