#include "hmiworks.h"
#pragma GCC diagnostic ignored "-Wunused-variable"

static tWidget *thisCanvas = (tWidget *)&CanvasFrame3;
static tContext globalContext;
static tContext *thisContext = &globalContext;

#pragma GCC diagnostic warning "-Wunused-variable"


static void ConnectWidgetVariable();
static void DisconnectWidgetVariable();
static const unsigned char pucImage_BitButton77[] = 
{
    IMAGE_FMT_8BPP_COMP,
    66, 0,
    38, 0,

    17,
    0x00, 0x00, 0x00,
    0x41, 0x46, 0x47,
    0x58, 0x5f, 0x60,
    0x64, 0x6f, 0x71,
    0x69, 0x71, 0x73,
    0x77, 0x80, 0x82,
    0x83, 0x8d, 0x8f,
    0x8d, 0x98, 0x9a,
    0x97, 0xa3, 0xa5,
    0x99, 0xa8, 0xac,
    0xa8, 0xb6, 0xb8,
    0xb0, 0xbe, 0xc0,
    0xb7, 0xc6, 0xc8,
    0xbe, 0xcd, 0xd0,
    0xc5, 0xd5, 0xd7,
    0xcb, 0xdc, 0xde,
    0xd8, 0xe9, 0xec,
    0xff, 0xff, 0xff,

    0x1f, 0x11, 0x11, 0x11, 0xe9, 0xd4, 0xa7, 0x5f, 0x17, 0xe0, 0x07, 0x07,
    0x06, 0x03, 0x11, 0x10, 0x10, 0x10, 0xff, 0xe9, 0xd4, 0xa7, 0x5f, 0x17,
    0x07, 0x07, 0x04, 0x1f, 0x09, 0x03, 0x11, 0x07, 0x07, 0x77, 0x2f, 0x07,
    0xc7, 0x07, 0x07, 0x09, 0x03, 0x11, 0x07, 0x07, 0x77, 0xf1, 0x2f, 0x07,
    0x07, 0x07, 0x09, 0x03, 0x11, 0x07, 0xfc, 0x07, 0x77, 0x2f, 0x07, 0x07,
    0x07, 0x09, 0x03, 0x7f, 0x11, 0x07, 0x07, 0x77, 0x2f, 0x07, 0x07, 0x07,
    0x1f, 0x09, 0x03, 0x11, 0x07, 0x07, 0x77, 0x2f, 0x07, 0xc7, 0x07, 0x07,
    0x09, 0x03, 0x11, 0x07, 0x07, 0x77, 0xf1, 0x2f, 0x07, 0x07, 0x07, 0x09,
    0x03, 0x11, 0x07, 0xfc, 0x07, 0x77, 0x2f, 0x07, 0x07, 0x07, 0x09, 0x03,
    0x7f, 0x11, 0x07, 0x07, 0x77, 0x2f, 0x07, 0x07, 0x07, 0x1f, 0x09, 0x03,
    0x11, 0x07, 0x07, 0x77, 0x2f, 0x07, 0xc7, 0x07, 0x07, 0x09, 0x03, 0x11,
    0x07, 0x07, 0x77, 0xf1, 0x2f, 0x07, 0x07, 0x07, 0x09, 0x03, 0x11, 0x07,
    0xfc, 0x07, 0x77, 0x2f, 0x07, 0x07, 0x07, 0x09, 0x03, 0x7f, 0x11, 0x07,
    0x07, 0x77, 0x2f, 0x07, 0x07, 0x07, 0x1f, 0x09, 0x03, 0x11, 0x07, 0x07,
    0x77, 0x2f, 0x07, 0xc6, 0x07, 0x07, 0x09, 0x03, 0x11, 0x07, 0x02, 0x00,
    0x04, 0x00, 0x00, 0x00, 0x02, 0x0e, 0x06, 0x0d, 0x05, 0xf1, 0x1f, 0xbf,
    0x77, 0x2d, 0x09, 0x03, 0x11, 0x07, 0x81, 0x02, 0x00, 0x00, 0x10, 0x0f,
    0x00, 0x02, 0x97, 0x78, 0x00, 0x1f, 0xbf, 0x77, 0x2d, 0x09, 0x03, 0x11,
    0xc8, 0x07, 0x02, 0x00, 0x00, 0xe2, 0x10, 0x10, 0x07, 0x1c, 0x00, 0x00,
    0x06, 0x99, 0x89, 0x75, 0x00, 0x00, 0x20, 0x04, 0x04, 0x11, 0x08, 0x00,
    0x01, 0x0b, 0x10, 0x30, 0x10, 0x10, 0xe9, 0xd4, 0x10, 0x10, 0x09, 0x03,
    0x60, 0x11, 0x7f, 0x32, 0x00, 0x00, 0x10, 0x0e, 0x00, 0x00, 0x02, 0x10,
    0x07, 0x00, 0x0e, 0x0e, 0x00, 0x05, 0xe2, 0x92, 0x72, 0x52, 0x00, 0x00,
    0x0d, 0x12, 0x0c, 0x03, 0x0e, 0x00, 0x01, 0x10, 0x10, 0x10, 0xe9, 0xd4,
    0x06, 0x10, 0x10, 0x09, 0x03, 0x11, 0x7f, 0x32, 0x00, 0x04, 0x00, 0x00,
    0x00, 0x02, 0x0e, 0xcb, 0x00, 0x00, 0xff, 0x91, 0x72, 0x52, 0xab, 0x87,
    0xa9, 0xdb, 0xb2, 0x1c, 0x09, 0x03, 0x11, 0x7f, 0x32, 0x01, 0x07, 0x01,
    0x7f, 0x0c, 0xca, 0x95, 0xab, 0x51, 0x73, 0x86, 0x1b, 0x8e, 0xcd, 0x09,
    0x03, 0x11, 0x7f, 0x32, 0x02, 0x02, 0x00, 0x01, 0x0f, 0x06, 0x00, 0x0a,
    0x0e, 0x00, 0x05, 0x87, 0x93, 0x01, 0x00, 0x0e, 0x0c, 0x51, 0x3a, 0x13,
    0xe0, 0xbb, 0xa1, 0xd4, 0x10, 0x10, 0x09, 0x03, 0x11, 0xe0, 0x7f, 0x32,
    0x02, 0x0c, 0x00, 0x06, 0x10, 0x07, 0x00, 0x00, 0x00, 0x05, 0x10, 0x10,
    0x0b, 0x01, 0x00, 0x5f, 0x0a, 0xe1, 0x08, 0x51, 0x3a, 0x13, 0xbb, 0xa1,
    0x83, 0xd4, 0x10, 0x10, 0x09, 0x03, 0x11, 0x7f, 0x37, 0xf8, 0x77, 0x2f,
    0x07, 0x07, 0x07, 0x09, 0x03, 0x11, 0xfe, 0x07, 0x07, 0x77, 0x2f, 0x07,
    0x07, 0x07, 0x09, 0x3f, 0x03, 0x11, 0x07, 0x07, 0x77, 0x2f, 0x07, 0x07,
    0x8f, 0x07, 0x09, 0x03, 0x11, 0x07, 0x07, 0x77, 0x2f, 0xe3, 0x07, 0x07,
    0x07, 0x09, 0x03, 0x11, 0x07, 0x07, 0xf8, 0x77, 0x2f, 0x07, 0x07, 0x07,
    0x09, 0x03, 0x11, 0xfe, 0x07, 0x07, 0x77, 0x2f, 0x07, 0x07, 0x07, 0x09,
    0x3f, 0x03, 0x11, 0x07, 0x07, 0x77, 0x2f, 0x07, 0x07, 0x8f, 0x07, 0x09,
    0x03, 0x11, 0x07, 0x07, 0x77, 0x2f, 0xe3, 0x07, 0x07, 0x07, 0x09, 0x03,
    0x11, 0x07, 0x07, 0xf8, 0x77, 0x2f, 0x07, 0x07, 0x07, 0x09, 0x03, 0x11,
    0xfe, 0x07, 0x07, 0x77, 0x2f, 0x07, 0x07, 0x07, 0x09, 0x3f, 0x03, 0x11,
    0x07, 0x07, 0x77, 0x2f, 0x07, 0x07, 0x8f, 0x07, 0x09, 0x03, 0x11, 0x07,
    0x07, 0x77, 0x2f, 0xe3, 0x07, 0x07, 0x07, 0x09, 0x03, 0x11, 0x07, 0x07,
    0xf8, 0x77, 0x2f, 0x07, 0x07, 0x07, 0x09, 0x03, 0x11, 0x1f, 0x09, 0x09,
    0x09, 0xe9, 0xd4, 0xa7, 0x5f, 0x17, 0xe3, 0x07, 0x07, 0x05, 0x03, 0x03,
    0x03, 0xe9, 0xd4, 0xfc, 0xa7, 0x5f, 0x17, 0x07, 0x07, 0x07, 0x03,
};
static const unsigned char pucImagePress_BitButton77[] = 
{
    IMAGE_FMT_8BPP_COMP,
    66, 0,
    38, 0,

    17,
    0x00, 0x00, 0x00,
    0x41, 0x46, 0x47,
    0x58, 0x5f, 0x60,
    0x64, 0x6f, 0x71,
    0x69, 0x71, 0x73,
    0x77, 0x80, 0x82,
    0x83, 0x8d, 0x8f,
    0x8d, 0x98, 0x9a,
    0x97, 0xa3, 0xa5,
    0x99, 0xa8, 0xac,
    0xa8, 0xb6, 0xb8,
    0xb0, 0xbe, 0xc0,
    0xb7, 0xc6, 0xc8,
    0xbe, 0xcd, 0xd0,
    0xc5, 0xd5, 0xd7,
    0xcb, 0xdc, 0xde,
    0xd8, 0xe9, 0xec,
    0xff, 0xff, 0xff,

    0x1f, 0x03, 0x03, 0x03, 0xe9, 0xd4, 0xa7, 0x5f, 0x17, 0xe0, 0x07, 0x07,
    0x06, 0x11, 0x03, 0x09, 0x09, 0x09, 0xff, 0xe9, 0xd4, 0xa7, 0x5f, 0x17,
    0x07, 0x07, 0x05, 0x03, 0x11, 0x03, 0x09, 0x10, 0x10, 0x10, 0xe9, 0xd4,
    0xfc, 0xa7, 0x5f, 0x17, 0x07, 0x07, 0x04, 0x11, 0x03, 0x7f, 0x09, 0x07,
    0x07, 0x77, 0x2f, 0x07, 0x07, 0x07, 0x1f, 0x11, 0x03, 0x09, 0x07, 0x07,
    0x77, 0x2f, 0x07, 0xc7, 0x07, 0x07, 0x11, 0x03, 0x09, 0x07, 0x07, 0x77,
    0xf1, 0x2f, 0x07, 0x07, 0x07, 0x11, 0x03, 0x09, 0x07, 0xfc, 0x07, 0x77,
    0x2f, 0x07, 0x07, 0x07, 0x11, 0x03, 0x7f, 0x09, 0x07, 0x07, 0x77, 0x2f,
    0x07, 0x07, 0x07, 0x1f, 0x11, 0x03, 0x09, 0x07, 0x07, 0x77, 0x2f, 0x07,
    0xc7, 0x07, 0x07, 0x11, 0x03, 0x09, 0x07, 0x07, 0x77, 0xf1, 0x2f, 0x07,
    0x07, 0x07, 0x11, 0x03, 0x09, 0x07, 0xfc, 0x07, 0x77, 0x2f, 0x07, 0x07,
    0x07, 0x11, 0x03, 0x7f, 0x09, 0x07, 0x07, 0x77, 0x2f, 0x07, 0x07, 0x07,
    0x1f, 0x11, 0x03, 0x09, 0x07, 0x07, 0x77, 0x2f, 0x07, 0xc7, 0x07, 0x07,
    0x11, 0x03, 0x09, 0x07, 0x07, 0x77, 0xf1, 0x2f, 0x07, 0x07, 0x07, 0x11,
    0x03, 0x09, 0x07, 0xfc, 0x07, 0x77, 0x2f, 0x07, 0x07, 0x07, 0x11, 0x03,
    0x60, 0x09, 0x07, 0x01, 0x00, 0x00, 0x00, 0x00, 0x02, 0x4f, 0x0e, 0x06,
    0x0d, 0x05, 0x27, 0xbf, 0x77, 0x2e, 0x18, 0x11, 0x03, 0x09, 0x07, 0x01,
    0x00, 0x00, 0x10, 0x17, 0x0f, 0x00, 0x02, 0x97, 0x00, 0x27, 0xbf, 0x77,
    0x8c, 0x2e, 0x11, 0x03, 0x09, 0x07, 0x01, 0x00, 0x00, 0x81, 0xe2, 0x10,
    0x10, 0x07, 0x00, 0x00, 0x06, 0x99, 0xc2, 0x89, 0x75, 0x00, 0x00, 0x04,
    0x04, 0x11, 0x08, 0x03, 0x00, 0x01, 0x0b, 0x10, 0x10, 0x10, 0xe9, 0xd4,
    0x8c, 0xa1, 0x11, 0x03, 0x09, 0x77, 0x29, 0x00, 0x00, 0x00, 0x10, 0x0e,
    0x00, 0x02, 0x10, 0x07, 0x00, 0x0e, 0x1c, 0x0e, 0x00, 0x05, 0x92, 0x72,
    0x52, 0x00, 0x00, 0x40, 0x0d, 0x12, 0x0c, 0x0e, 0x00, 0x01, 0x10, 0x10,
    0x71, 0x10, 0xe9, 0xd4, 0xa1, 0x11, 0x03, 0x09, 0x77, 0x81, 0x29, 0x00,
    0x00, 0x00, 0x00, 0x02, 0x0e, 0xcb, 0x3f, 0x00, 0x00, 0x91, 0x72, 0x52,
    0xab, 0x87, 0xa9, 0xc7, 0xdb, 0xb3, 0x11, 0x03, 0x09, 0x77, 0x29, 0x01,
    0x1f, 0x07, 0x01, 0x0c, 0xca, 0x95, 0xab, 0x51, 0x73, 0xe1, 0x86, 0x1b,
    0xcd, 0x10, 0x11, 0x03, 0x09, 0x77, 0xc0, 0x29, 0x02, 0x02, 0x01, 0x0f,
    0x06, 0x00, 0x0a, 0x10, 0x0e, 0x00, 0x05, 0x93, 0x01, 0x00, 0x0e, 0x0c,
    0xfe, 0x51, 0x3a, 0x13, 0xbb, 0xa1, 0xd4, 0x59, 0x11, 0x38, 0x03, 0x09,
    0x77, 0x29, 0x02, 0x0c, 0x00, 0x06, 0x00, 0x10, 0x07, 0x00, 0x00, 0x05,
    0x10, 0x10, 0x0b, 0x17, 0x01, 0x00, 0x0a, 0xe1, 0x08, 0x51, 0x3a, 0x13,
    0xf1, 0xbb, 0xa1, 0xd4, 0x59, 0x11, 0x03, 0x09, 0x77, 0xfc, 0x2f, 0x77,
    0x2f, 0x07, 0x07, 0x07, 0x11, 0x03, 0x7f, 0x09, 0x07, 0x07, 0x77, 0x2f,
    0x07, 0x07, 0x07, 0x1f, 0x11, 0x03, 0x09, 0x07, 0x07, 0x77, 0x2f, 0x07,
    0xc7, 0x07, 0x07, 0x11, 0x03, 0x09, 0x07, 0x07, 0x77, 0xf1, 0x2f, 0x07,
    0x07, 0x07, 0x11, 0x03, 0x09, 0x07, 0xfc, 0x07, 0x77, 0x2f, 0x07, 0x07,
    0x07, 0x11, 0x03, 0x7f, 0x09, 0x07, 0x07, 0x77, 0x2f, 0x07, 0x07, 0x07,
    0x1f, 0x11, 0x03, 0x09, 0x07, 0x07, 0x77, 0x2f, 0x07, 0xc7, 0x07, 0x07,
    0x11, 0x03, 0x09, 0x07, 0x07, 0x77, 0xf1, 0x2f, 0x07, 0x07, 0x07, 0x11,
    0x03, 0x09, 0x07, 0xfc, 0x07, 0x77, 0x2f, 0x07, 0x07, 0x07, 0x11, 0x03,
    0x7f, 0x09, 0x07, 0x07, 0x77, 0x2f, 0x07, 0x07, 0x07, 0x1f, 0x11, 0x03,
    0x09, 0x07, 0x07, 0x77, 0x2f, 0x07, 0xc7, 0x07, 0x07, 0x11, 0x03, 0x09,
    0x07, 0x07, 0x77, 0xf1, 0x2f, 0x07, 0x07, 0x07, 0x11, 0x03, 0x09, 0x07,
    0xfc, 0x07, 0x77, 0x2f, 0x07, 0x07, 0x07, 0x11, 0x03, 0x7f, 0x09, 0x07,
    0x07, 0x77, 0x2f, 0x07, 0x07, 0x07, 0x1f, 0x11, 0x11, 0x11, 0xe9, 0xd4,
    0xa7, 0x5f, 0x17, 0xe0, 0x07, 0x07, 0x07, 0x11,
};

