equal
deleted
inserted
replaced
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; |