Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

audio_transitions.cc File Reference

#include <iostream>
#include <glade/glade.h>
#include "audio_transitions.h"
#include "page_magick.h"
#include "support.h"

Include dependency graph for audio_transitions.cc:

Go to the source code of this file.

Defines

#define MAX_VECTOR   1000

Functions

static void gtk_curve_reset_vector (GtkCurve *curve)
 Audio transition switch - determines the point at which the b frames audio is used during an frame transition.
static void on_optionmenu_selected (GtkMenuItem *menu_item, gpointer user_data)
 Callback for selection change.

Variables

GladeXML * magick_glade


Define Documentation

#define MAX_VECTOR   1000
 

Definition at line 67 of file audio_transitions.cc.


Function Documentation

static void gtk_curve_reset_vector GtkCurve *  curve  )  [static]
 

Audio transition switch - determines the point at which the b frames audio is used during an frame transition.

Definition at line 41 of file audio_transitions.cc.

00042 {
00043     if ( curve->ctlpoint )
00044         g_free ( curve->ctlpoint );
00045 
00046     curve->num_ctlpoints = 2;
00047     curve->ctlpoint = ( gfloat( * ) [ 2 ] ) g_malloc ( 2 * sizeof ( curve->ctlpoint[ 0 ] ) );
00048     curve->ctlpoint[ 0 ][ 0 ] = curve->min_x;
00049     curve->ctlpoint[ 0 ][ 1 ] = curve->max_y;
00050     curve->ctlpoint[ 1 ][ 0 ] = curve->max_x;
00051     curve->ctlpoint[ 1 ][ 1 ] = curve->min_y;
00052 
00053 }

static void on_optionmenu_selected GtkMenuItem *  menu_item,
gpointer  user_data
[static]
 

Callback for selection change.

Definition at line 133 of file audio_transitions.cc.

00134 {
00135     ( ( GDKAudioTransitionRepository * ) user_data ) ->SelectionChange();
00136 }


Variable Documentation

GladeXML* magick_glade
 

Definition at line 46 of file main.c.


Generated on Sun Mar 11 22:11:49 2007 for Kino by  doxygen 1.4.2