#include "__frame3.h"

RectangularButton(TextPushButton60, WIDGET_ROOT, 0,
                  0, HMI_DISPLAY_DRIVER_PTR, 
                  0, 0, 35, 32,
                  (PB_STYLE_RELEASE_NOTIFY|PB_STYLE_OUTLINE | PB_STYLE_TEXT_OPAQUE | PB_STYLE_TEXT |
                   PB_STYLE_FILL), 0xFF8040, 0xFF0000, 0x000000, 0x000000,
                   &g_sFontCm14, "", 0, 0, 0, 0, OnTextPushButton60Click);
RectangularButton(TextPushButton61, WIDGET_ROOT, 0,
                  0, HMI_DISPLAY_DRIVER_PTR, 
                  0, 32, 35, 32,
                  (PB_STYLE_RELEASE_NOTIFY|PB_STYLE_OUTLINE | PB_STYLE_TEXT_OPAQUE | PB_STYLE_TEXT |
                   PB_STYLE_FILL), 0xFF8000, 0xFF0000, 0x000000, 0x000000,
                   &g_sFontCm14, "", 0, 0, 0, 0, OnTextPushButton61Click);
RectangularButton(TextPushButton62, WIDGET_ROOT, 0,
                  0, HMI_DISPLAY_DRIVER_PTR, 
                  35, 0, 35, 32,
                  (PB_STYLE_RELEASE_NOTIFY|PB_STYLE_OUTLINE | PB_STYLE_TEXT_OPAQUE | PB_STYLE_TEXT |
                   PB_STYLE_FILL), 0xFF8000, 0xFF0000, 0x000000, 0x000000,
                   &g_sFontCm14, "", 0, 0, 0, 0, OnTextPushButton62Click);
