2026-02-25 06:23:53 +08:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
// Easy2D v3.0 - 统一入口头文件
|
|
|
|
|
// 包含所有公共 API
|
|
|
|
|
|
|
|
|
|
// Core
|
|
|
|
|
#include <core/types.h>
|
|
|
|
|
#include <core/string.h>
|
|
|
|
|
#include <core/color.h>
|
|
|
|
|
#include <core/math_types.h>
|
|
|
|
|
|
|
|
|
|
// Platform
|
|
|
|
|
#include <platform/window.h>
|
|
|
|
|
#include <platform/input.h>
|
|
|
|
|
|
|
|
|
|
// Graphics
|
|
|
|
|
#include <graphics/render_backend.h>
|
|
|
|
|
#include <graphics/texture.h>
|
|
|
|
|
#include <graphics/font.h>
|
|
|
|
|
#include <graphics/camera.h>
|
|
|
|
|
#include <graphics/shader_system.h>
|
|
|
|
|
|
|
|
|
|
#include <graphics/render_target.h>
|
|
|
|
|
#include <graphics/vram_manager.h>
|
|
|
|
|
|
|
|
|
|
// Scene
|
|
|
|
|
#include <scene/node.h>
|
|
|
|
|
#include <scene/scene.h>
|
|
|
|
|
#include <scene/sprite.h>
|
|
|
|
|
#include <scene/shape_node.h>
|
|
|
|
|
#include <scene/scene_manager.h>
|
|
|
|
|
#include <scene/transition_scene.h>
|
|
|
|
|
#include <scene/transition_fade_scene.h>
|
|
|
|
|
#include <scene/transition_slide_scene.h>
|
|
|
|
|
#include <scene/transition_scale_scene.h>
|
|
|
|
|
#include <scene/transition_flip_scene.h>
|
|
|
|
|
#include <scene/transition_box_scene.h>
|
|
|
|
|
|
|
|
|
|
// Animation
|
|
|
|
|
#include <animation/sprite_frame.h>
|
|
|
|
|
#include <animation/sprite_frame_cache.h>
|
2026-02-25 21:22:35 +08:00
|
|
|
#include <animation/tween_easing.h>
|
|
|
|
|
#include <animation/tween.h>
|
2026-02-25 06:23:53 +08:00
|
|
|
|
|
|
|
|
// UI
|
|
|
|
|
#include <ui/widget.h>
|
|
|
|
|
#include <ui/button.h>
|
|
|
|
|
#include <ui/text.h>
|
|
|
|
|
#include <ui/label.h>
|
|
|
|
|
#include <ui/progress_bar.h>
|
|
|
|
|
#include <ui/check_box.h>
|
|
|
|
|
#include <ui/radio_button.h>
|
|
|
|
|
#include <ui/slider.h>
|
|
|
|
|
|
|
|
|
|
// Event
|
|
|
|
|
#include <event/event.h>
|
|
|
|
|
#include <event/event_queue.h>
|
|
|
|
|
#include <event/event_dispatcher.h>
|
|
|
|
|
#include <event/input_codes.h>
|
|
|
|
|
|
|
|
|
|
// Audio
|
|
|
|
|
#include <audio/audio_engine.h>
|
|
|
|
|
#include <audio/sound.h>
|
|
|
|
|
|
|
|
|
|
// Resource
|
|
|
|
|
#include <resource/resource_manager.h>
|
|
|
|
|
|
|
|
|
|
// Utils
|
|
|
|
|
#include <utils/logger.h>
|
|
|
|
|
#include <utils/timer.h>
|
|
|
|
|
#include <utils/data.h>
|
|
|
|
|
#include <utils/random.h>
|
|
|
|
|
|
|
|
|
|
// Spatial
|
|
|
|
|
#include <spatial/spatial_index.h>
|
|
|
|
|
#include <spatial/quadtree.h>
|
|
|
|
|
#include <spatial/spatial_hash.h>
|
|
|
|
|
#include <spatial/spatial_manager.h>
|
|
|
|
|
|
|
|
|
|
// Application
|
|
|
|
|
#include <app/application.h>
|
|
|
|
|
|
|
|
|
|
#ifdef __SWITCH__
|
|
|
|
|
#include <switch.h>
|
|
|
|
|
#endif
|