godot/editor/animation_track_editor_plugins.cpp

/**************************************************************************/
/*  animation_track_editor_plugins.cpp                                    */
/**************************************************************************/
/*                         This file is part of:                          */
/*                             GODOT ENGINE                               */
/*                        https://godotengine.org                         */
/**************************************************************************/
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur.                  */
/*                                                                        */
/* Permission is hereby granted, free of charge, to any person obtaining  */
/* a copy of this software and associated documentation files (the        */
/* "Software"), to deal in the Software without restriction, including    */
/* without limitation the rights to use, copy, modify, merge, publish,    */
/* distribute, sublicense, and/or sell copies of the Software, and to     */
/* permit persons to whom the Software is furnished to do so, subject to  */
/* the following conditions:                                              */
/*                                                                        */
/* The above copyright notice and this permission notice shall be         */
/* included in all copies or substantial portions of the Software.        */
/*                                                                        */
/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,        */
/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF     */
/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. */
/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY   */
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,   */
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE      */
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.                 */
/**************************************************************************/

#include "animation_track_editor_plugins.h"

#include "editor/audio_stream_preview.h"
#include "editor/editor_resource_preview.h"
#include "editor/editor_string_names.h"
#include "editor/editor_undo_redo_manager.h"
#include "editor/themes/editor_scale.h"
#include "scene/2d/animated_sprite_2d.h"
#include "scene/2d/sprite_2d.h"
#include "scene/3d/sprite_3d.h"
#include "scene/animation/animation_player.h"
#include "scene/resources/text_line.h"
#include "servers/audio/audio_stream.h"

/// BOOL ///
int AnimationTrackEditBool::get_key_height() const {}

Rect2 AnimationTrackEditBool::get_key_rect(int p_index, float p_pixels_sec) {}

bool AnimationTrackEditBool::is_key_selectable_by_distance() const {}

void AnimationTrackEditBool::draw_key(int p_index, float p_pixels_sec, int p_x, bool p_selected, int p_clip_left, int p_clip_right) {}

/// COLOR ///

int AnimationTrackEditColor::get_key_height() const {}

Rect2 AnimationTrackEditColor::get_key_rect(int p_index, float p_pixels_sec) {}

bool AnimationTrackEditColor::is_key_selectable_by_distance() const {}

void AnimationTrackEditColor::draw_key_link(int p_index, float p_pixels_sec, int p_x, int p_next_x, int p_clip_left, int p_clip_right) {}

void AnimationTrackEditColor::draw_key(int p_index, float p_pixels_sec, int p_x, bool p_selected, int p_clip_left, int p_clip_right) {}

/// AUDIO ///

void AnimationTrackEditAudio::_preview_changed(ObjectID p_which) {}

int AnimationTrackEditAudio::get_key_height() const {}

Rect2 AnimationTrackEditAudio::get_key_rect(int p_index, float p_pixels_sec) {}

bool AnimationTrackEditAudio::is_key_selectable_by_distance() const {}

void AnimationTrackEditAudio::draw_key(int p_index, float p_pixels_sec, int p_x, bool p_selected, int p_clip_left, int p_clip_right) {}

void AnimationTrackEditAudio::set_node(Object *p_object) {}

AnimationTrackEditAudio::AnimationTrackEditAudio() {}

/// SPRITE FRAME / FRAME_COORDS ///

int AnimationTrackEditSpriteFrame::get_key_height() const {}

Rect2 AnimationTrackEditSpriteFrame::get_key_rect(int p_index, float p_pixels_sec) {}

bool AnimationTrackEditSpriteFrame::is_key_selectable_by_distance() const {}

void AnimationTrackEditSpriteFrame::draw_key(int p_index, float p_pixels_sec, int p_x, bool p_selected, int p_clip_left, int p_clip_right) {}

void AnimationTrackEditSpriteFrame::set_node(Object *p_object) {}

void AnimationTrackEditSpriteFrame::set_as_coords() {}

/// SUB ANIMATION ///

int AnimationTrackEditSubAnim::get_key_height() const {}

Rect2 AnimationTrackEditSubAnim::get_key_rect(int p_index, float p_pixels_sec) {}

bool AnimationTrackEditSubAnim::is_key_selectable_by_distance() const {}

void AnimationTrackEditSubAnim::draw_key(int p_index, float p_pixels_sec, int p_x, bool p_selected, int p_clip_left, int p_clip_right) {}

void AnimationTrackEditSubAnim::set_node(Object *p_object) {}

//// VOLUME DB ////

int AnimationTrackEditVolumeDB::get_key_height() const {}

void AnimationTrackEditVolumeDB::draw_bg(int p_clip_left, int p_clip_right) {}

void AnimationTrackEditVolumeDB::draw_fg(int p_clip_left, int p_clip_right) {}

void AnimationTrackEditVolumeDB::draw_key_link(int p_index, float p_pixels_sec, int p_x, int p_next_x, int p_clip_left, int p_clip_right) {}

////////////////////////

/// AUDIO ///

void AnimationTrackEditTypeAudio::_preview_changed(ObjectID p_which) {}

int AnimationTrackEditTypeAudio::get_key_height() const {}

Rect2 AnimationTrackEditTypeAudio::get_key_rect(int p_index, float p_pixels_sec) {}

bool AnimationTrackEditTypeAudio::is_key_selectable_by_distance() const {}

void AnimationTrackEditTypeAudio::draw_key(int p_index, float p_pixels_sec, int p_x, bool p_selected, int p_clip_left, int p_clip_right) {}

AnimationTrackEditTypeAudio::AnimationTrackEditTypeAudio() {}

bool AnimationTrackEditTypeAudio::can_drop_data(const Point2 &p_point, const Variant &p_data) const {}

void AnimationTrackEditTypeAudio::drop_data(const Point2 &p_point, const Variant &p_data) {}

void AnimationTrackEditTypeAudio::gui_input(const Ref<InputEvent> &p_event) {}

Control::CursorShape AnimationTrackEditTypeAudio::get_cursor_shape(const Point2 &p_pos) const {}

////////////////////
/// SUB ANIMATION ///

int AnimationTrackEditTypeAnimation::get_key_height() const {}

Rect2 AnimationTrackEditTypeAnimation::get_key_rect(int p_index, float p_pixels_sec) {}

bool AnimationTrackEditTypeAnimation::is_key_selectable_by_distance() const {}

void AnimationTrackEditTypeAnimation::draw_key(int p_index, float p_pixels_sec, int p_x, bool p_selected, int p_clip_left, int p_clip_right) {}

void AnimationTrackEditTypeAnimation::set_node(Object *p_object) {}

AnimationTrackEditTypeAnimation::AnimationTrackEditTypeAnimation() {}

/////////
AnimationTrackEdit *AnimationTrackEditDefaultPlugin::create_value_track_edit(Object *p_object, Variant::Type p_type, const String &p_property, PropertyHint p_hint, const String &p_hint_string, int p_usage) {}

AnimationTrackEdit *AnimationTrackEditDefaultPlugin::create_audio_track_edit() {}

AnimationTrackEdit *AnimationTrackEditDefaultPlugin::create_animation_track_edit(Object *p_object) {}