/*********************************************************************
*                     SEGGER Microcontroller GmbH                    *
*        Solutions for real time microcontroller applications        *
**********************************************************************
*                                                                    *
*        (c) 1996 - 2022  SEGGER Microcontroller GmbH                *
*                                                                    *
*        Internet: www.segger.com    Support:  support@segger.com    *
*                                                                    *
**********************************************************************
----------------------------------------------------------------------
File        : ID_SCREEN_HHT_MAIN_MENU.c
Purpose     : Generated file do NOT edit!
---------------------------END-OF-HEADER------------------------------
*/

#include "Resource.h"
#include "ID_SCREEN_HHT_MAIN_MENU.h"

/*********************************************************************
*
*       Static data
*
**********************************************************************
*/
/*********************************************************************
*
*       _aCreate
*/
static APPW_CREATE_ITEM _aCreate[] = {
  { WM_OBJECT_WINDOW_Create,
    ID_SCREEN_HHT_MAIN_MENU, 0,
    { { { DISPOSE_MODE_REL_PARENT, 0, 0, 0 },
        { DISPOSE_MODE_REL_PARENT, 0, 0, 0 },
        { DISPOSE_MODE_REL_PARENT, 0, 0, 0 },
        { DISPOSE_MODE_REL_PARENT, 0, 0, 0 },
      },
      0, 0, 0, 0, 0, 0
    },
  },
  { WM_OBJECT_BOX_Create,
    ID_BOX_HHT_MAIN_MENU, ID_SCREEN_HHT_MAIN_MENU,
    { { { DISPOSE_MODE_REL_PARENT, 0, 0, 0 },
        { DISPOSE_MODE_REL_PARENT, 0, 0, 0 },
        { DISPOSE_MODE_REL_PARENT, 0, 0, 0 },
        { DISPOSE_MODE_REL_PARENT, 0, 0, 0 },
      },
      0, 0, 0, 0, 0, 0
    },
  },
  { WM_OBJECT_BUTTON_Create,
    ID_BUTTON_HHT_NET_SETT, ID_SCREEN_HHT_MAIN_MENU,
    { { { DISPOSE_MODE_REL_PARENT, 176, 0, 0 },
        { DISPOSE_MODE_REL_PARENT, 70, 0, 0 },
        { DISPOSE_MODE_NULL, 0, 0, 0 },
        { DISPOSE_MODE_NULL, 0, 0, 0 },
      },
      150, 150, 0, 0, 0, 0
    },
  },
  { WM_OBJECT_TEXT_Create,
    ID_TEXT_NET_SETT, ID_SCREEN_HHT_MAIN_MENU,
    { { { DISPOSE_MODE_REL_PARENT, 339, 0, 0 },
        { DISPOSE_MODE_REL_PARENT, 70, 0, 0 },
        { DISPOSE_MODE_NULL, 0, 0, 0 },
        { DISPOSE_MODE_NULL, 0, 0, 0 },
      },
      96, 150, 0, 0, 0, 0
    },
  },
  { WM_OBJECT_BUTTON_Create,
    ID_BUTTON_HHT_GEN_SETT, ID_SCREEN_HHT_MAIN_MENU,
    { { { DISPOSE_MODE_REL_PARENT, 176, 0, 0 },
        { DISPOSE_MODE_REL_PARENT, 260, 0, 0 },
        { DISPOSE_MODE_NULL, 0, 0, 0 },
        { DISPOSE_MODE_NULL, 0, 0, 0 },
      },
      150, 150, 0, 0, 0, 0
    },
  },
  { WM_OBJECT_TEXT_Create,
    ID_TEXT_GEN_SETT, ID_SCREEN_HHT_MAIN_MENU,
    { { { DISPOSE_MODE_REL_PARENT, 339, 0, 0 },
        { DISPOSE_MODE_REL_PARENT, 260, 0, 0 },
        { DISPOSE_MODE_NULL, 0, 0, 0 },
        { DISPOSE_MODE_NULL, 0, 0, 0 },
      },
      96, 150, 0, 0, 0, 0
    },
  },
  { WM_OBJECT_IMAGE_Create,
    ID_IMAGE_BEL_LOGO, ID_SCREEN_HHT_MAIN_MENU,
    { { { DISPOSE_MODE_REL_PARENT, 0, 0, 0 },
        { DISPOSE_MODE_REL_PARENT, 382, 0, 0 },
        { DISPOSE_MODE_NULL, 0, 0, 0 },
        { DISPOSE_MODE_NULL, 0, 0, 0 },
      },
      90, 98, 0, 0, 0, 0
    },
  },
  { WM_OBJECT_IMAGE_Create,
    ID_IMAGE_BUC_IMAGE, ID_SCREEN_HHT_MAIN_MENU,
    { { { DISPOSE_MODE_REL_PARENT, 0, 0, 0 },
        { DISPOSE_MODE_REL_PARENT, 0, 0, 0 },
        { DISPOSE_MODE_NULL, 0, 0, 0 },
        { DISPOSE_MODE_NULL, 0, 0, 0 },
      },
      90, 135, 0, 0, 0, 0
    },
  },
  { WM_OBJECT_TEXT_Create,
    ID_TEXT_TITLE_HHT_MENU, ID_SCREEN_HHT_MAIN_MENU,
    { { { DISPOSE_MODE_REL_PARENT, 31, 0, 0 },
        { DISPOSE_MODE_REL_PARENT, 176, 0, 0 },
        { DISPOSE_MODE_NULL, 0, 0, 0 },
        { DISPOSE_MODE_NULL, 0, 0, 0 },
      },
      71, 150, 0, 0, 0, 0
    },
  },
  { WM_OBJECT_BUTTON_Create,
    ID_BUTTON_BACK_HHT_MENU, ID_SCREEN_HHT_MAIN_MENU,
    { { { DISPOSE_MODE_REL_PARENT, 658, 0, 0 },
        { DISPOSE_MODE_REL_PARENT, 35, 0, 0 },
        { DISPOSE_MODE_NULL, 0, 0, 0 },
        { DISPOSE_MODE_NULL, 0, 0, 0 },
      },
      100, 98, 0, 0, 0, 0
    },
  },
  { WM_OBJECT_TEXT_Create,
    ID_TEXT_BACK_TEXT, ID_SCREEN_HHT_MAIN_MENU,
    { { { DISPOSE_MODE_REL_PARENT, 758, 0, 0 },
        { DISPOSE_MODE_REL_PARENT, 53, 0, 0 },
        { DISPOSE_MODE_NULL, 0, 0, 0 },
        { DISPOSE_MODE_NULL, 0, 0, 0 },
      },
      33, 69, 0, 0, 0, 0
    },
  },
  { WM_OBJECT_BUTTON_Create,
    ID_BUTTON_HOME_HHT_MENU, ID_SCREEN_HHT_MAIN_MENU,
    { { { DISPOSE_MODE_REL_PARENT, 658, 0, 0 },
        { DISPOSE_MODE_REL_PARENT, 342, 0, 0 },
        { DISPOSE_MODE_NULL, 0, 0, 0 },
        { DISPOSE_MODE_NULL, 0, 0, 0 },
      },
      100, 98, 0, 0, 0, 0
    },
  },
};