RectangularButton(TextPushButton63, WIDGET_ROOT, 0,
                  0, HMI_DISPLAY_DRIVER_PTR, 
                  -1, 176, 35, 33,
                  (PB_STYLE_RELEASE_NOTIFY|PB_STYLE_OUTLINE | PB_STYLE_TEXT_OPAQUE | PB_STYLE_TEXT |
                   PB_STYLE_FILL), 0xFF80C0, 0xFF0000, 0x000000, 0x000000,
                   &g_sFontCm14, "", 0, 0, 0, 0, OnTextPushButton63Click);
RectangularButton(TextPushButton64, WIDGET_ROOT, 0,
                  0, HMI_DISPLAY_DRIVER_PTR, 
                  -1, 207, 35, 33,
                  (PB_STYLE_RELEASE_NOTIFY|PB_STYLE_OUTLINE | PB_STYLE_TEXT_OPAQUE | PB_STYLE_TEXT |
                   PB_STYLE_FILL), 0xFF80FF, 0xFF0000, 0x000000, 0x000000,
                   &g_sFontCm14, "", 0, 0, 0, 0, OnTextPushButton64Click);
RectangularButton(TextPushButton65, WIDGET_ROOT, 0,
                  0, HMI_DISPLAY_DRIVER_PTR, 
                  34, 207, 35, 33,
                  (PB_STYLE_RELEASE_NOTIFY|PB_STYLE_OUTLINE | PB_STYLE_TEXT_OPAQUE | PB_STYLE_TEXT |
                   PB_STYLE_FILL), 0xFF80C0, 0xFF0000, 0x000000, 0x000000,
                   &g_sFontCm14, "", 0, 0, 0, 0, OnTextPushButton65Click);
