Thanks for your reply.
PANEL* main_pan =
{
button (550,425, "click.bmp", "normal.bmp", "over.bmp", obj_pos_x, NULL, NULL);
button 500,425, "click.bmp", "normal.bmp", "over.bmp", move_up, NULL, NULL ;
flags = OVERLAY | VISIBLE;
}
I have made function
function screen()
{
main_pan.pos_x = screen_size.x ;
main_pan.pos_y = screen_size.y ;
}
and called it to in main().
But when i run button is disapper.
What should i do?
Please help.