/*********************************************************************
*
*       _aSetup
*/
static const APPW_SETUP_ITEM _aSetup[] = {
  { ID_SCREEN_HHT_MAIN_MENU, APPW_SET_PROP_MOTIONH,      { ARG_VP(0, NULL),
                                                           ARG_VP(0, NULL),
                                                           ARG_V(300) } },
  { ID_SCREEN_HHT_MAIN_MENU, APPW_SET_PROP_MOTIONV,      { ARG_VP(0, NULL),
                                                           ARG_VP(0, NULL),
                                                           ARG_V(300) } },
  { ID_BOX_HHT_MAIN_MENU,    APPW_SET_PROP_COLOR,        { ARG_V(0xffaaffff) } },
  { ID_BUTTON_HHT_NET_SETT,  APPW_SET_PROP_SBITMAPS,     { ARG_VP(0, acNet_Sett), } },
  { ID_BUTTON_HHT_NET_SETT,  APPW_SET_PROP_COLORS,       { ARG_V(0xffc0c0c0),
                                                           ARG_V(0xffc0c0c0),
                                                           ARG_V(GUI_INVALID_COLOR) } },
  { ID_TEXT_NET_SETT,        APPW_SET_PROP_COLOR,        { ARG_V(GUI_BLUE) } },
  { ID_TEXT_NET_SETT,        APPW_SET_PROP_ALIGNTEXT,    { ARG_V(GUI_ALIGN_HCENTER | GUI_ALIGN_VCENTER),
                                                           ARG_V(0),
                                                           ARG_V(0) } },
  { ID_TEXT_NET_SETT,        APPW_SET_PROP_TEXTID,       { ARG_V(ID_RTEXT_NET_SETT) } },
  { ID_TEXT_NET_SETT,        APPW_SET_PROP_WRAP,         { ARG_V(0) } },
  { ID_TEXT_NET_SETT,        APPW_SET_PROP_ROTATION,     { ARG_P(GUI_ROTATE_CCW) } },
  { ID_TEXT_NET_SETT,        APPW_SET_PROP_FONT,         { ARG_VP(0, acNotoSans_32_Normal_EXT_AA4) } },
  { ID_BUTTON_HHT_GEN_SETT,  APPW_SET_PROP_SBITMAPS,     { ARG_VP(0, acns1_bgr), } },
  { ID_BUTTON_HHT_GEN_SETT,  APPW_SET_PROP_COLORS,       { ARG_V(0xffc0c0c0),
                                                           ARG_V(0xffc0c0c0),
                                                           ARG_V(GUI_INVALID_COLOR) } },
  { ID_TEXT_GEN_SETT,        APPW_SET_PROP_COLOR,        { ARG_V(GUI_BLUE) } },
  { ID_TEXT_GEN_SETT,        APPW_SET_PROP_ALIGNTEXT,    { ARG_V(GUI_ALIGN_HCENTER | GUI_ALIGN_VCENTER),
                                                           ARG_V(0),
                                                           ARG_V(0) } },
  { ID_TEXT_GEN_SETT,        APPW_SET_PROP_TEXTID,       { ARG_V(ID_RTEXT_BUTT_HHT_GEN_INFO) } },
  { ID_TEXT_GEN_SETT,        APPW_SET_PROP_FONT,         { ARG_VP(0, acNotoSans_32_Normal_EXT_AA4) } },
  { ID_TEXT_GEN_SETT,        APPW_SET_PROP_WRAP,         { ARG_V(0) } },
  { ID_TEXT_GEN_SETT,        APPW_SET_PROP_ROTATION,     { ARG_P(GUI_ROTATE_CCW) } },
  { ID_IMAGE_BEL_LOGO,       APPW_SET_PROP_TILE,         { ARG_V(0) } },
  { ID_IMAGE_BEL_LOGO,       APPW_SET_PROP_SBITMAP,      { ARG_VP(0, aclogo2_100_100_bgr),
                                                           ARG_V(4997), } },
  { ID_IMAGE_BUC_IMAGE,      APPW_SET_PROP_TILE,         { ARG_V(0) } },
  { ID_IMAGE_BUC_IMAGE,      APPW_SET_PROP_SBITMAP,      { ARG_VP(0, acBUC_IMAGE_135_90_V_bgr),
                                                           ARG_V(21805), } },
  { ID_TEXT_TITLE_HHT_MENU,  APPW_SET_PROP_COLOR,        { ARG_V(GUI_BLUE) } },
  { ID_TEXT_TITLE_HHT_MENU,  APPW_SET_PROP_ALIGNTEXT,    { ARG_V(GUI_ALIGN_HCENTER | GUI_ALIGN_VCENTER),
                                                           ARG_V(0),
                                                           ARG_V(0) } },
  { ID_TEXT_TITLE_HHT_MENU,  APPW_SET_PROP_TEXTID,       { ARG_V(ID_RTEXT_HHT_MAIN_MENU_HEAD) } },
  { ID_TEXT_TITLE_HHT_MENU,  APPW_SET_PROP_WRAP,         { ARG_V(0) } },
  { ID_TEXT_TITLE_HHT_MENU,  APPW_SET_PROP_ROTATION,     { ARG_P(GUI_ROTATE_CCW) } },
  { ID_TEXT_TITLE_HHT_MENU,  APPW_SET_PROP_FONT,         { ARG_VP(0, acNotoSans_32_Normal_EXT_AA4) } },
  { ID_BUTTON_BACK_HHT_MENU, APPW_SET_PROP_COLORS,       { ARG_V(GUI_BLUE),
                                                           ARG_V(GUI_BLUE),
                                                           ARG_V(GUI_INVALID_COLOR) } },
  { ID_BUTTON_BACK_HHT_MENU, APPW_SET_PROP_ALIGNBITMAP,  { ARG_V(GUI_ALIGN_HCENTER | GUI_ALIGN_VCENTER),
                                                           ARG_V(0),
                                                           ARG_V(0) } },
  { ID_BUTTON_BACK_HHT_MENU, APPW_SET_PROP_FONT,         { ARG_VP(0, acNotoSans_32_Normal_EXT_AA4) } },
  { ID_BUTTON_BACK_HHT_MENU, APPW_SET_PROP_ALIGNTEXT,    { ARG_V(GUI_ALIGN_HCENTER | GUI_ALIGN_VCENTER),
                                                           ARG_V(0),
                                                           ARG_V(0) } },
  { ID_BUTTON_BACK_HHT_MENU, APPW_SET_PROP_SBITMAPS,     { ARG_VP(0, acBACK_V_100_98_bg_remove), } },
  { ID_TEXT_BACK_TEXT,       APPW_SET_PROP_COLOR,        { ARG_V(GUI_BLUE) } },
  { ID_TEXT_BACK_TEXT,       APPW_SET_PROP_ALIGNTEXT,    { ARG_V(GUI_ALIGN_HCENTER | GUI_ALIGN_VCENTER),
                                                           ARG_V(0),
                                                           ARG_V(0) } },
  { ID_TEXT_BACK_TEXT,       APPW_SET_PROP_TEXTID,       { ARG_V(ID_BACK_BUT_TEXT_SYS_SETT) } },
  { ID_TEXT_BACK_TEXT,       APPW_SET_PROP_FONT,         { ARG_VP(0, acNotoSans_24_Normal_EXT_AA4) } },
  { ID_TEXT_BACK_TEXT,       APPW_SET_PROP_WRAP,         { ARG_V(0) } },
  { ID_TEXT_BACK_TEXT,       APPW_SET_PROP_ROTATION,     { ARG_P(GUI_ROTATE_CCW) } },
  { ID_BUTTON_HOME_HHT_MENU, APPW_SET_PROP_SBITMAPS,     { ARG_VP(0, achome1_br), } },
  { ID_BUTTON_HOME_HHT_MENU, APPW_SET_PROP_COLORS,       { ARG_V(0xffc0c0c0),
                                                           ARG_V(0xffc0c0c0),
                                                           ARG_V(GUI_INVALID_COLOR) } },
};

