FONT* text_font = "Arial#18b";


LBG_WBORDER_BMAPS win_bbmaps;
LBG_CBORDER_BMAPS win_cbmaps;
LBG_TBUTTON_BMAPS win_tbmaps;
LBG_CHECKBOX_BMAPS checkbox_bmaps;
LBG_CHECKBOX_BMAPS radiobutton_bmaps;
LBG_SLIDER_BMAPS slider_bmaps;
LBG_PROGRESSBAR_BMAPS progressbar_bmaps;
LBG_LISTBOX_BMAPS listbox_bmaps;
LBG_CBORDER_BMAPS infobox_bmaps;

LBG_WINDOW* aas_window;
LBG_WINDOW* startwindow=0;
LBG_BUTTON* startwindow_next;
LBG_BUTTON* startwindow_buttons_button3;
LBG_BUTTON* startwindow_buttons_more_info=0;

LBG_WINDOW* buttons_info=0;


LBG_CHECKBOX* startwindow_windows_xbutton;
LBG_CHECKBOX* startwindow_windows_maxbutton;
LBG_CHECKBOX* startwindow_windows_resizable;
LBG_CHECKBOX* startwindow_windows_dontmove;
LBG_CHECKBOX* startwindow_windows_stayontop;
LBG_CHECKBOX* startwindow_windows_child;
LBG_SLIDER* startwindow_windows_slider_pos_x;
LBG_DIGITS* startwindow_windows_text_pos_x;
LBG_SLIDER* startwindow_windows_slider_pos_y;
LBG_DIGITS* startwindow_windows_text_pos_y;
LBG_SLIDER* startwindow_windows_slider_size_x;
LBG_DIGITS* startwindow_windows_text_size_x;
LBG_SLIDER* startwindow_windows_slider_size_y;
LBG_DIGITS* startwindow_windows_text_size_y;
LBG_BUTTON* startwindow_windows_create_window;
LBG_EDITBOX* startwindow_windows_caption;

LBG_EDITBOX* EditASS_INPUT;

LBG_BUTTON* button_panels;
LBG_BUTTON* button_texts;
LBG_BUTTON* button_checkboxes;
LBG_BUTTON* button_progressbars;
LBG_BUTTON* button_scrollbars;
LBG_BUTTON* button_sliders;
LBG_BUTTON* button_listboxes;
LBG_BUTTON* button_comboboxes;
LBG_BUTTON* button_digits;
LBG_BUTTON* button_editboxes;


void startLBGUI()
{
	win_bbmaps.bmap_titlebar_left = window_titlebar_left_tga;
	win_bbmaps.bmap_titlebar_middle = window_titlebar_middle_tga;
	win_bbmaps.bmap_titlebar_right = window_titlebar_right_tga;
	win_bbmaps.bmap_border_left = window_border_left_tga;
	win_bbmaps.bmap_border_right = window_border_right_tga;
	win_bbmaps.bmap_border_bottomleft = window_border_bottomleft_tga;
	win_bbmaps.bmap_border_bottom = window_border_bottom_tga;
	win_bbmaps.bmap_border_bottomright = window_border_bottomright_tga;
	
	win_cbmaps.bmap_topleft = window_content_topleft_tga;
	win_cbmaps.bmap_top = window_content_top_tga;
	win_cbmaps.bmap_topright = window_content_topright_tga;
	win_cbmaps.bmap_left = window_content_left_tga;
	win_cbmaps.bmap_right = window_content_right_tga;
	win_cbmaps.bmap_bottomleft = window_content_bottomleft_tga;
	win_cbmaps.bmap_bottom = window_content_bottom_tga;
	win_cbmaps.bmap_bottomright = window_content_bottomright_tga;
	win_cbmaps.bmap_center = window_content_center_tga;
	
	win_tbmaps.bmap_x_default = xbutton1_tga;
	win_tbmaps.bmap_x_over = xbutton2_tga;
	win_tbmaps.bmap_x_clicked = xbutton3_tga;
	win_tbmaps.bmap_max_default = maxbutton1_tga;
	win_tbmaps.bmap_max_over = maxbutton2_tga;
	win_tbmaps.bmap_max_clicked = maxbutton3_tga;
	win_tbmaps.bmap_res_default = resbutton1_tga;
	win_tbmaps.bmap_res_over = resbutton2_tga;
	win_tbmaps.bmap_res_clicked = resbutton3_tga;
	
	checkbox_bmaps.bmap_default = checkbox_default_tga;
	checkbox_bmaps.bmap_over = checkbox_over_tga;
	checkbox_bmaps.bmap_checked = checkbox_checked_tga;
	checkbox_bmaps.bmap_checked_over = checkbox_checked_over_tga;
	checkbox_bmaps.bmap_disabled = checkbox_disabled_tga;
	checkbox_bmaps.bmap_checked_disabled = checkbox_checked_disabled_tga;
	
	radiobutton_bmaps.bmap_default = radiobutton_default_tga;
	radiobutton_bmaps.bmap_over = radiobutton_over_tga;
	radiobutton_bmaps.bmap_checked = radiobutton_checked_tga;
	radiobutton_bmaps.bmap_checked_over = radiobutton_checked_over_tga;
	radiobutton_bmaps.bmap_disabled = radiobutton_disabled_tga;
	radiobutton_bmaps.bmap_checked_disabled = radiobutton_checked_disabled_tga;
	
	slider_bmaps.bmap_left = slider_left_tga;
	slider_bmaps.bmap_middle = slider_middle_tga;
	slider_bmaps.bmap_right = slider_right_tga;
	slider_bmaps.bmap_knob_default = slider_knob1_tga;
	slider_bmaps.bmap_knob_over = slider_knob2_tga;
	slider_bmaps.bmap_knob_clicked = slider_knob3_tga;
	
	progressbar_bmaps.bmap_pan_left = progressbar_left_tga;
	progressbar_bmaps.bmap_pan_middle = progressbar_middle_tga;
	progressbar_bmaps.bmap_pan_right = progressbar_right_tga;
	progressbar_bmaps.bmap_bar = progressbar_bar_tga;
	
	listbox_bmaps.bmap_topleft = listbox_topleft_tga;
	listbox_bmaps.bmap_top = listbox_top_tga;
	listbox_bmaps.bmap_topright = listbox_topright_tga;
	listbox_bmaps.bmap_left = listbox_left_tga;
	listbox_bmaps.bmap_right = listbox_right_tga;
	listbox_bmaps.bmap_bottomleft = listbox_bottomleft_tga;
	listbox_bmaps.bmap_bottom = listbox_bottom_tga;
	listbox_bmaps.bmap_bottomright = listbox_bottomright_tga;
	listbox_bmaps.bmap_center = listbox_center_tga;
	
	infobox_bmaps.bmap_topleft = infobox_topleft_tga;
	infobox_bmaps.bmap_top = infobox_top_tga;
	infobox_bmaps.bmap_topright = infobox_topright_tga;
	infobox_bmaps.bmap_left = infobox_left_tga;
	infobox_bmaps.bmap_right = infobox_right_tga;
	infobox_bmaps.bmap_bottomleft = infobox_bottomleft_tga;
	infobox_bmaps.bmap_bottom = infobox_bottom_tga;
	infobox_bmaps.bmap_bottomright = infobox_bottomright_tga;
	infobox_bmaps.bmap_center = infobox_center_tga;
}