Blender  V2.93
nla_intern.h
Go to the documentation of this file.
1 /*
2  * This program is free software; you can redistribute it and/or
3  * modify it under the terms of the GNU General Public License
4  * as published by the Free Software Foundation; either version 2
5  * of the License, or (at your option) any later version.
6  *
7  * This program is distributed in the hope that it will be useful,
8  * but WITHOUT ANY WARRANTY; without even the implied warranty of
9  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10  * GNU General Public License for more details.
11  *
12  * You should have received a copy of the GNU General Public License
13  * along with this program; if not, write to the Free Software Foundation,
14  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15  *
16  * The Original Code is Copyright (C) 2009 Blender Foundation, Joshua Leung.
17  * All rights reserved.
18  */
19 
24 #pragma once
25 
26 /* internal exports only */
27 
28 /* **************************************** */
29 /* Macros, etc. only used by NLA */
30 
31 /* **************************************** */
32 /* space_nla.c / nla_buttons.c */
33 
34 bool nla_panel_context(const bContext *C,
35  PointerRNA *adt_ptr,
36  PointerRNA *nlt_ptr,
37  PointerRNA *strip_ptr);
38 
40 
41 /* **************************************** */
42 /* nla_draw.c */
43 
44 void draw_nla_main_data(bAnimContext *ac, SpaceNla *snla, ARegion *region);
45 void draw_nla_channel_list(const bContext *C, bAnimContext *ac, ARegion *region);
46 
47 /* **************************************** */
48 /* nla_select.c */
49 
50 /* defines for left-right select tool */
56 };
57 
58 /* --- */
59 
64 
65 /* **************************************** */
66 /* nla_edit.c */
67 
68 /* defines for snap strips */
74 };
75 
76 /* --- */
77 
78 bool nlaedit_disable_tweakmode(bAnimContext *ac, bool do_solo);
79 
82 
83 /* --- */
84 
86 
90 
94 
97 
101 
103 
107 
109 
111 
114 
116 
120 
121 /* **************************************** */
122 /* nla_channels.c */
123 
124 bool nlaedit_add_tracks_existing(bAnimContext *ac, bool above_sel);
126 
127 /* --- */
128 
130 
133 
136 
138 
139 /* **************************************** */
140 /* nla_ops.c */
141 
144 
146 
147 /* --- */
148 
149 void nla_operatortypes(void);
150 void nla_keymap(wmKeyConfig *keyconf);
#define C
Definition: RandGen.cpp:39
void NLA_OT_view_frame(wmOperatorType *ot)
Definition: nla_edit.c:585
void NLA_OT_view_all(wmOperatorType *ot)
Definition: nla_edit.c:542
void NLA_OT_fmodifier_add(wmOperatorType *ot)
Definition: nla_edit.c:2599
void draw_nla_channel_list(const bContext *C, bAnimContext *ac, ARegion *region)
Definition: nla_draw.c:845
void NLA_OT_split(wmOperatorType *ot)
Definition: nla_edit.c:1484
void NLA_OT_tweakmode_exit(wmOperatorType *ot)
Definition: nla_edit.c:283
void NLA_OT_selected_objects_add(wmOperatorType *ot)
Definition: nla_channels.c:889
bool nlaop_poll_tweakmode_on(bContext *C)
Definition: nla_ops.c:67
void NLA_OT_tracks_delete(wmOperatorType *ot)
Definition: nla_channels.c:833
void NLA_OT_soundclip_add(wmOperatorType *ot)
Definition: nla_edit.c:964
void NLA_OT_select_box(wmOperatorType *ot)
Definition: nla_select.c:402
void NLA_OT_tweakmode_enter(wmOperatorType *ot)
Definition: nla_edit.c:176
void NLA_OT_clear_scale(wmOperatorType *ot)
Definition: nla_edit.c:2292
void NLA_OT_make_single_user(wmOperatorType *ot)
Definition: nla_edit.c:2103
void NLA_OT_tracks_add(wmOperatorType *ot)
Definition: nla_channels.c:753
void NLA_OT_meta_add(wmOperatorType *ot)
Definition: nla_edit.c:1041
void NLA_OT_meta_remove(wmOperatorType *ot)
Definition: nla_edit.c:1107
bool nlaedit_is_tweakmode_on(bAnimContext *ac)
Definition: nla_ops.c:91
void NLA_OT_snap(wmOperatorType *ot)
Definition: nla_edit.c:2455
void NLA_OT_swap(wmOperatorType *ot)
Definition: nla_edit.c:1737
void NLA_OT_mute_toggle(wmOperatorType *ot)
Definition: nla_edit.c:1555
void nla_keymap(wmKeyConfig *keyconf)
Definition: nla_ops.c:164
void NLA_OT_move_up(wmOperatorType *ot)
Definition: nla_edit.c:1828
void NLA_OT_delete(wmOperatorType *ot)
Definition: nla_edit.c:1323
void NLA_OT_click_select(wmOperatorType *ot)
Definition: nla_select.c:711
void NLA_OT_action_unlink(wmOperatorType *ot)
Definition: nla_channels.c:606
void NLA_OT_previewrange_set(wmOperatorType *ot)
Definition: nla_edit.c:405
void NLA_OT_fmodifier_copy(wmOperatorType *ot)
Definition: nla_edit.c:2681
void NLA_OT_move_down(wmOperatorType *ot)
Definition: nla_edit.c:1919
void NLA_OT_select_leftright(wmOperatorType *ot)
Definition: nla_select.c:571
bool nla_panel_context(const bContext *C, PointerRNA *adt_ptr, PointerRNA *nlt_ptr, PointerRNA *strip_ptr)
Definition: nla_buttons.c:74
void NLA_OT_transition_add(wmOperatorType *ot)
Definition: nla_edit.c:870
void NLA_OT_channels_click(wmOperatorType *ot)
Definition: nla_channels.c:413
void draw_nla_main_data(bAnimContext *ac, SpaceNla *snla, ARegion *region)
Definition: nla_draw.c:717
void NLA_OT_view_selected(wmOperatorType *ot)
Definition: nla_edit.c:557
bool nlaop_poll_tweakmode_off(bContext *C)
Definition: nla_ops.c:43
void NLA_OT_action_pushdown(wmOperatorType *ot)
Definition: nla_channels.c:533
eNlaEdit_LeftRightSelect_Mode
Definition: nla_intern.h:51
@ NLAEDIT_LRSEL_NONE
Definition: nla_intern.h:53
@ NLAEDIT_LRSEL_RIGHT
Definition: nla_intern.h:55
@ NLAEDIT_LRSEL_TEST
Definition: nla_intern.h:52
@ NLAEDIT_LRSEL_LEFT
Definition: nla_intern.h:54
void NLA_OT_duplicate(wmOperatorType *ot)
Definition: nla_edit.c:1226
eNlaEdit_Snap_Mode
Definition: nla_intern.h:69
@ NLAEDIT_SNAP_NEAREST_MARKER
Definition: nla_intern.h:73
@ NLAEDIT_SNAP_NEAREST_SECOND
Definition: nla_intern.h:72
@ NLAEDIT_SNAP_NEAREST_FRAME
Definition: nla_intern.h:71
@ NLAEDIT_SNAP_CFRA
Definition: nla_intern.h:70
void nla_buttons_register(ARegionType *art)
Definition: nla_buttons.c:599
bool nlaedit_disable_tweakmode(bAnimContext *ac, bool do_solo)
Definition: nla_edit.c:210
bool nlaedit_add_tracks_existing(bAnimContext *ac, bool above_sel)
Definition: nla_channels.c:633
bool nlaedit_add_tracks_empty(bAnimContext *ac)
Definition: nla_channels.c:682
void NLA_OT_actionclip_add(wmOperatorType *ot)
Definition: nla_edit.c:729
void NLA_OT_fmodifier_paste(wmOperatorType *ot)
Definition: nla_edit.c:2776
void NLA_OT_action_sync_length(wmOperatorType *ot)
Definition: nla_edit.c:2005
void NLA_OT_apply_scale(wmOperatorType *ot)
Definition: nla_edit.c:2222
void NLA_OT_select_all(wmOperatorType *ot)
Definition: nla_select.c:192
void nla_operatortypes(void)
Definition: nla_ops.c:101
wmOperatorType * ot
Definition: wm_files.c:3156