Beispiel #1
0
/* 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;
  }
}
Beispiel #2
0
// Action buttons
void ImodvImage::buttonPressed(int which)
{
  if (which == 1)
    imodShowHelpPage("modvImage.html#TOP");
  else if (which == 2)
    imodCacheFill(Imodv->vi, -1);
  else
    close();
}
Beispiel #3
0
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;
  }
}
Beispiel #4
0
void TumblerWindow::help()
{
  imodShowHelpPage("tumbler.html#TOP");
}
Beispiel #5
0
void imcHelp()
{
  imodShowHelpPage("imageMovie.html#TOP");
}
Beispiel #6
0
void imodvDepthcueHelp()
{
  imodShowHelpPage("depthcue.html#TOP");
}
Beispiel #7
0
void ImodvOlist::helpPressed()
{
  imodShowHelpPage("objectList.html#TOP");
}