Blender V5.3
fmodifier_ui.cc File Reference
#include <cstring>
#include "DNA_anim_types.h"
#include "DNA_scene_types.h"
#include "DNA_userdef_types.h"
#include "MEM_guardedalloc.h"
#include "BLT_translation.hh"
#include "BLI_listbase.hh"
#include "BLI_string_utf8.hh"
#include "BLI_utildefines.hh"
#include "BKE_context.hh"
#include "BKE_fcurve.hh"
#include "BKE_screen.hh"
#include "WM_api.hh"
#include "WM_types.hh"
#include "RNA_access.hh"
#include "RNA_prototypes.hh"
#include "UI_interface.hh"
#include "UI_interface_layout.hh"
#include "UI_resources.hh"
#include "ED_anim_api.hh"
#include "ED_undo.hh"
#include "DEG_depsgraph.hh"

Go to the source code of this file.

Classes

struct  blender::FModifierDeleteContext

Namespaces

namespace  blender
 BMesh Iterators.

Typedefs

using blender::PanelDrawFn = void (*)(const bContext *, Panel *)

Functions

General UI Callbacks and Drawing
static void blender::fmodifier_panel_header (const bContext *C, Panel *panel)
static void blender::delete_fmodifier_cb (bContext *C, void *ctx_v, void *fcm_v)
static void blender::fmodifier_influence_draw (ui::Layout &layout, PointerRNA *ptr)
static void blender::fmodifier_frame_range_header_draw (const bContext *C, Panel *panel)
static void blender::fmodifier_frame_range_draw (const bContext *C, Panel *panel)
Panel Registering and Panel Callbacks
static ListBaseT< FModifier > * blender::fmodifier_list_space_specific (const bContext *C)
static PointerRNA * blender::fmodifier_get_pointers (const bContext *C, const Panel *panel, ID **r_owner_id)
static void blender::fmodifier_reorder (bContext *C, Panel *panel, int new_index)
static short blender::get_fmodifier_expand_flag (const bContext *, Panel *panel)
static void blender::set_fmodifier_expand_flag (const bContext *, Panel *panel, short expand_flag)
static PanelType * blender::fmodifier_panel_register (ARegionType *region_type, eFModifier_Types type, PanelDrawFn draw, PanelTypePollFn poll, const char *id_prefix)
static PanelType * blender::fmodifier_subpanel_register (ARegionType *region_type, const char *name, const char *label, PanelDrawFn draw_header, PanelDrawFn draw, PanelTypePollFn poll, PanelType *parent)
Generator Modifier
static void blender::generator_panel_draw (const bContext *C, Panel *panel)
static void blender::panel_register_generator (ARegionType *region_type, const char *id_prefix, PanelTypePollFn poll_fn)
Function Generator Modifier
static void blender::fn_generator_panel_draw (const bContext *C, Panel *panel)
static void blender::panel_register_fn_generator (ARegionType *region_type, const char *id_prefix, PanelTypePollFn poll_fn)
Cycles Modifier
static void blender::cycles_panel_draw (const bContext *C, Panel *panel)
static void blender::panel_register_cycles (ARegionType *region_type, const char *id_prefix, PanelTypePollFn poll_fn)
Noise Modifier
static void blender::noise_panel_draw (const bContext *C, Panel *panel)
static void blender::panel_register_noise (ARegionType *region_type, const char *id_prefix, PanelTypePollFn poll_fn)
Envelope Modifier
static void blender::fmod_envelope_addpoint_cb (bContext *C, void *fcm_dv, void *)
static void blender::fmod_envelope_deletepoint_cb (bContext *C, void *fcm_dv, void *ind_v)
static void blender::envelope_panel_draw (const bContext *C, Panel *panel)
static void blender::panel_register_envelope (ARegionType *region_type, const char *id_prefix, PanelTypePollFn poll_fn)
Limits Modifier
static void blender::limits_panel_draw (const bContext *C, Panel *panel)
static void blender::panel_register_limits (ARegionType *region_type, const char *id_prefix, PanelTypePollFn poll_fn)
Stepped Interpolation Modifier
static void blender::stepped_panel_draw (const bContext *C, Panel *panel)
static void blender::panel_register_stepped (ARegionType *region_type, const char *id_prefix, PanelTypePollFn poll_fn)
Smooth Modifier
static void blender::smooth_panel_draw (const bContext *C, Panel *panel)
static void blender::panel_register_smooth (ARegionType *region_type, const char *id_prefix, PanelTypePollFn poll_fn)
Panel Creation
void blender::ANIM_fmodifier_panels (const bContext *C, ID *owner_id, ListBaseT< FModifier > *fmodifiers, uiListPanelIDFromDataFunc panel_id_fn)
void blender::ANIM_modifier_panels_register_graph_and_NLA (ARegionType *region_type, const char *modifier_panel_prefix, PanelTypePollFn poll_function)
void blender::ANIM_modifier_panels_register_graph_only (ARegionType *region_type, const char *modifier_panel_prefix, PanelTypePollFn poll_function)

Copy / Paste Buffer Code

For now, this is also defined in this file so that it can be shared between the graph editor and the NLA editor.

static ListBaseT< FModifier > blender::fmodifier_copypaste_buf = {nullptr, nullptr}
void blender::ANIM_fmodifiers_copybuf_free ()
bool blender::ANIM_fmodifiers_copy_to_buf (ListBaseT< FModifier > *modifiers, bool active)
bool blender::ANIM_fmodifiers_paste_from_buf (ListBaseT< FModifier > *modifiers, bool replace, FCurve *curve)