AgsAutomationEdit

AgsAutomationEdit — edit automations

Functions

Types and Values

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── GtkObject
            ╰── 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_vertically ()

void
ags_automation_edit_reset_vertically (AgsAutomationEdit *automation_edit,
                                      guint flags);

Reset automation_edit as configured vertically.

Parameters

automation_edit

the AgsAutomationEdit

 

flags

the AgsAutomationEditResetFlags

 

Since: 1.0.0


ags_automation_edit_reset_horizontally ()

void
ags_automation_edit_reset_horizontally
                               (AgsAutomationEdit *automation_edit,
                                guint flags);

Reset automation_edit as configured horizontally.

Parameters

automation_edit

the AgsAutomationEdit

 

flags

the AgsAutomationEditResetFlags

 

Since: 1.0.0


ags_automation_edit_draw_position ()

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

Draws the cursor.

Parameters

automation_edit

the AgsAutomationEdit

 

cr

the cairo_t surface

 

Since: 1.0.0


ags_automation_edit_draw_scroll ()

void
ags_automation_edit_draw_scroll (AgsAutomationEdit *automation_edit,
                                 cairo_t *cr,
                                 gdouble position);

Change visible x-position of automation_edit .

Parameters

automation_edit

the AgsAutomationEdit

 

position

the new position

 

Since: 1.0.0


ags_automation_edit_paint ()

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

ags_automation_edit_add_area ()

void
ags_automation_edit_add_area (AgsAutomationEdit *automation_edit,
                              AgsAutomationArea *automation_area);

Adds automation_area to automation_edit .

Parameters

automation_edit

an AgsAutomationEdit

 

automation_area

the AgsAutomationArea to add

 

Since: 1.0.0


ags_automation_edit_remove_area ()

void
ags_automation_edit_remove_area (AgsAutomationEdit *automation_edit,
                                 AgsAutomationArea *automation_area);

Removes automation_area of automation_edit .

Parameters

automation_edit

an AgsAutomationEdit

 

automation_area

the AgsAutomationArea to remove

 

Since: 1.0.0


ags_automation_edit_new ()

AgsAutomationEdit *
ags_automation_edit_new ();

Create a new AgsAutomationEdit.

Returns

a new AgsAutomationEdit

Since: 1.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_automation_edit_get_type ()

GType
ags_automation_edit_get_type (void);

Types and Values

AGS_AUTOMATION_EDIT_MAX_CONTROLS

#define AGS_AUTOMATION_EDIT_MAX_CONTROLS (16 * 64 * 1200)

AGS_AUTOMATION_EDIT_DEFAULT_MARGIN

#define AGS_AUTOMATION_EDIT_DEFAULT_MARGIN (8)

AGS_AUTOMATION_EDIT_DEFAULT_WIDTH

#define AGS_AUTOMATION_EDIT_DEFAULT_WIDTH (64)

enum AgsAutomationEditFlags

Members

AGS_AUTOMATION_EDIT_CONNECTED

   

AGS_AUTOMATION_EDIT_RESETING_VERTICALLY

   

AGS_AUTOMATION_EDIT_RESETING_HORIZONTALLY

   

AGS_AUTOMATION_EDIT_POSITION_CURSOR

   

AGS_AUTOMATION_EDIT_ADDING_ACCELERATION

   

AGS_AUTOMATION_EDIT_DELETING_ACCELERATION

   

AGS_AUTOMATION_EDIT_SELECTING_ACCELERATIONS

   

enum AgsAutomationEditResetFlags

Members

AGS_AUTOMATION_EDIT_RESET_VSCROLLBAR

   

AGS_AUTOMATION_EDIT_RESET_HSCROLLBAR

   

AGS_AUTOMATION_EDIT_RESET_WIDTH

   

AGS_AUTOMATION_EDIT_RESET_HEIGHT

   

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;
};