8 #ifndef HAS_LIVES_MAINWINDOW_H
9 #define HAS_LIVES_MAINWINDOW_H
17 #include <alsa/asoundlib.h>
20 #ifdef HAVE_PULSE_AUDIO
29 #define U_SEC 100000000.
30 #define U_SECL (gint64)100000000
31 #define U_SEC_RATIO (U_SECL/1000000)
38 #define V_RESIZE_ADJUST 36
39 #define H_RESIZE_ADJUST 24
41 #define CE_FRAME_HSPACE ((int)(320.*widget_opts.scale))
43 #define MIN_SEPWIN_WIDTH 600
44 #define MIN_SEPWIN_HEIGHT 36
47 #define SCR_HEIGHT_SAFETY ((int)(100.*widget_opts.scale))
48 #define SCR_WIDTH_SAFETY ((int)(100.*widget_opts.scale))
51 #define DEF_GEN_WIDTH 640
52 #define DEF_GEN_HEIGHT 480
55 #define PREVIEW_BOX_HT ((int)(100.*widget_opts.scale))
58 #define MSG_AREA_HEIGHT ((int)(50.*widget_opts.scale))
61 #define CE_HRULE_HEIGHT ((int)(20.*widget_opts.scale))
64 #define CE_VIDBAR_HEIGHT ((int)(10.*widget_opts.scale))
67 #define DEFAULT_FRAME_HSIZE 320
68 #define DEFAULT_FRAME_VSIZE 200
70 #define MAIN_SPIN_SPACER ((int)52.*widget_opts.scale)
73 #define PROCW_STRETCHER " "
75 #define ENC_DETAILS_WIN_H ((int)(600.*widget_opts.scale))
76 #define ENC_DETAILS_WIN_V ((int)(200.*widget_opts.scale))
78 #define MAX_MSG_WIDTH_CHARS ((int)(100.*widget_opts.scale))
81 #define RFX_WINSIZE_H ((int)(mainw->scr_width>1024?(820.*widget_opts.scale):600))
82 #define RFX_WINSIZE_V ((int)(480.*widget_opts.scale))
84 #define RFX_TEXT_SCROLL_HEIGHT ((int)(80.*widget_opts.scale))
86 #define DEF_BUTTON_WIDTH ((int)(80.*widget_opts.scale))
94 #define FX_KEYS_PHYSICAL 9
98 #define FX_KEYS_MAX_VIRTUAL 64
101 #define FX_KEYS_MAX 65536
103 #define EFFECT_NONE 0
104 #define GU641 ((guint64)1)
106 #define MAX_FX_THREADS 65536
108 #define LIVES_DCLICK_TIME 400
111 #define MAX_EXT_CNTL 2
194 #define STYLE_PLAIN 0
253 #define RFX_TOOL_MENU_POSN 2
359 #if GTK_CHECK_VERSION(3,0,0)
425 #define SEL_MOVE_START 1
426 #define SEL_MOVE_END 2
427 #define SEL_MOVE_AUTO 3
428 #define SEL_MOVE_SINGLE 4
432 #define PREFS_THEME_CHANGED (1<<0)
433 #define PREFS_JACK_CHANGED (1<<1)
434 #define PREFS_TEMPDIR_CHANGED (1<<2)
511 #define SCRATCH_NONE 0
512 #define SCRATCH_BACK -1
513 #define SCRATCH_FWD 1
514 #define SCRATCH_JUMP 2
911 jack_driver_t *jackd;
912 jack_driver_t *jackd_read;
919 #ifdef HAVE_PULSE_AUDIO
920 pulse_driver_t *pulsed;
921 pulse_driver_t *pulsed_read;
955 void (*free_fn)(gpointer);
1027 snd_seq_t *seq_handle;
1074 #define LIVES_MAX_ALARMS 1024
1075 #define LIVES_NO_ALARM_TICKS -1
1099 #if GTK_CHECK_VERSION(3,0,0)
1100 boolean kb_timer_end;
1160 #define LIVES_SIGKILL SIGKILL
1161 #define LIVES_SIGINT SIGINT
1162 #define LIVES_SIGPIPE SIGPIPE
1163 #define LIVES_SIGUSR1 SIGUSR1
1164 #define LIVES_SIGABRT SIGABRT
1165 #define LIVES_SIGSEGV SIGSEGV
1166 #define LIVES_SIGHUP SIGHUP
1167 #define LIVES_SIGTERM SIGTERM
1168 #define LIVES_SIGQUIT SIGQUIT
1176 #ifdef HAVE_PULSE_AUDIO
1181 #endif // HAS_LIVES_MAINWINDOW_H