public void temp() { var constants = new Constants(); data.userPages.Add(new ClusterSection()); data.userPages[0].north.SetElements("A", "B", "C", "D", "E", null); data.userPages[0].south.SetElements("G", "H", "I", "J", "K", null); data.userPages[0].west.SetElements("M", "N", "O", "P", "K", null); data.userPages[0].east.SetElements("R", "S", "T", "X", "Y", null); data.userPages[0].center.SetElements(null, null, null, null, null, null); data.userPages[0].north.SetImgElements(null, null, null, null, null, null); data.userPages[0].south.SetImgElements(null, null, null, null, null, null); data.userPages[0].west.SetImgElements(null, null, null, null, null, null); data.userPages[0].east.SetImgElements(null, null, null, null, null, null); data.userPages[0].center.SetImgElements(constants.simbols["space"], constants.simbols["backSpace"], constants.simbols["hamburger"], constants.simbols["nextPage"],constants.simbols["speak"], null); data.userPages.Add(new ClusterSection()); data.userPages[1].north.SetElements("Hey", "I", "Need", "Help", "Water", null); data.userPages[1].south.SetElements("Feel", "Bad", "Fine", "Hurt", "Hungry", null); data.userPages[1].west.SetElements("High", "Low", "Moderate", "Hard", "Soft", null); data.userPages[1].east.SetElements("Like", "Dislike", "Often", "Much", "Little", null); data.userPages[1].center.SetElements(null, null, null, null, null, null); data.userPages[1].north.SetImgElements(null, null, null, null, null, null); data.userPages[1].south.SetImgElements(null, null, null, null, null, null); data.userPages[1].west.SetImgElements(null, null, null, null, null, null); data.userPages[1].east.SetImgElements(null, null, null, null, null, null); data.userPages[1].center.SetImgElements(constants.simbols["space"], constants.simbols["backSpace"], constants.simbols["hamburger"], constants.simbols["previousPage"], constants.simbols["speak"], null); UpdateVocbulary("HELLO"); UpdateVocbulary("HOME"); UpdateVocbulary("HOME"); UpdateVocbulary("ISAAC"); }
private void ExecuteUIAction(string simbol) { var constants = new Constants(); if (simbol == constants.simbols["speak"]) { userScreen.HandleSpeakEvent(this.media); } else if (simbol == constants.simbols["hamburger"]) { HamburgerButton_Click(speakButton, null); } else if (simbol == constants.simbols["space"]) { userScreen.HandleSpaceEvent(wordCompletionSwitch.IsOn); } else if (simbol == constants.simbols["backSpace"]) { userScreen.HandleBackspaceEvent(wordCompletionSwitch.IsOn); } }