Well actually my code resizes things to fullscreen and places them in the middle of the screen. Here's my code:
Code:

loading_screen.scale_x = screen_size.x / bmap_width(loading_screen.bmap);
loading_screen.scale_y = screen_size.y / bmap_height(loading_screen.bmap);
loading_screen.pos_x = (screen_size.x / 2) - ((bmap_width(loading_screen.bmap) * loading_screen.scale_x) / 2);
loading_screen.pos_y = (screen_size.y / 2) - ((bmap_height(loading_screen.bmap) * loading_screen.scale_y) / 2);



I was hoping to make a DLL that scales images without them looking crappy afterwards like in Photoshop. But I need to know how, like with DirectX. If there was a way of making custom flags for panels and an 'ent_next' for panels then I could make this the best solution. Any idea?