AgsPatternEdit

AgsPatternEdit — edit notes

Functions

Types and Values

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── GtkObject
            ╰── GtkWidget
                ╰── GtkContainer
                    ╰── GtkTable
                        ╰── AgsPatternEdit

Implemented Interfaces

AgsPatternEdit implements AtkImplementorIface, GtkBuildable and AgsConnectable.

Includes

#include <ags/X/editor/ags_pattern_edit.h>

Description

The AgsPatternEdit lets you edit notes.

Functions

ags_pattern_edit_set_map_height ()

void
ags_pattern_edit_set_map_height (AgsPatternEdit *pattern_edit,
                                 guint map_height);

Set the map height in pixel.

Parameters

pattern_edit

the AgsPatternEdit

 

map_height

the new height

 

Since: 0.4.2


ags_pattern_edit_reset_vertically ()

void
ags_pattern_edit_reset_vertically (AgsPatternEdit *pattern_edit,
                                   guint flags);

Reset pattern_edit as configured vertically.

Parameters

pattern_edit

the AgsPatternEdit

 

flags

the AgsPatternEditResetFlags

 

Since: 0.4.2


ags_pattern_edit_reset_horizontally ()

void
ags_pattern_edit_reset_horizontally (AgsPatternEdit *pattern_edit,
                                     guint flags);

Reset pattern_edit as configured horizontally.

Parameters

pattern_edit

the AgsPatternEdit

 

flags

the AgsPatternEditResetFlags

 

Since: 0.4.2


ags_pattern_edit_draw_segment ()

void
ags_pattern_edit_draw_segment (AgsPatternEdit *pattern_edit,
                               cairo_t *cr);

Draws horizontal and vertical lines.

Parameters

pattern_edit

the AgsPatternEdit

 

cr

the cairo_t surface

 

Since: 0.4.2


ags_pattern_edit_draw_position ()

void
ags_pattern_edit_draw_position (AgsPatternEdit *pattern_edit,
                                cairo_t *cr);

Draws the cursor.

Parameters

pattern_edit

the AgsPatternEdit

 

cr

the cairo_t surface

 

Since: 0.4.2


ags_pattern_edit_draw_notation ()

void
ags_pattern_edit_draw_notation (AgsPatternEdit *pattern_edit,
                                cairo_t *cr);

Draw the AgsNotation of selected AgsMachine on pattern_edit .

Parameters

pattern_edit

the AgsPatternEdit

 

cr

the cairo_t surface

 

Since: 0.4.2


ags_pattern_edit_draw_scroll ()

void
ags_pattern_edit_draw_scroll (AgsPatternEdit *pattern_edit,
                              cairo_t *cr,
                              gdouble position);

Change visible x-position of pattern_edit .

Parameters

pattern_edit

the AgsPatternEdit

 

cr

the cairo_t surface

 

position

the new position

 

Since: 0.4.2


ags_pattern_edit_new ()

AgsPatternEdit *
ags_pattern_edit_new ();

Create a new AgsPatternEdit.

Returns

a new AgsPatternEdit

Since: 0.4.2

Types and Values

AGS_PATTERN_EDIT_MAX_CONTROLS

#define AGS_PATTERN_EDIT_MAX_CONTROLS 1200


enum AgsPatternEditFlags

Members

AGS_PATTERN_EDIT_RESETING_VERTICALLY

   

AGS_PATTERN_EDIT_RESETING_HORIZONTALLY

   

AGS_PATTERN_EDIT_POSITION_CURSOR

   

AGS_PATTERN_EDIT_ADDING_NOTE

   

AGS_PATTERN_EDIT_DELETING_NOTE

   

AGS_PATTERN_EDIT_SELECTING_NOTES

   

AGS_PATTERN_EDIT_DRAW_FADER

   

enum AgsPatternEditResetFlags

Members

AGS_PATTERN_EDIT_RESET_VSCROLLBAR

   

AGS_PATTERN_EDIT_RESET_HSCROLLBAR

   

AGS_PATTERN_EDIT_RESET_WIDTH

   

AGS_PATTERN_EDIT_RESET_HEIGHT

   

enum AgsPatternEditKeyMask

Members

AGS_PATTERN_EDIT_KEY_L_CONTROL

   

AGS_PATTERN_EDIT_KEY_R_CONTROL