12#ifndef __GUI_WIDGETS_ARRANGER_MINIMAP_H__
13#define __GUI_WIDGETS_ARRANGER_MINIMAP_H__
17#include "gtk_wrapper.h"
19#define ARRANGER_MINIMAP_WIDGET_TYPE (arranger_minimap_widget_get_type ())
22 arranger_minimap_widget,
24 ARRANGER_MINIMAP_WIDGET,
27typedef struct _ArrangerMinimapBgWidget ArrangerMinimapBgWidget;
28typedef struct _ArrangerMinimapSelectionWidget ArrangerMinimapSelectionWidget;
29typedef struct ArrangerMinimap ArrangerMinimap;
37#define MW_TIMELINE_MINIMAP (MW_TIMELINE_PANEL->timeline_wrapper->minimap)
41 ARRANGER_MINIMAP_ACTION_NONE,
42 ARRANGER_MINIMAP_ACTION_RESIZING_L,
43 ARRANGER_MINIMAP_ACTION_RESIZING_R,
49enum class ArrangerMinimapType
51 ARRANGER_MINIMAP_TYPE_TIMELINE,
52 ARRANGER_MINIMAP_TYPE_CLIP_EDITOR,
55typedef struct _ArrangerMinimapWidget
57 GtkWidget parent_instance;
61 ArrangerMinimapType type;
63 ArrangerMinimapBgWidget * bg;
64 ArrangerMinimapSelectionWidget * selection;
77 double selection_start_pos;
78 double selection_end_pos;
A Position is made up of bars.beats.sixteenths.ticks.