RectangularButton(TextPushButton66, WIDGET_ROOT, 0,
                  0, HMI_DISPLAY_DRIVER_PTR, 
                  249, 207, 36, 33,
                  (PB_STYLE_RELEASE_NOTIFY|PB_STYLE_OUTLINE | PB_STYLE_TEXT_OPAQUE | PB_STYLE_TEXT |
                   PB_STYLE_FILL), 0x000080, 0xFF0000, 0x000000, 0x000000,
                   &g_sFontCm14, "", 0, 0, 0, 0, OnTextPushButton66Click);
RectangularButton(TextPushButton67, WIDGET_ROOT, 0,
                  0, HMI_DISPLAY_DRIVER_PTR, 
                  283, 207, 36, 33,
                  (PB_STYLE_RELEASE_NOTIFY|PB_STYLE_OUTLINE | PB_STYLE_TEXT_OPAQUE | PB_STYLE_TEXT |
                   PB_STYLE_FILL), 0x000040, 0xFF0000, 0x000000, 0x000000,
                   &g_sFontCm14, "", 0, 0, 0, 0, OnTextPushButton67Click);
RectangularButton(TextPushButton68, WIDGET_ROOT, 0,
                  0, HMI_DISPLAY_DRIVER_PTR, 
                  283, 176, 36, 33,
                  (PB_STYLE_RELEASE_NOTIFY|PB_STYLE_OUTLINE | PB_STYLE_TEXT_OPAQUE | PB_STYLE_TEXT |
                   PB_STYLE_FILL), 0x000080, 0xFF0000, 0x000000, 0x000000,
                   &g_sFontCm14, "", 0, 0, 0, 0, OnTextPushButton68Click);
