Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

Patch Class Reference

#include <patch.h>

List of all members.

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)
Moduleget_module ()

Public Attributes

int pixel
int data_type
int record
int play
int automate
int draw
char title [1024]
PatchBaypatches
MWindowmwindow
RecordPatchOldrecordpatch
PlayPatchOldplaypatch
TitlePatchOldtitle_text
AutoPatchOldautopatch
DrawPatchOlddrawpatch


Detailed Description

Definition at line 30 of file patch.h.


Constructor & Destructor Documentation

Patch::Patch  )  [inline]
 

Definition at line 33 of file patch.h.

Patch::Patch MWindow mwindow,
PatchBay patchbay,
int  data_type
 

Definition at line 12 of file patch.C.

References automate, draw, patches, play, record, and title.

Patch::~Patch  ) 
 

Definition at line 21 of file patch.C.

References autopatch, drawpatch, MWindow::gui, mwindow, playpatch, recordpatch, and title_text.


Member Function Documentation

int Patch::create_objects char *  text,
int  pixel
 

Definition at line 33 of file patch.C.

References drawpatch, MWindow::gui, mwindow, patches, playpatch, recordpatch, MWindow::session, title, and title_text.

int Patch::flip_vertical  ) 
 

Definition at line 200 of file patch.C.

References autopatch, drawpatch, MWindow::gui, mwindow, PATCH_AUTO, PATCH_DRAW, PATCH_PLAY, PATCH_REC, PATCH_ROW2, PATCH_TITLE, pixel, playpatch, recordpatch, MWindow::session, set_pixel(), and title_text.

Module * Patch::get_module  ) 
 

Definition at line 236 of file patch.C.

Referenced by TitlePatchOld::handle_event().

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(), and title_text.

int Patch::pixelmovement int  distance  ) 
 

Definition at line 226 of file patch.C.

References MWindow::gui, mwindow, pixel, and set_pixel().

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::set_pixel int  pixel  ) 
 

Definition at line 167 of file patch.C.

References autopatch, drawpatch, MWindow::gui, mwindow, PATCH_AUTO, PATCH_DRAW, PATCH_PLAY, PATCH_REC, PATCH_ROW2, playpatch, recordpatch, 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, and title_text.


Member Data Documentation

int Patch::automate
 

Definition at line 50 of file patch.h.

Referenced by load(), Patch(), and save().

AutoPatchOld* Patch::autopatch
 

Definition at line 74 of file patch.h.

Referenced by flip_vertical(), load(), set_pixel(), and ~Patch().

int Patch::data_type
 

Definition at line 47 of file patch.h.

int Patch::draw
 

Definition at line 51 of file patch.h.

Referenced by DrawPatchOld::cursor_moved_over(), DrawPatchOld::handle_event(), load(), Patch(), and save().

DrawPatchOld* Patch::drawpatch
 

Definition at line 75 of file patch.h.

Referenced by create_objects(), flip_vertical(), load(), set_pixel(), and ~Patch().

MWindow* Patch::mwindow
 

Definition at line 69 of file patch.h.

Referenced by create_objects(), flip_vertical(), load(), pixelmovement(), set_pixel(), and ~Patch().

PatchBay* Patch::patches
 

Definition at line 68 of file patch.h.

Referenced by create_objects(), DrawPatchOld::DrawPatchOld(), Patch(), PlayPatchOld::PlayPatchOld(), RecordPatchOld::RecordPatchOld(), and TitlePatchOld::TitlePatchOld().

int Patch::pixel
 

Definition at line 46 of file patch.h.

Referenced by flip_vertical(), and pixelmovement().

int Patch::play
 

Definition at line 49 of file patch.h.

Referenced by PlayPatchOld::cursor_moved_over(), PlayPatchOld::handle_event(), load(), Patch(), and save().

PlayPatchOld* Patch::playpatch
 

Definition at line 72 of file patch.h.

Referenced by create_objects(), flip_vertical(), load(), set_pixel(), and ~Patch().

int Patch::record
 

Definition at line 48 of file patch.h.

Referenced by RecordPatchOld::cursor_moved_over(), RecordPatchOld::handle_event(), load(), Patch(), and save().

RecordPatchOld* Patch::recordpatch
 

Definition at line 71 of file patch.h.

Referenced by create_objects(), flip_vertical(), load(), set_pixel(), and ~Patch().

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().

TitlePatchOld* Patch::title_text
 

Definition at line 73 of file patch.h.

Referenced by create_objects(), flip_vertical(), load(), set_pixel(), set_title(), and ~Patch().


The documentation for this class was generated from the following files:
Generated on Sun Jan 8 13:39:18 2006 for Cinelerra-svn by  doxygen 1.4.4