-- keypad_area and EditBox keypadx=100 keypady=100 _file_texture_alpha_normal="menu\\MenuTextures\\keypad\\1-9_ButtUP.dds" _file_texture_alpha_sel="menu\\MenuTextures\\keypad\\1-9_ButtOVER.dds" _file_texture_alpha_push="menu\\MenuTextures\\keypad\\1-9_ButtPRESS.dds" _file_texture_alpha_dis="" _file_texture_zero_normal="menu\\MenuTextures\\keypad\\0_ButtUP.dds" _file_texture_zero_sel="menu\\MenuTextures\\keypad\\0_ButtOVER.dds" _file_texture_zero_push="menu\\MenuTextures\\keypad\\0_ButtPRESS.dds" _file_texture_zero_dis="" _file_texture_clear_normal="menu\\MenuTextures\\keypad\\Backspace_Clear_ButtUP.dds" _file_texture_clear_sel="menu\\MenuTextures\\keypad\\Backspace_Clear_ButtOVER.dds" _file_texture_clear_push="menu\\MenuTextures\\keypad\\Backspace_Clear_ButtPRESS.dds" _file_texture_clear_dis="" _file_texture_shift_normal="menu\\MenuTextures\\keypad\\Shift_CapsLock_ButtUP.dds" _file_texture_shift_sel="menu\\MenuTextures\\keypad\\Shift_CapsLock_ButtOVER.dds" _file_texture_shift_push="menu\\MenuTextures\\keypad\\Shift_CapsLock_ButtPRESS.dds" _file_texture_shift_dis="" _file_texture_space_normal="menu\\MenuTextures\\keypad\\Space_ButtUP.dds" _file_texture_space_sel="menu\\MenuTextures\\keypad\\Space_ButtOVER.dds" _file_texture_space_push="menu\\MenuTextures\\keypad\\Space_ButtPRESS.dds" _file_texture_space_dis="" _file_texture_ok_normal="menu\\MenuTextures\\keypad\\OK_Cancel_ButtUP.dds" _file_texture_ok_sel="menu\\MenuTextures\\keypad\\OK_Cancel_ButtOVER.dds" _file_texture_ok_push="menu\\MenuTextures\\keypad\\OK_Cancel_ButtPRESS.dds" _file_texture_ok_dis="" _file_texture_bgrd01="menu\\MenuTextures\\Lab\\LabComp_common\\bg1.tga" _file_texture_bgrd02="menu\\MenuTextures\\Lab\\LabComp_common\\bg2.tga" _file_texture_bgrd03="menu\\MenuTextures\\keypad\\bg3.tga" _file_texture_bgrd04="menu\\MenuTextures\\keypad\\bg4.tga" _file_texture_bgrd05="menu\\MenuTextures\\Lab\\LabComp_common\\bg5.tga" _file_texture_bgrd06="menu\\MenuTextures\\Lab\\LabComp_common\\bg6.tga" keydx=32 keydy=32 _keys_x1=153 _keys_x2=186 _keys_x3=218 _keys_x4=251 _keys_x5=283 _keys_x6=316 _keys_x7=348 _keys_x8=403 _keys_x9=433 _keys_x10=463 _keys_y1=201 _keys_y2=229 _keys_y3=257 _keys_y4=285 _keys_y5=315 _keys_y6=335 _keys_y7=360 -- keypad texts parameters: _default_font_no=1 _default_font_align=5 _default_font_scale_normal="0.9" _default_font_scale_sel="0.9" _default_font_scale_push="0.9" _alt_font_no=1 _alt_font_align=5 _alt_font_scale_normal="0.65" _sel_function1="ChangeTextKeypad" _dec_bt_nu_color_r = 0 _dec_bt_nu_color_g = 0 _dec_bt_nu_color_b = 0 function new_user() SetMaterial( 'new_user', 0 , _file_texture_bgrd01 , 255 , 255 , 255 , 255 ); SetMaterial( 'new_user', 1 , _file_texture_bgrd01 , 255 , 255 , 255 , 255 ); SetPos( 'new_user',0 , 0 , 0 ); SetDim( 'new_user',0 , 512, 128 ); SetPos( 'new_user',1 , 0 , 0 ); SetDim( 'new_user',1 , 512, 128 ); -- AreaAddHelpLine( "new_user" , "Menu_Options_AV_Info_3DRenderer" ); AddStaticObject ( 'new_user' , "ng_bgrd02"); AddStaticObject ( 'new_user' , "ng_bgrd03"); AddStaticObject ( 'new_user' , "ng_bgrd04"); AddStaticObject ( 'new_user' , "ng_bgrd05"); AddStaticObject ( 'new_user' , "ng_bgrd06"); AddStaticObject ( 'new_user' , "ng_acc_bt"); AddStaticObject ( 'new_user' , "ng_back_bt"); AddStaticObject ( 'new_user' , "ng_black_bt"); AddStaticObject ( 'new_user' , "ng_white_bt"); AddStaticObject ( 'new_user' , "ng_title"); AddPushButton('new_user', "tasta_a"); AddPushButton('new_user', "tasta_b"); AddPushButton('new_user', "tasta_c"); AddPushButton('new_user', "tasta_d"); AddPushButton('new_user', "tasta_e"); AddPushButton('new_user', "tasta_f"); AddPushButton('new_user', "tasta_g"); AddPushButton('new_user', "tasta_h"); AddPushButton('new_user', "tasta_i"); AddPushButton('new_user', "tasta_j"); AddPushButton('new_user', "tasta_k"); AddPushButton('new_user', "tasta_l"); AddPushButton('new_user', "tasta_m"); AddPushButton('new_user', "tasta_n"); AddPushButton('new_user', "tasta_o"); AddPushButton('new_user', "tasta_p"); AddPushButton('new_user', "tasta_q"); AddPushButton('new_user', "tasta_r"); AddPushButton('new_user', "tasta_s"); AddPushButton('new_user', "tasta_t"); AddPushButton('new_user', "tasta_u"); AddPushButton('new_user', "tasta_v"); AddPushButton('new_user', "tasta_w"); AddPushButton('new_user', "tasta_x"); AddPushButton('new_user', "tasta_y"); AddPushButton('new_user', "tasta_z"); AddPushButton('new_user', "tasta_ok"); AddPushButton('new_user', "tasta_cancel"); AddPushButton('new_user', "tasta_space"); AddPushButton('new_user', "tasta_sym"); AddPushButton('new_user', "tasta_shift"); AddPushButton('new_user', "tasta_back"); AddPushButton('new_user', "tasta_clear"); AddPushButton('new_user', "tasta_1"); AddPushButton('new_user', "tasta_2"); AddPushButton('new_user', "tasta_3"); AddPushButton('new_user', "tasta_4"); AddPushButton('new_user', "tasta_5"); AddPushButton('new_user', "tasta_6"); AddPushButton('new_user', "tasta_7"); AddPushButton('new_user', "tasta_8"); AddPushButton('new_user', "tasta_9"); AddPushButton('new_user', "tasta_zero"); AddPushButton('new_user', "tasta_point"); AddPushButton('new_user', "tasta_undln"); AddPushButton('new_user', "tasta_minus"); AddEditBox("new_user", "edit_nume"); -- texts colors: SetPBChTextColor( "new_user" , 255, 255 , 205 , 7 ); SetPBChTextColor( "new_user" , 255, 5 , 25 , 7 , 1 ); SetPBChTextColor( "new_user" , 255, 25 , 2 , 7 , 2 ); -- texts attributes: SetPBChTextAttr( "new_user" , _default_font_no , _default_font_align , _default_font_scale_normal ); SetPBChTextAttr( "new_user" , _default_font_no , _default_font_align , _default_font_scale_sel , 1 ); SetPBChTextAttr( "new_user" , _default_font_no , _default_font_align , _default_font_scale_push , 2 ); -- text relative position: SetPBChTextPos( "new_user" , 4 , 5 , 24 , 24 ); -- set keys letters : SetNSEW( 'tasta_a', 'tasta_cancel', 'tasta_h', "tasta_b" , 'tasta_9'); SetPush( 'tasta_a', 'AddKey', "a" , "A" , 224, 192 ); SetSel( "tasta_a", _sel_function1 ); SetNSEW( 'tasta_b', 'tasta_cancel', 'tasta_i', "tasta_c" , 'tasta_a'); SetPush( 'tasta_b', 'AddKey', "b" , "B" , 225, 193 ); SetSel( "tasta_b", _sel_function1 ); SetNSEW( 'tasta_c', 'tasta_cancel', 'tasta_j', "tasta_d" , 'tasta_b'); SetPush( 'tasta_c', 'AddKey', "c" , "C" , 226, 194 ); SetSel( "tasta_c", _sel_function1 ); SetNSEW( 'tasta_d', 'tasta_space', 'tasta_k', "tasta_e" , 'tasta_c'); SetPush( 'tasta_d', 'AddKey', "d" , "D" , 227, 195 ); SetSel( "tasta_d", _sel_function1 ); SetNSEW( 'tasta_e', 'tasta_space', 'tasta_l', "tasta_f" , 'tasta_d'); SetPush( 'tasta_e', 'AddKey', "e" , "E" , 228, 196 ); SetSel( "tasta_e", _sel_function1 ); SetNSEW( 'tasta_f', 'tasta_space', 'tasta_m', "tasta_g" , 'tasta_e'); SetPush( 'tasta_f', 'AddKey', "f" , "F" , 229, 197 ); SetSel( "tasta_f", _sel_function1 ); SetNSEW( 'tasta_g', 'tasta_space', 'tasta_n', "tasta_7" , 'tasta_f'); SetPush( 'tasta_g', 'AddKey', "g" , "G" , 231, 199 ); SetSel( "tasta_g", _sel_function1 ); SetNSEW( 'tasta_h', 'tasta_a', 'tasta_o', "tasta_i" , 'tasta_6'); SetPush( 'tasta_h', 'AddKey', "h" , "H" , 232, 200 ); SetSel( "tasta_h", _sel_function1 ); SetNSEW( 'tasta_i', 'tasta_b', 'tasta_p', "tasta_j" , 'tasta_h'); SetPush( 'tasta_i', 'AddKey', "i" , "I" , 233, 201 ); SetSel( "tasta_i", _sel_function1 ); SetNSEW( 'tasta_j', 'tasta_c', 'tasta_q', "tasta_k" , 'tasta_i'); SetPush( 'tasta_j', 'AddKey', "j" , "J" , 234, 202 ); SetSel( "tasta_j", _sel_function1 ); SetNSEW( 'tasta_k', 'tasta_d', 'tasta_r', "tasta_l" , 'tasta_j'); SetPush( 'tasta_k', 'AddKey', "k" , "K" , 235, 203 ); SetSel( "tasta_k", _sel_function1 ); SetNSEW( 'tasta_l', 'tasta_e', 'tasta_s', "tasta_m" , 'tasta_k'); SetPush( 'tasta_l', 'AddKey', "l" , "L" , 236, 204 ); SetSel( "tasta_l", _sel_function1 ); SetNSEW( 'tasta_m', 'tasta_f', 'tasta_t', "tasta_n" , 'tasta_l'); SetPush( 'tasta_m', 'AddKey', "m" , "M" , 237, 205 ); SetSel( "tasta_m", _sel_function1 ); SetNSEW( 'tasta_n', 'tasta_g', 'tasta_u', "tasta_4" , 'tasta_m'); SetPush( 'tasta_n', 'AddKey', "n" , "N" , 238, 206 ); SetSel( "tasta_n", _sel_function1 ); SetNSEW( 'tasta_o', 'tasta_h', 'tasta_v', "tasta_p" , 'tasta_3'); SetPush( 'tasta_o', 'AddKey', "o" , "O" , 239, 207 ); SetSel( "tasta_o", _sel_function1 ); SetNSEW( 'tasta_p', 'tasta_i', 'tasta_w', "tasta_q" , 'tasta_o'); SetPush( 'tasta_p', 'AddKey', "p" , "P" , 223, 221 ); SetSel( "tasta_p", _sel_function1 ); SetNSEW( 'tasta_q', 'tasta_j', 'tasta_x', "tasta_r" , 'tasta_p'); SetPush( 'tasta_q', 'AddKey', "q" , "Q" , 241, 209 ); SetSel( "tasta_q", _sel_function1 ); SetNSEW( 'tasta_r', 'tasta_k', 'tasta_y', "tasta_s" , 'tasta_q'); SetPush( 'tasta_r', 'AddKey', "r" , "R" , 242, 210 ); SetSel( "tasta_r", _sel_function1 ); SetNSEW( 'tasta_s', 'tasta_l', 'tasta_z', "tasta_t" , 'tasta_r'); SetPush( 'tasta_s', 'AddKey', "s" , "S" , 243, 211 ); SetSel( "tasta_s", _sel_function1 ); SetNSEW( 'tasta_t', 'tasta_m', 'tasta_undln', "tasta_u" , 'tasta_s'); SetPush( 'tasta_t', 'AddKey', "t" , "T" , 244, 212 ); SetSel( "tasta_t", _sel_function1 ); SetNSEW( 'tasta_u', 'tasta_n', 'tasta_minus', "tasta_1" , 'tasta_t'); SetPush( 'tasta_u', 'AddKey', "u" , "U" , 245, 213 ); SetSel( "tasta_u", _sel_function1 ); SetNSEW( 'tasta_v', 'tasta_o', 'tasta_shift', "tasta_w" , 'tasta_point'); SetPush( 'tasta_v', 'AddKey', "v" , "V" , 246, 214 ); SetSel( "tasta_v", _sel_function1 ); SetNSEW( 'tasta_w', 'tasta_p', 'tasta_shift', "tasta_x" , 'tasta_v'); SetPush( 'tasta_w', 'AddKey', "w" , "W" , 249, 217 ); SetSel( "tasta_w", _sel_function1 ); SetNSEW( 'tasta_x', 'tasta_q', 'tasta_shift', "tasta_y" , 'tasta_w'); SetPush( 'tasta_x', 'AddKey', "x" , "X" , 250, 218 ); SetSel( "tasta_x", _sel_function1 ); SetNSEW( 'tasta_y', 'tasta_r', 'tasta_sym', "tasta_z" , 'tasta_x'); SetPush( 'tasta_y', 'AddKey', "y" , "Y" , 251, 219 ); SetSel( "tasta_y", _sel_function1 ); SetNSEW( 'tasta_z', 'tasta_s', 'tasta_sym', "tasta_undln" , 'tasta_y'); SetPush( 'tasta_z', 'AddKey', "z" , "Z" , 252, 220 ); SetSel( "tasta_z", _sel_function1 ); SetNSEW( 'tasta_undln', 'tasta_t', 'tasta_sym', "tasta_minus" , 'tasta_z'); SetPush( 'tasta_undln', 'AddKey', "_" ); SetSel( "tasta_undln", _sel_function1 ); SetNSEW( 'tasta_minus', 'tasta_u', 'tasta_sym', "tasta_zero" , 'tasta_undln'); SetPush( 'tasta_minus', 'AddKey', "-" ); SetSel( "tasta_minus", _sel_function1 ); SetNSEW( 'tasta_7', 'tasta_ok', 'tasta_4', "tasta_8" , 'tasta_g'); SetPush( 'tasta_7', 'AddKey', 55 ); SetSel( "tasta_7", _sel_function1 ); SetNSEW( 'tasta_8', 'tasta_ok', 'tasta_5', "tasta_9" , 'tasta_7'); SetPush( 'tasta_8', 'AddKey', 56 ); SetSel( "tasta_8", _sel_function1 ); SetNSEW( 'tasta_9', 'tasta_ok', 'tasta_6', "tasta_a" , 'tasta_8'); SetPush( 'tasta_9', 'AddKey', 57 ); SetSel( "tasta_9", _sel_function1 ); SetNSEW( 'tasta_4', 'tasta_7', 'tasta_1', "tasta_5" , 'tasta_n'); SetPush( 'tasta_4', 'AddKey', 52 ); SetSel( "tasta_4", _sel_function1 ); SetNSEW( 'tasta_5', 'tasta_7', 'tasta_2', "tasta_6" , 'tasta_4'); SetPush( 'tasta_5', 'AddKey', 53 ); SetSel( "tasta_5", _sel_function1 ); SetNSEW( 'tasta_6', 'tasta_9', 'tasta_3', "tasta_h" , 'tasta_5'); SetPush( 'tasta_6', 'AddKey', 54 ); SetSel( "tasta_6", _sel_function1 ); SetNSEW( 'tasta_1', 'tasta_4', 'tasta_zero', "tasta_2" , 'tasta_u'); SetPush( 'tasta_1', 'AddKey', 49 ); SetSel( "tasta_1", _sel_function1 ); SetNSEW( 'tasta_2', 'tasta_5', 'tasta_zero', "tasta_3" , 'tasta_1'); SetPush( 'tasta_2', 'AddKey', 50 ); SetSel( "tasta_2", _sel_function1 ); SetNSEW( 'tasta_3', 'tasta_6', 'tasta_point', "tasta_o" , 'tasta_2'); SetPush( 'tasta_3', 'AddKey', 51 ); SetSel( "tasta_3", _sel_function1 ); SetNSEW( 'tasta_zero', 'tasta_1', 'tasta_back', "tasta_point" , 'tasta_minus'); SetTextPosition( 'tasta_zero', 3 ,5 , 54 ,24 ); SetPush( 'tasta_zero', 'AddKey', 48 ); SetSel( "tasta_zero", _sel_function1 ); SetNSEW( 'tasta_point', 'tasta_3', 'tasta_back', "tasta_v" , 'tasta_zero'); SetPush( 'tasta_point', 'AddKey', "." ); SetSel( "tasta_point", _sel_function1 ); SetNSEW( 'tasta_shift', 'tasta_w', 'tasta_space', "tasta_sym" , 'tasta_back'); SetPush( 'tasta_shift', 'SwitchCapitals'); SetTextPosition( 'tasta_shift', 0 , 0 , 108 ,16 ); SetFontScale( 'tasta_shift', _alt_font_scale_normal ); SetTxt( 'tasta_shift', _alt_font_no , _alt_font_align , "CapsLock_id" ); SetSel( "tasta_shift", _sel_function1 ); SetNSEW( 'tasta_sym', 'tasta_z', 'tasta_space', "tasta_back" , 'tasta_shift'); SetPush( 'tasta_sym', 'SwitchSymbols'); SetTextPosition( 'tasta_sym', 0 , 0 , 108 ,16 ); SetFontScale( 'tasta_sym', _alt_font_scale_normal ); SetTxt( 'tasta_sym', _alt_font_no , _alt_font_align , "Symbols_id" ); SetSel( "tasta_sym", _sel_function1 ); SetNSEW( 'tasta_back', 'tasta_zero', 'tasta_clear', "tasta_shift" , 'tasta_sym'); SetPush( 'tasta_back', 'DelLeftChar'); SetTextPosition( 'tasta_back', 0 ,0 , 86 ,16 ); SetFontScale( 'tasta_back', _alt_font_scale_normal ); SetTxt( 'tasta_back', _alt_font_no , _alt_font_align , "Backspace_id" ); SetSel( "tasta_back", _sel_function1 ); SetNSEW( 'tasta_space', 'tasta_shift', 'tasta_cancel', "tasta_clear" , 'NULL'); SetPush( 'tasta_space', "AddSpace"); SetTextPosition( 'tasta_space', 0 ,0 , 216 ,16 ); SetFontScale( 'tasta_space', _alt_font_scale_normal ); SetTxt( 'tasta_space', _alt_font_no , _alt_font_align , "Space_id" ); SetSel( "tasta_space", _sel_function1 ); SetNSEW( 'tasta_clear', 'tasta_back', 'tasta_ok', "NULL" , 'tasta_space'); SetPush( 'tasta_clear', 'ResetContent'); SetTextPosition( 'tasta_clear', 0 ,0 , 86 ,16 ); SetFontScale( 'tasta_clear', _alt_font_scale_normal ); SetTxt( 'tasta_clear', _alt_font_no , _alt_font_align , "Clear_id" ); SetSel( "tasta_clear", _sel_function1 ); SetNSEW( 'tasta_cancel', 'tasta_space', 'tasta_b', "tasta_ok" , 'NULL'); SetPush( 'tasta_cancel', 'ExitKeypad'); SetTextPosition( 'tasta_cancel', 0 ,0 , 86 ,16 ); SetFontScale( 'tasta_cancel', _alt_font_scale_normal ); SetTxt( 'tasta_cancel', _alt_font_no , _alt_font_align , "Menu_LoadingCase_Cancel_Label" ); SetSel( "tasta_cancel", _sel_function1 ); SetNSEW( 'tasta_ok', 'tasta_clear', 'tasta_8', "NULL" , 'tasta_cancel'); SetPush( 'tasta_ok', 'AcceptString'); SetTextPosition( 'tasta_ok', 0 ,0 , 86 ,16 ); SetFontScale( 'tasta_ok', _alt_font_scale_normal ); SetTxt( 'tasta_ok', _alt_font_no , _alt_font_align , "TEXT0185" ); SetSel( "tasta_ok", _sel_function1 ); GUISetVisible( 'new_user',0 ,0,0 ); SetState( 'new_user', 0); end function ng_title() SetMaterial( "ng_title" , 0, "" , 0 , 255,255,255); SetPos( "ng_title" , 0, 76 ,77 , 128 , 32 ); SetTxt( "ng_title" , 1 , 0, "Menu_New_Investigator" ); SetTextColor( "ng_title" , 255, 255 ,205,7); SetFontScale( "ng_title" , "0.83" ); end function ng_bgrd02() SetMaterial( 'ng_bgrd02', 0, _file_texture_bgrd02 , 255, 255,255,255 ); SetPos( 'ng_bgrd02' , 0 , 512 , 0 ); SetDim( 'ng_bgrd02' , 0 , 128 , 128 ); end function ng_bgrd03() SetMaterial( 'ng_bgrd03', 0, _file_texture_bgrd03 , 255, 255,255,255 ); SetPos( 'ng_bgrd03' , 0 , 0 , 104 ); SetDim( 'ng_bgrd03' , 0 , 512 , 512 ); end function ng_bgrd04() SetMaterial( 'ng_bgrd04', 0, _file_texture_bgrd04 , 255, 255,255,255 ); SetPos( 'ng_bgrd04' , 0 , 512 , 104 ); SetDim( 'ng_bgrd04' , 0 , 128 , 512 ); end function ng_bgrd05() SetMaterial( 'ng_bgrd05', 0, _file_texture_bgrd05 , 255, 255,255,255 ); SetPos( 'ng_bgrd05' , 0 , 0 , 406 ); SetDim( 'ng_bgrd05' , 0 , 512 , 128 ); end function ng_bgrd06() SetMaterial( 'ng_bgrd06', 0, _file_texture_bgrd06 , 255, 255,255,255 ); SetPos( 'ng_bgrd06' , 0 , 512 , 406 ); SetDim( 'ng_bgrd06' , 0 , 128 , 128 ); end function ng_back_bt() SetMaterial( 'ng_back_bt', 0, _cp_common_back , 255, 255,255,255 ); SetPos( 'ng_back_bt', 0 , 64 , 396 ); SetDim( 'ng_back_bt', 0 , _dec_but_dx , _dec_but_dy ); SetTextPosition( 'ng_back_bt', _back_bt_offset_x ,_back_bt_offset_y , _back_bt_dx, _back_bt_dy ); SetFontScale( 'ng_back_bt', _fontscale_dec_buttons ); SetTxt( 'ng_back_bt', _dec_but_font_no , 5 , "exit" ); SetTextColor( 'ng_back_bt', 255, _dec_bt_nu_color_r , _dec_bt_nu_color_g, _dec_bt_nu_color_b ); end function ng_black_bt() SetMaterial( 'ng_black_bt', 0, _file_texture_black_bt , 255, 255,255,255 ); SetPos( 'ng_black_bt', 0 , 194 , 396 ); SetDim( 'ng_black_bt', 0 , _dec_but_dx , _dec_but_dy ); SetTextPosition( 'ng_black_bt', _black_bt_offset_x ,_black_bt_offset_y , _black_bt_dx, _black_bt_dy ); SetFontScale( 'ng_black_bt', _fontscale_dec_buttons ); SetTxt( 'ng_black_bt', _dec_but_font_no , 5 , "Space_id" ); SetTextColor( 'ng_black_bt', 255, _dec_bt_nu_color_r , _dec_bt_nu_color_g, _dec_bt_nu_color_b ); end function ng_white_bt() SetMaterial( 'ng_white_bt', 0, _file_texture_white_bt , 255, 255,255,255 ); SetPos( 'ng_white_bt', 0 , 330 , 396 ); SetDim( 'ng_white_bt', 0 , _dec_but_dx , _dec_but_dy ); SetTextPosition( 'ng_white_bt', _white_bt_offset_x ,_white_bt_offset_y , _white_bt_dx, _white_bt_dy ); SetFontScale( 'ng_white_bt', _fontscale_dec_buttons ); SetTxt( 'ng_white_bt', _dec_but_font_no , 5 , "Backspace_id" ); SetTextColor( 'ng_white_bt', 255, _dec_bt_nu_color_r , _dec_bt_nu_color_g, _dec_bt_nu_color_b ); end function ng_acc_bt() SetMaterial( 'ng_acc_bt', 0, _cp_common_acc , 255, 255,255,255 ); SetPos( 'ng_acc_bt', 0 , 460 , 396 ); SetDim( 'ng_acc_bt', 0 , _dec_but_dx , _dec_but_dy ); SetTextPosition( 'ng_acc_bt', _acc_bt_offset_x ,_acc_bt_offset_y , _acc_bt_dx, _acc_bt_dy ); SetFontScale( 'ng_acc_bt', _fontscale_dec_buttons ); SetTxt( 'ng_acc_bt', _dec_but_font_no , 5 , "TEXT0185" ); SetTextColor( 'ng_acc_bt', 255, _dec_bt_nu_color_r , _dec_bt_nu_color_g, _dec_bt_nu_color_b ); end function tasta_a() SetMaterial( 'tasta_a', 0, _file_texture_alpha_normal , 255, 255,255,255 ); SetMaterial( 'tasta_a', 1, _file_texture_alpha_sel , 255, 255,255,255 ); SetMaterial( 'tasta_a', 2, _file_texture_alpha_push , 255, 55,255,255 ); SetMaterial( 'tasta_a', 3, _file_texture_alpha_dis , 255, 55,55,255 ); SetPos( 'tasta_a', 0, _keys_x1 , _keys_y1); SetPos( 'tasta_a', 1, _keys_x1 , _keys_y1); SetPos( 'tasta_a', 2, _keys_x1 , _keys_y1); SetPos( 'tasta_a', 3, _keys_x1 , _keys_y1); SetDim( 'tasta_a', 0, keydx, keydy); SetDim( 'tasta_a', 1, keydx, keydy); SetDim( 'tasta_a', 2, keydx, keydy); SetDim( 'tasta_a', 3, keydx, keydy); SetState( 'tasta_a', 0); SetSndSelect( 'tasta_a', 'HIGHLIGHT'); SetSndPush( 'tasta_a', 'accept'); --back end function tasta_b() SetMaterial( 'tasta_b', 0, _file_texture_alpha_normal , 255, 255,255,255 ); SetMaterial( 'tasta_b', 1, _file_texture_alpha_sel , 255, 255,255,255 ); SetMaterial( 'tasta_b', 2, _file_texture_alpha_push , 255, 55,255,255 ); SetMaterial( 'tasta_b', 3, _file_texture_alpha_dis , 255, 55,55,255 ); SetPos( 'tasta_b', 0, _keys_x2 , _keys_y1); SetPos( 'tasta_b', 1, _keys_x2 , _keys_y1); SetPos( 'tasta_b', 2, _keys_x2 , _keys_y1); SetPos( 'tasta_b', 3, _keys_x2 , _keys_y1); SetDim( 'tasta_b', 0, keydx, keydy); SetDim( 'tasta_b', 1, keydx, keydy); SetDim( 'tasta_b', 2, keydx, keydy); SetDim( 'tasta_b', 3, keydx, keydy); SetState( 'tasta_b', 0); SetSndSelect( 'tasta_b', 'HIGHLIGHT'); SetSndPush( 'tasta_b', 'accept'); --back end function tasta_c() SetMaterial( 'tasta_c', 0, _file_texture_alpha_normal , 255, 255,255,255 ); SetMaterial( 'tasta_c', 1, _file_texture_alpha_sel , 255, 255,255,255 ); SetMaterial( 'tasta_c', 2, _file_texture_alpha_push , 255, 55,255,255 ); SetMaterial( 'tasta_c', 3, _file_texture_alpha_dis , 255, 55,55,255 ); SetPos( 'tasta_c', 0, _keys_x3 , _keys_y1); SetPos( 'tasta_c', 1, _keys_x3 , _keys_y1); SetPos( 'tasta_c', 2, _keys_x3 , _keys_y1); SetPos( 'tasta_c', 3, _keys_x3 , _keys_y1); SetDim( 'tasta_c', 0, keydx, keydy); SetDim( 'tasta_c', 1, keydx, keydy); SetDim( 'tasta_c', 2, keydx, keydy); SetDim( 'tasta_c', 3, keydx, keydy); SetState( 'tasta_c', 0); SetSndSelect( 'tasta_c', 'HIGHLIGHT'); SetSndPush( 'tasta_c', 'accept'); --back end function tasta_d() SetMaterial( 'tasta_d', 0, _file_texture_alpha_normal , 255, 255,255,255 ); SetMaterial( 'tasta_d', 1, _file_texture_alpha_sel , 255, 255,255,255 ); SetMaterial( 'tasta_d', 2, _file_texture_alpha_push , 255, 55,255,255 ); SetMaterial( 'tasta_d', 3, _file_texture_alpha_dis , 255, 55,55,255 ); SetPos( 'tasta_d', 0, _keys_x4 , _keys_y1); SetPos( 'tasta_d', 1, _keys_x4 , _keys_y1); SetPos( 'tasta_d', 2, _keys_x4 , _keys_y1); SetPos( 'tasta_d', 3, _keys_x4 , _keys_y1); SetDim( 'tasta_d', 0, keydx, keydy); SetDim( 'tasta_d', 1, keydx, keydy); SetDim( 'tasta_d', 2, keydx, keydy); SetDim( 'tasta_d', 3, keydx, keydy); SetState( 'tasta_d', 0); SetSndSelect( 'tasta_d', 'HIGHLIGHT'); SetSndPush( 'tasta_d', 'accept'); --back end function tasta_e() SetMaterial( 'tasta_e', 0, _file_texture_alpha_normal , 255, 255,255,255 ); SetMaterial( 'tasta_e', 1, _file_texture_alpha_sel , 255, 255,255,255 ); SetMaterial( 'tasta_e', 2, _file_texture_alpha_push , 255, 55,255,255 ); SetMaterial( 'tasta_e', 3, _file_texture_alpha_dis , 255, 55,55,255 ); SetPos( 'tasta_e', 0, _keys_x5 , _keys_y1); SetPos( 'tasta_e', 1, _keys_x5 , _keys_y1); SetPos( 'tasta_e', 2, _keys_x5 , _keys_y1); SetPos( 'tasta_e', 3, _keys_x5 , _keys_y1); SetDim( 'tasta_e', 0, keydx, keydy); SetDim( 'tasta_e', 1, keydx, keydy); SetDim( 'tasta_e', 2, keydx, keydy); SetDim( 'tasta_e', 3, keydx, keydy); SetState( 'tasta_e', 0); SetSndSelect( 'tasta_e', 'HIGHLIGHT'); SetSndPush( 'tasta_e', 'accept'); --back end function tasta_f() SetMaterial( 'tasta_f', 0, _file_texture_alpha_normal , 255, 255,255,255 ); SetMaterial( 'tasta_f', 1, _file_texture_alpha_sel , 255, 255,255,255 ); SetMaterial( 'tasta_f', 2, _file_texture_alpha_push , 255, 55,255,255 ); SetMaterial( 'tasta_f', 3, _file_texture_alpha_dis , 255, 55,55,255 ); SetPos( 'tasta_f', 0, _keys_x6 , _keys_y1); SetPos( 'tasta_f', 1, _keys_x6 , _keys_y1); SetPos( 'tasta_f', 2, _keys_x6 , _keys_y1); SetPos( 'tasta_f', 3, _keys_x6 , _keys_y1); SetDim( 'tasta_f', 0, keydx, keydy); SetDim( 'tasta_f', 1, keydx, keydy); SetDim( 'tasta_f', 2, keydx, keydy); SetDim( 'tasta_f', 3, keydx, keydy); SetState( 'tasta_f', 0); SetSndSelect( 'tasta_f', 'HIGHLIGHT'); SetSndPush( 'tasta_f', 'accept'); --back end function tasta_g() SetMaterial( 'tasta_g', 0, _file_texture_alpha_normal , 255, 255,255,255 ); SetMaterial( 'tasta_g', 1, _file_texture_alpha_sel , 255, 255,255,255 ); SetMaterial( 'tasta_g', 2, _file_texture_alpha_push , 255, 55,255,255 ); SetMaterial( 'tasta_g', 3, _file_texture_alpha_dis , 255, 55,55,255 ); SetPos( 'tasta_g', 0, _keys_x7 , _keys_y1); SetPos( 'tasta_g', 1, _keys_x7 , _keys_y1); SetPos( 'tasta_g', 2, _keys_x7 , _keys_y1); SetPos( 'tasta_g', 3, _keys_x7 , _keys_y1); SetDim( 'tasta_g', 0, keydx, keydy); SetDim( 'tasta_g', 1, keydx, keydy); SetDim( 'tasta_g', 2, keydx, keydy); SetDim( 'tasta_g', 3, keydx, keydy); SetState( 'tasta_g', 0); SetSndSelect( 'tasta_g', 'HIGHLIGHT'); SetSndPush( 'tasta_g', 'accept'); --back end function tasta_h() SetMaterial( 'tasta_h', 0, _file_texture_alpha_normal , 255, 255,255,255 ); SetMaterial( 'tasta_h', 1, _file_texture_alpha_sel , 255, 255,255,255 ); SetMaterial( 'tasta_h', 2, _file_texture_alpha_push , 255, 55,255,255 ); SetMaterial( 'tasta_h', 3, _file_texture_alpha_dis , 255, 55,55,255 ); SetPos( 'tasta_h', 0, _keys_x1 , _keys_y2 ); SetPos( 'tasta_h', 1, _keys_x1 , _keys_y2 ); SetPos( 'tasta_h', 2, _keys_x1 , _keys_y2 ); SetPos( 'tasta_h', 3, _keys_x1 , _keys_y2 ); SetDim( 'tasta_h', 0, keydx, keydy); SetDim( 'tasta_h', 1, keydx, keydy); SetDim( 'tasta_h', 2, keydx, keydy); SetDim( 'tasta_h', 3, keydx, keydy); SetState( 'tasta_h', 0); SetSndSelect( 'tasta_h', 'HIGHLIGHT'); SetSndPush( 'tasta_h', 'accept'); --back end function tasta_i() SetMaterial( 'tasta_i', 0, _file_texture_alpha_normal , 255, 255,255,255 ); SetMaterial( 'tasta_i', 1, _file_texture_alpha_sel , 255, 255,255,255 ); SetMaterial( 'tasta_i', 2, _file_texture_alpha_push , 255, 55,255,255 ); SetMaterial( 'tasta_i', 3, _file_texture_alpha_dis , 255, 55,55,255 ); SetPos( 'tasta_i', 0, _keys_x2 , _keys_y2); SetPos( 'tasta_i', 1, _keys_x2 , _keys_y2); SetPos( 'tasta_i', 2, _keys_x2 , _keys_y2); SetPos( 'tasta_i', 3, _keys_x2 , _keys_y2); SetDim( 'tasta_i', 0, keydx, keydy); SetDim( 'tasta_i', 1, keydx, keydy); SetDim( 'tasta_i', 2, keydx, keydy); SetDim( 'tasta_i', 3, keydx, keydy); SetState( 'tasta_i', 0); SetSndSelect( 'tasta_i', 'HIGHLIGHT'); SetSndPush( 'tasta_i', 'accept'); --back end function tasta_j() SetMaterial( 'tasta_j', 0, _file_texture_alpha_normal , 255, 255,255,255 ); SetMaterial( 'tasta_j', 1, _file_texture_alpha_sel , 255, 255,255,255 ); SetMaterial( 'tasta_j', 2, _file_texture_alpha_push , 255, 55,255,255 ); SetMaterial( 'tasta_j', 3, _file_texture_alpha_dis , 255, 55,55,255 ); SetPos( 'tasta_j', 0, _keys_x3 , _keys_y2); SetPos( 'tasta_j', 1, _keys_x3 , _keys_y2); SetPos( 'tasta_j', 2, _keys_x3 , _keys_y2); SetPos( 'tasta_j', 3, _keys_x3 , _keys_y2); SetDim( 'tasta_j', 0, keydx, keydy); SetDim( 'tasta_j', 1, keydx, keydy); SetDim( 'tasta_j', 2, keydx, keydy); SetDim( 'tasta_j', 3, keydx, keydy); SetState( 'tasta_j', 0); SetSndSelect( 'tasta_j', 'HIGHLIGHT'); SetSndPush( 'tasta_j', 'accept'); --back end function tasta_k() SetMaterial( 'tasta_k', 0, _file_texture_alpha_normal , 255, 255,255,255 ); SetMaterial( 'tasta_k', 1, _file_texture_alpha_sel , 255, 255,255,255 ); SetMaterial( 'tasta_k', 2, _file_texture_alpha_push , 255, 55,255,255 ); SetMaterial( 'tasta_k', 3, _file_texture_alpha_dis , 255, 55,55,255 ); SetPos( 'tasta_k', 0, _keys_x4 , _keys_y2); SetPos( 'tasta_k', 1, _keys_x4 , _keys_y2); SetPos( 'tasta_k', 2, _keys_x4 , _keys_y2); SetPos( 'tasta_k', 3, _keys_x4 , _keys_y2); SetDim( 'tasta_k', 0, keydx, keydy); SetDim( 'tasta_k', 1, keydx, keydy); SetDim( 'tasta_k', 2, keydx, keydy); SetDim( 'tasta_k', 3, keydx, keydy); SetState( 'tasta_k', 0); SetSndSelect( 'tasta_k', 'HIGHLIGHT'); SetSndPush( 'tasta_k', 'accept'); --back end function tasta_l() SetMaterial( 'tasta_l', 0, _file_texture_alpha_normal , 255, 255,255,255 ); SetMaterial( 'tasta_l', 1, _file_texture_alpha_sel , 255, 255,255,255 ); SetMaterial( 'tasta_l', 2, _file_texture_alpha_push , 255, 55,255,255 ); SetMaterial( 'tasta_l', 3, _file_texture_alpha_dis , 255, 55,55,255 ); SetPos( 'tasta_l', 0, _keys_x5 , _keys_y2); SetPos( 'tasta_l', 1, _keys_x5 , _keys_y2); SetPos( 'tasta_l', 2, _keys_x5 , _keys_y2); SetPos( 'tasta_l', 3, _keys_x5 , _keys_y2); SetDim( 'tasta_l', 0, keydx, keydy); SetDim( 'tasta_l', 1, keydx, keydy); SetDim( 'tasta_l', 2, keydx, keydy); SetDim( 'tasta_l', 3, keydx, keydy); SetState( 'tasta_l', 0); SetSndSelect( 'tasta_l', 'HIGHLIGHT'); SetSndPush( 'tasta_l', 'accept'); --back end function tasta_m() SetMaterial( 'tasta_m', 0, _file_texture_alpha_normal , 255, 255,255,255 ); SetMaterial( 'tasta_m', 1, _file_texture_alpha_sel , 255, 255,255,255 ); SetMaterial( 'tasta_m', 2, _file_texture_alpha_push , 255, 55,255,255 ); SetMaterial( 'tasta_m', 3, _file_texture_alpha_dis , 255, 55,55,255 ); SetPos( 'tasta_m', 0, _keys_x6 , _keys_y2); SetPos( 'tasta_m', 1, _keys_x6 , _keys_y2); SetPos( 'tasta_m', 2, _keys_x6 , _keys_y2); SetPos( 'tasta_m', 3, _keys_x6 , _keys_y2); SetDim( 'tasta_m', 0, keydx, keydy); SetDim( 'tasta_m', 1, keydx, keydy); SetDim( 'tasta_m', 2, keydx, keydy); SetDim( 'tasta_m', 3, keydx, keydy); SetState( 'tasta_m', 0); SetSndSelect( 'tasta_m', 'HIGHLIGHT'); SetSndPush( 'tasta_m', 'accept'); --back end function tasta_n() SetMaterial( 'tasta_n', 0, _file_texture_alpha_normal , 255, 255,255,255 ); SetMaterial( 'tasta_n', 1, _file_texture_alpha_sel , 255, 255,255,255 ); SetMaterial( 'tasta_n', 2, _file_texture_alpha_push , 255, 55,255,255 ); SetMaterial( 'tasta_n', 3, _file_texture_alpha_dis , 255, 55,55,255 ); SetPos( 'tasta_n', 0, _keys_x7 , _keys_y2); SetPos( 'tasta_n', 1, _keys_x7 , _keys_y2); SetPos( 'tasta_n', 2, _keys_x7 , _keys_y2); SetPos( 'tasta_n', 3, _keys_x7 , _keys_y2); SetDim( 'tasta_n', 0, keydx, keydy); SetDim( 'tasta_n', 1, keydx, keydy); SetDim( 'tasta_n', 2, keydx, keydy); SetDim( 'tasta_n', 3, keydx, keydy); SetState( 'tasta_n', 0); SetSndSelect( 'tasta_n', 'HIGHLIGHT'); SetSndPush( 'tasta_n', 'accept'); --back end function tasta_o() SetMaterial( 'tasta_o', 0, _file_texture_alpha_normal , 255, 255,255,255 ); SetMaterial( 'tasta_o', 1, _file_texture_alpha_sel , 255, 255,255,255 ); SetMaterial( 'tasta_o', 2, _file_texture_alpha_push , 255, 55,255,255 ); SetMaterial( 'tasta_o', 3, _file_texture_alpha_dis , 255, 55,55,255 ); SetPos( 'tasta_o', 0, _keys_x1 , _keys_y3 ); SetPos( 'tasta_o', 1, _keys_x1 , _keys_y3 ); SetPos( 'tasta_o', 2, _keys_x1 , _keys_y3 ); SetPos( 'tasta_o', 3, _keys_x1 , _keys_y3 ); SetDim( 'tasta_o', 0, keydx, keydy); SetDim( 'tasta_o', 1, keydx, keydy); SetDim( 'tasta_o', 2, keydx, keydy); SetDim( 'tasta_o', 3, keydx, keydy); SetState( 'tasta_o', 0); SetSndSelect( 'tasta_o', 'HIGHLIGHT'); SetSndPush( 'tasta_o', 'accept'); --back end function tasta_p() SetMaterial( 'tasta_p', 0, _file_texture_alpha_normal , 255, 255,255,255 ); SetMaterial( 'tasta_p', 1, _file_texture_alpha_sel , 255, 255,255,255 ); SetMaterial( 'tasta_p', 2, _file_texture_alpha_push , 255, 55,255,255 ); SetMaterial( 'tasta_p', 3, _file_texture_alpha_dis , 255, 55,55,255 ); SetPos( 'tasta_p', 0, _keys_x2 , _keys_y3); SetPos( 'tasta_p', 1, _keys_x2 , _keys_y3); SetPos( 'tasta_p', 2, _keys_x2 , _keys_y3); SetPos( 'tasta_p', 3, _keys_x2 , _keys_y3); SetDim( 'tasta_p', 0, keydx, keydy); SetDim( 'tasta_p', 1, keydx, keydy); SetDim( 'tasta_p', 2, keydx, keydy); SetDim( 'tasta_p', 3, keydx, keydy); SetState( 'tasta_p', 0); SetSndSelect( 'tasta_p', 'HIGHLIGHT'); SetSndPush( 'tasta_p', 'accept'); --back end function tasta_q() SetMaterial( 'tasta_q', 0, _file_texture_alpha_normal , 255, 255,255,255 ); SetMaterial( 'tasta_q', 1, _file_texture_alpha_sel , 255, 255,255,255 ); SetMaterial( 'tasta_q', 2, _file_texture_alpha_push , 255, 55,255,255 ); SetMaterial( 'tasta_q', 3, _file_texture_alpha_dis , 255, 55,55,255 ); SetPos( 'tasta_q', 0, _keys_x3 , _keys_y3); SetPos( 'tasta_q', 1, _keys_x3 , _keys_y3); SetPos( 'tasta_q', 2, _keys_x3 , _keys_y3); SetPos( 'tasta_q', 3, _keys_x3 , _keys_y3); SetDim( 'tasta_q', 0, keydx, keydy); SetDim( 'tasta_q', 1, keydx, keydy); SetDim( 'tasta_q', 2, keydx, keydy); SetDim( 'tasta_q', 3, keydx, keydy); SetState( 'tasta_q', 0); SetSndSelect( 'tasta_q', 'HIGHLIGHT'); SetSndPush( 'tasta_q', 'accept'); --back end function tasta_r() SetMaterial( 'tasta_r', 0, _file_texture_alpha_normal , 255, 255,255,255 ); SetMaterial( 'tasta_r', 1, _file_texture_alpha_sel , 255, 255,255,255 ); SetMaterial( 'tasta_r', 2, _file_texture_alpha_push , 255, 55,255,255 ); SetMaterial( 'tasta_r', 3, _file_texture_alpha_dis , 255, 55,55,255 ); SetPos( 'tasta_r', 0, _keys_x4 , _keys_y3); SetPos( 'tasta_r', 1, _keys_x4 , _keys_y3); SetPos( 'tasta_r', 2, _keys_x4 , _keys_y3); SetPos( 'tasta_r', 3, _keys_x4 , _keys_y3); SetDim( 'tasta_r', 0, keydx, keydy); SetDim( 'tasta_r', 1, keydx, keydy); SetDim( 'tasta_r', 2, keydx, keydy); SetDim( 'tasta_r', 3, keydx, keydy); SetState( 'tasta_r', 0); SetSndSelect( 'tasta_r', 'HIGHLIGHT'); SetSndPush( 'tasta_r', 'accept'); --back end function tasta_s() SetMaterial( 'tasta_s', 0, _file_texture_alpha_normal , 255, 255,255,255 ); SetMaterial( 'tasta_s', 1, _file_texture_alpha_sel , 255, 255,255,255 ); SetMaterial( 'tasta_s', 2, _file_texture_alpha_push , 255, 55,255,255 ); SetMaterial( 'tasta_s', 3, _file_texture_alpha_dis , 255, 55,55,255 ); SetPos( 'tasta_s', 0, _keys_x5 , _keys_y3); SetPos( 'tasta_s', 1, _keys_x5 , _keys_y3); SetPos( 'tasta_s', 2, _keys_x5 , _keys_y3); SetPos( 'tasta_s', 3, _keys_x5 , _keys_y3); SetDim( 'tasta_s', 0, keydx, keydy); SetDim( 'tasta_s', 1, keydx, keydy); SetDim( 'tasta_s', 2, keydx, keydy); SetDim( 'tasta_s', 3, keydx, keydy); SetState( 'tasta_s', 0); SetSndSelect( 'tasta_s', 'HIGHLIGHT'); SetSndPush( 'tasta_s', 'accept'); --back end function tasta_t() SetMaterial( 'tasta_t', 0, _file_texture_alpha_normal , 255, 255,255,255 ); SetMaterial( 'tasta_t', 1, _file_texture_alpha_sel , 255, 255,255,255 ); SetMaterial( 'tasta_t', 2, _file_texture_alpha_push , 255, 55,255,255 ); SetMaterial( 'tasta_t', 3, _file_texture_alpha_dis , 255, 55,55,255 ); SetPos( 'tasta_t', 0, _keys_x6 , _keys_y3); SetPos( 'tasta_t', 1, _keys_x6 , _keys_y3); SetPos( 'tasta_t', 2, _keys_x6 , _keys_y3); SetPos( 'tasta_t', 3, _keys_x6 , _keys_y3); SetDim( 'tasta_t', 0, keydx, keydy); SetDim( 'tasta_t', 1, keydx, keydy); SetDim( 'tasta_t', 2, keydx, keydy); SetDim( 'tasta_t', 3, keydx, keydy); SetState( 'tasta_t', 0); SetSndSelect( 'tasta_t', 'HIGHLIGHT'); SetSndPush( 'tasta_t', 'accept'); --back end function tasta_u() SetMaterial( 'tasta_u', 0, _file_texture_alpha_normal , 255, 255,255,255 ); SetMaterial( 'tasta_u', 1, _file_texture_alpha_sel , 255, 255,255,255 ); SetMaterial( 'tasta_u', 2, _file_texture_alpha_push , 255, 55,255,255 ); SetMaterial( 'tasta_u', 3, _file_texture_alpha_dis , 255, 55,55,255 ); SetPos( 'tasta_u', 0, _keys_x7 , _keys_y3); SetPos( 'tasta_u', 1, _keys_x7 , _keys_y3); SetPos( 'tasta_u', 2, _keys_x7 , _keys_y3); SetPos( 'tasta_u', 3, _keys_x7 , _keys_y3); SetDim( 'tasta_u', 0, keydx, keydy); SetDim( 'tasta_u', 1, keydx, keydy); SetDim( 'tasta_u', 2, keydx, keydy); SetDim( 'tasta_u', 3, keydx, keydy); SetState( 'tasta_u', 0); SetSndSelect( 'tasta_u', 'HIGHLIGHT'); SetSndPush( 'tasta_u', 'accept'); --back end function tasta_v() SetMaterial( 'tasta_v', 0, _file_texture_alpha_normal , 255, 255,255,255 ); SetMaterial( 'tasta_v', 1, _file_texture_alpha_sel , 255, 255,255,255 ); SetMaterial( 'tasta_v', 2, _file_texture_alpha_push , 255, 55,255,255 ); SetMaterial( 'tasta_v', 3, _file_texture_alpha_dis , 255, 55,55,255 ); SetPos( 'tasta_v', 0, _keys_x1 , _keys_y4 ); SetPos( 'tasta_v', 1, _keys_x1 , _keys_y4 ); SetPos( 'tasta_v', 2, _keys_x1 , _keys_y4 ); SetPos( 'tasta_v', 3, _keys_x1 , _keys_y4 ); SetDim( 'tasta_v', 0, keydx, keydy); SetDim( 'tasta_v', 1, keydx, keydy); SetDim( 'tasta_v', 2, keydx, keydy); SetDim( 'tasta_v', 3, keydx, keydy); SetState( 'tasta_v', 0); SetSndSelect( 'tasta_v', 'HIGHLIGHT'); SetSndPush( 'tasta_v', 'accept'); --back end function tasta_w() SetMaterial( 'tasta_w', 0, _file_texture_alpha_normal , 255, 255,255,255 ); SetMaterial( 'tasta_w', 1, _file_texture_alpha_sel , 255, 255,255,255 ); SetMaterial( 'tasta_w', 2, _file_texture_alpha_push , 255, 55,255,255 ); SetMaterial( 'tasta_w', 3, _file_texture_alpha_dis , 255, 55,55,255 ); SetPos( 'tasta_w', 0, _keys_x2 , _keys_y4); SetPos( 'tasta_w', 1, _keys_x2 , _keys_y4); SetPos( 'tasta_w', 2, _keys_x2 , _keys_y4); SetPos( 'tasta_w', 3, _keys_x2 , _keys_y4); SetDim( 'tasta_w', 0, keydx, keydy); SetDim( 'tasta_w', 1, keydx, keydy); SetDim( 'tasta_w', 2, keydx, keydy); SetDim( 'tasta_w', 3, keydx, keydy); SetState( 'tasta_w', 0); SetSndSelect( 'tasta_w', 'HIGHLIGHT'); SetSndPush( 'tasta_w', 'accept'); --back end function tasta_x() SetMaterial( 'tasta_x', 0, _file_texture_alpha_normal , 255, 255,255,255 ); SetMaterial( 'tasta_x', 1, _file_texture_alpha_sel , 255, 255,255,255 ); SetMaterial( 'tasta_x', 2, _file_texture_alpha_push , 255, 55,255,255 ); SetMaterial( 'tasta_x', 3, _file_texture_alpha_dis , 255, 55,55,255 ); SetPos( 'tasta_x', 0, _keys_x3 , _keys_y4); SetPos( 'tasta_x', 1, _keys_x3 , _keys_y4); SetPos( 'tasta_x', 2, _keys_x3 , _keys_y4); SetPos( 'tasta_x', 3, _keys_x3 , _keys_y4); SetDim( 'tasta_x', 0, keydx, keydy); SetDim( 'tasta_x', 1, keydx, keydy); SetDim( 'tasta_x', 2, keydx, keydy); SetDim( 'tasta_x', 3, keydx, keydy); SetState( 'tasta_x', 0); SetSndSelect( 'tasta_x', 'HIGHLIGHT'); SetSndPush( 'tasta_x', 'accept'); --back end function tasta_y() SetMaterial( 'tasta_y', 0, _file_texture_alpha_normal , 255, 255,255,255 ); SetMaterial( 'tasta_y', 1, _file_texture_alpha_sel , 255, 255,255,255 ); SetMaterial( 'tasta_y', 2, _file_texture_alpha_push , 255, 55,255,255 ); SetMaterial( 'tasta_y', 3, _file_texture_alpha_dis , 255, 55,55,255 ); SetPos( 'tasta_y', 0, _keys_x4 , _keys_y4); SetPos( 'tasta_y', 1, _keys_x4 , _keys_y4); SetPos( 'tasta_y', 2, _keys_x4 , _keys_y4); SetPos( 'tasta_y', 3, _keys_x4 , _keys_y4); SetDim( 'tasta_y', 0, keydx, keydy); SetDim( 'tasta_y', 1, keydx, keydy); SetDim( 'tasta_y', 2, keydx, keydy); SetDim( 'tasta_y', 3, keydx, keydy); SetState( 'tasta_y', 0); SetSndSelect( 'tasta_y', 'HIGHLIGHT'); SetSndPush( 'tasta_y', 'accept'); --back end function tasta_z() SetMaterial( 'tasta_z', 0, _file_texture_alpha_normal , 255, 255,255,255 ); SetMaterial( 'tasta_z', 1, _file_texture_alpha_sel , 255, 255,255,255 ); SetMaterial( 'tasta_z', 2, _file_texture_alpha_push , 255, 55,255,255 ); SetMaterial( 'tasta_z', 3, _file_texture_alpha_dis , 255, 55,55,255 ); SetPos( 'tasta_z', 0, _keys_x5 , _keys_y4); SetPos( 'tasta_z', 1, _keys_x5 , _keys_y4); SetPos( 'tasta_z', 2, _keys_x5 , _keys_y4); SetPos( 'tasta_z', 3, _keys_x5 , _keys_y4); SetDim( 'tasta_z', 0, keydx, keydy); SetDim( 'tasta_z', 1, keydx, keydy); SetDim( 'tasta_z', 2, keydx, keydy); SetDim( 'tasta_z', 3, keydx, keydy); SetState( 'tasta_z', 0); SetSndSelect( 'tasta_z', 'HIGHLIGHT'); SetSndPush( 'tasta_z', 'accept'); --back end function tasta_undln() SetMaterial( 'tasta_undln', 0, _file_texture_alpha_normal , 255, 255,255,255 ); SetMaterial( 'tasta_undln', 1, _file_texture_alpha_sel , 255, 255,255,255 ); SetMaterial( 'tasta_undln', 2, _file_texture_alpha_push , 255, 55,255,255 ); SetMaterial( 'tasta_undln', 3, _file_texture_alpha_dis , 255, 55,55,255 ); SetPos( 'tasta_undln', 0, _keys_x6 , _keys_y4); SetPos( 'tasta_undln', 1, _keys_x6 , _keys_y4); SetPos( 'tasta_undln', 2, _keys_x6 , _keys_y4); SetPos( 'tasta_undln', 3, _keys_x6 , _keys_y4); SetDim( 'tasta_undln', 0, keydx, keydy); SetDim( 'tasta_undln', 1, keydx, keydy); SetDim( 'tasta_undln', 2, keydx, keydy); SetDim( 'tasta_undln', 3, keydx, keydy); SetState( 'tasta_undln', 0); SetSndSelect( 'tasta_undln', 'HIGHLIGHT'); SetSndPush( 'tasta_undln', 'accept'); --back end function tasta_minus() SetMaterial( 'tasta_minus', 0, _file_texture_alpha_normal , 255, 255,255,255 ); SetMaterial( 'tasta_minus', 1, _file_texture_alpha_sel , 255, 255,255,255 ); SetMaterial( 'tasta_minus', 2, _file_texture_alpha_push , 255, 55,255,255 ); SetMaterial( 'tasta_minus', 3, _file_texture_alpha_dis , 255, 55,55,255 ); SetPos( 'tasta_minus', 0, _keys_x7 , _keys_y4); SetPos( 'tasta_minus', 1, _keys_x7 , _keys_y4); SetPos( 'tasta_minus', 2, _keys_x7 , _keys_y4); SetPos( 'tasta_minus', 3, _keys_x7 , _keys_y4); SetDim( 'tasta_minus', 0, keydx, keydy); SetDim( 'tasta_minus', 1, keydx, keydy); SetDim( 'tasta_minus', 2, keydx, keydy); SetDim( 'tasta_minus', 3, keydx, keydy); SetState( 'tasta_minus', 0); SetSndSelect( 'tasta_minus', 'HIGHLIGHT'); SetSndPush( 'tasta_minus', 'accept'); --back end -- numeric : function tasta_7() SetMaterial( 'tasta_7', 0, _file_texture_alpha_normal , 255, 255,255,255 ); SetMaterial( 'tasta_7', 1, _file_texture_alpha_sel , 255, 255,255,255 ); SetMaterial( 'tasta_7', 2, _file_texture_alpha_push , 255, 55,255,255 ); SetMaterial( 'tasta_7', 3, _file_texture_alpha_dis , 255, 55,55,255 ); SetPos( 'tasta_7', 0, _keys_x8 , _keys_y1); SetPos( 'tasta_7', 1, _keys_x8 , _keys_y1); SetPos( 'tasta_7', 2, _keys_x8 , _keys_y1); SetPos( 'tasta_7', 3, _keys_x8 , _keys_y1); SetDim( 'tasta_7', 0, keydx, keydy); SetDim( 'tasta_7', 1, keydx, keydy); SetDim( 'tasta_7', 2, keydx, keydy); SetDim( 'tasta_7', 3, keydx, keydy); SetState( 'tasta_7', 0); SetSndSelect( 'tasta_7', 'HIGHLIGHT'); SetSndPush( 'tasta_7', 'accept'); --back end function tasta_8() SetMaterial( 'tasta_8', 0, _file_texture_alpha_normal , 255, 255,255,255 ); SetMaterial( 'tasta_8', 1, _file_texture_alpha_sel , 255, 255,255,255 ); SetMaterial( 'tasta_8', 2, _file_texture_alpha_push , 255, 55,255,255 ); SetMaterial( 'tasta_8', 3, _file_texture_alpha_dis , 255, 55,55,255 ); SetPos( 'tasta_8', 0, _keys_x9 , _keys_y1); SetPos( 'tasta_8', 1, _keys_x9 , _keys_y1); SetPos( 'tasta_8', 2, _keys_x9 , _keys_y1); SetPos( 'tasta_8', 3, _keys_x9 , _keys_y1); SetDim( 'tasta_8', 0, keydx, keydy); SetDim( 'tasta_8', 1, keydx, keydy); SetDim( 'tasta_8', 2, keydx, keydy); SetDim( 'tasta_8', 3, keydx, keydy); SetState( 'tasta_8', 0); SetSndSelect( 'tasta_8', 'HIGHLIGHT'); SetSndPush( 'tasta_8', 'accept'); --back end function tasta_9() SetMaterial( 'tasta_9', 0, _file_texture_alpha_normal , 255, 255,255,255 ); SetMaterial( 'tasta_9', 1, _file_texture_alpha_sel , 255, 255,255,255 ); SetMaterial( 'tasta_9', 2, _file_texture_alpha_push , 255, 55,255,255 ); SetMaterial( 'tasta_9', 3, _file_texture_alpha_dis , 255, 55,55,255 ); SetPos( 'tasta_9', 0, _keys_x10 , _keys_y1); SetPos( 'tasta_9', 1, _keys_x10 , _keys_y1); SetPos( 'tasta_9', 2, _keys_x10 , _keys_y1); SetPos( 'tasta_9', 3, _keys_x10 , _keys_y1); SetDim( 'tasta_9', 0, keydx, keydy); SetDim( 'tasta_9', 1, keydx, keydy); SetDim( 'tasta_9', 2, keydx, keydy); SetDim( 'tasta_9', 3, keydx, keydy); SetState( 'tasta_9', 0); SetSndSelect( 'tasta_9', 'HIGHLIGHT'); SetSndPush( 'tasta_9', 'accept'); --back end function tasta_4() SetMaterial( 'tasta_4', 0, _file_texture_alpha_normal , 255, 255,255,255 ); SetMaterial( 'tasta_4', 1, _file_texture_alpha_sel , 255, 255,255,255 ); SetMaterial( 'tasta_4', 2, _file_texture_alpha_push , 255, 55,255,255 ); SetMaterial( 'tasta_4', 3, _file_texture_alpha_dis , 255, 55,55,255 ); SetPos( 'tasta_4', 0, _keys_x8 , _keys_y2); SetPos( 'tasta_4', 1, _keys_x8 , _keys_y2); SetPos( 'tasta_4', 2, _keys_x8 , _keys_y2); SetPos( 'tasta_4', 3, _keys_x8 , _keys_y2); SetDim( 'tasta_4', 0, keydx, keydy); SetDim( 'tasta_4', 1, keydx, keydy); SetDim( 'tasta_4', 2, keydx, keydy); SetDim( 'tasta_4', 3, keydx, keydy); SetState( 'tasta_4', 0); SetSndSelect( 'tasta_4', 'HIGHLIGHT'); SetSndPush( 'tasta_4', 'accept'); --back end function tasta_5() SetMaterial( 'tasta_5', 0, _file_texture_alpha_normal , 255, 255,255,255 ); SetMaterial( 'tasta_5', 1, _file_texture_alpha_sel , 255, 255,255,255 ); SetMaterial( 'tasta_5', 2, _file_texture_alpha_push , 255, 55,255,255 ); SetMaterial( 'tasta_5', 3, _file_texture_alpha_dis , 255, 55,55,255 ); SetPos( 'tasta_5', 0, _keys_x9 , _keys_y2); SetPos( 'tasta_5', 1, _keys_x9 , _keys_y2); SetPos( 'tasta_5', 2, _keys_x9 , _keys_y2); SetPos( 'tasta_5', 3, _keys_x9 , _keys_y2); SetDim( 'tasta_5', 0, keydx, keydy); SetDim( 'tasta_5', 1, keydx, keydy); SetDim( 'tasta_5', 2, keydx, keydy); SetDim( 'tasta_5', 3, keydx, keydy); SetState( 'tasta_5', 0); SetSndSelect( 'tasta_5', 'HIGHLIGHT'); SetSndPush( 'tasta_5', 'accept'); --back end function tasta_6() SetMaterial( 'tasta_6', 0, _file_texture_alpha_normal , 255, 255,255,255 ); SetMaterial( 'tasta_6', 1, _file_texture_alpha_sel , 255, 255,255,255 ); SetMaterial( 'tasta_6', 2, _file_texture_alpha_push , 255, 55,255,255 ); SetMaterial( 'tasta_6', 3, _file_texture_alpha_dis , 255, 55,55,255 ); SetPos( 'tasta_6', 0, _keys_x10 , _keys_y2); SetPos( 'tasta_6', 1, _keys_x10 , _keys_y2); SetPos( 'tasta_6', 2, _keys_x10 , _keys_y2); SetPos( 'tasta_6', 3, _keys_x10 , _keys_y2); SetDim( 'tasta_6', 0, keydx, keydy); SetDim( 'tasta_6', 1, keydx, keydy); SetDim( 'tasta_6', 2, keydx, keydy); SetDim( 'tasta_6', 3, keydx, keydy); SetState( 'tasta_6', 0); SetSndSelect( 'tasta_6', 'HIGHLIGHT'); SetSndPush( 'tasta_6', 'accept'); --back end function tasta_1() SetMaterial( 'tasta_1', 0, _file_texture_alpha_normal , 255, 255,255,255 ); SetMaterial( 'tasta_1', 1, _file_texture_alpha_sel , 255, 255,255,255 ); SetMaterial( 'tasta_1', 2, _file_texture_alpha_push , 255, 55,255,255 ); SetMaterial( 'tasta_1', 3, _file_texture_alpha_dis , 255, 55,55,255 ); SetPos( 'tasta_1', 0, _keys_x8 , _keys_y3); SetPos( 'tasta_1', 1, _keys_x8 , _keys_y3); SetPos( 'tasta_1', 2, _keys_x8 , _keys_y3); SetPos( 'tasta_1', 3, _keys_x8 , _keys_y3); SetDim( 'tasta_1', 0, keydx, keydy); SetDim( 'tasta_1', 1, keydx, keydy); SetDim( 'tasta_1', 2, keydx, keydy); SetDim( 'tasta_1', 3, keydx, keydy); SetState( 'tasta_1', 0); SetSndSelect( 'tasta_1', 'HIGHLIGHT'); SetSndPush( 'tasta_1', 'accept'); --back end function tasta_2() SetMaterial( 'tasta_2', 0, _file_texture_alpha_normal , 255, 255,255,255 ); SetMaterial( 'tasta_2', 1, _file_texture_alpha_sel , 255, 255,255,255 ); SetMaterial( 'tasta_2', 2, _file_texture_alpha_push , 255, 55,255,255 ); SetMaterial( 'tasta_2', 3, _file_texture_alpha_dis , 255, 55,55,255 ); SetPos( 'tasta_2', 0, _keys_x9 , _keys_y3); SetPos( 'tasta_2', 1, _keys_x9 , _keys_y3); SetPos( 'tasta_2', 2, _keys_x9 , _keys_y3); SetPos( 'tasta_2', 3, _keys_x9 , _keys_y3); SetDim( 'tasta_2', 0, keydx, keydy); SetDim( 'tasta_2', 1, keydx, keydy); SetDim( 'tasta_2', 2, keydx, keydy); SetDim( 'tasta_2', 3, keydx, keydy); SetState( 'tasta_2', 0); SetSndSelect( 'tasta_2', 'HIGHLIGHT'); SetSndPush( 'tasta_2', 'accept'); --back end function tasta_3() SetMaterial( 'tasta_3', 0, _file_texture_alpha_normal , 255, 255,255,255 ); SetMaterial( 'tasta_3', 1, _file_texture_alpha_sel , 255, 255,255,255 ); SetMaterial( 'tasta_3', 2, _file_texture_alpha_push , 255, 55,255,255 ); SetMaterial( 'tasta_3', 3, _file_texture_alpha_dis , 255, 55,55,255 ); SetPos( 'tasta_3', 0, _keys_x10 , _keys_y3); SetPos( 'tasta_3', 1, _keys_x10 , _keys_y3); SetPos( 'tasta_3', 2, _keys_x10 , _keys_y3); SetPos( 'tasta_3', 3, _keys_x10 , _keys_y3); SetDim( 'tasta_3', 0, keydx, keydy); SetDim( 'tasta_3', 1, keydx, keydy); SetDim( 'tasta_3', 2, keydx, keydy); SetDim( 'tasta_3', 3, keydx, keydy); SetState( 'tasta_3', 0); SetSndSelect( 'tasta_3', 'HIGHLIGHT'); SetSndPush( 'tasta_3', 'accept'); --back end function tasta_zero() SetMaterial( 'tasta_zero', 0, _file_texture_zero_normal , 255, 255,255,255 ); SetMaterial( 'tasta_zero', 1, _file_texture_zero_sel , 255, 255,255,255 ); SetMaterial( 'tasta_zero', 2, _file_texture_zero_push , 255, 55,255,255 ); SetMaterial( 'tasta_zero', 3, _file_texture_zero_dis , 255, 55,55,255 ); SetPos( 'tasta_zero', 0, _keys_x8 , _keys_y4); SetPos( 'tasta_zero', 1, _keys_x8 , _keys_y4); SetPos( 'tasta_zero', 2, _keys_x8 , _keys_y4); SetPos( 'tasta_zero', 3, _keys_x8 , _keys_y4); SetDim( 'tasta_zero', 0, 64, 32 ); SetDim( 'tasta_zero', 1, 64, 32 ); SetDim( 'tasta_zero', 2, 64, 32 ); SetDim( 'tasta_zero', 3, 64, 32 ); SetState( 'tasta_zero', 0); SetSndSelect( 'tasta_zero', 'HIGHLIGHT'); SetSndPush( 'tasta_zero', 'accept'); --back end function tasta_point() SetMaterial( 'tasta_point', 0, _file_texture_alpha_normal , 255, 255,255,255 ); SetMaterial( 'tasta_point', 1, _file_texture_alpha_sel , 255, 255,255,255 ); SetMaterial( 'tasta_point', 2, _file_texture_alpha_push , 255, 55,255,255 ); SetMaterial( 'tasta_point', 3, _file_texture_alpha_dis , 255, 55,55,255 ); SetPos( 'tasta_point', 0, _keys_x10 , _keys_y4); SetPos( 'tasta_point', 1, _keys_x10 , _keys_y4); SetPos( 'tasta_point', 2, _keys_x10 , _keys_y4); SetPos( 'tasta_point', 3, _keys_x10 , _keys_y4); SetDim( 'tasta_point', 0, keydx, keydy); SetDim( 'tasta_point', 1, keydx, keydy); SetDim( 'tasta_point', 2, keydx, keydy); SetDim( 'tasta_point', 3, keydx, keydy); SetState( 'tasta_point', 0); SetSndSelect( 'tasta_point', 'HIGHLIGHT'); SetSndPush( 'tasta_point', 'accept'); --back end function tasta_back() SetMaterial( 'tasta_back', 0, _file_texture_clear_normal , 255, 255,255,255 ); SetMaterial( 'tasta_back', 1, _file_texture_clear_sel , 255, 255,255,255 ); SetMaterial( 'tasta_back', 2, _file_texture_clear_push , 255, 255,255,255 ); SetMaterial( 'tasta_back', 3, _file_texture_clear_dis , 255, 255,255,255 ); SetPos( 'tasta_back', 0, 403 , 315 ); SetPos( 'tasta_back', 1, 403 , 315 ); SetPos( 'tasta_back', 2, 403 , 315 ); SetPos( 'tasta_back', 3, 403 , 315 ); SetDim( 'tasta_back', 0, 128 , 32 ); SetDim( 'tasta_back', 1, 128 , 32 ); SetDim( 'tasta_back', 2, 128 , 32 ); SetDim( 'tasta_back', 3, 128 , 32 ); SetState( 'tasta_back', 0); SetSndSelect( 'tasta_back', 'HIGHLIGHT'); SetSndPush( 'tasta_back', 'accept'); --back end function tasta_clear() SetMaterial( 'tasta_clear', 0, _file_texture_clear_normal , 255, 255,255,255 ); SetMaterial( 'tasta_clear', 1, _file_texture_clear_sel , 255, 255,255,255 ); SetMaterial( 'tasta_clear', 2, _file_texture_clear_push , 255, 255,255,255 ); SetMaterial( 'tasta_clear', 3, _file_texture_clear_dis , 255, 255,255,255 ); SetPos( 'tasta_clear', 0, 403 , 335 ); SetPos( 'tasta_clear', 1, 403 , 335 ); SetPos( 'tasta_clear', 2, 403 , 335 ); SetPos( 'tasta_clear', 3, 403 , 335 ); SetDim( 'tasta_clear', 0, 128 , 32 ); SetDim( 'tasta_clear', 1, 128 , 32 ); SetDim( 'tasta_clear', 2, 128 , 32 ); SetDim( 'tasta_clear', 3, 128 , 32 ); SetState( 'tasta_clear', 0); SetSndSelect( 'tasta_clear', 'HIGHLIGHT'); SetSndPush( 'tasta_clear', 'accept'); end function tasta_shift() SetMaterial( 'tasta_shift', 0, _file_texture_shift_normal , 255, 255,255,255 ); SetMaterial( 'tasta_shift', 1, _file_texture_shift_sel , 255, 255,255,255 ); SetMaterial( 'tasta_shift', 2, _file_texture_shift_push , 255, 255,255,255 ); SetMaterial( 'tasta_shift', 3, _file_texture_shift_dis , 255, 255,255,255 ); SetPos( 'tasta_shift', 0, 153 , 315 ); SetPos( 'tasta_shift', 1, 153 , 315 ); SetPos( 'tasta_shift', 2, 153 , 315 ); SetPos( 'tasta_shift', 3, 153 , 315 ); SetDim( 'tasta_shift', 0, 128 , 32 ); SetDim( 'tasta_shift', 1, 128 , 32 ); SetDim( 'tasta_shift', 2, 128 , 32 ); SetDim( 'tasta_shift', 3, 128 , 32 ); SetState( 'tasta_shift', 0); SetSndSelect( 'tasta_shift', 'HIGHLIGHT'); SetSndPush( 'tasta_shift', 'accept'); end function tasta_sym() SetMaterial( 'tasta_sym', 0, _file_texture_shift_normal , 255, 255,255,255 ); SetMaterial( 'tasta_sym', 1, _file_texture_shift_sel , 255, 255,255,255 ); SetMaterial( 'tasta_sym', 2, _file_texture_shift_push , 255, 255,255,255 ); SetMaterial( 'tasta_sym', 3, _file_texture_shift_dis , 255, 255,255,255 ); SetPos( 'tasta_sym', 0, 265 , 315 ); SetPos( 'tasta_sym', 1, 265 , 315 ); SetPos( 'tasta_sym', 2, 265 , 315 ); SetPos( 'tasta_sym', 3, 265 , 315 ); SetDim( 'tasta_sym', 0, 128 , 32 ); SetDim( 'tasta_sym', 1, 128 , 32 ); SetDim( 'tasta_sym', 2, 128 , 32 ); SetDim( 'tasta_sym', 3, 128 , 32 ); SetState( 'tasta_sym', 0); SetSndSelect( 'tasta_sym', 'HIGHLIGHT'); SetSndPush( 'tasta_sym', 'accept'); end function tasta_space() SetMaterial( 'tasta_space', 0, _file_texture_space_normal , 255, 255,255,255 ); SetMaterial( 'tasta_space', 1, _file_texture_space_sel , 255, 255,255,255 ); SetMaterial( 'tasta_space', 2, _file_texture_space_push , 255, 255,255,255 ); SetMaterial( 'tasta_space', 3, _file_texture_space_dis , 255, 255,255,255 ); SetPos( 'tasta_space', 0, 153 , 335 ); SetPos( 'tasta_space', 1, 153 , 335 ); SetPos( 'tasta_space', 2, 153 , 335 ); SetPos( 'tasta_space', 3, 153 , 335 ); SetDim( 'tasta_space', 0, 256 , 32 ); SetDim( 'tasta_space', 1, 256 , 32 ); SetDim( 'tasta_space', 2, 256 , 32 ); SetDim( 'tasta_space', 3, 256 , 32 ); SetState( 'tasta_space', 0); SetSndSelect( 'tasta_space', 'HIGHLIGHT'); SetSndPush( 'tasta_space', 'accept'); end function tasta_cancel() SetMaterial( 'tasta_cancel', 0, _file_texture_ok_normal , 255, 255,255,255 ); SetMaterial( 'tasta_cancel', 1, _file_texture_ok_sel , 255, 255,255,255 ); SetMaterial( 'tasta_cancel', 2, _file_texture_ok_push , 255, 255,255,255 ); SetMaterial( 'tasta_cancel', 3, _file_texture_ok_dis , 255, 255,255,255 ); SetPos( 'tasta_cancel', 0, 153 , 360 ); SetPos( 'tasta_cancel', 1, 153 , 360 ); SetPos( 'tasta_cancel', 2, 153 , 360 ); SetPos( 'tasta_cancel', 3, 153 , 360 ); SetDim( 'tasta_cancel', 0, 128 , 32 ); SetDim( 'tasta_cancel', 1, 128 , 32 ); SetDim( 'tasta_cancel', 2, 128 , 32 ); SetDim( 'tasta_cancel', 3, 128 , 32 ); SetState( 'tasta_cancel', 0); SetSndSelect( 'tasta_cancel', 'HIGHLIGHT'); SetSndPush( 'tasta_cancel', 'accept'); end function tasta_ok() SetMaterial( 'tasta_ok', 0, _file_texture_ok_normal , 255, 255,255,255 ); SetMaterial( 'tasta_ok', 1, _file_texture_ok_sel , 255, 255,255,255 ); SetMaterial( 'tasta_ok', 2, _file_texture_ok_push , 255, 255,255,255 ); SetMaterial( 'tasta_ok', 3, _file_texture_ok_dis , 255, 255,255,255 ); SetPos( 'tasta_ok', 0, 403 , 360 ); SetPos( 'tasta_ok', 1, 403 , 360 ); SetPos( 'tasta_ok', 2, 403 , 360 ); SetPos( 'tasta_ok', 3, 403 , 360 ); SetDim( 'tasta_ok', 0, 128 , 32 ); SetDim( 'tasta_ok', 1, 128 , 32 ); SetDim( 'tasta_ok', 2, 128 , 32 ); SetDim( 'tasta_ok', 3, 128 , 32 ); SetState( 'tasta_ok', 0); SetSndSelect( 'tasta_ok', 'HIGHLIGHT'); SetSndPush( 'tasta_ok', 'accept'); end function edit_nume() SetMaterial( 'edit_nume', 0, "", 0, 255,255,200 ); SetMaterial( 'edit_nume', 1, "", 0, 255,255,200 ); SetPos( 'edit_nume', 0, 172 , 152 ); SetDim( 'edit_nume', 0, 256 , 16); SetPos( 'edit_nume', 1, 172 , 152 ); SetDim( 'edit_nume', 1, 256 , 16); SetState( 'edit_nume', 0 ); SetTxt( 'edit_nume', 1 , 4 , "" ); SetFontScale( "edit_nume" , "0.75" ); GUISetVisible( 'edit_nume' , 1 ); end