feat: dock editor panels and add resizable pinned track headers

This commit is contained in:
Johannes Findeisen 2026-11-06 00:06:56 +01:00
commit ae8556d83f
13 changed files with 346 additions and 87 deletions

View file

@ -5,7 +5,8 @@
extern "C" {
#endif
typedef enum { XTC_PLUGIN_LADSPA = 0, XTC_PLUGIN_CLAP, XTC_PLUGIN_VST2, XTC_PLUGIN_VST3, XTC_PLUGIN_BUILTIN } xtc_plugin_format;
/* Internal device indices: 0 Soft Keys, 1 Sub Bass, 2 Delay, 3 Reverb. */
/* Internal device indices: 0 Soft Keys, 1 Sub Bass, 2 Delay, 3 Reverb,
* 4 Sample Player, 5 Stereo Delay, 6 Stereo Reverb. */
#define XTC_BUILTIN_PATH "/xtc/internal"
const char *xtc_plugin_format_name(xtc_plugin_format format);
#define XTC_PLUGIN_CONTROLS 16U

View file

@ -11,7 +11,9 @@ typedef struct {
char client_name[64], clap_paths[2048], vst2_paths[2048], vst3_paths[2048], ladspa_paths[2048];
int64_t max_frames, channels, transition_ms, offline_rate, recording_seconds;
int64_t width, height, piano_width, piano_height, refresh_ms;
int64_t transport_detached,mixer_detached;
int64_t transport_detached,mixer_detached,sequencer_detached,graph_detached,piano_detached;
int64_t sequencer_x,sequencer_y,sequencer_width,sequencer_height;
int64_t graph_x,graph_y,graph_width,graph_height,piano_x,piano_y,track_header_width;
int64_t transport_x,transport_y,transport_width,transport_height;
int64_t mixer_x,mixer_y,mixer_width,mixer_height;
int64_t sequencer_snap, piano_snap, sequencer_zoom;