AgsAutomationEdit

AgsAutomationEdit — edit automations

Stability Level

Stable, unless otherwise indicated

Functions

Types and Values

Includes

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

Description

The AgsAutomationEdit lets you edit automations.

Functions

ags_automation_edit_reset_vscrollbar ()

void
ags_automation_edit_reset_vscrollbar (AgsAutomationEdit *automation_edit);

ags_automation_edit_reset_hscrollbar ()

void
ags_automation_edit_reset_hscrollbar (AgsAutomationEdit *automation_edit);

ags_automation_edit_compare_x_offset_func ()

gint
ags_automation_edit_compare_x_offset_func
                               (gconstpointer a,
                                gconstpointer b,
                                AgsAutomationEdit *automation_edit,
                                gdouble x_offset);

ags_automation_edit_find_first_drawn_func ()

GList *
ags_automation_edit_find_first_drawn_func
                               (AgsAutomationEdit *automation_edit,
                                GList *automation);

ags_automation_edit_find_last_drawn_func ()

GList *
ags_automation_edit_find_last_drawn_func
                               (AgsAutomationEdit *automation_edit,
                                GList *automation);

ags_automation_edit_draw_segment ()

void
ags_automation_edit_draw_segment (AgsAutomationEdit *automation_edit,
                                  cairo_t *cr);

ags_automation_edit_draw_position ()

void
ags_automation_edit_draw_position (AgsAutomationEdit *automation_edit,
                                   cairo_t *cr);

ags_automation_edit_draw_cursor ()

void
ags_automation_edit_draw_cursor (AgsAutomationEdit *automation_edit,
                                 cairo_t *cr);

ags_automation_edit_draw_selection ()

void
ags_automation_edit_draw_selection (AgsAutomationEdit *automation_edit,
                                    cairo_t *cr);

ags_automation_edit_draw_acceleration ()

void
ags_automation_edit_draw_acceleration (AgsAutomationEdit *automation_edit,
                                       AgsAcceleration *acceleration_a,
                                       AgsAcceleration *acceleration_b,
                                       cairo_t *cr,
                                       gdouble opacity);

ags_automation_edit_draw_automation ()

void
ags_automation_edit_draw_automation (AgsAutomationEdit *automation_edit,
                                     cairo_t *cr);

ags_automation_edit_draw ()

void
ags_automation_edit_draw (AgsAutomationEdit *automation_edit,
                          cairo_t *cr);

ags_automation_edit_new ()

AgsAutomationEdit *
ags_automation_edit_new ();

Create a new AgsAutomationEdit.

Returns

a new AgsAutomationEdit

Since: 3.0.0

Types and Values

AGS_AUTOMATION_EDIT_DEFAULT_HEIGHT

#define AGS_AUTOMATION_EDIT_DEFAULT_HEIGHT (128)

AGS_AUTOMATION_EDIT_DEFAULT_WIDTH

#define AGS_AUTOMATION_EDIT_DEFAULT_WIDTH (512)

AGS_AUTOMATION_EDIT_DEFAULT_POINT_RADIUS

#define AGS_AUTOMATION_EDIT_DEFAULT_POINT_RADIUS (1.75)

AGS_AUTOMATION_EDIT_DEFAULT_SCAN_HEIGHT

#define AGS_AUTOMATION_EDIT_DEFAULT_SCAN_HEIGHT (8)

AGS_AUTOMATION_EDIT_DEFAULT_SCAN_WIDTH

#define AGS_AUTOMATION_EDIT_DEFAULT_SCAN_WIDTH (64)

AGS_AUTOMATION_EDIT_DEFAULT_CONTROL_WIDTH

#define AGS_AUTOMATION_EDIT_DEFAULT_CONTROL_WIDTH (64)

AGS_AUTOMATION_EDIT_DEFAULT_CONTROL_HEIGHT

#define AGS_AUTOMATION_EDIT_DEFAULT_CONTROL_HEIGHT (8)

AGS_AUTOMATION_EDIT_DEFAULT_STEP_COUNT

