Blender V4.3
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
9#pragma once
10
11/* internal exports only */
12
13/* **************************************** */
14/* Macros, etc. only used by NLA */
15
16/* **************************************** */
17/* `space_nla.cc` / `nla_buttons.cc`. */
18
19bool nla_panel_context(const bContext *C,
20 PointerRNA *adt_ptr,
21 PointerRNA *nlt_ptr,
22 PointerRNA *strip_ptr);
23
25
26/* **************************************** */
27/* `nla_draw.cc` */
28
29void draw_nla_main_data(bAnimContext *ac, SpaceNla *snla, ARegion *region);
30void draw_nla_track_list(const bContext *C,
31 bAnimContext *ac,
32 ARegion *region,
33 const ListBase /*bAnimListElem*/ &anim_data);
34
35/* **************************************** */
36/* `nla_select.cc` */
37
38/* defines for left-right select tool */
45
46/* --- */
47
52
53/* **************************************** */
54/* `nla_edit.cc` */
55
56/* defines for snap strips */
63
64/* --- */
65
69bool nlaedit_disable_tweakmode(bAnimContext *ac, bool do_solo);
70
73
74/* --- */
75
77
81
85
88
92
94
98
100
102
105
107
111
112/* **************************************** */
113/* `nla_tracks.cc` */
114
118bool nlaedit_add_tracks_existing(bAnimContext *ac, bool above_sel);
123
124/* --- */
125
127
130
133
135
136/* **************************************** */
137/* `nla_ops.cc` */
138
147
152
153/* --- */
154
155void nla_operatortypes();
156void nla_keymap(wmKeyConfig *keyconf);
void NLA_OT_view_frame(wmOperatorType *ot)
Definition nla_edit.cc:585
void NLA_OT_view_all(wmOperatorType *ot)
Definition nla_edit.cc:542
void NLA_OT_fmodifier_add(wmOperatorType *ot)
Definition nla_edit.cc:2631
void NLA_OT_split(wmOperatorType *ot)
Definition nla_edit.cc:1489
void NLA_OT_tweakmode_exit(wmOperatorType *ot)
Definition nla_edit.cc:283
void NLA_OT_selected_objects_add(wmOperatorType *ot)
bool nlaop_poll_tweakmode_on(bContext *C)
Definition nla_ops.cc:50
void NLA_OT_tracks_delete(wmOperatorType *ot)
void NLA_OT_soundclip_add(wmOperatorType *ot)
Definition nla_edit.cc:976
void NLA_OT_select_box(wmOperatorType *ot)
void NLA_OT_tweakmode_enter(wmOperatorType *ot)
Definition nla_edit.cc:173
void NLA_OT_clear_scale(wmOperatorType *ot)
Definition nla_edit.cc:2326
void NLA_OT_make_single_user(wmOperatorType *ot)
Definition nla_edit.cc:2124
void NLA_OT_tracks_add(wmOperatorType *ot)
void NLA_OT_meta_add(wmOperatorType *ot)
Definition nla_edit.cc:1051
void NLA_OT_meta_remove(wmOperatorType *ot)
Definition nla_edit.cc:1116
bool nlaedit_is_tweakmode_on(bAnimContext *ac)
Definition nla_ops.cc:72
void NLA_OT_snap(wmOperatorType *ot)
Definition nla_edit.cc:2489
void NLA_OT_swap(wmOperatorType *ot)
Definition nla_edit.cc:1747
void nla_operatortypes()
Definition nla_ops.cc:82
void NLA_OT_mute_toggle(wmOperatorType *ot)
Definition nla_edit.cc:1558
void nla_keymap(wmKeyConfig *keyconf)
Definition nla_ops.cc:170
void NLA_OT_move_up(wmOperatorType *ot)
Definition nla_edit.cc:1838
void NLA_OT_delete(wmOperatorType *ot)
Definition nla_edit.cc:1326
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:403
void NLA_OT_fmodifier_copy(wmOperatorType *ot)
Definition nla_edit.cc:2714
void NLA_OT_move_down(wmOperatorType *ot)
Definition nla_edit.cc:1929
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:973
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:886
void NLA_OT_channels_click(wmOperatorType *ot)
void draw_nla_main_data(bAnimContext *ac, SpaceNla *snla, ARegion *region)
Definition nla_draw.cc:786
void NLA_OT_view_selected(wmOperatorType *ot)
Definition nla_edit.cc:557
bool nlaop_poll_tweakmode_off(bContext *C)
Definition nla_ops.cc:28
void NLA_OT_action_pushdown(wmOperatorType *ot)
eNlaEdit_LeftRightSelect_Mode
Definition nla_intern.hh:39
@ NLAEDIT_LRSEL_NONE
Definition nla_intern.hh:41
@ NLAEDIT_LRSEL_RIGHT
Definition nla_intern.hh:43
@ NLAEDIT_LRSEL_TEST
Definition nla_intern.hh:40
@ NLAEDIT_LRSEL_LEFT
Definition nla_intern.hh:42
void NLA_OT_duplicate(wmOperatorType *ot)
Definition nla_edit.cc:1228
eNlaEdit_Snap_Mode
Definition nla_intern.hh:57
@ NLAEDIT_SNAP_NEAREST_MARKER
Definition nla_intern.hh:61
@ NLAEDIT_SNAP_NEAREST_SECOND
Definition nla_intern.hh:60
@ NLAEDIT_SNAP_NEAREST_FRAME
Definition nla_intern.hh:59
@ NLAEDIT_SNAP_CFRA
Definition nla_intern.hh:58
void nla_buttons_register(ARegionType *art)
bool nlaedit_disable_tweakmode(bAnimContext *ac, bool do_solo)
Definition nla_edit.cc:213
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:746
void NLA_OT_fmodifier_paste(wmOperatorType *ot)
Definition nla_edit.cc:2807
void NLA_OT_action_sync_length(wmOperatorType *ot)
Definition nla_edit.cc:2013
void NLA_OT_apply_scale(wmOperatorType *ot)
Definition nla_edit.cc:2260
void NLA_OT_select_all(wmOperatorType *ot)
wmOperatorType * ot
Definition wm_files.cc:4125