| /xsrc/external/mit/MesaGLUT/dist/src/glut/glx/ |
| win32_menu.c | 45 __glutSetMenu(GLUTmenu * menu) 47 __glutCurrentMenu = menu; 51 unmapMenu(GLUTmenu * menu) 53 if (menu->cascade) { 54 unmapMenu(menu->cascade); 55 menu->cascade = NULL; 57 menu->anchor = NULL; 58 menu->highlighted = NULL; 75 change menus or destroy the menu window again. */ 81 change menus or destroy the menu window again. * 176 GLUTmenu *menu; local 237 GLUTmenu *menu; local 272 GLUTmenu *menu = __glutGetMenuByNum(menunum); local 309 GLUTmenu *menu; local 327 GLUTmenu *menu; local [all...] |
| glut_menu.c | 340 /* MenuFont overload to indicate menu initalization. */ 376 __glutSetMenu(GLUTmenu * menu) 378 __glutCurrentMenu = menu; 382 unmapMenu(GLUTmenu * menu) 384 if (menu->cascade) { 385 unmapMenu(menu->cascade); 386 menu->cascade = NULL; 388 menu->anchor = NULL; 389 menu->highlighted = NULL; 390 XUnmapWindow(__glutDisplay, menu->win) 686 GLUTmenu *menu; local 843 GLUTmenu *menu; local 911 GLUTmenu *menu; local 930 GLUTmenu *menu; local [all...] |
| glut_menu2.c | 8 /* glut_menu2.c implements the little used GLUT menu calls in 46 GLUTmenu *menu = __glutGetMenuByNum(menunum); local 51 assert(menu->id == menunum - 1); 52 XDestroySubwindows(__glutDisplay, menu->win); 53 XDestroyWindow(__glutDisplay, menu->win); 55 /* free all menu entries */ 56 item = menu->list; 58 assert(item->menu == menu); 64 if (__glutCurrentMenu == menu) { [all...] |
| /xsrc/external/mit/twm/dist/sample-twmrc/ |
| lemke.twmrc | 17 #LeftTitleButton "menu12.xbm" = f.menu "window-ops" 71 Menu "right_ptr" 122 Button1 = : root : f.menu "button1" 123 Button2 = : root : f.menu "Util_menu" 124 Button3 = : root : f.menu "Hosts_menu" 129 Button3 = : t : f.menu "window-ops" 142 menu "button1" 159 "..Hosts" f.menu "Hosts_menu" 160 "..Applications" f.menu "Apps_menu" 161 "..Utility" f.menu "Util_menu [all...] |
| /xsrc/external/mit/MesaGLUT/dist/src/glut/beos/ |
| glutMenu.h | 10 * DESCRIPTION: the GlutMenu class is a simple popup menu 17 #include <Menu.h> 24 const int32 MENU_ITEM = 'menu'; 45 GlutMenuItem *list; // list of menu items 57 GlutMenu *menu; // parent menu member in class:GlutMenuItem 61 GlutMenuItem *next; // next menu entry on list 69 GlutPopUp(int m) : BPopUpMenu(0, false, false) { menu = m;} 71 BPoint point; // point to start menu 73 int menu; // my menu numbe member in class:GlutPopUp 83 int menu, value; member in class:GlutBMenuItem [all...] |
| glutMenu.cpp | 10 * DESCRIPTION: code for popup menu handling 31 * DESCRIPTION: helper function to get a new menu slot 44 * DESCRIPTION: helper function to get a new menu slot 70 * DESCRIPTION: create a new menu 75 GlutMenu *menu; local 79 menu = new GlutMenu(menuid, selectFunc); // constructor sets up members 80 menuList[menuid] = menu; 81 gState.currentMenu = menu; 89 * DESCRIPTION: set and get the current menu 104 GlutMenu *menu; local 126 GlutMenu *menu = __glutGetMenuByNum(menunum); local [all...] |
| glutWindow.h | 44 static long MenuThread(void *menu); 49 int menu[GLUT_MAX_MENUS]; // my popup menus member in class:GlutWindow 80 bool statusEvent; // menu status changed 81 bool menuEvent; // menu selected 96 int menuNumber; // for menu and status callbacks 97 int menuValue; // for menu callback
|
| /xsrc/external/mit/xorg-server.old/dist/hw/xwin/ |
| winprefsyacc.y | 53 /* The working menu */ 54 static MENUPARSED menu; 61 static void SetRootMenu (char *menu); 62 static void SetDefaultSysMenu (char *menu, int pos); 96 %token MENU 147 | menu 177 | STRING MENU STRING NEWLINE newline_or_nada { AddMenuLine($1, CMD_MENU, $3); free($1); free($3); } 185 menu: MENU STRING LB { OpenMenu($2); free($2); } newline_or_nada menulist RB {CloseMenu();} label 286 SetRootMenu (char *menu) [all...] |
| winprefs.c | 49 /* Where will the custom menu commands start counting from? */ 58 /* Currently in use command ID, incremented each new menu item created */ 71 * Creates or appends a menu from a MENUPARSED structure 85 if (!strcmp(name, pref.menu[i].menuName)) 92 ErrorF("MakeMenu: Can't find menu %s\n", name); 96 m = &(pref.menu[i]); 114 /* Add the menu items */ 153 /* If item==-1 (means to add at end of menu) don't increment) */ 191 /* Remove any menu additions; bRevert=TRUE destroys any modified menus */ 203 /* Update the system menu for this window * [all...] |
| /xsrc/external/mit/xorg-server/dist/hw/xwin/ |
| winprefsyacc.y | 54 /* The working menu */ 55 static MENUPARSED menu; 62 static void SetRootMenu (char *menu); 63 static void SetDefaultSysMenu (char *menu, int pos); 97 %token MENU 148 | menu 178 | STRING MENU STRING NEWLINE newline_or_nada { AddMenuLine($1, CMD_MENU, $3); free($1); free($3); } 186 menu: MENU STRING LB { OpenMenu($2); free($2); } newline_or_nada menulist RB {CloseMenu();} label 302 if (menu.menuItem) free(menu.menuItem) [all...] |
| winprefsyacc.c | 124 /* The working menu */ 125 static MENUPARSED menu; variable 132 static void SetRootMenu (char *menu); 133 static void SetDefaultSysMenu (char *menu, int pos); 204 MENU = 259, /* MENU */ 241 #define MENU 259 304 YYSYMBOL_MENU = 4, /* MENU */ 344 YYSYMBOL_menu = 44, /* menu */ 775 "\"end of file\"", "error", "\"invalid token\"", "NEWLINE", "MENU", [all...] |
| winprefs.c | 52 /* Where will the custom menu commands start counting from? */ 60 /* Currently in use command ID, incremented each new menu item created */ 64 * Creates or appends a menu from a MENUPARSED structure 75 if (!strcmp(name, pref.menu[i].menuName)) 81 ErrorF("MakeMenu: Can't find menu %s\n", name); 85 m = &(pref.menu[i]); 100 /* Add the menu items */ 131 /* If item==-1 (means to add at end of menu) don't increment) */ 165 /* Remove any menu additions; bRevert=TRUE destroys any modified menus */ 189 /* Update the system menu for this window * [all...] |
| /xsrc/external/mit/ctwm/dist/ |
| menus.h | 20 #define TWM_ROOT "bLoB_GoOp" /* my private root menu */ 21 #define TWM_WINDOWS "TwmWindows" /* for f.menu "TwmWindows" */ 22 #define TWM_ICONS "TwmIcons" /* for f.menu "TwmIcons" */ 23 #define TWM_WORKSPACES "TwmWorkspaces" /* for f.menu "TwmWorkspaces" */ 24 #define TWM_ALLWINDOWS "TwmAllWindows" /* for f.menu "TwmAllWindows" */ 27 #define TWM_ALLICONS "TwmAllIcons" /* for f.menu "TwmAllIcons" */ 31 #define TWM_KEYS "TwmKeys" /* for f.menu "TwmKeys" */ 32 #define TWM_VISIBLE "TwmVisible" /* for f.menu "TwmVisible" */ 49 struct MenuItem *next; /* next menu item */ 50 struct MenuItem *prev; /* prev menu item * 93 MenuRoot *menu; \/* menu if func is F_MENU *\/ member in struct:MouseButton 103 MenuRoot *menu; \/* menu if func is F_MENU *\/ member in struct:FuncButton 117 MenuRoot *menu; \/* menu if func is F_MENU *\/ member in struct:FuncKey [all...] |
| functions_misc.c | 61 * Menu-related 63 DFHANDLER(menu) 66 * n.b.: The f.menu handler is all kinds of magic; it's actually 67 * completely unrelated to pulling up the menu. 69 * When a button/key binding invokes f.menu to open up a menu, that's 75 * move it to the right side of the menu entry. 77 * This handler is only used by "invoking" a menu item; releasing the 119 MenuRoot *menu; local 122 menu = malloc(sizeof(MenuRoot)) [all...] |
| menus.c | 14 * twm menu code 58 MenuRoot *ActiveMenu = NULL; /* the active menu */ 59 MenuItem *ActiveItem = NULL; /* the active menu item */ 78 static void DestroyMenu(MenuRoot *menu); 103 MenuRoot *menu, char *win_name, char *action) 147 tmp->menu = menu; 164 * menu - the menu (if any) 165 * item - the menu item (if any [all...] |
| /xsrc/external/mit/libXaw/dist/examples/ |
| menu.c | 20 Widget button, menu; local 27 menu = XtVaCreatePopupShell("menu", simpleMenuWidgetClass, 32 (void) XtVaCreateManagedWidget(buf, smeBSBObjectClass, menu, NULL); 35 menu, NULL);
|
| /xsrc/external/mit/xmh/dist/ |
| bboxint.h | 35 Widget menu; /* Menu widget, for menu buttons only */ member in struct:_ButtonRec
|
| menu.c | 2 * $XConsortium: menu.c,v 1.7 94/04/17 20:24:02 kaleb Exp $ 28 /* $XFree86: xc/programs/xmh/menu.c,v 1.2 2001/08/01 00:45:06 tsi Exp $ */ 36 Widget menu, 42 button->menu = menu; 51 Widget widget, /* menu entry object */ 71 if ((entry = XtNameToWidget(button->menu, entry_name)) != NULL) {
|
| bbox.c | 106 button->menu = (Widget) NULL; 198 if (button->menu != NULL && button->menu != NoMenuForButton) 199 XtDestroyWidget(button->menu); 315 /* Given a button, return its menu. */ 320 return button->menu;
|
| /xsrc/external/mit/libXaw/dist/src/ |
| MenuButton.c | 72 static char default_menu_name[] = "menu"; 208 Widget menu = NULL, temp; local 218 menu = XtNameToWidget(temp, mbw->menu_button.menu_name); 219 if (menu == NULL) 225 if (menu == NULL) { 229 "MenuButton: Could not find menu widget named %s.", 235 if (!XtIsRealized(menu)) 236 XtRealizeWidget(menu); 238 menu_width = XtWidth(menu) + (XtBorderWidth(menu) << 1) [all...] |
| /xsrc/external/mit/xorg-server.old/dist/hw/xquartz/ |
| X11Controller.m | 105 // Setup data about our Windows menu 107 [[window_separator menu] removeItem:window_separator]; 124 NSMenu *menu; 128 menu = [X11App windowsMenu]; 129 count = [menu numberOfItems]; 131 [menu removeItemAtIndex:i]; 140 NSMenu *menu; 144 menu = [X11App windowsMenu]; 150 [menu addItem:[NSMenuItem separatorItem]]; 163 item = (NSMenuItem *) [menu addItemWithTitle:name action:@selecto [all...] |
| /xsrc/external/mit/xorg-server/dist/hw/xquartz/ |
| X11Controller.m | 128 NSMenu *menu; 137 menu = [apps_separator menu]; 139 if (menu != nil) { 140 for (i = [menu numberOfItems] - 1; i >= 0; i--) { 141 item = (NSMenuItem *)[menu itemAtIndex:i]; 143 [menu removeItemAtIndex:i]; 158 - (void) prepend_apps_item:(NSArray <NSArray <NSString *> *> *)list index:(int)i menu:(NSMenu *)menu 170 item = (NSMenuItem *)[menu insertItemWithTitle:titl [all...] |
| /xsrc/external/mit/twm/dist/src/ |
| menus.h | 65 #define TWM_ROOT "bLoB_GoOp" /* my private root menu */ 66 #define TWM_WINDOWS "TwmWindows" /* for f.menu "TwmWindows" */ 71 struct MenuItem *next; /* next menu item */ 72 struct MenuItem *prev; /* prev menu item */ 73 struct MenuRoot *sub; /* MenuRoot of a pull right menu */ 81 short item_num; /* item number of this menu */ 90 struct MenuItem *first; /* first item in menu */ 91 struct MenuItem *last; /* last item in menu */ 92 struct MenuRoot *prev; /* previous root menu if pull right */ 95 Window w; /* the window of the menu */ 115 MenuRoot *menu; \/* menu if func is F_MENU *\/ member in struct:MouseButton [all...] |
| system.twmrc | 51 Button1 = : root : f.menu "defops" 69 menu "defops"
|
| menus.c | 54 * twm menu code 84 MenuRoot *ActiveMenu = NULL; /**< the active menu */ 85 MenuItem *ActiveItem = NULL; /**< the active menu item */ 117 static void DestroyMenu(MenuRoot *menu); 128 * initialize menu roots 581 /* if the menu did get popped up, unhighlight the active item */ 596 * create a new menu root 598 * \param name the name of the menu root 644 * add an item to a root menu 646 * \param menu pointer to the root menu to add the ite [all...] |