From mboxrd@z Thu Jan 1 00:00:00 1970 From: shebs@sourceware.cygnus.com To: xconq-cvs@sourceware.cygnus.com Subject: xconq ./ChangeLog kernel/side.c kernel/ui.c ke ... Date: Wed, 12 Jul 2000 08:24:00 -0000 Message-id: <20000712152423.7146.qmail@sourceware.cygnus.com> X-SW-Source: 2000/msg00321.html List-Id: CVSROOT: /cvs/xconq Module name: xconq Changes by: shebs@sourceware.cygnus.com 2000-07-12 08:24:23 Modified files: . : ChangeLog kernel : side.c ui.c ui.h tcltk : tkconq.h tkinit.c tkmain.c tkmap.c Log message: * side.c (add_unit_view): Add views in id order. * ui.c (find_unit_or_occ_view, find_unit_view_at): New functions. (xform_unit_view): Don't count views of occupants. * ui.c, ui.h (xform_unit_self_view): New function. * ui.h (nearest_unit_view): Declare. * tkinit.c, tkconq.h (any_resources): New global. (init_display): Compute it. * tkmain.c: Remove decl of nearest_unit_view. * tkmap.c (x_xform_unit_self_view): New function. (draw_row): Test any_resources. (draw_units): Don't subdivide views at low mags. (draw_current): Test any_resources, call x_xform_unit_self_view to get correct position of current unit, minor cleanups.