Blender V2.61 - r43446
Defines | Functions | Variables

sequencer_draw.c File Reference

#include <string.h>
#include <math.h>
#include "MEM_guardedalloc.h"
#include "BLI_blenlib.h"
#include "BLI_math.h"
#include "BLI_utildefines.h"
#include "IMB_imbuf_types.h"
#include "DNA_scene_types.h"
#include "DNA_screen_types.h"
#include "DNA_space_types.h"
#include "DNA_userdef_types.h"
#include "DNA_sound_types.h"
#include "BKE_context.h"
#include "BKE_global.h"
#include "BKE_sequencer.h"
#include "BKE_sound.h"
#include "IMB_imbuf.h"
#include "BIF_gl.h"
#include "BIF_glutil.h"
#include "ED_anim_api.h"
#include "ED_markers.h"
#include "ED_types.h"
#include "UI_interface.h"
#include "UI_resources.h"
#include "UI_view2d.h"
#include "sequencer_intern.h"

Go to the source code of this file.

Defines

#define SEQ_LEFTHANDLE   1
#define SEQ_RIGHTHANDLE   2

Functions

static void draw_shadedstrip (Sequence *seq, unsigned char col[3], float x1, float y1, float x2, float y2)
static void get_seq_color3ubv (Scene *curscene, Sequence *seq, unsigned char col[3])
static void drawseqwave (Scene *scene, Sequence *seq, float x1, float y1, float x2, float y2, float stepsize)
static void drawmeta_stipple (int value)
static void drawmeta_contents (Scene *scene, Sequence *seqm, float x1, float y1, float x2, float y2)
static void draw_seq_handle (View2D *v2d, Sequence *seq, float pixelx, short direction)
static void draw_seq_extensions (Scene *scene, ARegion *ar, Sequence *seq)
static void draw_seq_text (View2D *v2d, Sequence *seq, float x1, float x2, float y1, float y2, const unsigned char background_col[3])
static void draw_seq_strip (Scene *scene, ARegion *ar, Sequence *seq, int outline_tint, float pixelx)
static void UNUSED_FUNCTION() set_special_seq_update (int val)
void draw_image_seq (const bContext *C, Scene *scene, ARegion *ar, SpaceSeq *sseq, int cfra, int frame_ofs)
static void draw_seq_backdrop (View2D *v2d)
static void draw_seq_strips (const bContext *C, Editing *ed, ARegion *ar)
static void seq_draw_sfra_efra (Scene *scene, View2D *v2d)
void draw_timeline_seq (const bContext *C, ARegion *ar)

Variables

static Sequencespecial_seq_update = NULL

Detailed Description

Definition in file sequencer_draw.c.


Define Documentation

#define SEQ_LEFTHANDLE   1

Definition at line 71 of file sequencer_draw.c.

Referenced by draw_seq_handle(), and draw_seq_strip().

#define SEQ_RIGHTHANDLE   2

Definition at line 72 of file sequencer_draw.c.

Referenced by draw_seq_handle(), and draw_seq_strip().


Function Documentation

void draw_image_seq ( const bContext C,
Scene scene,
ARegion ar,
SpaceSeq sseq,
int  cfra,
int  frame_ofs 
)
static void draw_seq_backdrop ( View2D v2d) [static]
static void draw_seq_extensions ( Scene scene,
ARegion ar,
Sequence seq 
) [static]
static void draw_seq_handle ( View2D v2d,
Sequence seq,
float  pixelx,
short  direction 
) [static]
static void draw_seq_strip ( Scene scene,
ARegion ar,
Sequence seq,
int  outline_tint,
float  pixelx 
) [static]
static void draw_seq_strips ( const bContext C,
Editing ed,
ARegion ar 
) [static]
static void draw_seq_text ( View2D v2d,
Sequence seq,
float  x1,
float  x2,
float  y1,
float  y2,
const unsigned char  background_col[3] 
) [static]
static void draw_shadedstrip ( Sequence seq,
unsigned char  col[3],
float  x1,
float  y1,
float  x2,
float  y2 
) [static]
void draw_timeline_seq ( const bContext C,
ARegion ar 
)
static void drawmeta_contents ( Scene scene,
Sequence seqm,
float  x1,
float  y1,
float  x2,
float  y2 
) [static]
static void drawmeta_stipple ( int  value) [static]

Definition at line 240 of file sequencer_draw.c.

References stipple_halftone.

Referenced by drawmeta_contents().

static void drawseqwave ( Scene scene,
Sequence seq,
float  x1,
float  y1,
float  x2,
float  y2,
float  stepsize 
) [static]
static void get_seq_color3ubv ( Scene curscene,
Sequence seq,
unsigned char  col[3] 
) [static]
static void seq_draw_sfra_efra ( Scene scene,
View2D v2d 
) [static]
static void UNUSED_FUNCTION() set_special_seq_update ( int  val) [static]

Definition at line 746 of file sequencer_draw.c.

References NULL, and simple_enum_gen::val.


Variable Documentation

Sequence* special_seq_update = NULL [static]

Definition at line 744 of file sequencer_draw.c.