RectangularButton(TextPushButton69, WIDGET_ROOT, 0,
                  0, HMI_DISPLAY_DRIVER_PTR, 
                  250, 0, 36, 32,
                  (PB_STYLE_RELEASE_NOTIFY|PB_STYLE_OUTLINE | PB_STYLE_TEXT_OPAQUE | PB_STYLE_TEXT |
                   PB_STYLE_FILL), 0x008000, 0xFF0000, 0x000000, 0x000000,
                   &g_sFontCm14, "", 0, 0, 0, 0, OnTextPushButton69Click);
RectangularButton(TextPushButton70, WIDGET_ROOT, 0,
                  0, HMI_DISPLAY_DRIVER_PTR, 
                  284, 32, 36, 32,
                  (PB_STYLE_RELEASE_NOTIFY|PB_STYLE_OUTLINE | PB_STYLE_TEXT_OPAQUE | PB_STYLE_TEXT |
                   PB_STYLE_FILL), 0x008000, 0xFF0000, 0x000000, 0x000000,
                   &g_sFontCm14, "", 0, 0, 0, 0, OnTextPushButton70Click);
RectangularButton(TextPushButton71, WIDGET_ROOT, 0,
                  0, HMI_DISPLAY_DRIVER_PTR, 
                  284, 0, 36, 32,
                  (PB_STYLE_RELEASE_NOTIFY|PB_STYLE_OUTLINE | PB_STYLE_TEXT_OPAQUE | PB_STYLE_TEXT |
                   PB_STYLE_FILL), 0x008040, 0xFF0000, 0x000000, 0x000000,
                   &g_sFontCm14, "", 0, 0, 0, 0, OnTextPushButton71Click);
