AgsNotationEdit

AgsNotationEdit — edit notes

Functions

Types and Values

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── GtkWidget
            ╰── GtkContainer
                ╰── GtkTable
                    ╰── AgsNotationEdit

Implemented Interfaces

AgsNotationEdit implements AtkImplementorIface, GtkBuildable and AgsConnectable.

Includes

#include <ags/X/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_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


AGS_IS_NOTATION_EDIT()

#define AGS_IS_NOTATION_EDIT(obj)             (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_NOTATION_EDIT))

AGS_IS_NOTATION_EDIT_CLASS()

#define AGS_IS_NOTATION_EDIT_CLASS(class)     (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_NOTATION_EDIT))

AGS_NOTATION_EDIT()

#define AGS_NOTATION_EDIT(obj)                (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_NOTATION_EDIT, AgsNotationEdit))

AGS_NOTATION_EDIT_CLASS()

#define AGS_NOTATION_EDIT_CLASS(class)        (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_NOTATION_EDIT, AgsNotationEditClass))

AGS_NOTATION_EDIT_GET_CLASS()

#define AGS_NOTATION_EDIT_GET_CLASS(obj)      (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_NOTATION_EDIT, AgsNotationEditClass))

ags_notation_edit_get_type ()

GType
ags_notation_edit_get_type (void);

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_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_CONNECTED

   

AGS_NOTATION_EDIT_AUTO_SCROLL

   

AGS_NOTATION_EDIT_SHOW_RULER

   

AGS_NOTATION_EDIT_SHOW_VSCROLLBAR

   

AGS_NOTATION_EDIT_SHOW_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_TYPE_NOTATION_EDIT

#define AGS_TYPE_NOTATION_EDIT                (ags_notation_edit_get_type ())

struct AgsNotationEdit

struct AgsNotationEdit;

struct AgsNotationEditClass

struct AgsNotationEditClass {
  GtkTableClass table;
};