Revision 978 branches/simulator/projects/simulator/simulator/gui/gtk_environment_view.c

View differences:

gtk_environment_view.c
8 8
#include <gtk/gtksignal.h>
9 9

  
10 10
#include "gtk_environment_view.h"
11
#include "draw_funcs.h"
11 12

  
12 13
#define ENVIRONMENT_VIEW_MIN_WIDTH		100
13 14
#define ENVIRONMENT_VIEW_MIN_HEIGHT		50
......
183 184
	
184 185
	view = GTK_ENVIRONMENT_VIEW(widget);
185 186
	
186
	gdk_draw_rectangle(widget->window, widget->style->fg_gc[
187
			GTK_WIDGET_STATE(widget)], 0, 100, 100, 100, 100);
187
//	gdk_draw_rectangle(widget->window, widget->style->fg_gc[
188
//			GTK_WIDGET_STATE(widget)], 0, 100, 100, 100, 100);
188 189

  
189
	gdk_draw_arc(widget->window, 
190
		widget->style->fg_gc[GTK_WIDGET_STATE(widget)], FALSE, 0, 0,
191
		100, 100, 0, 360*64);
190
//	gdk_draw_arc(widget->window, 
191
//		widget->style->fg_gc[GTK_WIDGET_STATE(widget)], FALSE, 0, 0,
192
//		100, 100, 0, 360*64);
193
	draw_robot(widget->window, 
194
		widget->style->fg_gc[GTK_WIDGET_STATE(widget)], 10, 10, 370);
192 195

  
193 196
	return FALSE;
194 197
}

Also available in: Unified diff