Пример #1
0
static void ui_menu_update(struct advance_ui_context* context, adv_bitmap* dst, struct ui_color_set* color)
{
	ui_menu(context, dst, context->state.ui_menu_map, context->state.ui_menu_mac, context->state.ui_menu_sel, color->ui_f, color->ui_b, color->ui_alpha, color->select_f, color->select_b, color->select_alpha, color->title_f, color->title_b, color->title_alpha, color->def);

	free(context->state.ui_menu_map);
	context->state.ui_menu_map = 0;
	context->state.ui_menu_flag = 0;
}
Пример #2
0
void splash(void) {
  #IF STACK_USE_PICDEM_LCD
   printf(lcd_putc,"\fCCS Webserver");
  #ENDIF
 #if STACK_USE_ANNOUNCE
   InitAnnounce(" - EX_ST_WEBSERVER");
 #endif
 #if STACK_USE_SERIAL
   fprintf(USER,"\r\n\r\nCCS ex_st_webserver\r\n");
   ui_settings();
   ui_menu();
 #endif
}