LightingWindow Class Reference

Window to set properties of a Track::Lighting object. More...

#include <LightingWindow.h>

Inheritance diagram for LightingWindow:

Window List of all members.

Public Member Functions

 LightingWindow ()
const Track::Lightingget_lighting () const
void set_lighting (const Track::Lighting &lighting)
sigc::signal< void > signal_changed ()

Protected Member Functions

void on_fog_colour_change ()
void on_fog_density_change ()
void on_fog_enabled_change ()
void on_ambient_light_change ()
void on_num_lights_change ()
void on_light_setting_changed (int index)
void update_light_widgets ()
 Make m_light_table and its LightSettingWidgets reflect m_lighting.

Protected Attributes

Gtk::VBox m_box
Gtk::Frame m_fog_frame
 Frame surrounding fog settings.
Gtk::Label m_fog_frame_label
 Label in the title of m_fog_frame.
Gtk::Table m_fog_table
 Table in m_fog_frame that contains fog setting widgets.
Gtk::CheckButton m_fog_enabled_button
Gtk::Label m_fog_colour_label
Gtk::ColorButton m_fog_colour_button
Gtk::Label m_fog_density_label
Gtk::Adjustment m_fog_density_adjustment
Gtk::SpinButton m_fog_density_spin
Gtk::Frame m_light_frame
 Frame surrounding light settings.
Gtk::Label m_light_frame_label
 Label in the title of m_light_frame.
Gtk::Table m_light_table
 Table in m_light_frame that contains LightSettingWidgets.
Gtk::Label m_ambient_light_label
Gtk::ColorButton m_ambient_light_button
Gtk::Label m_num_lights_label
Gtk::Adjustment m_num_lights_adjustment
Gtk::SpinButton m_num_lights_spin
std::vector< boost::shared_ptr<
LightSettingWidget > > 
m_light_setting_widgets
sigc::signal< void > m_signal_changed
Track::Lighting m_lighting

Detailed Description

Window to set properties of a Track::Lighting object.

Definition at line 67 of file LightingWindow.h.


Constructor & Destructor Documentation

LightingWindow::LightingWindow (  ) 

Definition at line 116 of file LightingWindow.cpp.


Member Function Documentation

const Track::Lighting & LightingWindow::get_lighting (  )  const

Definition at line 177 of file LightingWindow.cpp.

void LightingWindow::on_ambient_light_change (  )  [protected]

Definition at line 239 of file LightingWindow.cpp.

void LightingWindow::on_fog_colour_change (  )  [protected]

Definition at line 208 of file LightingWindow.cpp.

void LightingWindow::on_fog_density_change (  )  [protected]

Definition at line 220 of file LightingWindow.cpp.

void LightingWindow::on_fog_enabled_change (  )  [protected]

Definition at line 229 of file LightingWindow.cpp.

void LightingWindow::on_light_setting_changed ( int  index  )  [protected]

Definition at line 261 of file LightingWindow.cpp.

void LightingWindow::on_num_lights_change (  )  [protected]

Definition at line 251 of file LightingWindow.cpp.

void LightingWindow::set_lighting ( const Track::Lighting lighting  ) 

Definition at line 182 of file LightingWindow.cpp.

sigc::signal< void > LightingWindow::signal_changed (  ) 

Definition at line 203 of file LightingWindow.cpp.

void LightingWindow::update_light_widgets (  )  [protected]

Make m_light_table and its LightSettingWidgets reflect m_lighting.

Definition at line 269 of file LightingWindow.cpp.


Member Data Documentation

Gtk::ColorButton LightingWindow::m_ambient_light_button [protected]

Definition at line 98 of file LightingWindow.h.

Gtk::Label LightingWindow::m_ambient_light_label [protected]

Definition at line 97 of file LightingWindow.h.

Gtk::VBox LightingWindow::m_box [protected]

Definition at line 76 of file LightingWindow.h.

Gtk::ColorButton LightingWindow::m_fog_colour_button [protected]

Definition at line 86 of file LightingWindow.h.

Gtk::Label LightingWindow::m_fog_colour_label [protected]

Definition at line 85 of file LightingWindow.h.

Gtk::Adjustment LightingWindow::m_fog_density_adjustment [protected]

Definition at line 88 of file LightingWindow.h.

Gtk::Label LightingWindow::m_fog_density_label [protected]

Definition at line 87 of file LightingWindow.h.

Gtk::SpinButton LightingWindow::m_fog_density_spin [protected]

Definition at line 89 of file LightingWindow.h.

Gtk::CheckButton LightingWindow::m_fog_enabled_button [protected]

Definition at line 84 of file LightingWindow.h.

Gtk::Frame LightingWindow::m_fog_frame [protected]

Frame surrounding fog settings.

Definition at line 79 of file LightingWindow.h.

Gtk::Label LightingWindow::m_fog_frame_label [protected]

Label in the title of m_fog_frame.

Definition at line 81 of file LightingWindow.h.

Gtk::Table LightingWindow::m_fog_table [protected]

Table in m_fog_frame that contains fog setting widgets.

Definition at line 83 of file LightingWindow.h.

Gtk::Frame LightingWindow::m_light_frame [protected]

Frame surrounding light settings.

Definition at line 92 of file LightingWindow.h.

Gtk::Label LightingWindow::m_light_frame_label [protected]

Label in the title of m_light_frame.

Definition at line 94 of file LightingWindow.h.

std::vector<boost::shared_ptr<LightSettingWidget> > LightingWindow::m_light_setting_widgets [protected]

Definition at line 102 of file LightingWindow.h.

Gtk::Table LightingWindow::m_light_table [protected]

Table in m_light_frame that contains LightSettingWidgets.

Definition at line 96 of file LightingWindow.h.

Track::Lighting LightingWindow::m_lighting [protected]

Definition at line 106 of file LightingWindow.h.

Gtk::Adjustment LightingWindow::m_num_lights_adjustment [protected]

Definition at line 100 of file LightingWindow.h.

Gtk::Label LightingWindow::m_num_lights_label [protected]

Definition at line 99 of file LightingWindow.h.

Gtk::SpinButton LightingWindow::m_num_lights_spin [protected]

Definition at line 101 of file LightingWindow.h.

sigc::signal<void> LightingWindow::m_signal_changed [protected]

Definition at line 104 of file LightingWindow.h.


The documentation for this class was generated from the following files:
Get Racer at SourceForge.net. Fast, secure and Free Open Source software downloads

Generated at Mon Sep 6 00:41:16 2010 by Doxygen version 1.4.7 for Racer version svn335.