&g_sSHARP480x272x16Display, 95+X_OFFSET, 152+Y_OFFSET, 20, 20, CANVAS_STYLE_IMG, 0, 0, 0, 0, 0, g_ledOFF, 0), CanvasStruct(g_psRadioContainers + 1, g_psRadioButtonIndicators + 4, 0, &g_sSHARP480x272x16Display, 260+X_OFFSET, 62+Y_OFFSET, 20, 20, CANVAS_STYLE_IMG, 0, 0, 0, 0, 0, g_ledOFF, 0), CanvasStruct(g_psRadioContainers + 1, g_psRadioButtonIndicators + 5, 0, &g_sSHARP480x272x16Display, 260+X_OFFSET, 107+Y_OFFSET, 20, 20, CANVAS_STYLE_IMG, 0, 0, 0, 0, 0, g_ledOFF, 0), CanvasStruct(g_psRadioContainers + 1, 0, 0, &g_sSHARP480x272x16Display, 260+X_OFFSET, 152+Y_OFFSET, 20, 20, CANVAS_STYLE_IMG, 0, 0, 0, 0, 0, g_ledOFF, 0), }; tRadioButtonWidget g_psRadioButtons1[] = { RadioButtonStruct(g_psRadioContainers, g_psRadioButtons1 + 1, 0, &g_sSHARP480x272x16Display, 10+X_OFFSET, 50+Y_OFFSET, 80, 45, RB_STYLE_TEXT, 16, 0, ClrSilver, ClrSilver, &g_sFontCm20, "One", 0, OnRadioChange), RadioButtonStruct(g_psRadioContainers, g_psRadioButtons1 + 2, 0, &g_sSHARP480x272x16Display, 10+X_OFFSET, 95+Y_OFFSET, 80, 45, RB_STYLE_TEXT, 16, 0, ClrSilver, ClrSilver, &g_sFontCm20, "Two", 0, OnRadioChange), RadioButtonStruct(g_psRadioContainers, g_psRadioButtonIndicators, 0, &g_sSHARP480x272x16Display, 10+X_OFFSET, 140+Y_OFFSET, 80, 45, RB_STYLE_TEXT, 24, 0, ClrSilver, ClrSilver, &g_sFontCm20, "Three", 0, OnRadioChange) }; #define NUM_RADIO1_BUTTONS (sizeof(g_psRadioButtons1) / sizeof(g_psRadioButtons1[0])) tRadioButtonWidget g_psRadioButtons2[] = { RadioButtonStruct(g_psRadioContainers + 1, g_psRadioButtons2 + 1, 0, &g_sSHARP480x272x16Display, 175+X_OFFSET, 50+Y_OFFSET, 80, 45,
char g_pcChinese[MAX_LANGUAGE_NAME_LEN]; char g_pcKorean[MAX_LANGUAGE_NAME_LEN]; char g_pcJapanese[MAX_LANGUAGE_NAME_LEN]; //***************************************************************************** // // The language selection panel, which contains a selection of radio buttons // for each language. // //***************************************************************************** tContainerWidget g_psRadioContainers[]; tRadioButtonWidget g_psRadioButtons1[] = { RadioButtonStruct(g_psRadioContainers, g_psRadioButtons1 + 1, 0, &g_sKentec320x240x16_SSD2119, 18, 54, 120, 25, RB_STYLE_TEXT | RB_STYLE_SELECTED, 16, 0, ClrSilver, ClrSilver, FONT_20PT, g_pcEnglish, 0, OnRadioChange), RadioButtonStruct(g_psRadioContainers, g_psRadioButtons1 + 2, 0, &g_sKentec320x240x16_SSD2119, 18, 82, 120, 25, RB_STYLE_TEXT, 16, 0, ClrSilver, ClrSilver, FONT_20PT, g_pcDeutsch, 0, OnRadioChange), RadioButtonStruct(g_psRadioContainers, g_psRadioButtons1 + 3, 0, &g_sKentec320x240x16_SSD2119, 180, 54, 120, 25, RB_STYLE_TEXT, 16, 0, ClrSilver, ClrSilver, FONT_20PT, g_pcEspanol, 0, OnRadioChange), RadioButtonStruct(g_psRadioContainers, g_psRadioButtons1 + 4, 0, &g_sKentec320x240x16_SSD2119, 180, 82, 120, 25, RB_STYLE_TEXT, 16, 0, ClrSilver, ClrSilver, FONT_20PT, g_pcItaliano, 0, OnRadioChange), RadioButtonStruct(g_psRadioContainers, g_psRadioButtons1 + 5, 0, &g_sKentec320x240x16_SSD2119, 18, 110, 120, 25,
CanvasStruct(g_psRadioContainers, 0, 0, &g_sKentec320x240x16_SSD2119, 95, 152, 20, 20, CANVAS_STYLE_IMG, 0, 0, 0, 0, 0, g_pui8LightOff, 0), CanvasStruct(g_psRadioContainers + 1, g_psRadioButtonIndicators + 4, 0, &g_sKentec320x240x16_SSD2119, 260, 62, 20, 20, CANVAS_STYLE_IMG, 0, 0, 0, 0, 0, g_pui8LightOff, 0), CanvasStruct(g_psRadioContainers + 1, g_psRadioButtonIndicators + 5, 0, &g_sKentec320x240x16_SSD2119, 260, 107, 20, 20, CANVAS_STYLE_IMG, 0, 0, 0, 0, 0, g_pui8LightOff, 0), CanvasStruct(g_psRadioContainers + 1, 0, 0, &g_sKentec320x240x16_SSD2119, 260, 152, 20, 20, CANVAS_STYLE_IMG, 0, 0, 0, 0, 0, g_pui8LightOff, 0), }; tRadioButtonWidget g_psRadioButtons1[] = { RadioButtonStruct(g_psRadioContainers, g_psRadioButtons1 + 1, 0, &g_sKentec320x240x16_SSD2119, 10, 50, 80, 45, RB_STYLE_TEXT, 16, 0, ClrSilver, ClrSilver, &g_sFontCm20, "One", 0, OnRadioChange), RadioButtonStruct(g_psRadioContainers, g_psRadioButtons1 + 2, 0, &g_sKentec320x240x16_SSD2119, 10, 95, 80, 45, RB_STYLE_TEXT, 16, 0, ClrSilver, ClrSilver, &g_sFontCm20, "Two", 0, OnRadioChange), RadioButtonStruct(g_psRadioContainers, g_psRadioButtonIndicators, 0, &g_sKentec320x240x16_SSD2119, 10, 140, 80, 45, RB_STYLE_TEXT, 24, 0, ClrSilver, ClrSilver, &g_sFontCm20, "Three", 0, OnRadioChange) }; #define NUM_RADIO1_BUTTONS (sizeof(g_psRadioButtons1) / \ sizeof(g_psRadioButtons1[0])) tRadioButtonWidget g_psRadioButtons2[] = { RadioButtonStruct(g_psRadioContainers + 1, g_psRadioButtons2 + 1, 0, &g_sKentec320x240x16_SSD2119, 175, 50, 80, 45,
&g_sFormike240x320x16_ILI9320, 95, 177, 20, 20, CANVAS_STYLE_IMG, 0, 0, 0, 0, 0, g_pucLightOff, 0), CanvasStruct(g_psRadioContainers + 1, g_psRadioButtonIndicators + 6, 0, &g_sFormike240x320x16_ILI9320, 95, 222, 20, 20, CANVAS_STYLE_IMG, 0, 0, 0, 0, 0, g_pucLightOff, 0), CanvasStruct(g_psRadioContainers + 1, g_psRadioButtonIndicators + 7, 0, &g_sFormike240x320x16_ILI9320, 210, 177, 20, 20, CANVAS_STYLE_IMG, 0, 0, 0, 0, 0, g_pucLightOff, 0), CanvasStruct(g_psRadioContainers + 1, 0, 0, &g_sFormike240x320x16_ILI9320, 210, 222, 20, 20, CANVAS_STYLE_IMG, 0, 0, 0, 0, 0, g_pucLightOff, 0), }; tRadioButtonWidget g_psRadioButtons1[] = { RadioButtonStruct(g_psRadioContainers, g_psRadioButtons1 + 1, 0, &g_sFormike240x320x16_ILI9320, 10, 50, 80, 45, RB_STYLE_TEXT, 16, 0, ClrSilver, ClrSilver, g_pFontCm20, "One", 0, OnRadioChange), RadioButtonStruct(g_psRadioContainers, g_psRadioButtons1 + 2, 0, &g_sFormike240x320x16_ILI9320, 10, 95, 80, 45, RB_STYLE_TEXT, 16, 0, ClrSilver, ClrSilver, g_pFontCm20, "Two", 0, OnRadioChange), RadioButtonStruct(g_psRadioContainers, g_psRadioButtons1 + 3, 0, &g_sFormike240x320x16_ILI9320, 125, 50, 80, 45, RB_STYLE_TEXT, 24, 0, ClrSilver, ClrSilver, g_pFontCm20, "Three", 0, OnRadioChange), RadioButtonStruct(g_psRadioContainers, g_psRadioButtonIndicators, 0, &g_sFormike240x320x16_ILI9320, 125, 95, 80, 45, RB_STYLE_TEXT, 24, 0, ClrSilver, ClrSilver, g_pFontCm20, "Four", 0, OnRadioChange) }; #define NUM_RADIO1_BUTTONS (sizeof(g_psRadioButtons1) / \