Blender  V3.3
nla_intern.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later
2  * Copyright 2009 Blender Foundation, Joshua Leung. All rights reserved. */
3 
8 #pragma once
9 
10 /* internal exports only */
11 
12 /* **************************************** */
13 /* Macros, etc. only used by NLA */
14 
15 /* **************************************** */
16 /* space_nla.c / nla_buttons.c */
17 
18 bool nla_panel_context(const bContext *C,
19  PointerRNA *adt_ptr,
20  PointerRNA *nlt_ptr,
21  PointerRNA *strip_ptr);
22 
24 
25 /* **************************************** */
26 /* nla_draw.c */
27 
28 void draw_nla_main_data(bAnimContext *ac, SpaceNla *snla, ARegion *region);
29 void draw_nla_channel_list(const bContext *C, bAnimContext *ac, ARegion *region);
30 
31 /* **************************************** */
32 /* nla_select.c */
33 
34 /* defines for left-right select tool */
40 };
41 
42 /* --- */
43 
48 
49 /* **************************************** */
50 /* nla_edit.c */
51 
52 /* defines for snap strips */
58 };
59 
60 /* --- */
61 
65 bool nlaedit_disable_tweakmode(bAnimContext *ac, bool do_solo);
66 
69 
70 /* --- */
71 
73 
77 
81 
84 
88 
90 
94 
96 
98 
101 
103 
107 
108 /* **************************************** */
109 /* nla_channels.c */
110 
114 bool nlaedit_add_tracks_existing(bAnimContext *ac, bool above_sel);
119 
120 /* --- */
121 
123 
126 
129 
131 
132 /* **************************************** */
133 /* nla_ops.c */
134 
143 
148 
149 /* --- */
150 
151 void nla_operatortypes(void);
152 void nla_keymap(wmKeyConfig *keyconf);
#define C
Definition: RandGen.cpp:25
void NLA_OT_view_frame(wmOperatorType *ot)
Definition: nla_edit.c:583
void NLA_OT_view_all(wmOperatorType *ot)
Definition: nla_edit.c:540
void NLA_OT_fmodifier_add(wmOperatorType *ot)
Definition: nla_edit.c:2633
void draw_nla_channel_list(const bContext *C, bAnimContext *ac, ARegion *region)
Definition: nla_draw.c:895
void NLA_OT_split(wmOperatorType *ot)
Definition: nla_edit.c:1492
void NLA_OT_tweakmode_exit(wmOperatorType *ot)
Definition: nla_edit.c:279
void NLA_OT_selected_objects_add(wmOperatorType *ot)
Definition: nla_channels.c:811
bool nlaop_poll_tweakmode_on(bContext *C)
Definition: nla_ops.c:50
void NLA_OT_tracks_delete(wmOperatorType *ot)
Definition: nla_channels.c:755
void NLA_OT_soundclip_add(wmOperatorType *ot)
Definition: nla_edit.c:964
void NLA_OT_select_box(wmOperatorType *ot)
Definition: nla_select.c:388
void NLA_OT_tweakmode_enter(wmOperatorType *ot)
Definition: nla_edit.c:168
void NLA_OT_clear_scale(wmOperatorType *ot)
Definition: nla_edit.c:2324
void NLA_OT_make_single_user(wmOperatorType *ot)
Definition: nla_edit.c:2117
void NLA_OT_tracks_add(wmOperatorType *ot)
Definition: nla_channels.c:675
void NLA_OT_meta_add(wmOperatorType *ot)
Definition: nla_edit.c:1042
void NLA_OT_meta_remove(wmOperatorType *ot)
Definition: nla_edit.c:1109
bool nlaedit_is_tweakmode_on(bAnimContext *ac)
Definition: nla_ops.c:72
void NLA_OT_snap(wmOperatorType *ot)
Definition: nla_edit.c:2488
void NLA_OT_swap(wmOperatorType *ot)
Definition: nla_edit.c:1747
void NLA_OT_mute_toggle(wmOperatorType *ot)
Definition: nla_edit.c:1564
void nla_keymap(wmKeyConfig *keyconf)
Definition: nla_ops.c:167
void NLA_OT_move_up(wmOperatorType *ot)
Definition: nla_edit.c:1839
void NLA_OT_delete(wmOperatorType *ot)
Definition: nla_edit.c:1327
void NLA_OT_click_select(wmOperatorType *ot)
Definition: nla_select.c:697
void NLA_OT_action_unlink(wmOperatorType *ot)
Definition: nla_channels.c:530
void NLA_OT_previewrange_set(wmOperatorType *ot)
Definition: nla_edit.c:402
void NLA_OT_fmodifier_copy(wmOperatorType *ot)
Definition: nla_edit.c:2716
void NLA_OT_move_down(wmOperatorType *ot)
Definition: nla_edit.c:1931
void NLA_OT_select_leftright(wmOperatorType *ot)
Definition: nla_select.c:557
bool nla_panel_context(const bContext *C, PointerRNA *adt_ptr, PointerRNA *nlt_ptr, PointerRNA *strip_ptr)
Definition: nla_buttons.c:59
void NLA_OT_transition_add(wmOperatorType *ot)
Definition: nla_edit.c:870
void NLA_OT_channels_click(wmOperatorType *ot)
Definition: nla_channels.c:336
void draw_nla_main_data(bAnimContext *ac, SpaceNla *snla, ARegion *region)
Definition: nla_draw.c:787
void NLA_OT_view_selected(wmOperatorType *ot)
Definition: nla_edit.c:555
bool nlaop_poll_tweakmode_off(bContext *C)
Definition: nla_ops.c:28
void NLA_OT_action_pushdown(wmOperatorType *ot)
Definition: nla_channels.c:457
eNlaEdit_LeftRightSelect_Mode
Definition: nla_intern.h:35
@ NLAEDIT_LRSEL_NONE
Definition: nla_intern.h:37
@ NLAEDIT_LRSEL_RIGHT
Definition: nla_intern.h:39
@ NLAEDIT_LRSEL_TEST
Definition: nla_intern.h:36
@ NLAEDIT_LRSEL_LEFT
Definition: nla_intern.h:38
void NLA_OT_duplicate(wmOperatorType *ot)
Definition: nla_edit.c:1226
eNlaEdit_Snap_Mode
Definition: nla_intern.h:53
@ NLAEDIT_SNAP_NEAREST_MARKER
Definition: nla_intern.h:57
@ NLAEDIT_SNAP_NEAREST_SECOND
Definition: nla_intern.h:56
@ NLAEDIT_SNAP_NEAREST_FRAME
Definition: nla_intern.h:55
@ NLAEDIT_SNAP_CFRA
Definition: nla_intern.h:54
void nla_buttons_register(ARegionType *art)
Definition: nla_buttons.c:610
bool nlaedit_disable_tweakmode(bAnimContext *ac, bool do_solo)
Definition: nla_edit.c:208
bool nlaedit_add_tracks_existing(bAnimContext *ac, bool above_sel)
Definition: nla_channels.c:556
bool nlaedit_add_tracks_empty(bAnimContext *ac)
Definition: nla_channels.c:604
void NLA_OT_actionclip_add(wmOperatorType *ot)
Definition: nla_edit.c:728
void NLA_OT_fmodifier_paste(wmOperatorType *ot)
Definition: nla_edit.c:2811
void NLA_OT_action_sync_length(wmOperatorType *ot)
Definition: nla_edit.c:2018
void NLA_OT_apply_scale(wmOperatorType *ot)
Definition: nla_edit.c:2253
void NLA_OT_select_all(wmOperatorType *ot)
Definition: nla_select.c:176
void nla_operatortypes(void)
Definition: nla_ops.c:82
wmOperatorType * ot
Definition: wm_files.c:3479