GWindowGUI Class Reference

#include <gwindowgui.h>

Inherits BC_Window.

Collaboration diagram for GWindowGUI:

Collaboration graph
[legend]

Public Member Functions

 GWindowGUI (MWindow *mwindow, int w, int h)
void create_objects ()
int translation_event ()
int close_event ()
int keypress_event ()
void update_toggles (int use_lock)
void update_mwindow ()

Static Public Member Functions

static void calculate_extents (BC_WindowBase *gui, int *w, int *h)

Data Fields

MWindowmwindow
GWindowToggletoggles [NONAUTOTOGGLES_COUNT+AUTOMATION_TOTAL]

Detailed Description

Definition at line 24 of file gwindowgui.h.


Constructor & Destructor Documentation

GWindowGUI::GWindowGUI ( MWindow mwindow,
int  w,
int  h 
)

Definition at line 18 of file gwindowgui.C.


Member Function Documentation

void GWindowGUI::calculate_extents ( BC_WindowBase gui,
int *  w,
int *  h 
) [static]

Definition at line 78 of file gwindowgui.C.

References auto_text, BC_Toggle::calculate_extents(), BC_WindowBase::get_resources(), MAX, NONAUTOTOGGLES_COUNT, and other_text.

Referenced by GWindow::create_objects().

Here is the call graph for this function:

void GWindowGUI::create_objects (  ) 

Definition at line 109 of file gwindowgui.C.

References BC_WindowBase::add_tool(), BC_WindowBase::get_h(), mwindow, NONAUTOTOGGLES_COUNT, toggles, BC_WindowBase::x, and BC_WindowBase::y.

Referenced by GWindow::create_objects().

Here is the call graph for this function:

int GWindowGUI::translation_event (  )  [virtual]

Reimplemented from BC_WindowBase.

Definition at line 144 of file gwindowgui.C.

References BC_WindowBase::get_x(), BC_WindowBase::get_y(), MainSession::gwindow_x, MainSession::gwindow_y, mwindow, and MWindow::session.

Here is the call graph for this function:

int GWindowGUI::close_event (  )  [virtual]

int GWindowGUI::keypress_event (  )  [virtual]

Reimplemented from BC_WindowBase.

Definition at line 166 of file gwindowgui.C.

References close_event(), BC_WindowBase::ctrl_down(), and BC_WindowBase::get_keypress().

Here is the call graph for this function:

void GWindowGUI::update_toggles ( int  use_lock  ) 

void GWindowGUI::update_mwindow (  ) 

Definition at line 125 of file gwindowgui.C.

References MWindow::gui, BC_WindowBase::lock_window(), MWindowGUI::mainmenu, mwindow, BC_WindowBase::unlock_window(), and MainMenu::update_toggles().

Referenced by GWindowToggle::handle_event().

Here is the call graph for this function:


Field Documentation

Definition at line 36 of file gwindowgui.h.

Referenced by close_event(), create_objects(), translation_event(), and update_mwindow().

GWindowToggle* GWindowGUI::toggles[NONAUTOTOGGLES_COUNT+AUTOMATION_TOTAL]

Definition at line 37 of file gwindowgui.h.

Referenced by create_objects(), and update_toggles().


The documentation for this class was generated from the following files:

Generated on Mon Apr 28 14:27:33 2008 for Cinelerra by  doxygen 1.5.5