Blender
V3.3
|
#include <stdlib.h>
#include "MEM_guardedalloc.h"
#include "DNA_anim_types.h"
#include "BLI_math.h"
#include "BLI_string.h"
#include "BKE_context.h"
#include "BKE_nla.h"
#include "BKE_unit.h"
#include "ED_screen.h"
#include "UI_interface.h"
#include "UI_view2d.h"
#include "BLT_translation.h"
#include "transform.h"
#include "transform_convert.h"
#include "transform_mode.h"
Go to the source code of this file.
Functions | |
Transform (Animation Time Slide) | |
static void | headerTimeSlide (TransInfo *t, const float sval, char str[UI_MAX_DRAW_STR]) |
static void | applyTimeSlideValue (TransInfo *t, float sval, float cval) |
static void | applyTimeSlide (TransInfo *t, const int mval[2]) |
void | initTimeSlide (TransInfo *t) |
Definition at line 120 of file transform_mode_timeslide.c.
References applyNumInput(), applyTimeSlideValue(), ED_area_status_text(), headerTimeSlide(), recalcData(), str, t, UI_MAX_DRAW_STR, and UI_view2d_region_to_view().
Referenced by initTimeSlide().
Definition at line 60 of file transform_mode_timeslide.c.
References BKE_nla_tweakedit_remap(), CLAMPIS, FOREACH_TRANS_DATA_CONTAINER, if(), TransData::ival, NLATIME_CONVERT_MAP, NLATIME_CONVERT_UNMAP, NULL, SPACE_ACTION, SPACE_NLA, t, SpaceAction::timeslide, and TransData::val.
Referenced by applyTimeSlide().
Definition at line 37 of file transform_mode_timeslide.c.
References BLI_snprintf(), CLAMP, hasNumInput(), NUM_STR_REP_LEN, outputNumInput(), str, t, TIP_, and UI_MAX_DRAW_STR.
Referenced by applyTimeSlide().
Definition at line 150 of file transform_mode_timeslide.c.
References applyTimeSlide(), B_UNIT_NONE, BKE_nla_tweakedit_remap(), copy_v3_fl(), SpaceAction::flag, float(), FOREACH_TRANS_DATA_CONTAINER, initMouseInputMode(), INPUT_NONE, max, MEM_mallocN, min, NLATIME_CONVERT_MAP, NULL, PEFRA, PSFRA, SACTION_MOVING, scene, SPACE_ACTION, SPACE_NLA, t, TFM_TIME_SLIDE, TRANS_CANCEL, and TransData::val.
Referenced by transform_mode_init().