ResourcePixmap Class Reference

#include <resourcepixmap.h>

Inherits BC_Pixmap.

Collaboration diagram for ResourcePixmap:

Collaboration graph
[legend]

Public Member Functions

 ResourcePixmap (MWindow *mwindow, TrackCanvas *canvas, Edit *edit, int w, int h)
 ~ResourcePixmap ()
void resize (int w, int h)
void draw_data (Edit *edit, int64_t edit_x, int64_t edit_w, int64_t pixmap_x, int64_t pixmap_w, int64_t pixmap_h, int mode, int indexes_only)
void draw_audio_resource (Edit *edit, int x, int w)
void draw_video_resource (Edit *edit, int64_t edit_x, int64_t edit_w, int64_t pixmap_x, int64_t pixmap_w, int refresh_x, int refresh_w, int mode)
void draw_audio_source (Edit *edit, int x, int w)
void draw_wave (int x, double high, double low)
void draw_title (Edit *edit, int64_t edit_x, int64_t edit_w, int64_t pixmap_x, int64_t pixmap_w)
void reset ()
void test_timer ()
void dump ()

Data Fields

MWindowmwindow
TrackCanvascanvas
int visible
int64_t edit_id
int64_t edit_x
int64_t pixmap_x
int64_t pixmap_w
int64_t pixmap_h
int64_t zoom_sample
int64_t zoom_track
int64_t zoom_y
int64_t startsource
double source_framerate
double project_framerate
int64_t source_samplerate
int64_t project_samplerate
int data_type
Timertimer

Detailed Description

Definition at line 13 of file resourcepixmap.h.


Constructor & Destructor Documentation

ResourcePixmap::ResourcePixmap ( MWindow mwindow,
TrackCanvas canvas,
Edit edit,
int  w,
int  h 
)

ResourcePixmap::~ResourcePixmap (  ) 

Definition at line 49 of file resourcepixmap.C.


Member Function Documentation

void ResourcePixmap::resize ( int  w,
int  h 
)

Reimplemented from BC_Pixmap.

Definition at line 66 of file resourcepixmap.C.

References BC_Pixmap::get_h(), BC_Pixmap::get_w(), and BC_Pixmap::resize().

Referenced by TrackCanvas::draw_resources().

Here is the call graph for this function:

void ResourcePixmap::draw_data ( Edit edit,
int64_t  edit_x,
int64_t  edit_w,
int64_t  pixmap_x,
int64_t  pixmap_w,
int64_t  pixmap_h,
int  mode,
int  indexes_only 
)

void ResourcePixmap::draw_audio_resource ( Edit edit,
int  x,
int  w 
)

void ResourcePixmap::draw_video_resource ( Edit edit,
int64_t  edit_x,
int64_t  edit_w,
int64_t  pixmap_x,
int64_t  pixmap_w,
int  refresh_x,
int  refresh_w,
int  mode 
)

void ResourcePixmap::draw_audio_source ( Edit edit,
int  x,
int  w 
)

void ResourcePixmap::draw_wave ( int  x,
double  high,
double  low 
)

void ResourcePixmap::draw_title ( Edit edit,
int64_t  edit_x,
int64_t  edit_w,
int64_t  pixmap_x,
int64_t  pixmap_w 
)

void ResourcePixmap::reset (  ) 

Reimplemented from BC_Pixmap.

Definition at line 54 of file resourcepixmap.C.

References edit_x, pixmap_h, pixmap_w, pixmap_x, visible, zoom_sample, zoom_track, and zoom_y.

Referenced by ResourcePixmap().

void ResourcePixmap::test_timer (  ) 

void ResourcePixmap::dump (  ) 

Definition at line 766 of file resourcepixmap.C.

References edit_id, edit_x, pixmap_w, pixmap_x, and visible.


Field Documentation

Definition at line 56 of file resourcepixmap.h.

Referenced by TrackCanvas::draw_resources(), dump(), and reset().

Definition at line 59 of file resourcepixmap.h.

Referenced by draw_audio_source(), dump(), and reset().

Definition at line 59 of file resourcepixmap.h.

Referenced by TrackCanvas::draw_resources(), dump(), and reset().

Definition at line 59 of file resourcepixmap.h.

Referenced by TrackCanvas::draw_resources(), and reset().

Definition at line 60 of file resourcepixmap.h.

Referenced by draw_data(), and reset().

Definition at line 60 of file resourcepixmap.h.

Referenced by draw_data(), and reset().

Definition at line 60 of file resourcepixmap.h.

Referenced by draw_data(), and reset().

Definition at line 61 of file resourcepixmap.h.

Referenced by draw_data(), and ResourcePixmap().

Definition at line 62 of file resourcepixmap.h.

Referenced by draw_data(), and ResourcePixmap().

Definition at line 62 of file resourcepixmap.h.

Referenced by draw_data(), and ResourcePixmap().

Definition at line 63 of file resourcepixmap.h.

Referenced by draw_data(), and ResourcePixmap().

Definition at line 63 of file resourcepixmap.h.

Referenced by draw_data(), and ResourcePixmap().

Definition at line 64 of file resourcepixmap.h.

Referenced by draw_data(), and ResourcePixmap().

Definition at line 66 of file resourcepixmap.h.


The documentation for this class was generated from the following files:

Generated on Mon Apr 28 14:41:08 2008 for Cinelerra by  doxygen 1.5.5