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

GeometryFltkMenu Class Reference

VMDFltkMenu subclass to manage geometry data, labels, and picked atoms. More...

#include <GeometryFltkMenu.h>

Inheritance diagram for GeometryFltkMenu:

VMDFltkMenu VMDMenu UIObject List of all members.

Public Methods

 GeometryFltkMenu (VMDApp *)
void apply_offset_to_selected_labels (float x, float y)
void apply_format_to_selected_labels (const char *format)

Protected Methods

int act_on_command (int, Command *)
 update the display due to a command being executed. Return whether any action was taken on this command. Arguments are the command type, command object, and the success of the command (T or F). More...


Detailed Description

VMDFltkMenu subclass to manage geometry data, labels, and picked atoms.

Definition at line 38 of file GeometryFltkMenu.h.


Constructor & Destructor Documentation

GeometryFltkMenu::GeometryFltkMenu VMDApp  
 

Definition at line 743 of file GeometryFltkMenu.C.

References Command::ANIM_NEW_FRAME, UIObject::command_wanted, Command::LABEL_ADD, Command::LABEL_ADDSPRING, Command::LABEL_DELETE, Command::LABEL_SHOW, Command::LABEL_TEXTFORMAT, Command::LABEL_TEXTOFFSET, Command::LABEL_TEXTSIZE, Command::LABEL_TEXTTHICKNESS, Command::MOL_DEL, and Command::PICK_EVENT.


Member Function Documentation

int GeometryFltkMenu::act_on_command int    type,
Command   cmd
[protected, virtual]
 

update the display due to a command being executed. Return whether any action was taken on this command. Arguments are the command type, command object, and the success of the command (T or F).

Reimplemented from UIObject.

Definition at line 764 of file GeometryFltkMenu.C.

References Command::ANIM_NEW_FRAME, UIObject::app, MoleculeList::check_pickable, Command::LABEL_ADD, Command::LABEL_ADDSPRING, Command::LABEL_DELETE, Command::LABEL_SHOW, Command::LABEL_TEXTFORMAT, Command::LABEL_TEXTOFFSET, Command::LABEL_TEXTSIZE, Command::LABEL_TEXTTHICKNESS, Command::MOL_DEL, VMDApp::moleculeList, Command::PICK_EVENT, PickEvent::pickable, GeometryList::prepare, and PickEvent::tag.

void GeometryFltkMenu::apply_format_to_selected_labels const char *    format
 

Definition at line 472 of file GeometryFltkMenu.C.

References UIObject::app, and VMDApp::label_set_textformat.

void GeometryFltkMenu::apply_offset_to_selected_labels float    x,
float    y
 

Definition at line 455 of file GeometryFltkMenu.C.

References UIObject::app, and VMDApp::label_set_textoffset.


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