AgsCellPattern

AgsCellPattern — cell pattern sequencer

Stability Level

Stable, unless otherwise indicated

Functions

Types and Values

Includes

#include <ags/app/machine/ags_cell_pattern.h>

Description

The AgsCellPattern is a composite widget to act as cell pattern sequencer.

Functions

ags_cell_pattern_draw_grid ()

void
ags_cell_pattern_draw_grid (AgsCellPattern *cell_pattern,
                            cairo_t *cr);

ags_cell_pattern_draw_matrix ()

void
ags_cell_pattern_draw_matrix (AgsCellPattern *cell_pattern,
                              cairo_t *cr);

ags_cell_pattern_draw_cursor ()

void
ags_cell_pattern_draw_cursor (AgsCellPattern *cell_pattern,
                              cairo_t *cr);

ags_cell_pattern_redraw_gutter_point ()

void
ags_cell_pattern_redraw_gutter_point (AgsCellPattern *cell_pattern,
                                      cairo_t *cr,
                                      AgsChannel *channel,
                                      guint j,
                                      guint i);

ags_cell_pattern_highlight_gutter_point ()

void
ags_cell_pattern_highlight_gutter_point
                               (AgsCellPattern *cell_pattern,
                                cairo_t *cr,
                                guint j,
                                guint i);

ags_cell_pattern_unpaint_gutter_point ()

void
ags_cell_pattern_unpaint_gutter_point (AgsCellPattern *cell_pattern,
                                       cairo_t *cr,
                                       guint j,
                                       guint i);

ags_cell_pattern_new ()

AgsCellPattern *
ags_cell_pattern_new ();

Creates an AgsCellPattern

Returns

a new AgsCellPattern

Since: 3.0.0

Types and Values

AGS_CELL_PATTERN_DEFAULT_CELL_WIDTH

#define AGS_CELL_PATTERN_DEFAULT_CELL_WIDTH   (12)

AGS_CELL_PATTERN_DEFAULT_CELL_HEIGHT

#define AGS_CELL_PATTERN_DEFAULT_CELL_HEIGHT  (10)

AGS_CELL_PATTERN_MAX_CONTROLS_SHOWN_HORIZONTALLY

#define AGS_CELL_PATTERN_MAX_CONTROLS_SHOWN_HORIZONTALLY (32)

AGS_CELL_PATTERN_MAX_CONTROLS_SHOWN_VERTICALLY

#define AGS_CELL_PATTERN_MAX_CONTROLS_SHOWN_VERTICALLY (10)

AGS_CELL_PATTERN_DEFAULT_CONTROLS_HORIZONTALLY

#define AGS_CELL_PATTERN_DEFAULT_CONTROLS_HORIZONTALLY (32)

AGS_CELL_PATTERN_DEFAULT_CONTROLS_VERTICALLY

#define AGS_CELL_PATTERN_DEFAULT_CONTROLS_VERTICALLY (78)

enum AgsCellPatternFlags

Members

AGS_CELL_PATTERN_CURSOR_ON

   

enum AgsCellPatternKeyMask

Members

AGS_CELL_PATTERN_KEY_L_CONTROL

   

AGS_CELL_PATTERN_KEY_R_CONTROL

   

enum AgsCellPatternAction

Members

AGS_CELL_PATTERN_MOVE_LEFT

   

AGS_CELL_PATTERN_MOVE_RIGHT

   

AGS_CELL_PATTERN_MOVE_UP

   

AGS_CELL_PATTERN_MOVE_DOWN

   

AGS_CELL_PATTERN_TOGGLE_PAD

   

AGS_CELL_PATTERN_COPY_PATTERN