AgsAutomationEdit

AgsAutomationEdit — edit automations

Stability Level

Stable, unless otherwise indicated

Functions

Properties

GType * channel-type Read / Write
char * control-name Read / Write
char * control-specifier Read / Write
double default-value Read / Write
char * effect Read / Write
char * filename Read / Write
double lower Read / Write
double upper Read / Write

Types and Values

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── GtkWidget
            ╰── GtkContainer
                ╰── GtkTable
                    ╰── AgsAutomationEdit

Implemented Interfaces

AgsAutomationEdit implements AtkImplementorIface, GtkBuildable and AgsConnectable.

Includes

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


AGS_AUTOMATION_EDIT()

#define AGS_AUTOMATION_EDIT(obj)                (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_AUTOMATION_EDIT, AgsAutomationEdit))

AGS_AUTOMATION_EDIT_CLASS()

#define AGS_AUTOMATION_EDIT_CLASS(class)        (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_AUTOMATION_EDIT, AgsAutomationEditClass))

AGS_AUTOMATION_EDIT_GET_CLASS()

#define AGS_AUTOMATION_EDIT_GET_CLASS(obj)      (G_TYPE_INSTANCE_GET_CLASS (obj, AGS_TYPE_AUTOMATION_EDIT, AgsAutomationEditClass))

AGS_IS_AUTOMATION_EDIT()

#define AGS_IS_AUTOMATION_EDIT(obj)             (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_AUTOMATION_EDIT))

AGS_IS_AUTOMATION_EDIT_CLASS()

#define AGS_IS_AUTOMATION_EDIT_CLASS(class)     (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_AUTOMATION_EDIT))

ags_automation_edit_get_type ()

GType
ags_automation_edit_get_type (void);

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_CONNECTED

   

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

   

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_TYPE_AUTOMATION_EDIT

#define AGS_TYPE_AUTOMATION_EDIT                (ags_automation_edit_get_type())

struct AgsAutomationEdit

struct AgsAutomationEdit;

struct AgsAutomationEditClass

struct AgsAutomationEditClass {
  GtkTableClass table;
};

Property Details

The “channel-type” property

  “channel-type”             GType *

The channel type it is assigned with.

Owner: AgsAutomationEdit

Flags: Read / Write

Allowed values: void


The “control-name” property

  “control-name”             char *

The control name to display.

Owner: AgsAutomationEdit

Flags: Read / Write

Default value: NULL


The “control-specifier” property

  “control-specifier”        char *

The control specifier it is assigned with.

Owner: AgsAutomationEdit

Flags: Read / Write

Default value: NULL


The “default-value” property

  “default-value”            double

The automation edit's default value.

Owner: AgsAutomationEdit

Flags: Read / Write

Default value: 0

Since: 3.0.0


The “effect” property

  “effect”                   char *

The effect name it is assigned with.

Owner: AgsAutomationEdit

Flags: Read / Write

Default value: NULL


The “filename” property

  “filename”                 char *

The filename it is assigned with.

Owner: AgsAutomationEdit

Flags: Read / Write

Default value: NULL


The “lower” property

  “lower”                    double

The automation edit's lower range.

Owner: AgsAutomationEdit

Flags: Read / Write

Default value: 0

Since: 3.0.0


The “upper” property

  “upper”                    double

The automation edit's upper range.

Owner: AgsAutomationEdit

Flags: Read / Write

Default value: 1

Since: 3.0.0