Blender V5.3
graph_buttons.cc File Reference
#include <cfloat>
#include <cstring>
#include "DNA_anim_enums.h"
#include "DNA_anim_types.h"
#include "DNA_object_types.h"
#include "DNA_scene_types.h"
#include "MEM_guardedalloc.h"
#include "BLI_listbase.hh"
#include "BLI_math_rotation_c.hh"
#include "BLI_string.hh"
#include "BLI_string_utf8.hh"
#include "BLI_utildefines.hh"
#include "BLT_translation.hh"
#include "BKE_anim_data.hh"
#include "BKE_context.hh"
#include "BKE_curve.hh"
#include "BKE_fcurve.hh"
#include "BKE_fcurve_driver.h"
#include "BKE_global.hh"
#include "BKE_screen.hh"
#include "BKE_unit.hh"
#include "DEG_depsgraph.hh"
#include "DEG_depsgraph_build.hh"
#include "WM_api.hh"
#include "WM_types.hh"
#include "RNA_access.hh"
#include "RNA_path.hh"
#include "RNA_prototypes.hh"
#include "ED_anim_api.hh"
#include "ED_screen.hh"
#include "ED_undo.hh"
#include "UI_interface.hh"
#include "UI_interface_layout.hh"
#include "UI_resources.hh"
#include "graph_intern.hh"

Go to the source code of this file.

Namespaces

namespace  blender
 BMesh Iterators.

Functions

Internal Utilities
static bool blender::graph_panel_context (const bContext *C, bAnimListElem **ale, FCurve **fcu)
static bool blender::graph_panel_poll (const bContext *C, PanelType *)
UI Panel Drawing

F-Modifier tools.

FCurve * blender::ANIM_graph_context_fcurve (const bContext *C)
Cursor Header
static void blender::graph_panel_cursor_header (const bContext *C, Panel *panel)
static void blender::graph_panel_cursor (const bContext *C, Panel *panel)
Active F-Curve
static void blender::graph_panel_properties (const bContext *C, Panel *panel)
Active Keyframe
static bool blender::get_active_fcurve_keyframe_edit (const FCurve *fcu, BezTriple **r_bezt, BezTriple **r_prevbezt)
static void blender::graphedit_activekey_update_cb (bContext *, void *fcu_ptr, void *)
static void blender::graphedit_activekey_handles_cb (bContext *C, void *fcu_ptr, void *bezt_ptr)
static void blender::graphedit_activekey_handle_left_cb (bContext *C, void *fcu_ptr, void *bezt_ptr)
static void blender::graphedit_activekey_handle_right_cb (bContext *C, void *fcu_ptr, void *bezt_ptr)
static void blender::graphedit_activekey_left_handle_coord_cb (bContext *C, void *fcu_ptr, void *bezt_ptr)
static void blender::graphedit_activekey_right_handle_coord_cb (bContext *C, void *fcu_ptr, void *bezt_ptr)
static void blender::graph_panel_key_properties (const bContext *C, Panel *panel)
Drivers
static void blender::do_graph_region_driver_buttons (bContext *C, void *, int)
static void blender::do_graph_dependency_change_cb (bContext *C, ID *id)
static void blender::driver_add_var_cb (bContext *C, ChannelDriver *driver)
static void blender::driver_delete_var_cb (bContext *C, ChannelDriver *driver, DriverVar *dvar)
static void blender::driver_dvar_invalid_name_query_cb (bContext *C, DriverVar *dvar)
static void blender::driver_update_flags_cb (FCurve *fcu)
static bool blender::graph_panel_drivers_poll (const bContext *C, PanelType *)
static void blender::graph_panel_driverVar_fallback (ui::Layout &layout, const DriverTarget *dtar, PointerRNA *dtar_ptr)
static void blender::graph_panel_driverVar__singleProp (ui::Layout &layout, ID *id, DriverVar *dvar)
static void blender::graph_panel_driverVar__rotDiff (ui::Layout &layout, ID *id, DriverVar *dvar)
static void blender::graph_panel_driverVar__locDiff (ui::Layout &layout, ID *id, DriverVar *dvar)
static void blender::graph_panel_driverVar__transChan (ui::Layout &layout, ID *id, DriverVar *dvar)
static void blender::graph_panel_driverVar__contextProp (ui::Layout &layout, ID *id, DriverVar *dvar)
static void blender::graph_draw_driven_property_enabled_btn (ui::Layout &layout, ID *id, FCurve *fcu, const char *label)
static void blender::graph_panel_drivers_header (const bContext *C, Panel *panel)
static void blender::graph_draw_driven_property_panel (ui::Layout &layout, ID *id, FCurve *fcu)
static void blender::graph_draw_driver_settings_panel (ui::Layout &layout, ID *id, FCurve *fcu, const bool is_popover)
static void blender::graph_panel_driven_property (const bContext *C, Panel *panel)
static void blender::graph_panel_drivers (const bContext *C, Panel *panel)
static bool blender::graph_panel_drivers_popover_poll (const bContext *C, PanelType *)
static void blender::graph_panel_drivers_popover (const bContext *C, Panel *panel)
Registration
void blender::graph_buttons_register (ARegionType *art)

F-Curve Modifiers

Note
All the drawing code is in editors/animation/fmodifier_ui.cc.
#define GRAPH_FMODIFIER_PANEL_PREFIX   "GRAPH"
static void blender::graph_fmodifier_panel_id (void *fcm_link, char *r_name)
static void blender::graph_panel_modifiers (const bContext *C, Panel *panel)

Detailed Description

Graph editor space & buttons.

Definition in file graph_buttons.cc.

Macro Definition Documentation

◆ GRAPH_FMODIFIER_PANEL_PREFIX

#define GRAPH_FMODIFIER_PANEL_PREFIX   "GRAPH"

The start of FModifier panels registered for the graph editor.

Definition at line 1321 of file graph_buttons.cc.

Referenced by blender::graph_buttons_register(), and blender::graph_fmodifier_panel_id().