You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
628 B

draw_set_font(global.fontGUI2)
offset = (oLogScreen.rectoffset * 4)
if (global.curropt == optionid)
{
w = string_width(label)
draw_background_ext(bgOptionLine, (x - 2), (y - 1), (w + 4), 1, 0, make_color_rgb(160, 160, 160), 0.4)
}
draw_set_alpha(image_alpha)
draw_set_color(c_black)
draw_text(((x + 1) - offset), (y - 3), label)
draw_set_color(c_white)
if (global.curropt != optionid)
draw_set_color(c_gray)
draw_text((x - offset), (y - 4), label)
draw_set_alpha(1)
if (global.curropt == optionid)
draw_background_ext(lpic, ((view_xview[0] + 160) + (offset * 4)), (view_yview[0] + 59), 1, 1, 0, -1, image_alpha)