Lines Matching full:arrow
720 } arrow[] = { variable
739 arrow[A_K_DN].fun.cmd = F_DOWN_HIST; in ResetArrowKeys()
740 arrow[A_K_DN].type = XK_CMD; in ResetArrowKeys()
742 arrow[A_K_UP].fun.cmd = F_UP_HIST; in ResetArrowKeys()
743 arrow[A_K_UP].type = XK_CMD; in ResetArrowKeys()
745 arrow[A_K_LT].fun.cmd = F_CHARBACK; in ResetArrowKeys()
746 arrow[A_K_LT].type = XK_CMD; in ResetArrowKeys()
748 arrow[A_K_RT].fun.cmd = F_CHARFWD; in ResetArrowKeys()
749 arrow[A_K_RT].type = XK_CMD; in ResetArrowKeys()
751 arrow[A_K_HO].fun.cmd = F_TOBEG; in ResetArrowKeys()
752 arrow[A_K_HO].type = XK_CMD; in ResetArrowKeys()
754 arrow[A_K_EN].fun.cmd = F_TOEND; in ResetArrowKeys()
755 arrow[A_K_EN].type = XK_CMD; in ResetArrowKeys()
795 cs.buf = strA; AddXkey(&cs, &arrow[A_K_UP].fun, arrow[A_K_UP].type); in DefaultArrowKeys()
796 cs.buf = strB; AddXkey(&cs, &arrow[A_K_DN].fun, arrow[A_K_DN].type); in DefaultArrowKeys()
797 cs.buf = strC; AddXkey(&cs, &arrow[A_K_RT].fun, arrow[A_K_RT].type); in DefaultArrowKeys()
798 cs.buf = strD; AddXkey(&cs, &arrow[A_K_LT].fun, arrow[A_K_LT].type); in DefaultArrowKeys()
799 cs.buf = strH; AddXkey(&cs, &arrow[A_K_HO].fun, arrow[A_K_HO].type); in DefaultArrowKeys()
800 cs.buf = strF; AddXkey(&cs, &arrow[A_K_EN].fun, arrow[A_K_EN].type); in DefaultArrowKeys()
801 cs.buf = stOA; AddXkey(&cs, &arrow[A_K_UP].fun, arrow[A_K_UP].type); in DefaultArrowKeys()
802 cs.buf = stOB; AddXkey(&cs, &arrow[A_K_DN].fun, arrow[A_K_DN].type); in DefaultArrowKeys()
803 cs.buf = stOC; AddXkey(&cs, &arrow[A_K_RT].fun, arrow[A_K_RT].type); in DefaultArrowKeys()
804 cs.buf = stOD; AddXkey(&cs, &arrow[A_K_LT].fun, arrow[A_K_LT].type); in DefaultArrowKeys()
805 cs.buf = stOH; AddXkey(&cs, &arrow[A_K_HO].fun, arrow[A_K_HO].type); in DefaultArrowKeys()
806 cs.buf = stOF; AddXkey(&cs, &arrow[A_K_EN].fun, arrow[A_K_EN].type); in DefaultArrowKeys()
810 cs.buf = &strA[1]; AddXkey(&cs, &arrow[A_K_UP].fun, arrow[A_K_UP].type); in DefaultArrowKeys()
811 cs.buf = &strB[1]; AddXkey(&cs, &arrow[A_K_DN].fun, arrow[A_K_DN].type); in DefaultArrowKeys()
812 cs.buf = &strC[1]; AddXkey(&cs, &arrow[A_K_RT].fun, arrow[A_K_RT].type); in DefaultArrowKeys()
813 cs.buf = &strD[1]; AddXkey(&cs, &arrow[A_K_LT].fun, arrow[A_K_LT].type); in DefaultArrowKeys()
814 cs.buf = &strH[1]; AddXkey(&cs, &arrow[A_K_HO].fun, arrow[A_K_HO].type); in DefaultArrowKeys()
815 cs.buf = &strF[1]; AddXkey(&cs, &arrow[A_K_EN].fun, arrow[A_K_EN].type); in DefaultArrowKeys()
816 cs.buf = &stOA[1]; AddXkey(&cs, &arrow[A_K_UP].fun, arrow[A_K_UP].type); in DefaultArrowKeys()
817 cs.buf = &stOB[1]; AddXkey(&cs, &arrow[A_K_DN].fun, arrow[A_K_DN].type); in DefaultArrowKeys()
818 cs.buf = &stOC[1]; AddXkey(&cs, &arrow[A_K_RT].fun, arrow[A_K_RT].type); in DefaultArrowKeys()
819 cs.buf = &stOD[1]; AddXkey(&cs, &arrow[A_K_LT].fun, arrow[A_K_LT].type); in DefaultArrowKeys()
820 cs.buf = &stOH[1]; AddXkey(&cs, &arrow[A_K_HO].fun, arrow[A_K_HO].type); in DefaultArrowKeys()
821 cs.buf = &stOF[1]; AddXkey(&cs, &arrow[A_K_EN].fun, arrow[A_K_EN].type); in DefaultArrowKeys()
831 if (Strcmp(name->buf, arrow[i].name) == 0) { in SetArrowKeys()
832 arrow[i].fun = *fun; in SetArrowKeys()
833 arrow[i].type = type; in SetArrowKeys()
844 if (Strcmp(name, arrow[i].name) == 0) in IsArrowKey()
854 if (Strcmp(name->buf, arrow[i].name) == 0) { in ClearArrowKeys()
855 arrow[i].type = XK_NOD; in ClearArrowKeys()
867 if (name->len == 0 || Strcmp(name->buf, arrow[i].name) == 0) in PrintArrowKeys()
868 if (arrow[i].type != XK_NOD) in PrintArrowKeys()
869 printOne(arrow[i].name, &arrow[i].fun, arrow[i].type); in PrintArrowKeys()
889 p = tstr[arrow[i].key].str; in BindArrowKeys()
895 * Assign the arrow keys only if: in BindArrowKeys()
897 * 1. They are multi-character arrow keys and the user in BindArrowKeys()
900 * 2. They are single arrow keys pointing to an unassigned key. in BindArrowKeys()
902 if (arrow[i].type == XK_NOD) { in BindArrowKeys()
907 AddXkey(&cs, &arrow[i].fun, arrow[i].type); in BindArrowKeys()
912 if (arrow[i].type == XK_CMD) in BindArrowKeys()
913 map[j] = arrow[i].fun.cmd; in BindArrowKeys()
915 AddXkey(&cs, &arrow[i].fun, arrow[i].type); in BindArrowKeys()