public void insert_wc_text_2(string text, int index) { int[] offset = { 0, 40, 80, 120, 160, 200, 240, 280 }; if (japanese) { offset[0] = 0; offset[1] = 18; offset[2] = 18 + 13; offset[3] = 18 + 13 + 20; offset[4] = 18 + 13 + 40; offset[5] = 18 + 13 + 60; offset[6] = 18 + 13 + 80; offset[7] = 18 + 13 + 100; } setData(StringConverter.SetG3Str_WONDER(text, japanese), text_start + offset[index]); }
public void insert_wn_text_2(string text, int index) { int[] offset = { 0, 40, 80, 120, 160, 200, 240, 280, 320, 360, 400 }; if (japanese) { int i; for (i = 0; i < 11; i++) { offset[i] = 0x14 * i; } } setData(StringConverter.SetG3Str_WONDER(text, japanese), text_start + offset[index]); }