LiVES 1.4.9
Data Structures | Defines | Enumerations | Variables

src/mainwindow.h File Reference

#include <pthread.h>

Go to the source code of this file.

Data Structures

struct  _palette
 set in set_palette_colours() More...
struct  lives_mgeometry_t
struct  mainwindow
 mainw-> More...
struct  _merge_opts

Defines

#define U_SEC   100000000.
#define U_SECL   (gint64)100000000
#define U_SEC_RATIO   (U_SECL/1000000)
 how many U_SECs (ticks) in a microsecond
#define V_RESIZE_ADJUST   36
#define H_RESIZE_ADJUST   22
#define SEPWIN_VADJUST   200
 vert displacement up from center for sepwin (actual value is half this)
#define DEF_GEN_WIDTH   640
 default size for generators
#define DEF_GEN_HEIGHT   480
#define FN_KEYS   12
 number of function keys
#define FX_KEYS_PHYSICAL   9
 FX keys, 1 - 9 normally.
#define FX_KEYS_MAX_VIRTUAL   64
#define FX_KEYS_MAX   65536
 the rest of the keys are accessible through the multitrack renderer (must, be > FX_KEYS_MAX_VIRTUAL)
#define EFFECT_NONE   0
#define GU641   ((guint64)1)
#define MAX_FX_THREADS   65536
#define MAX_EXT_CNTL   2
 max ext_cntl + 1
#define STYLE_PLAIN   0
 no theme (theme 'none')
#define STYLE_1   1<<0
 turn on theming if set
#define STYLE_2   1<<1
 colour the spinbuttons on the front page if set
#define STYLE_3   1<<2
 style is lightish - allow themeing of widgets with dark text, otherwise use menu bg
#define STYLE_4   1<<3
 coloured bg for poly window in mt
#define STYLE_5   1<<4
 drop down menu text col. in mt
#define STYLE_6   1<<4
 separator col. in mt
#define RFX_TOOL_MENU_POSN   2
 where do we add the builtin tools in the tools menu
#define SEL_MOVE_START   1
 which bar should we move ?
#define SEL_MOVE_END   2
#define SEL_MOVE_AUTO   3
#define SEL_MOVE_SINGLE   4
#define PREFS_THEME_CHANGED   (1<<0)
#define PREFS_JACK_CHANGED   (1<<1)
#define PREFS_TEMPDIR_CHANGED   (1<<2)
#define SCRATCH_NONE   0
#define SCRATCH_BACK   -1
#define SCRATCH_FWD   1
#define SCRATCH_JUMP   2
#define MAIN_SPIN_SPACER   52
 pixel spacing for start/end spins for clip and multitrack editors
#define PRV_FREE   0
#define PRV_START   1
#define PRV_END   2
#define PRV_PTR   3

Enumerations

enum  lives_ext_cntl_t { EXT_CNTL_NONE = -1, EXT_CNTL_JS = 0, EXT_CNTL_MIDI = 1 }
 

external control types

More...
enum  lives_time_source_t { LIVES_TIME_SOURCE_NONE = 0, LIVES_TIME_SOURCE_SYSTEM, LIVES_TIME_SOURCE_SOUNDCARD, LIVES_TIME_SOURCE_EXTERNAL }
 

timebase sources

More...
enum  lives_toy_t { LIVES_TOY_NONE = 0, LIVES_TOY_MAD_FRAMES, LIVES_TOY_TV, LIVES_TOY_AUTOLIVES }
enum  lives_dialog_t { LIVES_DIALOG_WARN, LIVES_DIALOG_YESNO }

Variables

GdkCursor * hidden_cursor
_palettepalette
_merge_optsmerge_opts
GtkWidget * fx_dialog [2]
 note, we can only have two of these currently, one for rendered effects, one for real time effects

Define Documentation

#define DEF_GEN_HEIGHT   480
#define DEF_GEN_WIDTH   640

default size for generators

#define EFFECT_NONE   0
#define FN_KEYS   12

number of function keys

#define FX_KEYS_MAX   65536

the rest of the keys are accessible through the multitrack renderer (must, be > FX_KEYS_MAX_VIRTUAL)

#define FX_KEYS_MAX_VIRTUAL   64

must be >= FX_KEYS_PHYSICAL, and <=64 (number of bits in a 64bit int mask) (max number of keys accesible through rte window or via OSC)

#define FX_KEYS_PHYSICAL   9

FX keys, 1 - 9 normally.

#define GU641   ((guint64)1)
#define H_RESIZE_ADJUST   22
#define MAIN_SPIN_SPACER   52

pixel spacing for start/end spins for clip and multitrack editors

#define MAX_EXT_CNTL   2

max ext_cntl + 1

#define MAX_FX_THREADS   65536
#define PREFS_JACK_CHANGED   (1<<1)
#define PREFS_TEMPDIR_CHANGED   (1<<2)
#define PREFS_THEME_CHANGED   (1<<0)
#define PRV_END   2
#define PRV_FREE   0
#define PRV_PTR   3
#define PRV_START   1
#define RFX_TOOL_MENU_POSN   2

where do we add the builtin tools in the tools menu

#define SCRATCH_BACK   -1
#define SCRATCH_FWD   1
#define SCRATCH_JUMP   2
#define SCRATCH_NONE   0
#define SEL_MOVE_AUTO   3
#define SEL_MOVE_END   2
#define SEL_MOVE_SINGLE   4
#define SEL_MOVE_START   1

which bar should we move ?

#define SEPWIN_VADJUST   200

vert displacement up from center for sepwin (actual value is half this)

#define STYLE_1   1<<0

turn on theming if set

#define STYLE_2   1<<1

colour the spinbuttons on the front page if set

#define STYLE_3   1<<2

style is lightish - allow themeing of widgets with dark text, otherwise use menu bg

#define STYLE_4   1<<3

coloured bg for poly window in mt

#define STYLE_5   1<<4

drop down menu text col. in mt

#define STYLE_6   1<<4

separator col. in mt

#define STYLE_PLAIN   0

no theme (theme 'none')

#define U_SEC   100000000.

fraction of a second quantisation for event timing; must match U_SECL, and must be a multiple of 10>=1000000

>10**8 is not recommended, since we sometimes store seconds in a gdouble

#define U_SEC_RATIO   (U_SECL/1000000)

how many U_SECs (ticks) in a microsecond

#define U_SECL   (gint64)100000000
#define V_RESIZE_ADJUST   36

Enumeration Type Documentation

Enumerator:
LIVES_DIALOG_WARN 
LIVES_DIALOG_YESNO 

external control types

Enumerator:
EXT_CNTL_NONE 

not used

EXT_CNTL_JS 
EXT_CNTL_MIDI 

timebase sources

Enumerator:
LIVES_TIME_SOURCE_NONE 
LIVES_TIME_SOURCE_SYSTEM 
LIVES_TIME_SOURCE_SOUNDCARD 
LIVES_TIME_SOURCE_EXTERNAL 
Enumerator:
LIVES_TOY_NONE 
LIVES_TOY_MAD_FRAMES 
LIVES_TOY_TV 
LIVES_TOY_AUTOLIVES 

Variable Documentation

GtkWidget* fx_dialog[2]

note, we can only have two of these currently, one for rendered effects, one for real time effects

GdkCursor* hidden_cursor
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines