1
0
mirror of https://github.com/emilk/egui.git synced 2026-06-27 23:13:13 -04:00

Commit Graph

  • c10a4cd79a Fix: First frame of Context::create_viewport_sync was always skiped because we didn't have a window to draw on! Changes: Now Context::create_viewport_sync returns T, before was Option<T> Konkitoman 2023-08-31 17:07:39 +03:00
  • 6618a47c20 Merge branch 'master' of https://github.com/emilk/egui into multiples_viewports Konkitoman 2023-08-30 15:03:28 +03:00
  • ea15987ad4 Change focused widget with arrow keys (#3272) Timon 2023-08-30 10:28:21 +02:00
  • 70bfc7e09f Add eframe::storage_dir (#3286) Emil Ernerfeldt 2023-08-29 15:22:07 +02:00
  • a59eda7a27 egui-winit: Recognize numpad enter/plus/minus (#3285) Emil Ernerfeldt 2023-08-29 14:04:12 +02:00
  • 51011d1bbd Fix: sync viewport was not updating on windows Changes: no more manual calls to winit:🪟:Window::request_redraw, in glow or wgpu Konkitoman 2023-08-29 11:01:19 +03:00
  • a21cb80f56 Merge branch 'master' of https://github.com/emilk/egui into multiples_viewports Konkitoman 2023-08-29 10:00:14 +03:00
  • 7b169ec13d Break out plotting to own crate egui_plot (#3282) Emil Ernerfeldt 2023-08-27 17:22:49 +02:00
  • 87f12d782e Allow setting the progress bar height (#3183) Sven Niederberger 2023-08-27 14:28:55 +02:00
  • c722b7fd46 Plot items: Image rotation and size in plot coordinates, polygon fill color (#3182) Sven Niederberger 2023-08-27 14:28:10 +02:00
  • e5a97d14ad Add some documentation Konkitoman 2023-08-25 12:20:55 +03:00
  • 4d01644b33 * Fix example hello_world_par * Added warning for glow eframe when creating Context::create_viewport_sync in other thread, or cannot be rendered! * Fix clippy warning Konkitoman 2023-08-25 11:22:18 +03:00
  • b6f46b000b Some clippy fixes from 1.72.0 Emil Ernerfeldt 2023-08-25 07:44:25 +02:00
  • b0287e96e5 Fix some stuf in egui::Window Konkitoman 2023-08-24 09:46:46 +03:00
  • 6c91562c7b Now viewport pos and size are stored in InputState::{viewport_inner_pos, viewport_outer_pos, viewport_inner_size, viewport_outer_size} This fixes a lot of problems Konkitoman 2023-08-24 09:14:48 +03:00
  • 9c73c2f4b1 Revert "Now in screen_rect min is the viewport position and max is the viewport size" Konkitoman 2023-08-24 07:55:56 +03:00
  • c9faa78e5b Make the window position and size to not get set when the window is mimimized And now Memory::new_pixels_per_point is not taken because all viewports need to have the same dpi Konkitoman 2023-08-24 07:45:42 +03:00
  • 627e1b3d50 Add exception for RUSTSEC-2023-0052 to deny.toml (#3274) Antoine Beyeler 2023-08-23 15:22:41 +02:00
  • 2c5fc5a0a5 Added mime field to DroppedFiles (#3273) Antoine Beyeler 2023-08-23 15:13:47 +02:00
  • 3b41253442 This should make the viewport to redraw normaly in windows Konkitoman 2023-08-23 14:31:37 +03:00
  • 3cf9c1c4b1 Make example more complex Konkitoman 2023-08-23 08:11:31 +03:00
  • dadcd508c9 Fix deadlock when creating a viewport sync in a viewport sync But will not affect anything because the viewport builders will processed when the async viewport will end Konkitoman 2023-08-23 07:18:16 +03:00
  • 189e34e3d2 Fix flickering for Context::create_viewport_sync but now will return a Option<T> Konkitoman 2023-08-23 06:20:31 +03:00
  • 3f8fe1db3a Merge branch 'master' of https://github.com/emilk/egui into multiples_viewports Konkitoman 2023-08-23 06:10:34 +03:00
  • ec506c0a43 Use the minus character instead of "dash" (#3271) Emil Ernerfeldt 2023-08-22 15:35:27 +02:00
  • 32a63da580 Added Context::is_context_menu_open() (#3267) David M. Lary 2023-08-22 08:35:15 -05:00
  • 461328f54d Fix iOS support in eframe (#3241) lucasmerlin 2023-08-22 14:35:18 +02:00
  • d90db12e88 Fix: window not redrawing when moving Konkitoman 2023-08-22 11:33:38 +03:00
  • 7aefba60df Fix windows and android errors Konkitoman 2023-08-22 11:20:34 +03:00
  • 8e864bdfbc typo: fix typos Konkitoman 2023-08-22 11:08:56 +03:00
  • ab59bf8c88 Now viewports will be identified by there id a normal egui::Id Before viewports was identified by there title Konkitoman 2023-08-22 10:34:43 +03:00
  • 2949874287 Update egui::Context::create_viewport documentation and update viewports example Konkitoman 2023-08-22 10:22:21 +03:00
  • 013f01dbcb * Now: is_desktop can only be set at the creation with egui::Context::new insted of default! * Removed: egui::Context::is_desktop, egui::Context::set_desktop * Added: egui::Context::force_embedding, egui::Context::set_force_embedding Konkitoman 2023-08-22 09:39:41 +03:00
  • 2919a325d9 Fix Typo Konkitoman 2023-08-19 19:30:49 +03:00
  • bc04696842 Merge branch 'master' of https://github.com/emilk/egui into multiples_viewports Konkitoman 2023-08-17 21:59:11 +03:00
  • 2c7c59820e Expose area::State's Rect in Memory (#3161) Brian Janssen 2023-08-16 12:52:36 +02:00
  • f0addc339c Add tooltip_delay option (#3245) YgorSouza 2023-08-15 19:48:36 +02:00
  • b0735775f3 Fix plot formatter not taking closures (#3260) Andreas Reich 2023-08-15 19:46:04 +02:00
  • b896d641c5 Improved wgpu callbacks (#3253) Andreas Reich 2023-08-15 17:17:39 +02:00
  • 3c4223c6b1 Support images with rounded corners (#3257) Emil Ernerfeldt 2023-08-15 09:29:30 +02:00
  • 18575d5931 Fix all warnings Konkitoman 2023-08-15 04:04:52 +03:00
  • 17cd31636f Remove unused Arc<RwLock<T>> Konkitoman 2023-08-15 02:21:23 +03:00
  • 191ee82c3e Merge branch 'master' of https://github.com/emilk/egui into multiples_viewports Konkitoman 2023-08-15 02:17:12 +03:00
  • 481f44828c Improve "Reset everything" button in demo (#3255) Emil Ernerfeldt 2023-08-14 18:57:39 +02:00
  • 8ee506ec37 Added remove method for CollapsingState. (#3252) dmackdev 2023-08-14 17:57:07 +01:00
  • e5428a3084 Add Window::drag-to-scroll (#3118) Kamen Yovchevski 2023-08-14 18:44:29 +02:00
  • 043183a3a4 Add TableBuilder::drag_to_scroll (#3100) Kamen Yovchevski 2023-08-14 18:21:42 +02:00
  • dbe55ba46a Draw axis labels and ticks outside of plotting window (#2284) JohannesProgrammiert 2023-08-14 17:51:17 +02:00
  • 08f207a0a8 Fix some warnings Konkitoman 2023-08-14 17:59:26 +03:00
  • 5a9394150c Simplify more axis-labels Emil Ernerfeldt 2023-08-14 16:42:33 +02:00
  • d1699c8fed Remove changelog entry Emil Ernerfeldt 2023-08-14 16:34:58 +02:00
  • 30bd19e22e Create helper function Emil Ernerfeldt 2023-08-14 16:23:08 +02:00
  • 5ede9d5765 Remove generics to minimize monomorphization code bloat Emil Ernerfeldt 2023-08-14 16:19:07 +02:00
  • 3511673e74 Don't catch clicks and drags on axes Emil Ernerfeldt 2023-08-14 16:09:52 +02:00
  • a96e503295 Add HPlacement and VPlacement Emil Ernerfeldt 2023-08-14 16:08:11 +02:00
  • 097dde71cd Axis are present by default, with empty names Emil Ernerfeldt 2023-08-14 15:54:22 +02:00
  • a6e9db960f cnt -> num Emil Ernerfeldt 2023-08-14 14:12:43 +02:00
  • 48340a3aff Fix typos Emil Ernerfeldt 2023-08-14 14:11:19 +02:00
  • c81cfeb24d better naming Emil Ernerfeldt 2023-08-14 14:11:04 +02:00
  • bb987bb50b De-duplicate color_from_contrast Emil Ernerfeldt 2023-08-14 14:07:23 +02:00
  • 4217f4ba7c Add some vertical spacing Emil Ernerfeldt 2023-08-14 14:04:24 +02:00
  • 93c763be5d Use Margin instead of a,b,c,d Emil Ernerfeldt 2023-08-14 13:44:07 +02:00
  • 75617d5a15 Use Arc to avoid some expensive clones Emil Ernerfeldt 2023-08-14 13:36:52 +02:00
  • 29eb119714 Simpler generic syntax Emil Ernerfeldt 2023-08-14 13:24:19 +02:00
  • fdb5dc4d3b Merge branch 'master' into axis-labels Emil Ernerfeldt 2023-08-14 13:23:26 +02:00
  • 9eff191bc0 Use TAU instead of the legacy PI Emil Ernerfeldt 2023-08-14 11:28:26 +02:00
  • 135a457ecd typo in comment Emil Ernerfeldt 2023-08-14 11:27:47 +02:00
  • a3ae81cadb Add option to truncate text at wrap width (#3244) Emil Ernerfeldt 2023-08-14 11:22:04 +02:00
  • eccf90701f add: Context::get_viewport_id_by_name, Context::get_viewport_parent_id_by_name, Context::input_for and Context::input_mut_for Konkitoman 2023-08-13 16:20:02 +03:00
  • 4bbdab1788 Now in screen_rect min is the viewport position and max is the viewport size Konkitoman 2023-08-12 20:36:41 +03:00
  • 1023f937a6 Add option to always open hyperlink in a new browser tab (#3242) Frederic L 2023-08-12 14:05:49 +02:00
  • 1036cb1f7d Change force to be Option<f32> instead of f32 (#3240) lucasmerlin 2023-08-12 13:50:40 +02:00
  • 6633ecce64 Fix wrong detection of OS (#3238) Emil Ernerfeldt 2023-08-12 13:50:31 +02:00
  • 622814d8ed Now show_tooltip_area_dyn and was_tooltip_open_last_frame was reverted to be like before! Konkitoman 2023-08-11 18:30:45 +03:00
  • 74e50044b5 Added maximize_button, mimimize_button and hittest on ViewportBuilder !!! hittest is not working because of winit !!! Konkitoman 2023-08-11 18:19:57 +03:00
  • 98087029e0 Update to wgpu 0.17.0 (#3170) Aaron Hill 2023-08-11 11:10:10 -04:00
  • 6201caf00b Now `was_tooltip_open_last_frame uses ViewportBuilder::empty Konkitoman 2023-08-11 17:43:17 +03:00
  • d33075388c * Implement changes_between_builders * Now process_viewport_commands was renamed to process_viewports_commands * Added process_viewport_commands * eframe glutin backend uses changes_between_builders Konkitoman 2023-08-11 17:39:14 +03:00
  • 3431acf879 cargo deny: ignore children of foreign-types wgpu-0.17 Emil Ernerfeldt 2023-08-11 16:29:20 +02:00
  • dd417cfc1a eframe: Better restore Window position on Mac when on secondary monitor (#3239) Emil Ernerfeldt 2023-08-11 16:25:22 +02:00
  • d43fffec45 Fix typo Emil Ernerfeldt 2023-08-11 16:22:35 +02:00
  • 981dae33cc Add fragile-send-sync-non-atomic-wasm feature to wgpu Emil Ernerfeldt 2023-08-11 16:18:18 +02:00
  • 37097526f0 sort deny.toml Emil Ernerfeldt 2023-08-11 16:16:54 +02:00
  • c2bafdb3ca Merge branch 'master' into wgpu-0.17 Emil Ernerfeldt 2023-08-11 16:15:25 +02:00
  • f78db80840 Update to wasm-bindgen 0.2.87 (#3237) Emil Ernerfeldt 2023-08-11 15:34:16 +02:00
  • dd5285cccb Support multi-threaded Wasm (#3236) Emil Ernerfeldt 2023-08-11 15:08:00 +02:00
  • 08fb447fb5 Increase MSRV to 1.67 (#3234) Emil Ernerfeldt 2023-08-11 13:54:02 +02:00
  • bdeae9e959 Fix crash in DragValue when only setting min_decimals (#3231) Emil Ernerfeldt 2023-08-11 08:24:39 +02:00
  • ea6bdfc1c9 Force ColorPickerFn to be Send + Sync (#3148) (#3233) Idan Arye 2023-08-11 09:23:29 +03:00
  • 88a7071e74 Moved create_winit_window_builder from crates/eframe/src/native/run.rs to crates/egui-winit/src/lib.rs Konkitoman 2023-08-10 18:53:43 +03:00
  • 0e7803bf61 Add all winit runtime window attributes as viewport commands in ViewportCommand Konkitoman 2023-08-10 18:47:48 +03:00
  • 1e885abe08 Gracefully catch error saving state to disk (#3230) Emil Ernerfeldt 2023-08-10 17:28:21 +02:00
  • 7e035c6dd1 Allow users to opt-out of default winit features (#3228) Emil Ernerfeldt 2023-08-10 17:09:01 +02:00
  • 9c6044aa7d Change ViewportBuilder how it's working Konkitoman 2023-08-10 16:53:31 +03:00
  • d568d9f5d0 Lint vertical spacing in the code (#3224) Emil Ernerfeldt 2023-08-10 15:26:54 +02:00
  • 83c18498e9 Refactor: turn ClippedShape from struct-enum to a normal struct (#3225) Emil Ernerfeldt 2023-08-10 14:50:11 +02:00
  • 70a5772f8d Now tooltip popup will open in a native window if he can, this is for making letting more problem to show to fix them! Konkitoman 2023-08-10 14:21:57 +03:00
  • 66cbb61ad5 Add PlotUi::response() to replace plot_clicked() etc (#3223) Emil Ernerfeldt 2023-08-10 13:14:19 +02:00
  • b15e17587a Document when Galleys get invalidated (#3024) Valentin 2023-08-10 13:11:56 +02:00
  • 8cdffc4e2d Replace uses of RangeInclusive<f32> with emath::Rangef (#3221) Emil Ernerfeldt 2023-08-10 13:07:00 +02:00