Searched refs:menu_y (Results 1 - 2 of 2) sorted by relevance
| /xsrc/external/mit/libXaw/dist/src/ |
| H A D | MenuButton.c | 211 int menu_x, menu_y, menu_width, menu_height, button_height; local in function:PopupMenu 244 menu_y = button_y + button_height; 246 if (menu_y >= 0) { 249 if (menu_y + menu_height > scr_height) 250 menu_y = button_y - menu_height; 251 if (menu_y < 0) { 252 menu_y = scr_height - menu_height; 258 if (menu_y < 0) 259 menu_y = 0; 272 XtSetArg(arglist[num_args], XtNy, menu_y); num_arg [all...] |
| H A D | SimpleMenu.c | 1753 Position menu_x, menu_y; local in function:PopupSubMenu 1773 &menu_x, &menu_y); 1778 &menu_x, &menu_y); 1792 if (menu_y >= 0) { 1795 if (menu_y + XtHeight(menu) > scr_height) 1796 menu_y = (Position)(scr_height - XtHeight(menu) - XtBorderWidth(menu)); 1798 if (menu_y < 0) 1799 menu_y = 0; 1803 XtSetArg(args[num_args], XtNy, menu_y); num_args++;
|
Completed in 3 milliseconds