src/video/x11/SDL_x11messagebox.c
changeset 6615 d7a463bde4d7
parent 6603 fc815cb0a2de
child 6723 7c464a9ecf48
equal deleted inserted replaced
6614:92925281e7ca 6615:d7a463bde4d7
   306             /* Button text coordinates. */
   306             /* Button text coordinates. */
   307             data->buttonpos[ i ].x = x + ( button_width - data->buttonpos[ i ].text_width ) / 2;
   307             data->buttonpos[ i ].x = x + ( button_width - data->buttonpos[ i ].text_width ) / 2;
   308             data->buttonpos[ i ].y = y + ( button_height - button_text_height - 1 ) / 2 + button_text_height;
   308             data->buttonpos[ i ].y = y + ( button_height - button_text_height - 1 ) / 2 + button_text_height;
   309 
   309 
   310             /* Scoot over for next button. */
   310             /* Scoot over for next button. */
   311             x += button_width + button_text_height;
   311             x += button_width + button_spacing;
   312         }
   312         }
   313     }
   313     }
   314 
   314 
   315     XFreeFontInfo( NULL, fontinfo, 1 );
   315     XFreeFontInfo( NULL, fontinfo, 1 );
   316     return 0;
   316     return 0;