/* help menu dispatch function. */ void imodvHelpMenu(int item) { switch(item) { case VHELP_MENU_MENUS: imodShowHelpPage("modvMenus.html#TOP"); break; case VHELP_MENU_KEYBOARD: imodShowHelpPage("modvKeyboard.html#TOP"); break; case VHELP_MENU_MOUSE: imodShowHelpPage("modvMouse.html#TOP"); break; case VHELP_MENU_ABOUT: dia_vasmsg ("3dmodv Version ", VERSION_NAME, ", written by David Mastronarde, ", "James Kremer, and Quanren Xiong\n", "Copyright (C)",COPYRIGHT_YEARS,"by", "the Regents of the University of Colorado\n\n", NULL); break; } }
// Action buttons void ImodvImage::buttonPressed(int which) { if (which == 1) imodShowHelpPage("modvImage.html#TOP"); else if (which == 2) imodCacheFill(Imodv->vi, -1); else close(); }
void ContourCopy::buttonPressed(int which) { // Set focus gets a changed value to be signaled setFocus(); switch (which) { case 0: // Apply apply(); break; case 1: // Done close(); break; case 2: imodShowHelpPage("contourCopy.html#TOP"); break; } }
void TumblerWindow::help() { imodShowHelpPage("tumbler.html#TOP"); }
void imcHelp() { imodShowHelpPage("imageMovie.html#TOP"); }
void imodvDepthcueHelp() { imodShowHelpPage("depthcue.html#TOP"); }
void ImodvOlist::helpPressed() { imodShowHelpPage("objectList.html#TOP"); }