File: gap_story_syntax.h

package info (click to toggle)
gimp-gap 2.6.0%2Bdfsg-5
  • links: PTS
  • area: main
  • in suites: bullseye, buster, stretch
  • size: 20,720 kB
  • ctags: 7,997
  • sloc: ansic: 119,817; sh: 3,890; makefile: 932; lisp: 97; pascal: 55
file content (101 lines) | stat: -rw-r--r-- 4,043 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
/*  gap_story_syntax.h
 *
 *  This module handles GAP storyboard file syntax list for
 *  named parameters parsing support of storyboard level1 files
 *
 */
/* The GIMP -- an image manipulation program
 * Copyright (C) 1995 Spencer Kimball and Peter Mattis
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 */

/* revision history:
 * version 2.1.0a;     2004/04/24  hof: created
 */

#ifndef _GAP_STORY_SYNTAX_H
#define _GAP_STORY_SYNTAX_H

#include "libgimp/gimp.h"


/* record keynames in Storyboard files */
#define GAP_STBKEY_STB_HEADER               "STORYBOARDFILE"
#define GAP_STBKEY_CLIP_HEADER              "CLIPLISTFILE"
#define GAP_STBKEY_LAYOUT_SIZE              "LAYOUT_SIZE"
#define GAP_STBKEY_EDIT_SETTINGS            "EDIT_SETTINGS"

#define GAP_STBKEY_VID_MASTER_SIZE          "VID_MASTER_SIZE"
#define GAP_STBKEY_VID_MASTER_FRAMERATE     "VID_MASTER_FRAMERATE"
#define GAP_STBKEY_VID_MASTER_FRAME_ASPECT  "VID_MASTER_FRAME_ASPECT"
#define GAP_STBKEY_VID_MASTER_LAYERSTACK    "VID_MASTER_LAYERSTACK"
#define GAP_STBKEY_VID_PREFERRED_DECODER    "VID_PREFERRED_DECODER"
#define GAP_STBKEY_VID_MASTER_INSERT_AREA   "VID_MASTER_INSERT_AREA"

#define GAP_STBKEY_MAIN_SECTION             "MAIN_SECTION"
#define GAP_STBKEY_SUB_SECTION              "SUB_SECTION"

#define GAP_STBKEY_VID_PLAY_SECTION         "VID_PLAY_SECTION"
#define GAP_STBKEY_VID_PLAY_BLACKSECTION    "VID_PLAY_BLACKSECTION"
#define GAP_STBKEY_VID_PLAY_MOVIE           "VID_PLAY_MOVIE"
#define GAP_STBKEY_VID_PLAY_FRAMES          "VID_PLAY_FRAMES"
#define GAP_STBKEY_VID_PLAY_ANIMIMAGE       "VID_PLAY_ANIMIMAGE"
#define GAP_STBKEY_VID_PLAY_IMAGE           "VID_PLAY_IMAGE"
#define GAP_STBKEY_VID_PLAY_COLOR           "VID_PLAY_COLOR"
#define GAP_STBKEY_VID_SILENCE              "VID_SILENCE"
#define GAP_STBKEY_VID_OPACITY              "VID_OPACITY"
#define GAP_STBKEY_VID_ZOOM_X               "VID_ZOOM_X"
#define GAP_STBKEY_VID_ZOOM_Y               "VID_ZOOM_Y"
#define GAP_STBKEY_VID_MOVE_X               "VID_MOVE_X"
#define GAP_STBKEY_VID_MOVE_Y               "VID_MOVE_Y"
#define GAP_STBKEY_VID_FIT_SIZE             "VID_FIT_SIZE"
#define GAP_STBKEY_VID_OVERLAP              "VID_OVERLAP"

#define GAP_STBKEY_MASK_IMAGE               "MASK_IMAGE"
#define GAP_STBKEY_MASK_ANIMIMAGE           "MASK_ANIMIMAGE"
#define GAP_STBKEY_MASK_FRAMES              "MASK_FRAMES"
#define GAP_STBKEY_MASK_MOVIE               "MASK_MOVIE"
#define GAP_STBKEY_MASK_BLACKSECTION        "MASK_BLACKSECTION"


#define GAP_STBKEY_AUD_MASTER_VOLUME        "AUD_MASTER_VOLUME"
#define GAP_STBKEY_AUD_MASTER_SAMPLERATE    "AUD_MASTER_SAMPLERATE"
#define GAP_STBKEY_AUD_PLAY_SOUND           "AUD_PLAY_SOUND"
#define GAP_STBKEY_AUD_PLAY_MOVIE           "AUD_PLAY_MOVIE"
#define GAP_STBKEY_AUD_SILENCE              "AUD_SILENCE"

#define GAP_STB_VTRACK1_TOP_TRUE  "TOP"
#define GAP_STB_VTRACK1_TOP_FALSE "BACKGROUND"

typedef struct GapStbSyntaxParnames
{
  const char* parname[30];
  gint   tabsize;
} GapStbSyntaxParnames;


gint           gap_stb_syntax_get_parname_idx(const char *record_key
                 ,const char *parname
                 );

char*          gap_stb_syntax_get_parname(const char *record_key
                 ,gint par_idx
                 );
void           gap_stb_syntax_get_parname_tab(const char *record_key
                 ,GapStbSyntaxParnames *par_tab
                 );

#endif