AgsNotationEdit

AgsNotationEdit — edit notes

Stability Level

Stable, unless otherwise indicated

Functions

Types and Values

Includes

#include <ags/app/editor/ags_notation_edit.h>

Description

The AgsNotationEdit lets you edit notes.

Functions

ags_notation_edit_reset_vscrollbar ()

void
ags_notation_edit_reset_vscrollbar (AgsNotationEdit *notation_edit);

ags_notation_edit_reset_hscrollbar ()

void
ags_notation_edit_reset_hscrollbar (AgsNotationEdit *notation_edit);

ags_notation_edit_draw_segment ()

void
ags_notation_edit_draw_segment (AgsNotationEdit *notation_edit,
                                cairo_t *cr);

ags_notation_edit_draw_position ()

void
ags_notation_edit_draw_position (AgsNotationEdit *notation_edit,
                                 cairo_t *cr);

ags_notation_edit_draw_cursor ()

void
ags_notation_edit_draw_cursor (AgsNotationEdit *notation_edit,
                               cairo_t *cr);

ags_notation_edit_draw_selection ()

void
ags_notation_edit_draw_selection (AgsNotationEdit *notation_edit,
                                  cairo_t *cr);

ags_notation_edit_draw_trace ()

void
ags_notation_edit_draw_trace (AgsNotationEdit *notation_edit,
                              cairo_t *cr);

ags_notation_edit_draw_note ()

void
ags_notation_edit_draw_note (AgsNotationEdit *notation_edit,
                             AgsNote *note,
                             cairo_t *cr,
                             gdouble opacity);

ags_notation_edit_draw_notation ()

void
ags_notation_edit_draw_notation (AgsNotationEdit *notation_edit,
                                 cairo_t *cr);

ags_notation_edit_draw ()

void
ags_notation_edit_draw (AgsNotationEdit *notation_edit,
                        cairo_t *cr);

ags_notation_edit_new ()

AgsNotationEdit *
ags_notation_edit_new ();

Create a new AgsNotationEdit.

Returns

a new AgsNotationEdit

Since: 3.0.0

Types and Values

AGS_NOTATION_EDIT_DEFAULT_CONTROL_WIDTH

#define AGS_NOTATION_EDIT_DEFAULT_CONTROL_WIDTH (64)

AGS_NOTATION_EDIT_DEFAULT_CONTROL_HEIGHT

#define AGS_NOTATION_EDIT_DEFAULT_CONTROL_HEIGHT (14)

AGS_NOTATION_EDIT_DEFAULT_CONTROL_MARGIN_X

#define AGS_NOTATION_EDIT_DEFAULT_CONTROL_MARGIN_X (0)

AGS_NOTATION_EDIT_DEFAULT_CONTROL_MARGIN_Y

#define AGS_NOTATION_EDIT_DEFAULT_CONTROL_MARGIN_Y (2)

AGS_NOTATION_EDIT_DEFAULT_KEY_COUNT

#define AGS_NOTATION_EDIT_DEFAULT_KEY_COUNT (128)

AGS_NOTATION_EDIT_DEFAULT_CURSOR_POSITION_X

#define AGS_NOTATION_EDIT_DEFAULT_CURSOR_POSITION_X (0)

AGS_NOTATION_EDIT_DEFAULT_CURSOR_POSITION_Y

#define AGS_NOTATION_EDIT_DEFAULT_CURSOR_POSITION_Y (0)

AGS_NOTATION_EDIT_DEFAULT_SELECTED_NOTE_BORDER

#define AGS_NOTATION_EDIT_DEFAULT_SELECTED_NOTE_BORDER (2)

AGS_NOTATION_EDIT_DEFAULT_FADER_WIDTH

#define AGS_NOTATION_EDIT_DEFAULT_FADER_WIDTH (3)

AGS_NOTATION_EDIT_MIN_ZOOM

#define AGS_NOTATION_EDIT_MIN_ZOOM (1.0 / 16.0)

AGS_NOTATION_EDIT_MAX_ZOOM

#define AGS_NOTATION_EDIT_MAX_ZOOM (4.0)

AGS_NOTATION_EDIT_MAX_ZOOM_CONTROL_WIDTH

#define AGS_NOTATION_EDIT_MAX_ZOOM_CONTROL_WIDTH (64.0 * AGS_NOTATION_EDIT_DEFAULT_CONTROL_WIDTH)

enum AgsNotationEditFlags

Members

AGS_NOTATION_EDIT_AUTO_SCROLL

   

AGS_NOTATION_EDIT_SHOW_RULER

   

AGS_NOTATION_EDIT_SHOW_VSCROLLBAR

   

AGS_NOTATION_EDIT_SHOW_HSCROLLBAR

   

AGS_NOTATION_EDIT_BLOCK_RESET_VSCROLLBAR

   

AGS_NOTATION_EDIT_BLOCK_RESET_HSCROLLBAR

   

enum AgsNotationEditMode

Members

AGS_NOTATION_EDIT_NO_EDIT_MODE

   

AGS_NOTATION_EDIT_POSITION_CURSOR

   

AGS_NOTATION_EDIT_ADD_NOTE

   

AGS_NOTATION_EDIT_DELETE_NOTE

   

AGS_NOTATION_EDIT_SELECT_NOTE

   

enum AgsNotationEditButtonMask

Members

AGS_NOTATION_EDIT_BUTTON_1

   

enum AgsNotationEditKeyMask

Members

AGS_NOTATION_EDIT_KEY_L_CONTROL

   

AGS_NOTATION_EDIT_KEY_R_CONTROL

   

AGS_NOTATION_EDIT_KEY_L_SHIFT

   

AGS_NOTATION_EDIT_KEY_R_SHIFT

   

AGS_NOTATION_EDIT_KEY_L_META

   

AGS_NOTATION_EDIT_KEY_R_META