lux::LuxGui::LuxLightGroupPanel Class Reference

#include <wxluxgui.h>

Inheritance diagram for lux::LuxGui::LuxLightGroupPanel:
[legend]
Collaboration diagram for lux::LuxGui::LuxLightGroupPanel:
[legend]

List of all members.

Public Member Functions

 LuxLightGroupPanel (LuxGui *gui, wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxTAB_TRAVERSAL)
void SetIndex (int index)
int GetIndex () const
void UpdateWidgetValues ()
void ResetValues ()
void ResetValuesFromFilm (bool useDefaults=true)

Protected Member Functions

int ScaleToSliderVal (float scale)
float SliderValToScale (int sliderval)
void SetWidgetsEnabled (bool enabled)
void OnText (wxCommandEvent &event)
void OnMouse (wxMouseEvent &event)
void OnCheckBox (wxCommandEvent &event)
void OnColourChanged (wxColourPickerEvent &event)
void OnScroll (wxScrollEvent &event)

Private Attributes

LuxGui *const m_Gui
int m_Index
bool m_LG_enable
double m_LG_scale
bool m_LG_temperature_enabled
double m_LG_temperature
bool m_LG_rgb_enabled
double m_LG_scaleRed
double m_LG_scaleGreen
double m_LG_scaleBlue
double m_LG_scaleX
double m_LG_scaleY

Detailed Description

Definition at line 288 of file wxluxgui.h.


Constructor & Destructor Documentation

LuxGui::LuxLightGroupPanel::LuxLightGroupPanel ( LuxGui gui,
wxWindow parent,
wxWindowID  id = wxID_ANY,
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxSize( -1,-1 ),
long  style = wxTAB_TRAVERSAL 
)

Member Function Documentation

int LuxGui::LuxLightGroupPanel::GetIndex (  )  const

Definition at line 2782 of file wxluxgui.cpp.

References m_Index.

void LuxGui::LuxLightGroupPanel::OnCheckBox ( wxCommandEvent &  event  )  [protected, virtual]
void LuxGui::LuxLightGroupPanel::OnColourChanged ( wxColourPickerEvent &  event  )  [protected, virtual]
void LuxGui::LuxLightGroupPanel::OnMouse ( wxMouseEvent &  event  )  [protected, virtual]
void LuxGui::LuxLightGroupPanel::OnScroll ( wxScrollEvent &  event  )  [protected, virtual]
void LuxGui::LuxLightGroupPanel::OnText ( wxCommandEvent &  event  )  [protected, virtual]
void LuxGui::LuxLightGroupPanel::ResetValues (  ) 
void LuxGui::LuxLightGroupPanel::ResetValuesFromFilm ( bool  useDefaults = true  ) 
int LuxGui::LuxLightGroupPanel::ScaleToSliderVal ( float  scale  )  [protected]

Definition at line 3037 of file wxluxgui.cpp.

References FLOAT_SLIDER_RES, LG_SCALE_LOG_MAX, and LG_SCALE_LOG_MIN.

Referenced by OnText(), and UpdateWidgetValues().

void LuxGui::LuxLightGroupPanel::SetIndex ( int  index  ) 
void LuxGui::LuxLightGroupPanel::SetWidgetsEnabled ( bool  enabled  )  [protected]
float LuxGui::LuxLightGroupPanel::SliderValToScale ( int  sliderval  )  [protected]

Definition at line 3049 of file wxluxgui.cpp.

References FLOAT_SLIDER_RES, LG_SCALE_LOG_MAX, and LG_SCALE_LOG_MIN.

Referenced by OnScroll().

void LuxGui::LuxLightGroupPanel::UpdateWidgetValues (  ) 

Member Data Documentation

Definition at line 315 of file wxluxgui.h.

Referenced by OnCheckBox(), OnColourChanged(), OnMouse(), OnScroll(), and OnText().

Definition at line 318 of file wxluxgui.h.

Referenced by OnMouse(), ResetValues(), ResetValuesFromFilm(), and UpdateWidgetValues().

Definition at line 319 of file wxluxgui.h.

Referenced by OnScroll(), OnText(), ResetValues(), ResetValuesFromFilm(), and UpdateWidgetValues().

Definition at line 324 of file wxluxgui.h.

Referenced by ResetValues().

Definition at line 324 of file wxluxgui.h.

Referenced by ResetValues().


The documentation for this class was generated from the following files:
Generated by  doxygen 1.6.2-20100208