RectangularButton(TextPushButton72, WIDGET_ROOT, 0,
                  0, HMI_DISPLAY_DRIVER_PTR, 
                  143, 100, 36, 32,
                  (PB_STYLE_RELEASE_NOTIFY|PB_STYLE_OUTLINE | PB_STYLE_TEXT_OPAQUE | PB_STYLE_TEXT |
                   PB_STYLE_FILL), 0x0080FF, 0xFF0000, 0x000000, 0x000000,
                   &g_sFontCm14, "", 0, 0, 0, 0, OnTextPushButton72Click);
RectangularButton(TextPushButton73, WIDGET_ROOT, 0,
                  0, HMI_DISPLAY_DRIVER_PTR, 
                  143, 132, 36, 32,
                  (PB_STYLE_RELEASE_NOTIFY|PB_STYLE_OUTLINE | PB_STYLE_TEXT_OPAQUE | PB_STYLE_TEXT |
                   PB_STYLE_FILL), 0x0080C0, 0xFF0000, 0x000000, 0x000000,
                   &g_sFontCm14, "", 0, 0, 0, 0, OnTextPushButton73Click);
RectangularButton(TextPushButton74, WIDGET_ROOT, 0,
                  0, HMI_DISPLAY_DRIVER_PTR, 
                  178, 100, 36, 32,
                  (PB_STYLE_RELEASE_NOTIFY|PB_STYLE_OUTLINE | PB_STYLE_TEXT_OPAQUE | PB_STYLE_TEXT |
                   PB_STYLE_FILL), 0x0080C0, 0xFF0000, 0x000000, 0x000000,
                   &g_sFontCm14, "", 0, 0, 0, 0, OnTextPushButton74Click);
