#include <motionwindow.h>
Inherits BC_PopupMenu.

Public Member Functions | |
| Mode2 (MotionMain *plugin, MotionWindow *gui, int x, int y) | |
| int | handle_event () |
| void | create_objects () |
Static Public Member Functions | |
| static int | calculate_w (MotionWindow *gui) |
| static int | from_text (char *text) |
| static char * | to_text (int mode) |
Data Fields | |
| MotionMain * | plugin |
| MotionWindow * | gui |
Definition at line 30 of file motionwindow.h.
| Mode2::Mode2 | ( | MotionMain * | plugin, | |
| MotionWindow * | gui, | |||
| int | x, | |||
| int | y | |||
| ) |
Definition at line 902 of file motionwindow.C.
| int Mode2::handle_event | ( | ) | [virtual] |
Reimplemented from BC_PopupMenu.
Definition at line 912 of file motionwindow.C.
References from_text(), BC_PopupMenu::get_text(), plugin, and PluginClient::send_configure_change().

| void Mode2::create_objects | ( | ) |
Definition at line 919 of file motionwindow.C.
References BC_PopupMenu::add_item(), BC_WindowBase::BC_MenuItem, MotionConfig::LOAD, MotionConfig::NO_CALCULATE, MotionConfig::RECALCULATE, MotionConfig::SAVE, and to_text().
Referenced by MotionWindow::create_objects().

| int Mode2::calculate_w | ( | MotionWindow * | gui | ) | [static] |
Definition at line 954 of file motionwindow.C.
References BC_WindowBase::get_text_width(), MotionConfig::LOAD, MAX, MEDIUMFONT, MotionConfig::NO_CALCULATE, MotionConfig::RECALCULATE, MotionConfig::SAVE, and to_text().

| int Mode2::from_text | ( | char * | text | ) | [static] |
Definition at line 927 of file motionwindow.C.
References _, MotionConfig::LOAD, MotionConfig::NO_CALCULATE, MotionConfig::RECALCULATE, and MotionConfig::SAVE.
Referenced by handle_event().
| char * Mode2::to_text | ( | int | mode | ) | [static] |
Definition at line 935 of file motionwindow.C.
References _, MotionConfig::LOAD, MotionConfig::NO_CALCULATE, MotionConfig::RECALCULATE, and MotionConfig::SAVE.
Referenced by calculate_w(), create_objects(), and MotionMain::update_gui().
Definition at line 40 of file motionwindow.h.
1.5.5