#include <stdio.h>
#include <stdlib.h>
#include <FL/Fl.H>
#include <FL/Fl_Choice.H>
#include "VMDFltkMenu.h"
#include "VMDApp.h"
#include "utilities.h"
Go to the source code of this file.
Functions | |
void | fill_fltk_molchooser (Fl_Choice *choice, VMDApp *app, const char *extramenu) |
a convenience function for filling a molecule chooser. More... | |
char * | escape_fltk_menustring (const char *menustring) |
a convenience function for generating properly-escaped menu strings. More... | |
int | find_menu_from_string (const char *namestr, const Fl_Menu *m) |
void | set_chooser_from_string (const char *namestr, class Fl_Choice *chooser) |
Set a chooser to the menu name matching the given string. Only checks the leaf node menu names, not full pathnames currently FLTK >= 1.1.7 provides find_item() for the same purpose. More... |
|
a convenience function for generating properly-escaped menu strings.
Definition at line 152 of file VMDFltkMenu.C. References NULL. |
|
a convenience function for filling a molecule chooser.
Definition at line 73 of file VMDFltkMenu.C. References VMDApp::molecule_id, VMDApp::molecule_is_displayed, VMDApp::molecule_name, NULL, and VMDApp::num_molecules. |
|
Definition at line 192 of file VMDFltkMenu.C. References NULL. Referenced by set_chooser_from_string, and GraphicsFltkMenu::update_molchooser. |
|
Set a chooser to the menu name matching the given string. Only checks the leaf node menu names, not full pathnames currently FLTK >= 1.1.7 provides find_item() for the same purpose.
Definition at line 224 of file VMDFltkMenu.C. References find_menu_from_string. |