RectangularButton(TextPushButton75, WIDGET_ROOT, 0,
                  0, HMI_DISPLAY_DRIVER_PTR, 
                  109, 100, 36, 32,
                  (PB_STYLE_RELEASE_NOTIFY|PB_STYLE_OUTLINE | PB_STYLE_TEXT_OPAQUE | PB_STYLE_TEXT |
                   PB_STYLE_FILL), 0x0080C0, 0xFF0000, 0x000000, 0x000000,
                   &g_sFontCm14, "", 0, 0, 0, 0, OnTextPushButton75Click);
RectangularButton(TextPushButton76, WIDGET_ROOT, 0,
                  0, HMI_DISPLAY_DRIVER_PTR, 
                  143, 68, 36, 32,
                  (PB_STYLE_RELEASE_NOTIFY|PB_STYLE_OUTLINE | PB_STYLE_TEXT_OPAQUE | PB_STYLE_TEXT |
                   PB_STYLE_FILL), 0x0080C0, 0xFF0000, 0x000000, 0x000000,
                   &g_sFontCm14, "", 0, 0, 0, 0, OnTextPushButton76Click);
RectangularButton(BitButton77, WIDGET_ROOT, 0, 0, HMI_DISPLAY_DRIVER_PTR,
129, 188, 66, 38, PB_STYLE_RELEASE_NOTIFY|PB_STYLE_FILL|PB_STYLE_IMG|PB_STYLE_TEXT, ClrSilver, ClrSilver, 0, ClrSilver,
&g_sFontCm20, "", pucImage_BitButton77, pucImagePress_BitButton77, 0, 0,
OnBitButton77Click);


Canvas(CanvasFrame3, WIDGET_ROOT, 0, 0, HMI_DISPLAY_DRIVER_PTR, 0, 0,
       320, 240, CANVAS_STYLE_APP_DRAWN, 0, 0, 0, 0, 0, 0, OnFrame39Paint);


void renderFrame39Vector(tContext *pContext, int ox, int oy) {
}
void OnFrame39Paint(tWidget *pWidget, tContext *pContext)
{
hmi_SetForeground(pContext, 0xFFFFFF);
hmi_FillRect(pContext, 0, 0, 320, 240);
renderFrame39Vector(pContext, 0, 0);
}


static void InitGlobalContext()
{
  GrContextInit(thisContext, thisCanvas->pDisplay);
  GrContextClipRegionSet(thisContext, &(thisCanvas->sPosition));
}
void InitWidget3()
{
    WidgetAdd(WIDGET_ROOT, (tWidget *)(&CanvasFrame3));
    WidgetAdd(WIDGET_ROOT, (tWidget *)&TextPushButton60);
    WidgetAdd(WIDGET_ROOT, (tWidget *)&TextPushButton61);
    WidgetAdd(WIDGET_ROOT, (tWidget *)&TextPushButton62);
    WidgetAdd(WIDGET_ROOT, (tWidget *)&TextPushButton63);
    WidgetAdd(WIDGET_ROOT, (tWidget *)&TextPushButton64);
    WidgetAdd(WIDGET_ROOT, (tWidget *)&TextPushButton65);
    WidgetAdd(WIDGET_ROOT, (tWidget *)&TextPushButton66);
    WidgetAdd(WIDGET_ROOT, (tWidget *)&TextPushButton67);
    WidgetAdd(WIDGET_ROOT, (tWidget *)&TextPushButton68);
    WidgetAdd(WIDGET_ROOT, (tWidget *)&TextPushButton69);
    WidgetAdd(WIDGET_ROOT, (tWidget *)&TextPushButton70);
    WidgetAdd(WIDGET_ROOT, (tWidget *)&TextPushButton71);
    WidgetAdd(WIDGET_ROOT, (tWidget *)&TextPushButton72);
    WidgetAdd(WIDGET_ROOT, (tWidget *)&TextPushButton73);
    WidgetAdd(WIDGET_ROOT, (tWidget *)&TextPushButton74);
    WidgetAdd(WIDGET_ROOT, (tWidget *)&TextPushButton75);
    WidgetAdd(WIDGET_ROOT, (tWidget *)&TextPushButton76);
    WidgetAdd(WIDGET_ROOT, (tWidget *)&BitButton77);
    InitGlobalContext();
    WidgetPaint(WIDGET_ROOT);
    ConnectWidgetVariable();
}

