#include <patch.h>
Inherits ListItem< Patch >.

Public Member Functions | |
| Patch () | |
| Patch (MWindow *mwindow, PatchBay *patchbay, int data_type) | |
| ~Patch () | |
| int | save (FileXML *xml) |
| int | load (FileXML *xml) |
| int | create_objects (char *text, int pixel) |
| int | set_pixel (int pixel) |
| int | set_title (char *new_title) |
| int | flip_vertical () |
| int | pixelmovement (int distance) |
| Module * | get_module () |
Data Fields | |
| int | pixel |
| int | data_type |
| int | record |
| int | play |
| int | automate |
| int | draw |
| char | title [1024] |
| PatchBay * | patches |
| MWindow * | mwindow |
| RecordPatchOld * | recordpatch |
| PlayPatchOld * | playpatch |
| TitlePatchOld * | title_text |
| AutoPatchOld * | autopatch |
| DrawPatchOld * | drawpatch |
Definition at line 30 of file patch.h.
| Patch::~Patch | ( | ) |
Definition at line 21 of file patch.C.
References autopatch, drawpatch, MWindow::gui, mwindow, playpatch, recordpatch, and title_text.
| int Patch::save | ( | FileXML * | xml | ) |
Definition at line 64 of file patch.C.
References FileXML::append_newline(), FileXML::append_tag(), FileXML::append_text(), automate, draw, play, record, XMLTag::set_title(), FileXML::tag, and title.

| int Patch::load | ( | FileXML * | xml | ) |
Definition at line 114 of file patch.C.
References automate, autopatch, draw, drawpatch, MWindow::gui, mwindow, play, playpatch, FileXML::read_tag(), FileXML::read_text(), record, recordpatch, FileXML::tag, title, XMLTag::title_is(), title_text, BC_TextBox::update(), and BC_Toggle::update().

| int Patch::create_objects | ( | char * | text, | |
| int | pixel | |||
| ) |
Definition at line 33 of file patch.C.
References BC_WindowBase::add_subwindow(), drawpatch, MWindow::gui, mwindow, patches, playpatch, recordpatch, MWindow::session, title, and title_text.

| int Patch::set_pixel | ( | int | pixel | ) |
Definition at line 167 of file patch.C.
References autopatch, drawpatch, BC_WindowBase::get_x(), BC_WindowBase::get_y(), MWindow::gui, mwindow, PATCH_AUTO, PATCH_DRAW, PATCH_PLAY, PATCH_REC, PATCH_ROW2, playpatch, recordpatch, BC_TextBox::reposition_window(), BC_Toggle::reposition_window(), MWindow::session, and title_text.
Referenced by flip_vertical(), and pixelmovement().

| int Patch::set_title | ( | char * | new_title | ) |
Definition at line 193 of file patch.C.
References title, title_text, and BC_TextBox::update().

| int Patch::flip_vertical | ( | ) |
Definition at line 200 of file patch.C.
References autopatch, drawpatch, BC_WindowBase::get_x(), BC_WindowBase::get_y(), MWindow::gui, mwindow, PATCH_AUTO, PATCH_DRAW, PATCH_PLAY, PATCH_REC, PATCH_ROW2, PATCH_TITLE, pixel, playpatch, recordpatch, BC_TextBox::reposition_window(), BC_Toggle::reposition_window(), MWindow::session, set_pixel(), and title_text.

| int Patch::pixelmovement | ( | int | distance | ) |
Definition at line 226 of file patch.C.
References MWindow::gui, mwindow, pixel, and set_pixel().

| Module * Patch::get_module | ( | ) |
| int Patch::pixel |
| int Patch::data_type |
| int Patch::record |
Definition at line 48 of file patch.h.
Referenced by RecordPatchOld::cursor_moved_over(), TrackList::get_recordable_type(), RecordPatchOld::handle_event(), load(), Patch(), and save().
| int Patch::play |
Definition at line 49 of file patch.h.
Referenced by PlayPatchOld::cursor_moved_over(), TrackList::get_playable_type(), PlayPatchOld::handle_event(), load(), Patch(), and save().
| int Patch::automate |
| int Patch::draw |
Definition at line 51 of file patch.h.
Referenced by DrawPatchOld::cursor_moved_over(), DrawPatchOld::handle_event(), load(), Patch(), and save().
| char Patch::title[1024] |
Definition at line 52 of file patch.h.
Referenced by create_objects(), TitlePatchOld::handle_event(), load(), Patch(), save(), and set_title().
Definition at line 68 of file patch.h.
Referenced by create_objects(), DrawPatchOld::DrawPatchOld(), Patch(), PlayPatchOld::PlayPatchOld(), RecordPatchOld::RecordPatchOld(), and TitlePatchOld::TitlePatchOld().
Definition at line 69 of file patch.h.
Referenced by create_objects(), flip_vertical(), load(), pixelmovement(), set_pixel(), and ~Patch().
Definition at line 71 of file patch.h.
Referenced by create_objects(), flip_vertical(), load(), set_pixel(), and ~Patch().
Definition at line 72 of file patch.h.
Referenced by create_objects(), flip_vertical(), load(), set_pixel(), and ~Patch().
Definition at line 73 of file patch.h.
Referenced by create_objects(), flip_vertical(), load(), set_pixel(), set_title(), and ~Patch().
Definition at line 74 of file patch.h.
Referenced by flip_vertical(), load(), set_pixel(), and ~Patch().
Definition at line 75 of file patch.h.
Referenced by create_objects(), flip_vertical(), load(), set_pixel(), and ~Patch().
1.5.5