So would this be the right way to adjust it with a slider:
var vid_mode = 6;//default 640X480
panel switch_vid_res_panel
{
//......
hslider = x, y, len, bmap, 6, 7, vid_mode;
//......
}
function startup { switch_video(vid_mode); }
I checked out the menu.wdl in the templates, the only thing I saw as far as how they did it was in a function: _toggle_video. I could not find this function anywhere in any of the templates ??? I am only wanting to switch from 2 resolution sizes 640X480 & 800X600 with my hslider.
-raiden