Ardour  9.0-pre0-822-g12e3bc5c20
CimgWaveArea Class Reference

#include <export_report.h>

Inheritance diagram for CimgWaveArea:
[legend]

Public Member Functions

 CimgWaveArea (Cairo::RefPtr< Cairo::ImageSurface > sf, Cairo::RefPtr< Cairo::ImageSurface > sf_log, Cairo::RefPtr< Cairo::ImageSurface > sf_rect, Cairo::RefPtr< Cairo::ImageSurface > sf_logrec, float x0, float w)
 
void set_logscale (bool en)
 
void set_rectified (bool en)
 
- Public Member Functions inherited from CimgPlayheadArea
 CimgPlayheadArea (Cairo::RefPtr< Cairo::ImageSurface > sf, float x0, float w, bool h=false)
 
void set_playhead (float pos)
 
- Public Member Functions inherited from CimgArea
 CimgArea (Cairo::RefPtr< Cairo::ImageSurface > sf)
 
- Public Member Functions inherited from CairoWidget
 CairoWidget ()
 
virtual ~CairoWidget ()
 
void set_canvas_widget ()
 
void use_nsglview (bool retina=true)
 
void use_image_surface (bool yn=true)
 
void queue_draw ()
 
void queue_resize ()
 
int get_width () const
 
int get_height () const
 
void size_allocate (Gtk::Allocation &)
 
void set_dirty (cairo_rectangle_t *area=0)
 
Gtkmm2ext::ActiveState active_state () const
 
Gtkmm2ext::VisualState visual_state () const
 
virtual void set_active_state (Gtkmm2ext::ActiveState)
 
virtual void set_visual_state (Gtkmm2ext::VisualState)
 
void unset_active_state ()
 
void unset_visual_state ()
 
void set_active (bool)
 
bool get_active () const
 
void set_draw_background (bool yn)
 
uint32_t background_color ()
 
- Public Member Functions inherited from Gtkmm2ext::CairoCanvas
virtual ~CairoCanvas ()
 

Protected Member Functions

virtual void background (cairo_t *cr, cairo_rectangle_t *r)
 
- Protected Member Functions inherited from CimgPlayheadArea
virtual void overlay (cairo_t *cr, cairo_rectangle_t *r)
 
bool on_button_press_event (GdkEventButton *ev)
 
- Protected Member Functions inherited from CimgArea
virtual void render (Cairo::RefPtr< Cairo::Context > const &ctx, cairo_rectangle_t *r)
 
- Protected Member Functions inherited from CairoWidget
virtual bool on_expose_event (GdkEventExpose *)
 
void on_size_allocate (Gtk::Allocation &)
 
void on_state_changed (Gtk::StateType)
 
void on_style_changed (const Glib::RefPtr< Gtk::Style > &)
 
void on_realize ()
 
bool on_button_press_event (GdkEventButton *)
 
Gdk::Color get_parent_bg ()
 
void on_map ()
 
void on_unmap ()
 
virtual void on_name_changed ()
 

Private Attributes

Cairo::RefPtr< Cairo::ImageSurface > _sf_log
 
Cairo::RefPtr< Cairo::ImageSurface > _sf_rect
 
Cairo::RefPtr< Cairo::ImageSurface > _sf_logrec
 
bool _logscale
 
bool _rectified
 

Additional Inherited Members

- Static Public Member Functions inherited from CairoWidget
static void provide_background_for_cairo_widget (Gtk::Widget &w, const Gdk::Color &bg)
 
static void set_source_rgb_a (cairo_t *cr, Gdk::Color, float a=1.0)
 
static void set_source_rgb_a (cairo_t *cr, Gtkmm2ext::Color, float a=1.0)
 
static void set_focus_handler (sigc::slot< void, Gtk::Widget * >)
 
- Static Public Member Functions inherited from Gtkmm2ext::CairoTheme
static void set_flat_buttons (bool yn)
 
static void set_boxy_buttons (bool yn)
 
static void set_widget_prelight (bool yn)
 
static bool flat_buttons ()
 
static bool boxy_buttons ()
 
static bool widget_prelight ()
 
- Public Attributes inherited from CimgPlayheadArea
sigc::signal< void, float > seek_playhead
 
- Public Attributes inherited from CairoWidget
sigc::signal< void > StateChanged
 
sigc::signal< bool > QueueDraw
 
sigc::signal< bool > QueueResize
 
- Protected Attributes inherited from CimgArea
Cairo::RefPtr< Cairo::ImageSurface > _surface
 
- Protected Attributes inherited from CairoWidget
Gtkmm2ext::ActiveState _active_state
 
Gtkmm2ext::VisualState _visual_state
 
bool _need_bg
 
bool _grabbed
 
- Static Protected Attributes inherited from CairoWidget
static sigc::slot< void, Gtk::Widget * > focus_handler
 

Detailed Description

Definition at line 135 of file export_report.h.

Constructor & Destructor Documentation

◆ CimgWaveArea()

CimgWaveArea::CimgWaveArea ( Cairo::RefPtr< Cairo::ImageSurface >  sf,
Cairo::RefPtr< Cairo::ImageSurface >  sf_log,
Cairo::RefPtr< Cairo::ImageSurface >  sf_rect,
Cairo::RefPtr< Cairo::ImageSurface >  sf_logrec,
float  x0,
float  w 
)
inline

Definition at line 138 of file export_report.h.

Member Function Documentation

◆ background()

virtual void CimgWaveArea::background ( cairo_t *  cr,
cairo_rectangle_t *  r 
)
inlineprotectedvirtual

Reimplemented from CimgArea.

Definition at line 165 of file export_report.h.

◆ set_logscale()

void CimgWaveArea::set_logscale ( bool  en)
inline

Definition at line 153 of file export_report.h.

◆ set_rectified()

void CimgWaveArea::set_rectified ( bool  en)
inline

Definition at line 158 of file export_report.h.

Member Data Documentation

◆ _logscale

bool CimgWaveArea::_logscale
private

Definition at line 183 of file export_report.h.

◆ _rectified

bool CimgWaveArea::_rectified
private

Definition at line 184 of file export_report.h.

◆ _sf_log

Cairo::RefPtr<Cairo::ImageSurface> CimgWaveArea::_sf_log
private

Definition at line 180 of file export_report.h.

◆ _sf_logrec

Cairo::RefPtr<Cairo::ImageSurface> CimgWaveArea::_sf_logrec
private

Definition at line 182 of file export_report.h.

◆ _sf_rect

Cairo::RefPtr<Cairo::ImageSurface> CimgWaveArea::_sf_rect
private

Definition at line 181 of file export_report.h.


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