/* Menü aus "E:\KEIL_ARM_Projekte\MyBetty\ADCMenu.txt" */

extern RCST ADCsee_Mainmenu;
extern RCST ADCsee_Batterie;
extern RCST ADCsee_Uhrzeit;
extern RCST ADCsee_Results;
extern RCST ADCsee_exit;

extern void Betty_Batterie_OnEvent (RCST *self, word *aEvent);
extern void Betty_Batterie_Draw (RCST* self);
extern void Betty_Uhrzeit_OnEvent (RCST *self, word *aEvent);
extern void Betty_Uhrzeit_Draw (RCST* self);
extern void ADCsee_Results_OnEvent (RCST *self, word *aEvent);
extern void ADCsee_Results_Draw (RCST* self);
extern void ADCsee_exit_OnKey (RCST *self, word *aKey);

RCST* ADCsee_Mainmenu_focussed;

RCST ADCsee_Mainmenu =
{ /* l-t-r-b */ { 0, 0, 127, 159},
  /* davor  */  0,
  /* danach */  0,
  /* Owner  */  0,
  /* Members*/  &ADCsee_Batterie,
  /* Flags  */  opaque,
  /* *Data  */  (void*) &ADCsee_Mainmenu_focussed,
  /* OnKey  */  PanelKeyHandler,
  /* OnEvent*/  PanelEventHandler,
  /* Draw   */  PanelDrawProc
};


RCST ADCsee_Batterie =
{ /* l-t-r-b */ { 1, 1, 31, 14},
  /* davor  */  0,
  /* danach */  &ADCsee_Uhrzeit,
  /* Owner  */  &ADCsee_Mainmenu,
  /* Members*/  0,
  /* Flags  */  0,
  /* *Data  */  0,
  /* OnKey  */  0,
  /* OnEvent*/  Betty_Batterie_OnEvent,
  /* Draw   */  Betty_Batterie_Draw
};


RCST ADCsee_Uhrzeit =
{ /* l-t-r-b */ { 33, 0, 100, 15},
  /* davor  */  &ADCsee_Batterie,
  /* danach */  &ADCsee_Results,
  /* Owner  */  &ADCsee_Mainmenu,
  /* Members*/  0,
  /* Flags  */  0,
  /* *Data  */  0,
  /* OnKey  */  0,
  /* OnEvent*/  Betty_Uhrzeit_OnEvent,
  /* Draw   */  Betty_Uhrzeit_Draw
};


RCST ADCsee_Results =
{ /* l-t-r-b */ { 0, 20, 127, 139},
  /* davor  */  &ADCsee_Uhrzeit,
  /* danach */  &ADCsee_exit,
  /* Owner  */  &ADCsee_Mainmenu,
  /* Members*/  0,
  /* Flags  */  debrect,
  /* *Data  */  0,
  /* OnKey  */  0,
  /* OnEvent*/  ADCsee_Results_OnEvent,
  /* Draw   */  ADCsee_Results_Draw
};

const char ADCsee_exit_static[] = "Ende";

RCST ADCsee_exit =
{ /* l-t-r-b */ { 67, 141, 118, 160},
  /* davor  */  &ADCsee_Results,
  /* danach */  0,
  /* Owner  */  &ADCsee_Mainmenu,
  /* Members*/  0,
  /* Flags  */  canFocus | center,
  /* *Data  */  (void*) &ADCsee_exit_static,
  /* OnKey  */  ADCsee_exit_OnKey,
  /* OnEvent*/  0,
  /* Draw   */  ButtonDrawProc
};