/*********************************************************************
*
*       _aAction
*/
static const APPW_ACTION_ITEM _aAction[] = {
  { ID_BUTTON_HHT_NET_SETT,  WM_NOTIFICATION_CLICKED,          0,                       APPW_JOB_SHOWSCREEN,     ID_SCREEN_HHT_MAIN_MENU__ID_BUTTON_HHT_NET_SETT__WM_NOTIFICATION_CLICKED,
    { ARG_V(ID_SCREEN_HHT_NET_SETTINGS),
    }, 0, NULL
  },
  { ID_BUTTON_HHT_GEN_SETT,  WM_NOTIFICATION_CLICKED,          0,                       APPW_JOB_SHOWSCREEN,     ID_SCREEN_HHT_MAIN_MENU__ID_BUTTON_HHT_GEN_SETT__WM_NOTIFICATION_CLICKED,
    { ARG_V(ID_SCREEN_HHT_GEN_INFO),
    }, 0, NULL
  },
  { ID_BUTTON_HOME_HHT_MENU, WM_NOTIFICATION_CLICKED,          0,                       APPW_JOB_SHOWSCREEN,     ID_SCREEN_HHT_MAIN_MENU__ID_BUTTON_HOME_HHT_MENU__WM_NOTIFICATION_CLICKED,
    { ARG_V(ID_MAIN_SCREEN_BUC),
    }, 0, NULL
  },
  { ID_BUTTON_BACK_HHT_MENU, WM_NOTIFICATION_CLICKED,          0,                       APPW_JOB_SHOWSCREEN,     ID_SCREEN_HHT_MAIN_MENU__ID_BUTTON_BACK_HHT_MENU__WM_NOTIFICATION_CLICKED,
    { ARG_V(ID_MAIN_SCREEN_BUC),
    }, 0, NULL
  },
};

/*********************************************************************
*
*       Public data
*
**********************************************************************
*/
/*********************************************************************
*
*       ID_SCREEN_HHT_MAIN_MENU_RootInfo
*/
APPW_ROOT_INFO ID_SCREEN_HHT_MAIN_MENU_RootInfo = {
  ID_SCREEN_HHT_MAIN_MENU,
  _aCreate, GUI_COUNTOF(_aCreate),
  _aSetup,  GUI_COUNTOF(_aSetup),
  _aAction, GUI_COUNTOF(_aAction),
  cbID_SCREEN_HHT_MAIN_MENU,
  0
};

/*************************** End of file ****************************/
