Lines Matching full:mouse
31 /* common mouse interface functions */
41 MOUSETYPE mouse; variable
46 /* see if there is a mouse interface */
57 mouse = EMACSTERM; in initmouse()
58 } else if ((s = getenv("MOUSE")) != NULL && strcmp(s, "myx") == 0) { in initmouse()
60 * the MOUSE enviroment variable is for 5620 terminal in initmouse()
61 * programs that have mouse support but the TERM environment in initmouse()
62 * variable is the same as a terminal without a mouse, such in initmouse()
65 mouse = MYX; in initmouse()
73 /* reinitialize the mouse in case curses changed the attributes */
78 if (mouse == EMACSTERM) { in reinitmouse()
81 * enable the mouse click and sweep coordinate control in reinitmouse()
92 /* restore any original mouse attributes not handled by terminfo */
99 if (mouse == MYX && loadedmenu != NULL) { in cleanupmouse()
100 /* remove the mouse menu */ in cleanupmouse()
109 /* download a mouse menu */
117 switch (mouse) { in downloadmenu()
158 if (mouse == EMACSTERM) { in drawscrollbar()
185 /* translate a mouse click or sweep to a selection */
201 /* get the mouse event */
208 if (mouse == EMACSTERM) { in getmouseevent()
235 /* get a row or column coordinate from a mouse button click or sweep */
278 switch (mouse) { in labelarea()