#include <canvas.h>
|
| Push2Canvas (Push2 &p2, int cols, int rows) |
|
| ~Push2Canvas () |
|
void | request_redraw () |
|
void | request_redraw (ArdourCanvas::Rect const &) |
|
void | queue_resize () |
|
bool | vblank () |
|
int | rows () const |
|
int | cols () const |
|
ArdourCanvas::Coord | width () const |
|
ArdourCanvas::Coord | height () const |
|
void | request_size (ArdourCanvas::Duple) |
|
ArdourCanvas::Rect | visible_area () const |
|
void | ungrab () |
|
void | grab (ArdourCanvas::Item *) |
|
void | focus (ArdourCanvas::Item *) |
|
void | unfocus (ArdourCanvas::Item *) |
|
void | re_enter () |
|
void | pick_current_item (int) |
|
void | pick_current_item (ArdourCanvas::Duple const &, int) |
|
bool | get_mouse_position (ArdourCanvas::Duple &) const |
|
Glib::RefPtr< Pango::Context > | get_pango_context () |
|
| Canvas () |
|
virtual | ~Canvas () |
|
virtual bool | have_grab () const |
|
virtual bool | grab_can_translate () const |
|
void | render (Rect const &, Cairo::RefPtr< Cairo::Context > const &) const |
|
void | prepare_for_render (Rect const &) const |
|
gint64 | get_last_render_start_timestamp () const |
|
gint64 | get_microseconds_since_render_start () const |
|
Item * | root () |
|
void | freeze_queue_draw () |
|
void | thaw_queue_draw () |
|
void | set_background_color (Gtkmm2ext::Color) |
|
Gtkmm2ext::Color | background_color () const |
|
virtual void | item_going_away (Item *, Rect) |
|
virtual void | item_shown_or_hidden (Item *) |
|
void | item_visual_property_changed (Item *) |
|
void | item_changed (Item *, Rect) |
|
void | item_moved (Item *, Rect) |
|
Duple | canvas_to_window (Duple const &, bool rounded=true) const |
|
Duple | window_to_canvas (Duple const &) const |
|
void | canvas_to_window (Coord cx, Coord cy, Coord &wx, Coord &wy) |
|
void | window_to_canvas (Coord wx, Coord wy, Coord &cx, Coord &cy) |
|
void | scroll_to (Coord x, Coord y) |
|
void | add_scroller (ScrollGroup &i) |
|
Duple | clamp_to_window (Duple const &winpos, Duple border=Duple()) |
|
void | zoomed () |
|
std::string | indent () const |
|
std::string | render_indent () const |
|
void | dump (std::ostream &) const |
|
virtual void | start_tooltip_timeout (Item *) |
|
virtual void | stop_tooltip_timeout () |
|
void | use_intermediate_surface (bool yn=true) |
|
void | set_debug_render (bool yn) |
|
bool | debug_render () const |
|
Definition at line 43 of file surfaces/push2/canvas.h.
◆ Push2Canvas()
ArdourSurface::Push2Canvas::Push2Canvas |
( |
Push2 & |
p2, |
|
|
int |
cols, |
|
|
int |
rows |
|
) |
| |
◆ ~Push2Canvas()
ArdourSurface::Push2Canvas::~Push2Canvas |
( |
| ) |
|
◆ blit_to_device_sample_buffer()
int ArdourSurface::Push2Canvas::blit_to_device_sample_buffer |
( |
| ) |
|
|
private |
◆ cols()
int ArdourSurface::Push2Canvas::cols |
( |
| ) |
const |
|
inline |
◆ expose()
bool ArdourSurface::Push2Canvas::expose |
( |
| ) |
|
|
private |
◆ focus()
◆ get_mouse_position()
Store the coordinates of the mouse pointer in window coordinates in winpos
. Return true if the position was within the window, false otherwise.
Implements ArdourCanvas::Canvas.
Definition at line 72 of file surfaces/push2/canvas.h.
◆ get_pango_context()
Glib::RefPtr<Pango::Context> ArdourSurface::Push2Canvas::get_pango_context |
( |
| ) |
|
|
virtual |
◆ grab()
◆ height()
◆ inter_button_spacing()
static double ArdourSurface::Push2Canvas::inter_button_spacing |
( |
| ) |
|
|
inlinestatic |
◆ pick_current_item() [1/2]
◆ pick_current_item() [2/2]
void ArdourSurface::Push2Canvas::pick_current_item |
( |
int |
| ) |
|
|
inlinevirtual |
◆ pixel_area()
int ArdourSurface::Push2Canvas::pixel_area |
( |
| ) |
const |
|
inlineprivate |
◆ queue_resize()
void ArdourSurface::Push2Canvas::queue_resize |
( |
| ) |
|
|
virtual |
◆ re_enter()
void ArdourSurface::Push2Canvas::re_enter |
( |
| ) |
|
|
inlinevirtual |
◆ request_redraw() [1/2]
void ArdourSurface::Push2Canvas::request_redraw |
( |
| ) |
|
◆ request_redraw() [2/2]
called to request a redraw of an area of the canvas in WINDOW coordinates
Implements ArdourCanvas::Canvas.
◆ request_size()
called to ask the canvas to request a particular size from its host
Implements ArdourCanvas::Canvas.
◆ rows()
int ArdourSurface::Push2Canvas::rows |
( |
| ) |
const |
|
inline |
◆ unfocus()
◆ ungrab()
void ArdourSurface::Push2Canvas::ungrab |
( |
| ) |
|
|
inlinevirtual |
◆ vblank()
bool ArdourSurface::Push2Canvas::vblank |
( |
| ) |
|
◆ visible_area()
◆ width()
◆ _cols
int ArdourSurface::Push2Canvas::_cols |
|
private |
◆ _context
Cairo::RefPtr<Cairo::Context> ArdourSurface::Push2Canvas::_context |
|
private |
◆ _device_sample_buffer
uint16_t* ArdourSurface::Push2Canvas::_device_sample_buffer |
|
private |
◆ _expose_region
Cairo::RefPtr<Cairo::Region> ArdourSurface::Push2Canvas::_expose_region |
|
private |
◆ _p2
Push2& ArdourSurface::Push2Canvas::_p2 |
|
private |
◆ _pango_context
Glib::RefPtr<Pango::Context> ArdourSurface::Push2Canvas::_pango_context |
|
private |
◆ _pixels_per_row
const int ArdourSurface::Push2Canvas::_pixels_per_row |
|
staticprivate |
◆ _rows
int ArdourSurface::Push2Canvas::_rows |
|
private |
◆ _sample_buffer
Cairo::RefPtr<Cairo::ImageSurface> ArdourSurface::Push2Canvas::_sample_buffer |
|
private |
◆ _sample_header
uint8_t ArdourSurface::Push2Canvas::_sample_header[16] |
|
private |
The documentation for this class was generated from the following file: