settings_gui.c
changeset 776 5b14f0b1e6d3
parent 759 a445474d7c21
child 788 951b52443d48
equal deleted inserted replaced
775:8055e88e1f95 776:5b14f0b1e6d3
  1336 	} break;
  1336 	} break;
  1337 
  1337 
  1338 	case WE_CLICK: {
  1338 	case WE_CLICK: {
  1339 		bool edittext = false;
  1339 		bool edittext = false;
  1340 		int line = (e->click.pt.y - 20)/12;
  1340 		int line = (e->click.pt.y - 20)/12;
  1341 		int len;
  1341 		int len = 0;
  1342 		int x = e->click.pt.x;
  1342 		int x = e->click.pt.x;
  1343 		StringID str;
  1343 		StringID str = 0;
  1344 
  1344 
  1345 		switch ( line ) {
  1345 		switch ( line ) {
  1346 			case 0: // rate
  1346 			case 0: // rate
  1347 				if ( IS_INT_INSIDE(x, 10, 30) ) { // clicked buttons
  1347 				if ( IS_INT_INSIDE(x, 10, 30) ) { // clicked buttons
  1348 					if (x < 20) {
  1348 					if (x < 20) {