@@ -507,123 +507,6 @@ void addFormSelectorI2C(const String& id,
507507 addSelector_Foot ();
508508}
509509
510- /*
511- void addFormSelector(const __FlashStringHelper * label,
512- const __FlashStringHelper * id,
513- int optionCount,
514- const int indices[],
515- int selectedIndex,
516- bool reloadonchange)
517- {
518- FormSelectorOptions selector(optionCount, indices);
519- selector.reloadonchange = reloadonchange;
520- selector.addFormSelector(label, id, selectedIndex);
521- }
522-
523- void addFormSelector(const __FlashStringHelper * label, const __FlashStringHelper * id, int optionCount, const __FlashStringHelper * options[], const int indices[], int selectedIndex, bool reloadonchange)
524- {
525- addFormSelector(String(label), String(id), optionCount, options, indices, nullptr, selectedIndex, reloadonchange);
526- }
527-
528- void addFormSelector(const __FlashStringHelper * label, const String& id, int optionCount, const __FlashStringHelper * options[], const int indices[], int selectedIndex, bool reloadonchange)
529- {
530- addFormSelector(String(label), id, optionCount, options, indices, nullptr, selectedIndex, reloadonchange);
531- }
532-
533- void addFormSelector(const String& label, const String& id, int optionCount, const __FlashStringHelper * options[], const int indices[], int selectedIndex)
534- {
535- addFormSelector(label, id, optionCount, options, indices, nullptr, selectedIndex, false);
536- }
537-
538- void addFormSelector(const __FlashStringHelper * label, const __FlashStringHelper * id, int optionCount, const String options[], const int indices[], int selectedIndex)
539- {
540- addFormSelector(String(label), String(id), optionCount, options, indices, nullptr, selectedIndex, false);
541- }
542-
543- void addFormSelector(const String & label,
544- const String & id,
545- int optionCount,
546- const String options[],
547- const int indices[],
548- int selectedIndex
549- #if FEATURE_TOOLTIPS
550- , const String& tooltip
551- #endif // if FEATURE_TOOLTIPS
552- )
553- {
554- addFormSelector(label, id, optionCount, options, indices, nullptr, selectedIndex, false
555- #if FEATURE_TOOLTIPS
556- , tooltip
557- #endif // if FEATURE_TOOLTIPS
558- );
559- }
560-
561- void addFormSelector(const String& label,
562- const String& id,
563- int optionCount,
564- const __FlashStringHelper * options[],
565- const int indices[],
566- int selectedIndex,
567- bool reloadonchange)
568- {
569- addFormSelector(label, id, optionCount, options, indices, nullptr, selectedIndex, reloadonchange);
570- }
571-
572- void addFormSelector(const String& label,
573- const String& id,
574- int optionCount,
575- const __FlashStringHelper * options[],
576- const int indices[],
577- const String attr[],
578- int selectedIndex,
579- bool reloadonchange)
580- {
581- FormSelectorOptions selector(optionCount, options, indices, attr);
582- selector.reloadonchange = reloadonchange;
583- selector.addFormSelector(label, id, selectedIndex);
584- }
585-
586- void addFormSelector(const String& label,
587- const String& id,
588- int optionCount,
589- const String options[],
590- const int indices[],
591- int selectedIndex,
592- bool reloadonchange
593- #if FEATURE_TOOLTIPS
594- , const String& tooltip
595- #endif // if FEATURE_TOOLTIPS
596- )
597- {
598- addFormSelector(label, id, optionCount, options, indices, nullptr, selectedIndex, reloadonchange
599- #if FEATURE_TOOLTIPS
600- , tooltip
601- #endif // if FEATURE_TOOLTIPS
602- );
603- }
604-
605- void addFormSelector(const String & label,
606- const String & id,
607- int optionCount,
608- const String options[],
609- const int indices[],
610- const String attr[],
611- int selectedIndex,
612- bool reloadonchange
613- #if FEATURE_TOOLTIPS
614- , const String& tooltip
615- #endif // if FEATURE_TOOLTIPS
616- )
617- {
618- FormSelectorOptions selector(optionCount, options, indices, attr);
619- selector.reloadonchange = reloadonchange;
620- #if FEATURE_TOOLTIPS
621- selector.tooltip = tooltip;
622- #endif
623- selector.addFormSelector(label, id, selectedIndex);
624- }
625- */
626-
627510void addFormSelector_YesNo (const __FlashStringHelper * label,
628511 const __FlashStringHelper * id,
629512 int selectedIndex,
0 commit comments