Blender V5.0
nla_intern.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2009 Blender Authors, Joshua Leung. All rights reserved.
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
8
9#pragma once
10
11struct ARegion;
12struct ARegionType;
13struct ListBase;
14struct PointerRNA;
15struct SpaceNla;
16struct bAnimContext;
17struct bContext;
18struct wmKeyConfig;
19struct wmOperatorType;
20
21/* internal exports only */
22
23/* **************************************** */
24/* Macros, etc. only used by NLA */
25
26/* **************************************** */
27/* `space_nla.cc` / `nla_buttons.cc`. */
28
29bool nla_panel_context(const bContext *C,
30 PointerRNA *adt_ptr,
31 PointerRNA *nlt_ptr,
32 PointerRNA *strip_ptr);
33
35
36/* **************************************** */
37/* `nla_draw.cc` */
38
39void draw_nla_main_data(bAnimContext *ac, SpaceNla *snla, ARegion *region);
41 bAnimContext *ac,
42 ARegion *region,
43 const ListBase /*bAnimListElem*/ &anim_data);
44
45/* **************************************** */
46/* `nla_select.cc` */
47
48/* defines for left-right select tool */
55
56/* --- */
57
62
63/* **************************************** */
64/* `nla_edit.cc` */
65
66/* defines for snap strips */
73
74/* --- */
75
79bool nlaedit_disable_tweakmode(bAnimContext *ac, bool do_solo);
80
83
84/* --- */
85
87
91
95
98
102
104
108
110
112
115
117
121
122/* **************************************** */
123/* `nla_tracks.cc` */
124
128bool nlaedit_add_tracks_existing(bAnimContext *ac, bool above_sel);
133
134/* --- */
135
137
140
143
145
146/* **************************************** */
147/* `nla_ops.cc` */
148
157
162
163/* --- */
164
165void nla_operatortypes();
166void nla_keymap(wmKeyConfig *keyconf);
#define C
Definition RandGen.cpp:29
void NLA_OT_view_frame(wmOperatorType *ot)
Definition nla_edit.cc:592
void NLA_OT_view_all(wmOperatorType *ot)
Definition nla_edit.cc:549
void NLA_OT_fmodifier_add(wmOperatorType *ot)
Definition nla_edit.cc:2649
void NLA_OT_split(wmOperatorType *ot)
Definition nla_edit.cc:1500
void NLA_OT_tweakmode_exit(wmOperatorType *ot)
Definition nla_edit.cc:290
void NLA_OT_selected_objects_add(wmOperatorType *ot)
bool nlaop_poll_tweakmode_on(bContext *C)
Definition nla_ops.cc:49
void NLA_OT_tracks_delete(wmOperatorType *ot)
void NLA_OT_soundclip_add(wmOperatorType *ot)
Definition nla_edit.cc:985
void NLA_OT_select_box(wmOperatorType *ot)
void NLA_OT_tweakmode_enter(wmOperatorType *ot)
Definition nla_edit.cc:180
void NLA_OT_clear_scale(wmOperatorType *ot)
Definition nla_edit.cc:2344
void NLA_OT_make_single_user(wmOperatorType *ot)
Definition nla_edit.cc:2137
void NLA_OT_tracks_add(wmOperatorType *ot)
void NLA_OT_meta_add(wmOperatorType *ot)
Definition nla_edit.cc:1060
void NLA_OT_meta_remove(wmOperatorType *ot)
Definition nla_edit.cc:1125
bool nlaedit_is_tweakmode_on(bAnimContext *ac)
Definition nla_ops.cc:71
void NLA_OT_snap(wmOperatorType *ot)
Definition nla_edit.cc:2507
void NLA_OT_swap(wmOperatorType *ot)
Definition nla_edit.cc:1758
void nla_operatortypes()
Definition nla_ops.cc:81
void NLA_OT_mute_toggle(wmOperatorType *ot)
Definition nla_edit.cc:1569
void nla_keymap(wmKeyConfig *keyconf)
Definition nla_ops.cc:169
void NLA_OT_move_up(wmOperatorType *ot)
Definition nla_edit.cc:1849
void NLA_OT_delete(wmOperatorType *ot)
Definition nla_edit.cc:1337
void NLA_OT_click_select(wmOperatorType *ot)
void NLA_OT_action_unlink(wmOperatorType *ot)
void NLA_OT_previewrange_set(wmOperatorType *ot)
Definition nla_edit.cc:410
void NLA_OT_fmodifier_copy(wmOperatorType *ot)
Definition nla_edit.cc:2732
void NLA_OT_move_down(wmOperatorType *ot)
Definition nla_edit.cc:1940
void NLA_OT_select_leftright(wmOperatorType *ot)
void draw_nla_track_list(const bContext *C, bAnimContext *ac, ARegion *region, const ListBase &anim_data)
Definition nla_draw.cc:974
bool nla_panel_context(const bContext *C, PointerRNA *adt_ptr, PointerRNA *nlt_ptr, PointerRNA *strip_ptr)
void NLA_OT_transition_add(wmOperatorType *ot)
Definition nla_edit.cc:895
void NLA_OT_channels_click(wmOperatorType *ot)
void draw_nla_main_data(bAnimContext *ac, SpaceNla *snla, ARegion *region)
Definition nla_draw.cc:787
void NLA_OT_view_selected(wmOperatorType *ot)
Definition nla_edit.cc:564
bool nlaop_poll_tweakmode_off(bContext *C)
Definition nla_ops.cc:27
void NLA_OT_action_pushdown(wmOperatorType *ot)
eNlaEdit_LeftRightSelect_Mode
Definition nla_intern.hh:49
@ NLAEDIT_LRSEL_NONE
Definition nla_intern.hh:51
@ NLAEDIT_LRSEL_RIGHT
Definition nla_intern.hh:53
@ NLAEDIT_LRSEL_TEST
Definition nla_intern.hh:50
@ NLAEDIT_LRSEL_LEFT
Definition nla_intern.hh:52
void NLA_OT_duplicate(wmOperatorType *ot)
Definition nla_edit.cc:1239
eNlaEdit_Snap_Mode
Definition nla_intern.hh:67
@ NLAEDIT_SNAP_NEAREST_MARKER
Definition nla_intern.hh:71
@ NLAEDIT_SNAP_NEAREST_SECOND
Definition nla_intern.hh:70
@ NLAEDIT_SNAP_NEAREST_FRAME
Definition nla_intern.hh:69
@ NLAEDIT_SNAP_CFRA
Definition nla_intern.hh:68
void nla_buttons_register(ARegionType *art)
bool nlaedit_disable_tweakmode(bAnimContext *ac, bool do_solo)
Definition nla_edit.cc:220
bool nlaedit_add_tracks_existing(bAnimContext *ac, bool above_sel)
bool nlaedit_add_tracks_empty(bAnimContext *ac)
void NLA_OT_actionclip_add(wmOperatorType *ot)
Definition nla_edit.cc:755
void NLA_OT_fmodifier_paste(wmOperatorType *ot)
Definition nla_edit.cc:2825
void NLA_OT_action_sync_length(wmOperatorType *ot)
Definition nla_edit.cc:2024
void NLA_OT_apply_scale(wmOperatorType *ot)
Definition nla_edit.cc:2278
void NLA_OT_select_all(wmOperatorType *ot)
wmOperatorType * ot
Definition wm_files.cc:4237