HomeSort by: relevance | last modified time | path
    Searched refs:menu_x (Results 1 - 2 of 2) sorted by relevancy

  /xsrc/external/mit/libXaw/dist/src/
MenuButton.c 211 int menu_x, menu_y, menu_width, menu_height, button_height; local
243 menu_x = button_x;
253 menu_x = button_x + XtWidth(w) + (XtBorderWidth(w) << 1);
254 if (menu_x + menu_width > WidthOfScreen(XtScreen(menu)))
255 menu_x = button_x - menu_width;
261 if (menu_x >= 0) {
264 if (menu_x + menu_width > scr_width)
265 menu_x = scr_width - menu_width;
267 if (menu_x < 0)
268 menu_x = 0
    [all...]
SimpleMenu.c 1753 Position menu_x, menu_y; local
1773 &menu_x, &menu_y);
1778 &menu_x, &menu_y);
1780 if (!popleft && menu_x >= 0) {
1783 if (menu_x + XtWidth(menu) > scr_width) {
1784 menu_x = (Position)(menu_x - (XtWidth(menu) + XtWidth(smw)));
1788 else if (popleft && menu_x < 0) {
1789 menu_x = 0;
1802 XtSetArg(args[num_args], XtNx, menu_x); num_args++
    [all...]

Completed in 6 milliseconds