kitgit

tirbofish/dropbear · commit

7e150c1c1e6f53d1e80d57340126d3a4c3d0bac0

fix: forgot to add eucalyptus-editor/src/debug/window.rs (due to gitignore)

Unverified

Thribhu K <4tkbytes@pm.me> · 2025-12-24 07:19

view full diff

diff --git a/.gitignore b/.gitignore
index 5fa94d2..72b7d5c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -45,6 +45,7 @@ bin/
 .DS_Store
 
 debug/
+!**/src/debug/
 target/
 
 Cargo.lock
@@ -52,9 +53,6 @@ Cargo.lock
 *.pdb
 
 .idea/
-
 .env
-
 libs/
-
 .env
\ No newline at end of file
diff --git a/eucalyptus-editor/src/debug/window.rs b/eucalyptus-editor/src/debug/window.rs
new file mode 100644
index 0000000..f7d1c75
--- /dev/null
+++ b/eucalyptus-editor/src/debug/window.rs
@@ -0,0 +1,125 @@
+//! Creates a dummy debug window, testing multi window management capabilities
+//!
+//! Can also be technically used as a template for other windowed scenes (as its essentially the basics)
+
+use egui::{CentralPanel};
+use gilrs::{Button, GamepadId};
+use winit::dpi::PhysicalPosition;
+use winit::event::MouseButton;
+use winit::event_loop::ActiveEventLoop;
+use winit::keyboard::KeyCode;
+use winit::window::{WindowId};
+use dropbear_engine::graphics::RenderContext;
+use dropbear_engine::input::{Controller, Keyboard, Mouse};
+use dropbear_engine::scene::{Scene, SceneCommand};
+use eucalyptus_core::input::InputState;
+
+pub struct DebugWindow {
+    scene_command: SceneCommand,
+    input_state: InputState,
+    window: Option<WindowId>,
+}

Large diffs are not rendered by default. Showing the first 50 of 155 lines. Show full diff