tirbofish/dropbear · commit
7e150c1c1e6f53d1e80d57340126d3a4c3d0bac0
fix: forgot to add eucalyptus-editor/src/debug/window.rs (due to gitignore)
Signature present but could not be verified.
Unverified
@@ -45,6 +45,7 @@ bin/ .DS_Store debug/ +!**/src/debug/ target/ Cargo.lock @@ -52,9 +53,6 @@ Cargo.lock *.pdb .idea/ - .env - libs/ - .env @@ -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