#include <motionwindow.h>
Inherits BC_PopupMenu.

Public Member Functions | |
| Mode1 (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 17 of file motionwindow.h.
| Mode1::Mode1 | ( | MotionMain * | plugin, | |
| MotionWindow * | gui, | |||
| int | x, | |||
| int | y | |||
| ) |
Definition at line 830 of file motionwindow.C.
| int Mode1::handle_event | ( | ) | [virtual] |
Reimplemented from BC_PopupMenu.
Definition at line 840 of file motionwindow.C.
References from_text(), BC_PopupMenu::get_text(), plugin, and PluginClient::send_configure_change().

| void Mode1::create_objects | ( | ) |
Definition at line 847 of file motionwindow.C.
References BC_PopupMenu::add_item(), BC_WindowBase::BC_MenuItem, MotionConfig::NOTHING, MotionConfig::STABILIZE, MotionConfig::STABILIZE_PIXEL, to_text(), MotionConfig::TRACK, and MotionConfig::TRACK_PIXEL.
Referenced by MotionWindow::create_objects().

| int Mode1::calculate_w | ( | MotionWindow * | gui | ) | [static] |
Definition at line 887 of file motionwindow.C.
References BC_WindowBase::get_text_width(), MAX, MEDIUMFONT, MotionConfig::NOTHING, MotionConfig::STABILIZE, MotionConfig::STABILIZE_PIXEL, to_text(), MotionConfig::TRACK, and MotionConfig::TRACK_PIXEL.

| int Mode1::from_text | ( | char * | text | ) | [static] |
Definition at line 856 of file motionwindow.C.
References _, MotionConfig::NOTHING, MotionConfig::STABILIZE, MotionConfig::STABILIZE_PIXEL, MotionConfig::TRACK, and MotionConfig::TRACK_PIXEL.
Referenced by handle_event().
| char * Mode1::to_text | ( | int | mode | ) | [static] |
Definition at line 865 of file motionwindow.C.
References _, MotionConfig::NOTHING, MotionConfig::STABILIZE, MotionConfig::STABILIZE_PIXEL, MotionConfig::TRACK, and MotionConfig::TRACK_PIXEL.
Referenced by calculate_w(), create_objects(), and MotionMain::update_gui().
Definition at line 27 of file motionwindow.h.
1.5.5