Blender V2.61 - r43446
Classes | Defines | Functions

clip_buttons.c File Reference

#include <string.h>
#include <stdio.h>
#include "MEM_guardedalloc.h"
#include "DNA_scene_types.h"
#include "DNA_screen_types.h"
#include "DNA_space_types.h"
#include "BLI_math.h"
#include "BLI_utildefines.h"
#include "BLI_listbase.h"
#include "BKE_context.h"
#include "BKE_depsgraph.h"
#include "BKE_screen.h"
#include "BKE_movieclip.h"
#include "BKE_tracking.h"
#include "ED_clip.h"
#include "ED_gpencil.h"
#include "UI_interface.h"
#include "UI_resources.h"
#include "RNA_access.h"
#include "WM_api.h"
#include "WM_types.h"
#include "clip_intern.h"

Go to the source code of this file.

Classes

struct  MarkerUpdateCb

Defines

#define B_MARKER_POS   3
#define B_MARKER_OFFSET   4
#define B_MARKER_PAT_DIM   5
#define B_MARKER_SEARCH_POS   6
#define B_MARKER_SEARCH_DIM   7
#define B_MARKER_FLAG   8

Functions

void ED_clip_buttons_register (ARegionType *art)
void uiTemplateMovieClip (uiLayout *layout, bContext *C, PointerRNA *ptr, const char *propname, int compact)
void uiTemplateTrack (uiLayout *layout, PointerRNA *ptr, const char *propname)
static void to_pixel_space (float r[2], float a[2], int width, int height)
static void marker_update_cb (bContext *C, void *arg_cb, void *UNUSED(arg))
static void marker_block_handler (bContext *C, void *arg_cb, int event)
void uiTemplateMarker (uiLayout *layout, PointerRNA *ptr, const char *propname, PointerRNA *userptr, PointerRNA *trackptr, int compact)

Detailed Description

Definition in file clip_buttons.c.


Define Documentation

#define B_MARKER_FLAG   8

Definition at line 172 of file clip_buttons.c.

Referenced by marker_block_handler(), and uiTemplateMarker().

#define B_MARKER_OFFSET   4

Definition at line 168 of file clip_buttons.c.

Referenced by marker_block_handler(), and uiTemplateMarker().

#define B_MARKER_PAT_DIM   5

Definition at line 169 of file clip_buttons.c.

Referenced by marker_block_handler(), and uiTemplateMarker().

#define B_MARKER_POS   3

Definition at line 167 of file clip_buttons.c.

Referenced by marker_block_handler(), and uiTemplateMarker().

#define B_MARKER_SEARCH_DIM   7

Definition at line 171 of file clip_buttons.c.

Referenced by marker_block_handler(), and uiTemplateMarker().

#define B_MARKER_SEARCH_POS   6

Definition at line 170 of file clip_buttons.c.

Referenced by marker_block_handler(), and uiTemplateMarker().


Function Documentation

void ED_clip_buttons_register ( ARegionType art)
static void marker_block_handler ( bContext C,
void *  arg_cb,
int  event 
) [static]
static void marker_update_cb ( bContext C,
void *  arg_cb,
void *  UNUSEDarg 
) [static]
static void to_pixel_space ( float  r[2],
float  a[2],
int  width,
int  height 
) [static]

Definition at line 189 of file clip_buttons.c.

References copy_v2_v2().

Referenced by uiTemplateMarker().

void uiTemplateMarker ( uiLayout layout,
PointerRNA ptr,
const char *  propname,
PointerRNA userptr,
PointerRNA trackptr,
int  compact 
)
void uiTemplateMovieClip ( uiLayout layout,
bContext C,
PointerRNA ptr,
const char *  propname,
int  compact 
)
void uiTemplateTrack ( uiLayout layout,
PointerRNA ptr,
const char *  propname 
)