#include <compressor.h>
Inherits BC_Window.

Public Member Functions | |
| CompressorWindow (CompressorEffect *plugin, int x, int y) | |
| void | create_objects () |
| void | update () |
| void | update_textboxes () |
| void | update_canvas () |
| int | close_event () |
| void | draw_scales () |
Data Fields | |
| CompressorCanvas * | canvas |
| CompressorReaction * | reaction |
| CompressorClear * | clear |
| CompressorX * | x_text |
| CompressorY * | y_text |
| CompressorTrigger * | trigger |
| CompressorDecay * | decay |
| CompressorSmooth * | smooth |
| CompressorInput * | input |
| CompressorEffect * | plugin |
Definition at line 111 of file compressor.h.
| CompressorWindow::CompressorWindow | ( | CompressorEffect * | plugin, | |
| int | x, | |||
| int | y | |||
| ) |
Definition at line 864 of file compressor.C.
| void CompressorWindow::create_objects | ( | ) |
Definition at line 879 of file compressor.C.
References _, BC_WindowBase::add_subwindow(), BC_WindowBase::BC_Title, canvas, clear, CompressorInput::create_objects(), CROSS_CURSOR, decay, BC_TextBox::disable(), draw_scales(), BC_WindowBase::flush(), BC_WindowBase::get_h(), BC_WindowBase::get_w(), input, plugin, reaction, BC_WindowBase::set_cursor(), BC_WindowBase::show_window(), smooth, CompressorConfig::TRIGGER, trigger, update_canvas(), BC_WindowBase::x, x_text, BC_WindowBase::y, and y_text.

| void CompressorWindow::update | ( | ) |
Definition at line 995 of file compressor.C.
References update_canvas(), and update_textboxes().

| void CompressorWindow::update_textboxes | ( | ) |
Definition at line 1001 of file compressor.C.
References canvas, CompressorCanvas::current_operation, CompressorCanvas::current_point, decay, BC_TextBox::disable(), CompressorCanvas::DRAG, BC_TextBox::enable(), EQUIV, BC_TextBox::get_enabled(), BC_PopupMenu::get_text(), BC_TextBox::get_text(), input, CompressorEffect::levels, plugin, reaction, BC_PopupMenu::set_text(), smooth, CompressorConfig::TRIGGER, trigger, BC_Toggle::update(), BC_TextBox::update(), CompressorInput::value_to_text(), ArrayList< TYPE >::values, compressor_point_t::x, x_text, compressor_point_t::y, and y_text.
Referenced by update().

| void CompressorWindow::update_canvas | ( | ) |
Definition at line 1027 of file compressor.C.
References _, BLACK, canvas, BC_WindowBase::clear_box(), DIVISIONS, BC_WindowBase::draw_box(), BC_WindowBase::draw_line(), BC_WindowBase::draw_text(), BC_WindowBase::flash(), BC_WindowBase::flush(), BC_WindowBase::get_h(), BC_WindowBase::get_text_height(), BC_WindowBase::get_text_width(), BC_WindowBase::get_w(), GREEN, CompressorEffect::levels, MEDIUMFONT, plugin, POINT_W, BC_WindowBase::set_color(), BC_WindowBase::set_font(), ArrayList< TYPE >::total, BC_WindowBase::x, and BC_WindowBase::y.
Referenced by create_objects(), and update().

| int CompressorWindow::close_event | ( | ) | [virtual] |
Reimplemented from BC_WindowBase.
| void CompressorWindow::draw_scales | ( | ) |
Definition at line 930 of file compressor.C.
References BCTEXTLEN, canvas, DIVISIONS, BC_WindowBase::draw_line(), BC_WindowBase::draw_text(), BC_WindowBase::flash(), BC_WindowBase::get_h(), BC_WindowBase::get_resources(), BC_WindowBase::get_w(), BC_WindowBase::get_x(), BC_WindowBase::get_y(), plugin, BC_WindowBase::set_color(), BC_WindowBase::set_font(), SMALLFONT, BC_WindowBase::x, and BC_WindowBase::y.
Referenced by create_objects().

Definition at line 123 of file compressor.h.
Referenced by create_objects(), draw_scales(), update_canvas(), and update_textboxes().
Definition at line 124 of file compressor.h.
Referenced by create_objects(), and update_textboxes().
Definition at line 126 of file compressor.h.
Referenced by create_objects(), and update_textboxes().
Definition at line 127 of file compressor.h.
Referenced by create_objects(), and update_textboxes().
Definition at line 128 of file compressor.h.
Referenced by create_objects(), and update_textboxes().
Definition at line 129 of file compressor.h.
Referenced by create_objects(), and update_textboxes().
Definition at line 130 of file compressor.h.
Referenced by create_objects(), and update_textboxes().
Definition at line 131 of file compressor.h.
Referenced by create_objects(), and update_textboxes().
Definition at line 132 of file compressor.h.
Referenced by create_objects(), draw_scales(), update_canvas(), and update_textboxes().
1.5.5