#define AGS_AUTOMATION_EDIT_DEFAULT_STEP_COUNT (16)

AGS_AUTOMATION_EDIT_DEFAULT_CURSOR_POSITION_X

#define AGS_AUTOMATION_EDIT_DEFAULT_CURSOR_POSITION_X (0)

AGS_AUTOMATION_EDIT_DEFAULT_CURSOR_POSITION_Y

#define AGS_AUTOMATION_EDIT_DEFAULT_CURSOR_POSITION_Y (0.0)

AGS_AUTOMATION_EDIT_DEFAULT_SELECTED_ACCELERATION_BORDER

#define AGS_AUTOMATION_EDIT_DEFAULT_SELECTED_ACCELERATION_BORDER (2)

AGS_AUTOMATION_EDIT_DEFAULT_FADER_WIDTH

#define AGS_AUTOMATION_EDIT_DEFAULT_FADER_WIDTH (3)

AGS_AUTOMATION_EDIT_CURSOR_WIDTH

#define AGS_AUTOMATION_EDIT_CURSOR_WIDTH (5)

AGS_AUTOMATION_EDIT_CURSOR_HEIGHT

#define AGS_AUTOMATION_EDIT_CURSOR_HEIGHT (5)

AGS_AUTOMATION_EDIT_MIN_ZOOM

#define AGS_AUTOMATION_EDIT_MIN_ZOOM (1.0 / 16.0)

AGS_AUTOMATION_EDIT_MAX_ZOOM

#define AGS_AUTOMATION_EDIT_MAX_ZOOM (4.0)

AGS_AUTOMATION_EDIT_DEFAULT_LOWER

#define AGS_AUTOMATION_EDIT_DEFAULT_LOWER (0.0)

AGS_AUTOMATION_EDIT_DEFAULT_UPPER

#define AGS_AUTOMATION_EDIT_DEFAULT_UPPER (1.0)

AGS_AUTOMATION_EDIT_DEFAULT_VALUE

#define AGS_AUTOMATION_EDIT_DEFAULT_VALUE (0.0)

AGS_AUTOMATION_EDIT_DEFAULT_PADDING

#define AGS_AUTOMATION_EDIT_DEFAULT_PADDING (8)

enum AgsAutomationEditFlags

Members

AGS_AUTOMATION_EDIT_AUTO_SCROLL

   

AGS_AUTOMATION_EDIT_SHOW_RULER

   

AGS_AUTOMATION_EDIT_SHOW_VSCROLLBAR

   

AGS_AUTOMATION_EDIT_SHOW_HSCROLLBAR

   

AGS_AUTOMATION_EDIT_LOGARITHMIC

   

AGS_AUTOMATION_EDIT_INTEGER

   

AGS_AUTOMATION_EDIT_TOGGLED

   

AGS_AUTOMATION_EDIT_BLOCK_RESET_VSCROLLBAR

   

AGS_AUTOMATION_EDIT_BLOCK_RESET_HSCROLLBAR

   

enum AgsAutomationEditMode

Members

AGS_AUTOMATION_EDIT_NO_EDIT_MODE

   

AGS_AUTOMATION_EDIT_POSITION_CURSOR

   

AGS_AUTOMATION_EDIT_ADD_ACCELERATION

   

AGS_AUTOMATION_EDIT_DELETE_ACCELERATION

   

AGS_AUTOMATION_EDIT_SELECT_ACCELERATION

   

enum AgsAutomationEditButtonMask

Members

AGS_AUTOMATION_EDIT_BUTTON_1

   

enum AgsAutomationEditKeyMask

Members

AGS_AUTOMATION_EDIT_KEY_L_CONTROL

   

AGS_AUTOMATION_EDIT_KEY_R_CONTROL

   

AGS_AUTOMATION_EDIT_KEY_L_SHIFT

   

AGS_AUTOMATION_EDIT_KEY_R_SHIFT

   

AGS_AUTOMATION_EDIT_KEY_L_META

   

AGS_AUTOMATION_EDIT_KEY_R_META