void FreeWidget3()
{
    DisconnectWidgetVariable();
    WidgetRemove((tWidget *)(&CanvasFrame3));
    WidgetRemove((tWidget *)(&TextPushButton60));
    WidgetRemove((tWidget *)(&TextPushButton61));
    WidgetRemove((tWidget *)(&TextPushButton62));
    WidgetRemove((tWidget *)(&TextPushButton63));
    WidgetRemove((tWidget *)(&TextPushButton64));
    WidgetRemove((tWidget *)(&TextPushButton65));
    WidgetRemove((tWidget *)(&TextPushButton66));
    WidgetRemove((tWidget *)(&TextPushButton67));
    WidgetRemove((tWidget *)(&TextPushButton68));
    WidgetRemove((tWidget *)(&TextPushButton69));
    WidgetRemove((tWidget *)(&TextPushButton70));
    WidgetRemove((tWidget *)(&TextPushButton71));
    WidgetRemove((tWidget *)(&TextPushButton72));
    WidgetRemove((tWidget *)(&TextPushButton73));
    WidgetRemove((tWidget *)(&TextPushButton74));
    WidgetRemove((tWidget *)(&TextPushButton75));
    WidgetRemove((tWidget *)(&TextPushButton76));
    WidgetRemove((tWidget *)(&BitButton77));
}


void OnTextPushButton60Click(tWidget *pWidget)
{
  hmi_PushButtonNormal(pWidget);
}


void OnTextPushButton61Click(tWidget *pWidget)
{
  hmi_PushButtonNormal(pWidget);
}


void OnTextPushButton62Click(tWidget *pWidget)
{
  hmi_PushButtonNormal(pWidget);
}


void OnTextPushButton63Click(tWidget *pWidget)
{
  hmi_PushButtonNormal(pWidget);
}


void OnTextPushButton64Click(tWidget *pWidget)
{
  hmi_PushButtonNormal(pWidget);
}


void OnTextPushButton65Click(tWidget *pWidget)
{
  hmi_PushButtonNormal(pWidget);
}


void OnTextPushButton66Click(tWidget *pWidget)
{
  hmi_PushButtonNormal(pWidget);
}


void OnTextPushButton67Click(tWidget *pWidget)
{
  hmi_PushButtonNormal(pWidget);
}


void OnTextPushButton68Click(tWidget *pWidget)
{
  hmi_PushButtonNormal(pWidget);
}


void OnTextPushButton69Click(tWidget *pWidget)
{
  hmi_PushButtonNormal(pWidget);
}


void OnTextPushButton70Click(tWidget *pWidget)
{
  hmi_PushButtonNormal(pWidget);
}


void OnTextPushButton71Click(tWidget *pWidget)
{
  hmi_PushButtonNormal(pWidget);
}


void OnTextPushButton72Click(tWidget *pWidget)
{
  hmi_PushButtonNormal(pWidget);
}


void OnTextPushButton73Click(tWidget *pWidget)
{
  hmi_PushButtonNormal(pWidget);
}


void OnTextPushButton74Click(tWidget *pWidget)
{
  hmi_PushButtonNormal(pWidget);
}


void OnTextPushButton75Click(tWidget *pWidget)
{
  hmi_PushButtonNormal(pWidget);
}


void OnTextPushButton76Click(tWidget *pWidget)
{
  hmi_PushButtonNormal(pWidget);
}


void OnBitButton77Click(tWidget *pWidget) 
{
  hmi_GotoFrameByName("Frame1");
}


static void ConnectWidgetVariable()
{
  WidgetMessageQueueProcessEx(WIDGET_MSG_PAINT);
  if (_CurrentFrame != 3) return;
}

static void DisconnectWidgetVariable()
{
}

void _frame3()
{
  var_table_init();
  FreeCurrentFrame();
  _CurrentFrame = 3;
  InitWidget3();
}

