Logo Search packages:      
Sourcecode: ardour version File versions  Download package

ImageFrameView Class Reference

#include <imageframe_view.h>

Inheritance diagram for ImageFrameView:


List of all members.

Detailed Description

An ImageFrameItem to display an image upon the ardour time line

Definition at line 41 of file imageframe_view.h.

Public Member Functions

void add_marker_view_item (MarkerView *item, void *src)
GtkCanvasItem * get_canvas_frame ()
GtkCanvasItem * get_canvas_group ()
jack_nframes_t get_duration () const
virtual std::string get_item_name () const
jack_nframes_t get_max_duration () const
bool get_max_duration_active () const
jack_nframes_t get_min_duration () const
bool get_min_duration_active () const
GtkCanvasItem * get_name_highlight ()
GtkCanvasItem * get_name_text ()
jack_nframes_t get_position () const
bool get_position_locked () const
double get_samples_per_unit ()
bool get_selected () const
ImageFrameTimeAxisGroupget_time_axis_group ()
TimeAxisViewget_time_axis_view ()
bool has_marker_view_item (std::string markId)
 ImageFrameView (std::string item_id, GtkCanvasGroup *parent, ImageFrameTimeAxis *tv, ImageFrameTimeAxisGroup *group, double spu, GdkColor &base_color, jack_nframes_t start, jack_nframes_t duration, unsigned char *rgb_data, uint32_t width, uint32_t height, uint32_t num_channels)
virtual void lower ()
virtual void lower_to_bottom ()
bool name_active () const
virtual void raise ()
virtual void raise_to_top ()
void remove_marker_view_item (MarkerView *item, void *src)
MarkerViewremove_named_marker_view_item (std::string markId, void *src)
virtual void remove_this_item (void *src)
void set_color (GdkColor &color)
virtual bool set_duration (jack_nframes_t dur, void *src)
virtual void set_height (double h)
virtual void set_height (gdouble h)
void set_item_name (std::string new_name, void *src)
virtual void set_max_duration (jack_nframes_t dur, void *src)
void set_max_duration_active (bool active, void *src)
virtual void set_min_duration (jack_nframes_t dur, void *src)
void set_min_duration_active (bool active, void *src)
void set_name_text (std::string new_name)
virtual bool set_position (jack_nframes_t pos, void *src, double *delta=0)
virtual bool set_position (jack_nframes_t pos, void *src)
virtual void set_position_locked (bool yn, void *src)
virtual void set_samples_per_unit (double spu)
virtual void set_selected (bool)
virtual void set_selected (bool yn, void *src)
virtual void set_should_show_selection (bool yn)
void set_time_axis_group (ImageFrameTimeAxisGroup *group)
 ~ImageFrameView ()

Public Attributes

SigC::Signal2< void,
jack_nframes_t, void * > 
SigC::Signal2< void,
std::string, void * > 
SigC::Signal2< void,
MarkerView *, void * > 
SigC::Signal2< void,
MarkerView *, void * > 
SigC::Signal2< void,
jack_nframes_t, void * > 
SigC::Signal2< void,
jack_nframes_t, void * > 
SigC::Signal3< void,
std::string, std::string, void * > 
SigC::Signal2< void,
jack_nframes_t, void * > 
SigC::Signal2< void, bool, void * > PositionLockChanged
SigC::Signal1< void, bool > Selected

Static Public Attributes

static SigC::Signal1< void,
ImageFrameView * > 
static const double GRAB_HANDLE_LENGTH = 6
static std::string NAME_FONT
static const double NAME_HIGHLIGHT_SIZE = 15.0
static const double NAME_HIGHLIGHT_THRESH = 32.0
static const double NAME_X_OFFSET = 15.0
static const double NAME_Y_OFFSET = 15.0

Protected Types

enum  Visibility { ShowFrame = 0x1, ShowNameHighlight = 0x2, ShowNameText = 0x4, ShowHandles = 0x8 }

Protected Member Functions

virtual void compute_colors (GdkColor &color)
void reset_name_width (double pixel_width)
virtual void reset_width_dependent_items (double pixel_width)
virtual void set_colors ()
void set_frame_color ()
void set_trim_handle_colors ()

Static Protected Member Functions

static gint idle_remove_this_item (TimeAxisViewItem *item, void *src)

Protected Attributes

bool _selected
uint32_t fill_color
uint32_t fill_opacity
GtkCanvasItem * frame
uint32_t frame_color_b
uint32_t frame_color_g
uint32_t frame_color_r
GtkCanvasItem * frame_handle_end
GtkCanvasItem * frame_handle_start
jack_nframes_t frame_position
GtkCanvasItem * group
uint32_t handle_color_b
uint32_t handle_color_g
uint32_t handle_color_r
jack_nframes_t item_duration
std::string item_name
uint32_t label_color
uint32_t lock_handle_color_b
uint32_t lock_handle_color_g
uint32_t lock_handle_color_r
bool max_duration_active
jack_nframes_t max_item_duration
bool min_duration_active
jack_nframes_t min_item_duration
bool name_connected
GtkCanvasItem * name_highlight
GtkCanvasItem * name_text
bool position_locked
double samples_per_unit
bool selected
uint32_t selected_frame_color_b
uint32_t selected_frame_color_g
uint32_t selected_frame_color_r
bool should_show_selection
bool show_vestigial
GtkCanvasItem * vestigial_frame

Private Types

typedef std::list< MarkerView * > MarkerViewList

Private Attributes

uint32_t image_data_height
uint32_t image_data_num_channels
uint32_t image_data_width
GtkCanvasItem * imageframe
MarkerViewList marker_view_list

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

Generated by  Doxygen 1.6.0   Back to index