smallmap_gui.c
changeset 4727 ba5bae41b004
parent 4719 413b21513ef7
child 4846 a6c472d934c0
equal deleted inserted replaced
4726:3d907a5bae52 4727:ba5bae41b004
   981 
   981 
   982 	w = AllocateWindowDescFront(&_smallmap_desc, 0);
   982 	w = AllocateWindowDescFront(&_smallmap_desc, 0);
   983 	if (w == NULL) return;
   983 	if (w == NULL) return;
   984 
   984 
   985 	LowerWindowWidget(w, _smallmap_type + 5);
   985 	LowerWindowWidget(w, _smallmap_type + 5);
   986 	SetWidgetLoweredState(w, 12, _smallmap_show_towns);
   986 	SetWindowWidgetLoweredState(w, 12, _smallmap_show_towns);
   987 	w->resize.width = 350;
   987 	w->resize.width = 350;
   988 	w->resize.height = 250;
   988 	w->resize.height = 250;
   989 
   989 
   990 	SmallMapCenterOnCurrentPos(w);
   990 	SmallMapCenterOnCurrentPos(w);
   991 }
   991 }