/*********************************************************************
*                     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_BUC_SYS.c
Purpose     : Generated file do NOT edit!
---------------------------END-OF-HEADER------------------------------
*/

#include "Resource.h"
#include "ID_SCREEN_BUC_SYS.h"

/*********************************************************************
*
*       Static data
*
**********************************************************************
*/
/*********************************************************************
*
*       _aCreate
*/
static APPW_CREATE_ITEM _aCreate[] = {
  { WM_OBJECT_WINDOW_Create,
    ID_SCREEN_BUC_SYS, 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_BUC_SYS, ID_SCREEN_BUC_SYS,
    { { { 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_TEXT_Create,
    ID_TEXT_TITLE_BUC_SYS, ID_SCREEN_BUC_SYS,
    { { { DISPOSE_MODE_REL_PARENT, 0, 0, 0 },
        { DISPOSE_MODE_REL_PARENT, 143, 0, 0 },
        { DISPOSE_MODE_NULL, 0, 0, 0 },
        { DISPOSE_MODE_NULL, 0, 0, 0 },
      },
      94, 215, 0, 0, 0, 0
    },
  },
  { WM_OBJECT_TEXT_Create,
    ID_TEXT_BUC_SELF_MASTER, ID_SCREEN_BUC_SYS,
    { { { DISPOSE_MODE_REL_PARENT, 160, 0, 0 },
        { DISPOSE_MODE_REL_PARENT, 260, 0, 0 },
        { DISPOSE_MODE_NULL, 0, 0, 0 },
        { DISPOSE_MODE_NULL, 0, 0, 0 },
      },
      24, 165, 0, 0, 0, 0
    },
  },
  { WM_OBJECT_BUTTON_Create,
    ID_BUTTON_BUC_REBOOT, ID_SCREEN_BUC_SYS,
    { { { DISPOSE_MODE_REL_PARENT, 230, 0, 0 },
        { DISPOSE_MODE_REL_PARENT, 96, 0, 0 },
        { DISPOSE_MODE_NULL, 0, 0, 0 },
        { DISPOSE_MODE_NULL, 0, 0, 0 },
      },
      80, 80, 0, 0, 0, 0
    },
  },
  { WM_OBJECT_IMAGE_Create,
    ID_IMAGE_BEL_LOGO, ID_SCREEN_BUC_SYS,
    { { { DISPOSE_MODE_REL_PARENT, 0, 0, 0 },
        { DISPOSE_MODE_REL_PARENT, 380, 0, 0 },
        { DISPOSE_MODE_NULL, 0, 0, 0 },
        { DISPOSE_MODE_NULL, 0, 0, 0 },
      },
      100, 100, 0, 0, 0, 0
    },
  },
  { WM_OBJECT_BUTTON_Create,
    ID_BUTTON_BACK_BUC_SYS, ID_SCREEN_BUC_SYS,
    { { { DISPOSE_MODE_REL_PARENT, 658, 0, 0 },
        { DISPOSE_MODE_REL_PARENT, 36, 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_BUTT_BACK_BUC_SYS, ID_SCREEN_BUC_SYS,
    { { { DISPOSE_MODE_REL_PARENT, 758, 0, 0 },
        { DISPOSE_MODE_REL_PARENT, 57, 0, 0 },
        { DISPOSE_MODE_NULL, 0, 0, 0 },
        { DISPOSE_MODE_NULL, 0, 0, 0 },
      },
      21, 61, 0, 0, 0, 0
    },
  },
  { WM_OBJECT_TEXT_Create,
    ID_TEXT_BUC_REBOOT, ID_SCREEN_BUC_SYS,
    { { { DISPOSE_MODE_REL_PARENT, 260, 0, 0 },
        { DISPOSE_MODE_REL_PARENT, 272, 0, 0 },
        { DISPOSE_MODE_NULL, 0, 0, 0 },
        { DISPOSE_MODE_NULL, 0, 0, 0 },
      },
      24, 158, 0, 0, 0, 0
    },
  },
  { WM_OBJECT_IMAGE_Create,
    ID_IMAGE_BUC_IMAGE, ID_SCREEN_BUC_SYS,
    { { { 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_BUTTON_Create,
    ID_BUTTON_HOME_SYS, ID_SCREEN_BUC_SYS,
    { { { DISPOSE_MODE_REL_PARENT, 668, 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
    },
  },
  { WM_OBJECT_SLIDER_Create,
    ID_SLIDER_MASTER_ENABLE_DISABLE, ID_SCREEN_BUC_SYS,
    { { { DISPOSE_MODE_REL_PARENT, 160, 0, 0 },
        { DISPOSE_MODE_REL_PARENT, 88, 0, 0 },
        { DISPOSE_MODE_NULL, 0, 0, 0 },
        { DISPOSE_MODE_NULL, 0, 0, 0 },
      },
      26, 88, 0, 0, 0, 0
    },
  },
  { WM_OBJECT_TEXT_Create,
    ID_TEXT_ENABLE, ID_SCREEN_BUC_SYS,
    { { { DISPOSE_MODE_REL_PARENT, 135, 0, 0 },
        { DISPOSE_MODE_REL_PARENT, 163, 0, 0 },
        { DISPOSE_MODE_NULL, 0, 0, 0 },
        { DISPOSE_MODE_NULL, 0, 0, 0 },
      },
      19, 77, 0, 0, 0, 0
    },
  },
  { WM_OBJECT_TEXT_Create,
    ID_TEXT_01, ID_SCREEN_BUC_SYS,
    { { { DISPOSE_MODE_REL_PARENT, 135, 0, 0 },
        { DISPOSE_MODE_REL_PARENT, 36, 0, 0 },
        { DISPOSE_MODE_NULL, 0, 0, 0 },
        { DISPOSE_MODE_NULL, 0, 0, 0 },
      },
      19, 70, 0, 0, 0, 0
    },
  },
  { WM_OBJECT_BUTTON_Create,
    ID_BUTTON_REFRESH_SYSTEM, ID_SCREEN_BUC_SYS,
    { { { DISPOSE_MODE_REL_PARENT, 677, 0, 0 },
        { DISPOSE_MODE_REL_PARENT, 197, 0, 0 },
        { DISPOSE_MODE_NULL, 0, 0, 0 },
        { DISPOSE_MODE_NULL, 0, 0, 0 },
      },
      91, 89, 0, 0, 0, 0
    },
  },
};

/*********************************************************************
*
*       _aSetup
*/
static const APPW_SETUP_ITEM _aSetup[] = {
  { ID_SCREEN_BUC_SYS,               APPW_SET_PROP_PERSISTENT,   { ARG_V(0) } },
  { ID_BOX_BUC_SYS,                  APPW_SET_PROP_COLOR,        { ARG_V(0xffaaffff) } },
  { ID_TEXT_TITLE_BUC_SYS,           APPW_SET_PROP_COLOR,        { ARG_V(GUI_BLUE) } },
  { ID_TEXT_TITLE_BUC_SYS,           APPW_SET_PROP_ALIGNTEXT,    { ARG_V(GUI_ALIGN_HCENTER | GUI_ALIGN_VCENTER),
                                                                   ARG_V(0),
                                                                   ARG_V(0) } },
  { ID_TEXT_TITLE_BUC_SYS,           APPW_SET_PROP_FONT,         { ARG_VP(0, acNotoSans_32_Normal_EXT_AA4) } },
  { ID_TEXT_TITLE_BUC_SYS,           APPW_SET_PROP_TEXTID,       { ARG_V(ID_RTEXT_TITLE_BUC_SYS) } },
  { ID_TEXT_TITLE_BUC_SYS,           APPW_SET_PROP_WRAP,         { ARG_V(0) } },
  { ID_TEXT_TITLE_BUC_SYS,           APPW_SET_PROP_ROTATION,     { ARG_P(GUI_ROTATE_CCW) } },
  { ID_TEXT_BUC_SELF_MASTER,         APPW_SET_PROP_COLOR,        { ARG_V(GUI_BLUE) } },
  { ID_TEXT_BUC_SELF_MASTER,         APPW_SET_PROP_ALIGNTEXT,    { ARG_V(GUI_ALIGN_LEFT | GUI_ALIGN_VCENTER),
                                                                   ARG_V(0),
                                                                   ARG_V(0) } },
  { ID_TEXT_BUC_SELF_MASTER,         APPW_SET_PROP_TEXTID,       { ARG_V(ID_RTEXT_BUC_SELF_MASTER) } },
  { ID_TEXT_BUC_SELF_MASTER,         APPW_SET_PROP_FONT,         { ARG_VP(0, acNotoSans_32_Normal_EXT_AA4) } },
  { ID_TEXT_BUC_SELF_MASTER,         APPW_SET_PROP_ROTATION,     { ARG_P(GUI_ROTATE_CCW) } },
  { ID_TEXT_BUC_SELF_MASTER,         APPW_SET_PROP_WRAP,         { ARG_V(0) } },
  { ID_BUTTON_BUC_REBOOT,            APPW_SET_PROP_SBITMAPS,     { ARG_VP(0, acButtonUnpressed_80_80),
                                                                   ARG_VP(0, acButton_round_basic_color_green_0_80), } },
  { ID_BUTTON_BUC_REBOOT,            APPW_SET_PROP_COLORS,       { ARG_V(GUI_BLUE),
                                                                   ARG_V(GUI_INVALID_COLOR),
                                                                   ARG_V(GUI_INVALID_COLOR) } },
  { ID_BUTTON_BUC_REBOOT,            APPW_SET_PROP_FONT,         { ARG_VP(0, acNotoSans_24_Normal_EXT_AA4) } },
  { 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_BUTTON_BACK_BUC_SYS,          APPW_SET_PROP_SBITMAPS,     { ARG_VP(0, acBACK_V_100_98_bg_remove), } },
  { ID_BUTTON_BACK_BUC_SYS,          APPW_SET_PROP_COLORS,       { ARG_V(GUI_BLUE),
                                                                   ARG_V(GUI_INVALID_COLOR),
                                                                   ARG_V(GUI_INVALID_COLOR) } },
  { ID_BUTTON_BACK_BUC_SYS,          APPW_SET_PROP_FONT,         { ARG_VP(0, acNotoSans_32_Normal_EXT_AA4) } },
  { ID_TEXT_BUTT_BACK_BUC_SYS,       APPW_SET_PROP_COLOR,        { ARG_V(GUI_BLUE) } },
  { ID_TEXT_BUTT_BACK_BUC_SYS,       APPW_SET_PROP_ALIGNTEXT,    { ARG_V(GUI_ALIGN_HCENTER | GUI_ALIGN_VCENTER),
                                                                   ARG_V(0),
                                                                   ARG_V(0) } },
  { ID_TEXT_BUTT_BACK_BUC_SYS,       APPW_SET_PROP_TEXTID,       { ARG_V(ID_BUTTON_BACK_BUC_INFO_MENU) } },
  { ID_TEXT_BUTT_BACK_BUC_SYS,       APPW_SET_PROP_FONT,         { ARG_VP(0, acNotoSans_24_Normal_EXT_AA4) } },
  { ID_TEXT_BUTT_BACK_BUC_SYS,       APPW_SET_PROP_WRAP,         { ARG_V(0) } },
  { ID_TEXT_BUTT_BACK_BUC_SYS,       APPW_SET_PROP_ROTATION,     { ARG_P(GUI_ROTATE_CCW) } },
  { ID_TEXT_BUC_REBOOT,              APPW_SET_PROP_COLOR,        { ARG_V(GUI_BLUE) } },
  { ID_TEXT_BUC_REBOOT,              APPW_SET_PROP_ALIGNTEXT,    { ARG_V(GUI_ALIGN_HCENTER | GUI_ALIGN_VCENTER),
                                                                   ARG_V(0),
                                                                   ARG_V(0) } },
  { ID_TEXT_BUC_REBOOT,              APPW_SET_PROP_FONT,         { ARG_VP(0, acNotoSans_32_Normal_EXT_AA4) } },
  { ID_TEXT_BUC_REBOOT,              APPW_SET_PROP_WRAP,         { ARG_V(0) } },
  { ID_TEXT_BUC_REBOOT,              APPW_SET_PROP_ROTATION,     { ARG_P(GUI_ROTATE_CCW) } },
  { ID_TEXT_BUC_REBOOT,              APPW_SET_PROP_TEXTID,       { ARG_V(ID_RTEXT_BUC_REBOOT) } },
  { 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_BUTTON_HOME_SYS,              APPW_SET_PROP_SBITMAPS,     { ARG_VP(0, achome1_br), } },
  { ID_BUTTON_HOME_SYS,              APPW_SET_PROP_COLORS,       { ARG_V(0xffc0c0c0),
                                                                   ARG_V(0xffc0c0c0),
                                                                   ARG_V(GUI_INVALID_COLOR) } },
  { ID_SLIDER_MASTER_ENABLE_DISABLE, APPW_SET_PROP_VERTICAL,     { ARG_V(0) } },
  { ID_SLIDER_MASTER_ENABLE_DISABLE, APPW_SET_PROP_SBITMAPS,     { ARG_VP(0, acDARK_Slider_Shaft_V_Bottom_Gray_16x30),
                                                                   ARG_VP(0, acDARK_Slider_Shaft_V_Top_Blue_16x30),
                                                                   ARG_VP(0, acDARK_Slider_Thumb_Up_22x22),
                                                                   ARG_VP(0, acDARK_Slider_Thumb_Up_22x22), } },
  { ID_SLIDER_MASTER_ENABLE_DISABLE, APPW_SET_PROP_RANGE,        { ARG_V(0),
                                                                   ARG_V(1) } },
  { ID_TEXT_ENABLE,                  APPW_SET_PROP_COLOR,        { ARG_V(GUI_BLUE) } },
  { ID_TEXT_ENABLE,                  APPW_SET_PROP_ALIGNTEXT,    { ARG_V(GUI_ALIGN_HCENTER | GUI_ALIGN_VCENTER),
                                                                   ARG_V(0),
                                                                   ARG_V(0) } },
  { ID_TEXT_ENABLE,                  APPW_SET_PROP_FONT,         { ARG_VP(0, acNotoSans_24_Normal_EXT_AA4) } },
  { ID_TEXT_ENABLE,                  APPW_SET_PROP_TEXTID,       { ARG_V(ID_RTEXT_ENABLE) } },
  { ID_TEXT_ENABLE,                  APPW_SET_PROP_ROTATION,     { ARG_P(GUI_ROTATE_CCW) } },
  { ID_TEXT_01,                      APPW_SET_PROP_COLOR,        { ARG_V(GUI_BLUE) } },
  { ID_TEXT_01,                      APPW_SET_PROP_ALIGNTEXT,    { ARG_V(GUI_ALIGN_HCENTER | GUI_ALIGN_VCENTER),
                                                                   ARG_V(0),
                                                                   ARG_V(0) } },
  { ID_TEXT_01,                      APPW_SET_PROP_FONT,         { ARG_VP(0, acNotoSans_24_Normal_EXT_AA4) } },
  { ID_TEXT_01,                      APPW_SET_PROP_ROTATION,     { ARG_P(GUI_ROTATE_CCW) } },
  { ID_TEXT_01,                      APPW_SET_PROP_TEXTID,       { ARG_V(ID_RTEXT_DISABLE_1) } },
  { ID_BUTTON_REFRESH_SYSTEM,        APPW_SET_PROP_SBITMAPS,     { ARG_VP(0, acrefresh_bgr), } },
  { ID_BUTTON_REFRESH_SYSTEM,        APPW_SET_PROP_COLORS,       { ARG_V(0xffc0c0c0),
                                                                   ARG_V(0xffc0c0c0),
                                                                   ARG_V(GUI_INVALID_COLOR) } },
};

/*********************************************************************
*
*       _aAction
*/
static const APPW_ACTION_ITEM _aAction[] = {
  { ID_SCREEN_BUC_SYS,               APPW_NOTIFICATION_INITDIALOG,     ID_VAR_SYS_ID,                   APPW_JOB_SETVALUE,       ID_SCREEN_BUC_SYS__APPW_NOTIFICATION_INITDIALOG,
    { ARG_V(0),
    }, 0, NULL
  },
  { ID_SCREEN_BUC_SYS,               APPW_NOTIFICATION_MOTION,         ID_VAR_SYS_ID,                   APPW_JOB_SETVALUE,       ID_SCREEN_BUC_SYS__APPW_NOTIFICATION_MOTION,
    { ARG_V(0),
    }, 0, NULL
  },
  { ID_SLIDER_MASTER_ENABLE_DISABLE, WM_NOTIFICATION_VALUE_CHANGED,    ID_SLIDER_MASTER_ENABLE_DISABLE, APPW_JOB_SETVALUE,       ID_SCREEN_BUC_SYS__ID_SLIDER_MASTER_ENABLE_DISABLE__WM_NOTIFICATION_VALUE_CHANGED__ID_SLIDER_MASTER_ENABLE_DISABLE__APPW_JOB_SETVALUE,
    { ARG_V(0),
    }, 0, NULL
  },
  { ID_BUTTON_BUC_REBOOT,            WM_NOTIFICATION_CLICKED,          ID_VAR_SYS_ID,                   APPW_JOB_SETVALUE,       ID_SCREEN_BUC_SYS__ID_BUTTON_BUC_REBOOT__WM_NOTIFICATION_CLICKED,
    { ARG_V(0),
    }, 0, NULL
  },
  { ID_BUTTON_REFRESH_SYSTEM,        WM_NOTIFICATION_CLICKED,          ID_VAR_SYS_ID,                   APPW_JOB_SETVALUE,       ID_SCREEN_BUC_SYS__ID_BUTTON_REFRESH_SYSTEM__WM_NOTIFICATION_CLICKED,
    { ARG_V(0),
    }, 0, NULL
  },
  { ID_BUTTON_BACK_BUC_SYS,          WM_NOTIFICATION_CLICKED,          0,                               APPW_JOB_SHOWSCREEN,     ID_SCREEN_BUC_SYS__ID_BUTTON_BACK_BUC_SYS__WM_NOTIFICATION_CLICKED,
    { ARG_V(ID_SCREEN_BUC_SETUP),
    }, 0, NULL
  },
  { ID_BUTTON_HOME_SYS,              WM_NOTIFICATION_CLICKED,          0,                               APPW_JOB_SHOWSCREEN,     ID_SCREEN_BUC_SYS__ID_BUTTON_HOME_SYS__WM_NOTIFICATION_CLICKED,
    { ARG_V(ID_MAIN_SCREEN_BUC),
    }, 0, NULL
  },
};

/*********************************************************************
*
*       Public data
*
**********************************************************************
*/
/*********************************************************************
*
*       ID_SCREEN_BUC_SYS_RootInfo
*/
APPW_ROOT_INFO ID_SCREEN_BUC_SYS_RootInfo = {
  ID_SCREEN_BUC_SYS,
  _aCreate, GUI_COUNTOF(_aCreate),
  _aSetup,  GUI_COUNTOF(_aSetup),
  _aAction, GUI_COUNTOF(_aAction),
  cbID_SCREEN_BUC_SYS,
  0
};

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