#include <gammawindow.h>
Inherits BC_Window.

Public Member Functions | |
| GammaWindow (GammaMain *client, int x, int y) | |
| int | create_objects () |
| int | close_event () |
| void | update () |
| void | update_histogram () |
Data Fields | |
| BC_SubWindow * | histogram |
| GammaMain * | client |
| MaxSlider * | max_slider |
| MaxText * | max_text |
| GammaSlider * | gamma_slider |
| GammaText * | gamma_text |
| GammaAuto * | automatic |
| GammaPlot * | plot |
Definition at line 24 of file gammawindow.h.
| GammaWindow::GammaWindow | ( | GammaMain * | client, | |
| int | x, | |||
| int | y | |||
| ) |
Definition at line 16 of file gammawindow.C.
| int GammaWindow::create_objects | ( | ) |
Definition at line 29 of file gammawindow.C.
References _, BC_WindowBase::add_subwindow(), BC_WindowBase::add_tool(), automatic, BC_WindowBase::BC_SubWindow, BC_WindowBase::BC_Title, client, BC_WindowBase::flush(), gamma_slider, gamma_text, BC_WindowBase::get_h(), BC_WindowBase::get_w(), histogram, max_slider, max_text, plot, BC_WindowBase::show_window(), BC_WindowBase::title, WHITE, BC_WindowBase::x, and BC_WindowBase::y.

| int GammaWindow::close_event | ( | ) | [virtual] |
Reimplemented from BC_WindowBase.
| void GammaWindow::update | ( | ) |
Definition at line 84 of file gammawindow.C.
References automatic, client, gamma_slider, gamma_text, max_slider, max_text, plot, BC_Toggle::update(), BC_TextBox::update(), BC_FSlider::update(), and update_histogram().

| void GammaWindow::update_histogram | ( | ) |
Definition at line 95 of file gammawindow.C.
References GammaEngine::accum, BC_WindowBase::clear_box(), client, BC_WindowBase::draw_line(), GammaMain::engine, BC_WindowBase::flash(), BC_WindowBase::get_h(), BC_WindowBase::get_w(), GREEN, BC_WindowBase::h, histogram, HISTOGRAM_SIZE, MEGREY, BC_WindowBase::set_color(), and BC_WindowBase::x.
Referenced by GammaSlider::handle_event(), MaxSlider::handle_event(), and update().

Definition at line 35 of file gammawindow.h.
Referenced by create_objects(), and update_histogram().
Definition at line 36 of file gammawindow.h.
Referenced by create_objects(), update(), and update_histogram().
Definition at line 37 of file gammawindow.h.
Referenced by create_objects(), GammaColorPicker::handle_event(), MaxText::handle_event(), and update().
Definition at line 38 of file gammawindow.h.
Referenced by create_objects(), GammaColorPicker::handle_event(), MaxSlider::handle_event(), and update().
Definition at line 39 of file gammawindow.h.
Referenced by create_objects(), GammaText::handle_event(), and update().
Definition at line 40 of file gammawindow.h.
Referenced by create_objects(), GammaSlider::handle_event(), and update().
1.5.5