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

#include "Resource.h"
#include "ID_SCREEN_BUC_CONTROL_UPDATE.h"

/*********************************************************************
*
*       Static data
*
**********************************************************************
*/
/*********************************************************************
*
*       _aCreate
*/
static APPW_CREATE_ITEM _aCreate[] = {
  { WM_OBJECT_WINDOW_Create,
    ID_SCREEN_BUC_CONTROL_UPDATE, 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_CONTROL, ID_SCREEN_BUC_CONTROL_UPDATE,
    { { { 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_HEAD_BUC_CONTROL_UPDATE, ID_SCREEN_BUC_CONTROL_UPDATE,
    { { { DISPOSE_MODE_REL_PARENT, 174, 0, 0 },
        { DISPOSE_MODE_REL_PARENT, 25, 0, 0 },
        { DISPOSE_MODE_NULL, 0, 0, 0 },
        { DISPOSE_MODE_NULL, 0, 0, 0 },
      },
      471, 33, 0, 0, 0, 0
    },
  },
  { WM_OBJECT_TEXT_Create,
    ID_TEXT_ATTENUATION_CTRL_UPDATE, ID_SCREEN_BUC_CONTROL_UPDATE,
    { { { DISPOSE_MODE_REL_PARENT, 121, 0, 0 },
        { DISPOSE_MODE_REL_PARENT, 114, 0, 0 },
        { DISPOSE_MODE_NULL, 0, 0, 0 },
        { DISPOSE_MODE_NULL, 0, 0, 0 },
      },
      260, 32, 0, 0, 0, 0
    },
  },
  { WM_OBJECT_EDIT_Create,
    ID_EDIT_ATTENUTION_CTRL_VAL_UPDATE, ID_SCREEN_BUC_CONTROL_UPDATE,
    { { { DISPOSE_MODE_REL_PARENT, 467, 0, 0 },
        { DISPOSE_MODE_REL_PARENT, 114, 0, 0 },
        { DISPOSE_MODE_NULL, 0, 0, 0 },
        { DISPOSE_MODE_NULL, 0, 0, 0 },
      },
      94, 32, 0, 0, 0, 0
    },
  },
  { WM_OBJECT_BUTTON_Create,
    ID_BUTTON_BACK_ATTN_CTRL_UPDATE, ID_SCREEN_BUC_CONTROL_UPDATE,
    { { { DISPOSE_MODE_REL_PARENT, 629, 0, 0 },
        { DISPOSE_MODE_REL_PARENT, 306, 0, 0 },
        { DISPOSE_MODE_NULL, 0, 0, 0 },
        { DISPOSE_MODE_NULL, 0, 0, 0 },
      },
      100, 98, 0, 0, 0, 0
    },
  },
  { WM_OBJECT_KEYBOARD_Create,
    ID_KEYBOARD_ATTN_CTRL_UPDATE, ID_SCREEN_BUC_CONTROL_UPDATE,
    { { { DISPOSE_MODE_REL_PARENT, 0, 0, 0 },
        { DISPOSE_MODE_REL_PARENT, 197, 0, 0 },
        { DISPOSE_MODE_NULL, 0, 0, 0 },
        { DISPOSE_MODE_NULL, 0, 0, 0 },
      },
      478, 282, 0, 0, 0, 0
    },
  },
  { WM_OBJECT_BUTTON_Create,
    ID_BUTTON_ATTN_CTRL_UPDATE_SAVE, ID_SCREEN_BUC_CONTROL_UPDATE,
    { { { DISPOSE_MODE_REL_PARENT, 500, 0, 0 },
        { DISPOSE_MODE_REL_PARENT, 306, 0, 0 },
        { DISPOSE_MODE_NULL, 0, 0, 0 },
        { DISPOSE_MODE_NULL, 0, 0, 0 },
      },
      100, 100, 0, 0, 0, 0
    },
  },
  { WM_OBJECT_TEXT_Create,
    ID_TEXT_BUTT_SAVE_ATTN_CTRL, ID_SCREEN_BUC_CONTROL_UPDATE,
    { { { DISPOSE_MODE_REL_PARENT, 500, 0, 0 },
        { DISPOSE_MODE_REL_PARENT, 404, 0, 0 },
        { DISPOSE_MODE_NULL, 0, 0, 0 },
        { DISPOSE_MODE_NULL, 0, 0, 0 },
      },
      100, 26, 0, 0, 0, 0
    },
  },
  { WM_OBJECT_TEXT_Create,
    ID_TEXT_BUTT_BACK_ATTN_CTRL, ID_SCREEN_BUC_CONTROL_UPDATE,
    { { { DISPOSE_MODE_REL_PARENT, 629, 0, 0 },
        { DISPOSE_MODE_REL_PARENT, 404, 0, 0 },
        { DISPOSE_MODE_NULL, 0, 0, 0 },
        { DISPOSE_MODE_NULL, 0, 0, 0 },
      },
      100, 26, 0, 0, 0, 0
    },
  },
  { WM_OBJECT_TEXT_Create,
    ID_TEXT_Attn_Ctrl_Range, ID_SCREEN_BUC_CONTROL_UPDATE,
    { { { DISPOSE_MODE_REL_PARENT, 620, 0, 0 },
        { DISPOSE_MODE_REL_PARENT, 114, 0, 0 },
        { DISPOSE_MODE_NULL, 0, 0, 0 },
        { DISPOSE_MODE_NULL, 0, 0, 0 },
      },
      168, 32, 0, 0, 0, 0
    },
  },
};

/*********************************************************************
*
*       _aSetup
*/
static const APPW_SETUP_ITEM _aSetup[] = {
  { ID_SCREEN_BUC_CONTROL_UPDATE,       APPW_SET_PROP_PERSISTENT,   { ARG_V(0) } },
  { ID_SCREEN_BUC_CONTROL_UPDATE,       APPW_SET_PROP_MOTIONH,      { ARG_VP(0, NULL),
                                                                      ARG_VP(0, NULL),
                                                                      ARG_V(300) } },
  { ID_SCREEN_BUC_CONTROL_UPDATE,       APPW_SET_PROP_MOTIONV,      { ARG_VP(0, NULL),
                                                                      ARG_VP(0, NULL),
                                                                      ARG_V(300) } },
  { ID_BOX_BUC_CONTROL,                 APPW_SET_PROP_COLOR,        { ARG_V(0xffaaffff) } },
  { ID_TEXT_HEAD_BUC_CONTROL_UPDATE,    APPW_SET_PROP_COLOR,        { ARG_V(GUI_BLUE) } },
  { ID_TEXT_HEAD_BUC_CONTROL_UPDATE,    APPW_SET_PROP_ALIGNTEXT,    { ARG_V(GUI_ALIGN_HCENTER | GUI_ALIGN_VCENTER),
                                                                      ARG_V(0),
                                                                      ARG_V(0) } },
  { ID_TEXT_HEAD_BUC_CONTROL_UPDATE,    APPW_SET_PROP_FONT,         { ARG_VP(0, acNotoSans_32_Normal_EXT_AA4) } },
  { ID_TEXT_HEAD_BUC_CONTROL_UPDATE,    APPW_SET_PROP_TEXTID,       { ARG_V(ID_RTEXT_ATTN_CTRL_UPDATE_HEAD) } },
  { ID_TEXT_HEAD_BUC_CONTROL_UPDATE,    APPW_SET_PROP_WRAP,         { ARG_V(0) } },
  { ID_TEXT_ATTENUATION_CTRL_UPDATE,    APPW_SET_PROP_COLOR,        { ARG_V(GUI_BLUE) } },
  { ID_TEXT_ATTENUATION_CTRL_UPDATE,    APPW_SET_PROP_ALIGNTEXT,    { ARG_V(GUI_ALIGN_LEFT | GUI_ALIGN_VCENTER),
                                                                      ARG_V(0),
                                                                      ARG_V(0) } },
  { ID_TEXT_ATTENUATION_CTRL_UPDATE,    APPW_SET_PROP_TEXTID,       { ARG_V(ID_RTEXT_ATTENUATION_CTRL) } },
  { ID_TEXT_ATTENUATION_CTRL_UPDATE,    APPW_SET_PROP_FONT,         { ARG_VP(0, acNotoSans_32_Normal_EXT_AA4) } },
  { ID_TEXT_ATTENUATION_CTRL_UPDATE,    APPW_SET_PROP_WRAP,         { ARG_V(0) } },
  { ID_EDIT_ATTENUTION_CTRL_VAL_UPDATE, APPW_SET_PROP_COLORS,       { ARG_V(GUI_BLUE),
                                                                      ARG_V(GUI_INVALID_COLOR),
                                                                      ARG_V(GUI_INVALID_COLOR) } },
  { ID_EDIT_ATTENUTION_CTRL_VAL_UPDATE, APPW_SET_PROP_ALIGN,        { ARG_V(GUI_ALIGN_HCENTER | GUI_ALIGN_VCENTER) } },
  { ID_EDIT_ATTENUTION_CTRL_VAL_UPDATE, APPW_SET_PROP_TEXTID,       { ARG_V(ID_RTEXT_EDIT_ATTENUTION_CTRL_VALUE) } },
  { ID_EDIT_ATTENUTION_CTRL_VAL_UPDATE, APPW_SET_PROP_FONT,         { ARG_VP(0, acNotoSans_24_Normal_EXT_AA4) } },
  { ID_EDIT_ATTENUTION_CTRL_VAL_UPDATE, APPW_SET_PROP_LENGTH,       { ARG_V(6) } },
  { ID_EDIT_ATTENUTION_CTRL_VAL_UPDATE, APPW_SET_PROP_BKCOLORS,     { ARG_V(0xffaaffff),
                                                                      ARG_V(0xffaaffff),
                                                                      ARG_V(GUI_INVALID_COLOR) } },
  { ID_BUTTON_BACK_ATTN_CTRL_UPDATE,    APPW_SET_PROP_SBITMAPS,     { ARG_VP(0, acRight_H_bgr), } },
  { ID_BUTTON_BACK_ATTN_CTRL_UPDATE,    APPW_SET_PROP_COLORS,       { ARG_V(GUI_BLUE),
                                                                      ARG_V(GUI_INVALID_COLOR),
                                                                      ARG_V(GUI_INVALID_COLOR) } },
  { ID_BUTTON_BACK_ATTN_CTRL_UPDATE,    APPW_SET_PROP_FONT,         { ARG_VP(0, acNotoSans_32_Normal_EXT_AA4) } },
  { ID_KEYBOARD_ATTN_CTRL_UPDATE,       APPW_SET_PROP_SLAYOUT,      { ARG_VP(824, acSKEYBOARD_NUMPAD) } },
  { ID_KEYBOARD_ATTN_CTRL_UPDATE,       APPW_SET_PROP_COLORS,       { ARG_V(0xffc0c3c0),
                                                                      ARG_V(GUI_INVALID_COLOR),
                                                                      ARG_V(GUI_INVALID_COLOR) } },
  { ID_KEYBOARD_ATTN_CTRL_UPDATE,       APPW_SET_PROP_FONT,         { ARG_VP(0, acAgencyFB_40_Bold_EXT_AA4) } },
  { ID_BUTTON_ATTN_CTRL_UPDATE_SAVE,    APPW_SET_PROP_SBITMAPS,     { ARG_VP(0, acsave_100_100_bgr), } },
  { ID_BUTTON_ATTN_CTRL_UPDATE_SAVE,    APPW_SET_PROP_COLORS,       { ARG_V(GUI_BLUE),
                                                                      ARG_V(0xffc0c0c0),
                                                                      ARG_V(GUI_INVALID_COLOR) } },
  { ID_TEXT_BUTT_SAVE_ATTN_CTRL,        APPW_SET_PROP_COLOR,        { ARG_V(GUI_BLUE) } },
  { ID_TEXT_BUTT_SAVE_ATTN_CTRL,        APPW_SET_PROP_ALIGNTEXT,    { ARG_V(GUI_ALIGN_HCENTER | GUI_ALIGN_VCENTER),
                                                                      ARG_V(0),
                                                                      ARG_V(0) } },
  { ID_TEXT_BUTT_SAVE_ATTN_CTRL,        APPW_SET_PROP_TEXTID,       { ARG_V(ID_RTEXT_SAVE) } },
  { ID_TEXT_BUTT_SAVE_ATTN_CTRL,        APPW_SET_PROP_FONT,         { ARG_VP(0, acNotoSans_24_Normal_EXT_AA4) } },
  { ID_TEXT_BUTT_SAVE_ATTN_CTRL,        APPW_SET_PROP_WRAP,         { ARG_V(0) } },
  { ID_TEXT_BUTT_BACK_ATTN_CTRL,        APPW_SET_PROP_COLOR,        { ARG_V(GUI_BLUE) } },
  { ID_TEXT_BUTT_BACK_ATTN_CTRL,        APPW_SET_PROP_ALIGNTEXT,    { ARG_V(GUI_ALIGN_HCENTER | GUI_ALIGN_VCENTER),
                                                                      ARG_V(0),
                                                                      ARG_V(0) } },
  { ID_TEXT_BUTT_BACK_ATTN_CTRL,        APPW_SET_PROP_TEXTID,       { ARG_V(ID_BUTTON_BACK_BUC_INFO_MENU) } },
  { ID_TEXT_BUTT_BACK_ATTN_CTRL,        APPW_SET_PROP_FONT,         { ARG_VP(0, acNotoSans_24_Normal_EXT_AA4) } },
  { ID_TEXT_BUTT_BACK_ATTN_CTRL,        APPW_SET_PROP_WRAP,         { ARG_V(0) } },
  { ID_TEXT_Attn_Ctrl_Range,            APPW_SET_PROP_COLOR,        { ARG_V(GUI_BLUE) } },
  { ID_TEXT_Attn_Ctrl_Range,            APPW_SET_PROP_ALIGNTEXT,    { ARG_V(GUI_ALIGN_HCENTER | GUI_ALIGN_VCENTER),
                                                                      ARG_V(0),
                                                                      ARG_V(0) } },
  { ID_TEXT_Attn_Ctrl_Range,            APPW_SET_PROP_TEXTID,       { ARG_V(ID_RTEXT_Attn_Ctrl_range) } },
  { ID_TEXT_Attn_Ctrl_Range,            APPW_SET_PROP_FONT,         { ARG_VP(0, acNotoSans_24_Normal_EXT_AA4) } },
};

/*********************************************************************
*
*       _aAction
*/
static const APPW_ACTION_ITEM _aAction[] = {
  { ID_EDIT_ATTENUTION_CTRL_VAL_UPDATE, WM_NOTIFICATION_VALUE_CHANGED,    ID_EDIT_ATTENUTION_CTRL_VAL_UPDATE, APPW_JOB_SETVALUE,       ID_SCREEN_BUC_CONTROL_Copy__ID_EDIT_ATTENUTION_CTRL_VAL__WM_NOTIFICATION_VALUE_CHANGED__ID_EDIT_ATTENUTION_CTRL_VAL__APPW_JOB_SETVALUE,
    { ARG_V(0),
    }, 0, NULL
  },
  { ID_BUTTON_ATTN_CTRL_UPDATE_SAVE,    WM_NOTIFICATION_CLICKED,          0,                                  APPW_JOB_SHOWSCREEN,     ID_SCREEN_BUC_CONTROL_UPDATE__ID_BUTTON_ATTN_CTRL_UPDATE_SAVE__WM_NOTIFICATION_CLICKED,
    { ARG_V(ID_SCREEN_BUC_CONTROL),
    }, 0, NULL
  },
  { ID_BUTTON_BACK_ATTN_CTRL_UPDATE,    WM_NOTIFICATION_CLICKED,          0,                                  APPW_JOB_SHOWSCREEN,     ID_SCREEN_BUC_CONTROL_UPDATE__ID_BUTTON_BACK_ATTN_CTRL_UPDATE__WM_NOTIFICATION_CLICKED,
    { ARG_V(ID_SCREEN_BUC_CONTROL),
    }, 0, NULL
  },
};

/*********************************************************************
*
*       Public data
*
**********************************************************************
*/
/*********************************************************************
*
*       ID_SCREEN_BUC_CONTROL_UPDATE_RootInfo
*/
APPW_ROOT_INFO ID_SCREEN_BUC_CONTROL_UPDATE_RootInfo = {
  ID_SCREEN_BUC_CONTROL_UPDATE,
  _aCreate, GUI_COUNTOF(_aCreate),
  _aSetup,  GUI_COUNTOF(_aSetup),
  _aAction, GUI_COUNTOF(_aAction),
  cbID_SCREEN_BUC_CONTROL_UPDATE,
  0
};

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