Blender V5.3
action_draw.cc File Reference
#include <cfloat>
#include <cstdlib>
#include <cstring>
#include "BLI_listbase.hh"
#include "BLI_math_vector_c.hh"
#include "BLI_memory_utils.hh"
#include "BLI_utildefines.hh"
#include "DNA_anim_types.h"
#include "DNA_modifier_types.h"
#include "DNA_node_types.h"
#include "DNA_object_types.h"
#include "DNA_scene_types.h"
#include "DNA_screen_types.h"
#include "BKE_bake_geometry_nodes_modifier.hh"
#include "BKE_pointcache.h"
#include "BKE_scene_runtime.hh"
#include "ANIM_action.hh"
#include "GPU_immediate.hh"
#include "GPU_matrix.hh"
#include "GPU_state.hh"
#include "UI_interface.hh"
#include "UI_resources.hh"
#include "UI_view2d.hh"
#include "ED_anim_api.hh"
#include "ED_keyframes_draw.hh"
#include "MOD_nodes.hh"
#include "action_intern.hh"

Go to the source code of this file.

Classes

struct  blender::CacheRange

Namespaces

namespace  blender
 BMesh Iterators.

Functions

Channel List
void blender::draw_channel_names (bContext *C, bAnimContext *ac, ARegion *region, const ListBaseT< bAnimListElem > &anim_data)
Timeline - Caches
static bool blender::timeline_cache_is_hidden_by_setting (const SpaceAction *saction, const PTCacheID *pid)
static void blender::timeline_cache_color_get (PTCacheID *pid, float color[4])
static void blender::timeline_cache_modify_color_based_on_state (PointCache *cache, float color[4], float color_state[4])
static bool blender::timeline_cache_find_next_cached_segment (PointCache *cache, int search_start_frame, int *r_segment_start, int *r_segment_end)
static uint blender::timeline_cache_segments_count (PointCache *cache)
static void blender::timeline_cache_draw_cached_segments (PointCache *cache, uint pos_id)
static void blender::timeline_cache_draw_single (PTCacheID *pid, float y_offset, float height, uint pos_id)
static void blender::timeline_cache_draw_geometry_nodes (const Span< CacheRange > cache_ranges, const bool all_simulations_baked, float *y_offset, const float line_height, const uint pos_id)
static void blender::timeline_cache_draw_compositor (const Vector< bke::compositor::Cache::FrameRange > cached_frame_ranges, const float y_offset, const float line_height, const uint pos_id)
void blender::timeline_draw_cache (const SpaceAction *saction, const Object *ob, const Scene *scene)

Keyframes

#define EXTRA_SCROLL_PAD   100.0f
static void blender::draw_channel_action_ranges (ListBaseT< bAnimListElem > *anim_data, View2D *v2d)
static void blender::draw_backdrops (bAnimContext *ac, ListBaseT< bAnimListElem > &anim_data, View2D *v2d, uint pos)
static void blender::draw_keyframes (bAnimContext *ac, View2D *v2d, SpaceAction *saction, const ListBaseT< bAnimListElem > &anim_data)
void blender::draw_channel_strips (bAnimContext *ac, SpaceAction *saction, ARegion *region, ListBaseT< bAnimListElem > *anim_data)

Macro Definition Documentation

◆ EXTRA_SCROLL_PAD

#define EXTRA_SCROLL_PAD   100.0f

Definition at line 117 of file action_draw.cc.