smallmap_gui.c
changeset 154 4bece94b325c
parent 152 c3964b43943e
child 176 84990c4b9212
equal deleted inserted replaced
153:3dbe2cfd7b3c 154:4bece94b325c
  1011 };
  1011 };
  1012 
  1012 
  1013 static void ExtraViewPortWndProc(Window *w, WindowEvent *e)
  1013 static void ExtraViewPortWndProc(Window *w, WindowEvent *e)
  1014 {
  1014 {
  1015 	ViewPort *vp = w->viewport;
  1015 	ViewPort *vp = w->viewport;
  1016 	int button = 4;
       
  1017 
  1016 
  1018 	switch(e->event) {
  1017 	switch(e->event) {
  1019 	case WE_PAINT: {
  1018 	case WE_PAINT: {
  1020 		// set the number in the title bar
  1019 		// set the number in the title bar
  1021 		SET_DPARAM16(0, (w->window_number+1));
  1020 		SET_DPARAM16(0, (w->window_number+1));