module::ngui::uveditor::panel Class Reference

Inheritance diagram for module::ngui::uveditor::panel:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 panel ()
void initialize (document_state &DocumentState)
 Set the document and parent command node for this panel - this is ugly, but application plugins don't take ctor arguments.
const std::string panel_type ()
 Returns a unique string identifying the panel type - panel frames use this to coordinate layout serialization.
sigc::connection connect_focus_signal (const sigc::slot< void > &Slot)
 Connects a slot to a signel that should be emitted whenever the panel receives the keyboard focus.
void on_document_selection_changed ()
void on_start_pan (const GdkEventMotion &Event)
void on_pan (const GdkEventMotion &Event)
void on_start_zoom (const GdkEventMotion &Event)
void on_zoom (const GdkEventMotion &Event)
void on_scroll_zoom (const GdkEventScroll &Event)
void schedule_redraw ()
bool on_redraw ()

Static Public Member Functions

static k3d::iplugin_factoryget_factory ()

Private Attributes

sigc::signal< void > m_focus_signal
GLEWContext * m_glew_context
 Keep track of glew initialisation.
Gtk::DrawingArea * m_drawing_area
enumeration_chooser::controlm_set_chooser
detail::uv_set_modelm_uv_set_model
document_statem_document_state
k3d::double_t m_zoom_factor
k3d::point2 m_origin
k3d::point2 m_last_mouse
basic_input_model m_input_model

Constructor & Destructor Documentation

module::ngui::uveditor::panel::panel (  )  [inline]

Member Function Documentation

sigc::connection module::ngui::uveditor::panel::connect_focus_signal ( const sigc::slot< void > &  Slot  )  [inline, virtual]

Connects a slot to a signel that should be emitted whenever the panel receives the keyboard focus.

Implements k3d::ngui::panel::control.

References m_focus_signal.

static k3d::iplugin_factory& module::ngui::uveditor::panel::get_factory (  )  [inline, static]
void module::ngui::uveditor::panel::initialize ( document_state DocumentState  )  [inline, virtual]
void module::ngui::uveditor::panel::on_document_selection_changed (  )  [inline]

References m_drawing_area.

Referenced by initialize().

void module::ngui::uveditor::panel::on_pan ( const GdkEventMotion &  Event  )  [inline]
bool module::ngui::uveditor::panel::on_redraw (  )  [inline]
void module::ngui::uveditor::panel::on_scroll_zoom ( const GdkEventScroll &  Event  )  [inline]

References m_zoom_factor, and schedule_redraw().

Referenced by initialize().

void module::ngui::uveditor::panel::on_start_pan ( const GdkEventMotion &  Event  )  [inline]

References m_last_mouse.

Referenced by initialize().

void module::ngui::uveditor::panel::on_start_zoom ( const GdkEventMotion &  Event  )  [inline]

References m_last_mouse.

Referenced by initialize().

void module::ngui::uveditor::panel::on_zoom ( const GdkEventMotion &  Event  )  [inline]

References m_last_mouse, m_zoom_factor, and schedule_redraw().

Referenced by initialize().

const std::string module::ngui::uveditor::panel::panel_type (  )  [inline, virtual]

Returns a unique string identifying the panel type - panel frames use this to coordinate layout serialization.

Implements k3d::ngui::panel::control.

void module::ngui::uveditor::panel::schedule_redraw (  )  [inline]

References m_drawing_area.

Referenced by on_pan(), on_scroll_zoom(), and on_zoom().


Member Data Documentation

Referenced by initialize(), and on_redraw().

Gtk::DrawingArea* module::ngui::uveditor::panel::m_drawing_area [private]
sigc::signal<void> module::ngui::uveditor::panel::m_focus_signal [private]

Referenced by connect_focus_signal().

Keep track of glew initialisation.

Referenced by on_redraw().

Referenced by initialize().

Referenced by on_pan(), and on_redraw().

Referenced by initialize().

Referenced by initialize(), and on_redraw().


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

Generated on Mon Mar 21 07:43:49 2011 for K-3D by doxygen 1.6.3