Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

MolBrowser Class Reference

Fl_Multi_Browser subclass that keeps track of the main VMD menu and a VMDApp context. More...

#include <MolBrowser.h>

List of all members.

Public Methods

 MolBrowser (VMDApp *, MainFltkMenu *, int x, int y, int xw, int yw)
 Pass the parent MainFltkMenu to the MolBrowser init'er so that it can communicate molecule selection events back to the parent; pass NULL to disable such communication. More...

void update ()
int handle (int)


Detailed Description

Fl_Multi_Browser subclass that keeps track of the main VMD menu and a VMDApp context.

Definition at line 21 of file MolBrowser.h.


Constructor & Destructor Documentation

MolBrowser::MolBrowser VMDApp  ,
MainFltkMenu  ,
int    x,
int    y,
int    xw,
int    yw
 

Pass the parent MainFltkMenu to the MolBrowser init'er so that it can communicate molecule selection events back to the parent; pass NULL to disable such communication.

Definition at line 40 of file MolBrowser.C.

References VMDFLTKTOOLTIP, VMDMENU_BROWSER_BG, VMDMENU_BROWSER_SEL, and widths.


Member Function Documentation

int MolBrowser::handle int   
 

Definition at line 68 of file MolBrowser.C.

References MainFltkMenu::browserpopup_menuitems, frame_delete_selector, VMDApp::menu_select_mol, MainFltkMenu::menubar, VMDApp::molecule_activate, VMDApp::molecule_deleteframes, VMDApp::molecule_display, VMDApp::molecule_fix, VMDApp::molecule_id, VMDApp::molecule_is_active, VMDApp::molecule_is_displayed, VMDApp::molecule_is_fixed, VMDApp::molecule_load, VMDApp::molecule_make_top, VMDApp::molecule_name, VMDApp::molecule_numframes, VMDApp::molecule_rename, NULL, VMDApp::scene_resetview, size, and MainFltkMenu::update_gui_state.

void MolBrowser::update  
 

Definition at line 211 of file MolBrowser.C.

References MoleculeList::active, add, MoleculeList::displayed, MoleculeList::fixed, BaseMolecule::id, MoleculeList::is_top, MoleculeList::molecule, VMDApp::moleculeList, BaseMolecule::molname, BaseMolecule::nAtoms, MoleculeList::num, BaseMolecule::num_volume_data, DrawMolecule::numframes, size, MainFltkMenu::update_gui_state, VMDMENU_MOL_ACTIVE, VMDMENU_MOL_DISPLAYED, VMDMENU_MOL_FIXED, VMDMENU_MOL_INACTIVE, VMDMENU_MOL_NONDISPLAYED, and VMDMENU_MOL_NONFIXED.

Referenced by MainFltkMenu::act_on_command.


The documentation for this class was generated from the following files:
Generated on Tue Apr 16 02:47:52 2024 for VMD (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002