[GRASS-SVN] r32742 - grass/trunk/lib/display
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Aug 13 11:13:43 EDT 2008
Author: glynn
Date: 2008-08-13 11:13:43 -0400 (Wed, 13 Aug 2008)
New Revision: 32742
Modified:
grass/trunk/lib/display/window.c
Log:
Don't call D_show_window()
Modified: grass/trunk/lib/display/window.c
===================================================================
--- grass/trunk/lib/display/window.c 2008-08-13 14:23:32 UTC (rev 32741)
+++ grass/trunk/lib/display/window.c 2008-08-13 15:13:43 UTC (rev 32742)
@@ -102,8 +102,6 @@
{
screen_window_set = 0;
map_window_set = 0;
- /* Display outline of new window */
- D_show_window(GRAY);
D_set_window(t, b, l, r);
}
@@ -168,17 +166,12 @@
D_get_screen_window(&t, &b, &l, &r);
- D_set_window(t - 1, b + 1, l - 1, r + 1);
-
R_standard_color(color);
- R_move_abs(l - 1, b);
- R_cont_abs(l - 1, t - 1);
- R_cont_abs(r, t - 1);
+ R_move_abs(l, b);
+ R_cont_abs(l, t);
+ R_cont_abs(r, t);
R_cont_abs(r, b);
- R_cont_abs(l - 1, b);
- R_flush();
-
- D_set_window(t, b, l, r);
+ R_cont_abs(l, b);
}
@@ -223,11 +216,7 @@
void D_reset_screen_window(double t, double b, double l, double r)
{
- D_show_window(D_translate_color(DEFAULT_BG_COLOR));
-
D_set_window(t, b, l, r);
-
- D_show_window(D_translate_color(DEFAULT_FG_COLOR));
}
/*!
More information about the grass-commit
mailing list