1
0
mirror of https://github.com/emilk/egui.git synced 2026-08-30 13:20:05 -04:00

Commit Graph

  • 23ce4e70ca Add option to show a callstack to the widget under the mouse (#3391) Emil Ernerfeldt 2023-09-26 15:50:35 +02:00
  • 543a0a2a83 egui, egui_glow, eframe: fix all errors returned by ./scripts/check.sh Konkitoman 2023-09-26 00:45:33 +03:00
  • 489d8a79c8 egui: fix web app runner Konkitoman 2023-09-26 00:14:26 +03:00
  • e453d667e5 egui and eframe now uses more ViewportIdPair Konkitoman 2023-09-26 00:05:04 +03:00
  • 28f7b863fe egui: Move comment Konkitoman 2023-09-25 23:27:21 +03:00
  • f4c5378ad3 Merge branch 'master' of https://github.com/emilk/egui into multiples_viewports Konkitoman 2023-09-25 23:15:51 +03:00
  • e8986b1e59 egui_extras: syntax-highlighting of .toml (#3388) Emil Ernerfeldt 2023-09-25 17:48:22 +02:00
  • 8bf0055bda Better handle additive colors in plots (#3387) Emil Ernerfeldt 2023-09-25 15:45:32 +02:00
  • fdd493d48f Misc cleanup (#3381) Emil Ernerfeldt 2023-09-24 09:32:31 +02:00
  • 99a1b5b62e Add Context::open_url and Context::copy_text (#3380) Emil Ernerfeldt 2023-09-24 09:31:21 +02:00
  • d77c446572 Prevent text from being cleared when selected due to winit IME (#3376) YgorSouza 2023-09-23 15:27:34 +02:00
  • 33a0f50f6a Improve text truncation: always include elision character (#3366) Emil Ernerfeldt 2023-09-21 10:41:49 +02:00
  • 8ecd29dea7 eframe: Now WGPU implementation when creating a sync viewport will inherit the icon of his parent And refactoring and adding some inline documentation Konkitoman 2023-09-20 18:56:38 +03:00
  • 22c128bc8b Fix warning in viewports example Konkitoman 2023-09-19 20:42:31 +03:00
  • e2d406d2e4 * InputState::{inner_pos, inner_size} compacted to InputState::inner_rect * InputState::{outer_pos, outer_size} compacted to InputState::outer_rect * RawInput::{inner_pos, inner_size} compected to RawInput::inner_rect * RawInput::{outer_pos, outer_size} compected to RawInput::outer_rect * Context::{viewport_inner_pos, viewport_inner_size} compacted to Context::inner_rect * Context::{viewport_outer_pos, viewport_outer_size} compected to Context::outer_rect Konkitoman 2023-09-19 19:48:00 +03:00
  • ddff550b91 Remove get_* Konkitoman 2023-09-19 19:20:49 +03:00
  • 915d1b6997 Add ViewportIdPair, Viewport, ViewportOutput Konkitoman 2023-09-19 17:55:54 +03:00
  • c96197db79 Merge branch 'master' of https://github.com/emilk/egui into multiples_viewports Konkitoman 2023-09-19 17:22:31 +03:00
  • c07394b576 Only show on-screen-keyboard and IME when editing text (#3362) Barugon 2023-09-19 05:14:42 -07:00
  • 08c46acba1 std::borrow::Cow<'_, str> now implements TextBuffer (#3164) George Burton 2023-09-18 20:38:10 +01:00
  • ad8b41cad6 Fix not taking clipping into account when calculating colum remainder (#3357) daxpedda 2023-09-18 21:08:17 +02:00
  • 6870d141d7 Add Context::style_mut (#3359) Emil Ernerfeldt 2023-09-18 21:07:44 +02:00
  • dbf9b79d06 Fix typo Emil Ernerfeldt 2023-09-18 17:15:51 +02:00
  • 433d1fc239 file_storage: Wrap File in BufWriter (#3353) Sebastian Reinhard 2023-09-18 16:40:29 +02:00
  • 8073ca6fe0 Fix problems with tabs in text (#3355) Emil Ernerfeldt 2023-09-18 14:09:15 +02:00
  • fea9047abe Fix moving slider with arrow keys (#3354) Emil Ernerfeldt 2023-09-18 13:20:45 +02:00
  • ceb8723c5e Bug fix: arrow keys won't move focus away from TextEdit (#3352) Emil Ernerfeldt 2023-09-18 13:08:41 +02:00
  • 9c4f55b1f4 Remove Function() invocation from eframe text_agent to bypass "unsafe-eval" restrictions in Chrome browser extensions. (#3349) aspect 2023-09-17 14:25:50 +03:00
  • d949eaf682 Fix typo in eframe/README.md (#3344) Dunfan Lu 2023-09-16 06:22:02 -04:00
  • a3dfd08d71 More image polish (#3343) Emil Ernerfeldt 2023-09-15 10:57:25 +02:00
  • 2bbceb856b "Final" image polish (#3342) Emil Ernerfeldt 2023-09-15 10:13:50 +02:00
  • d7d222d3f6 Polish image API (#3338) Emil Ernerfeldt 2023-09-14 16:33:10 +02:00
  • e367c20779 egui_extras: always depend on log crate (#3336) Emil Ernerfeldt 2023-09-14 11:20:34 +02:00
  • 5e785ae00a Add syntax highlighing feature to egui_extras (#3333) Emil Ernerfeldt 2023-09-13 20:39:40 +02:00
  • 4b5146d35d Add more profiling scopes (#3332) Emil Ernerfeldt 2023-09-13 19:32:19 +02:00
  • 67a3fcae38 Final polish for new image loading (#3328) Jan Procházka 2023-09-13 16:27:08 +02:00
  • fc3bddd0cf Add more puffin profile scopes to eframe (#3330) Emil Ernerfeldt 2023-09-13 09:00:38 +02:00
  • 2bc6814acc Improved texture loading (#3315) Jan Procházka 2023-09-12 10:39:17 +02:00
  • 1cbf333561 * Fix crash when spamming a viewport with other viewports The crash was causated because sync viewport, when was cleaning up inactive viewports, was cleaning his parent before he got cleaned, and his parent when tring to resume was causing the crash Konkitoman 2023-09-11 20:33:44 +03:00
  • fc90a7e7c8 Fix cyclical reference Removed the last fix because there is not need for it now! Konkitoman 2023-09-11 18:50:17 +03:00
  • 956c1c3527 Fix memory leak Konkitoman 2023-09-10 15:33:06 +03:00
  • dbcf15b49e Add method to RichText making it easier to construct layout jobs (#3319) Jackson Kruger 2023-09-10 07:06:02 -05:00
  • 62e27d623a Move README section on writing a new integration to the egui crate docs Emil Ernerfeldt 2023-09-10 13:57:24 +02:00
  • 523aa6b8ba feat: change to PointingHand when hovering over a button (#3312) zkldi 2023-09-08 08:37:03 +01:00
  • a5d4ce84d4 Now eframe glow supports viewport sync icon Konkitoman 2023-09-06 19:16:20 +03:00
  • 2338a854f9 Fix deadlock in the texture/image loaders (#3314) Emil Ernerfeldt 2023-09-06 15:36:08 +02:00
  • fb80880ff8 * Fix posibile deadlock when sending a viewport command from a sync viewport Konkitoman 2023-09-06 16:30:20 +03:00
  • b1189c14ae Now when creating a async viewport, if we not spefify the icon will have his parent icon Konkitoman 2023-09-06 15:58:41 +03:00
  • 83f82601e8 * Fix warnings Konkitoman 2023-09-06 15:18:18 +03:00
  • fea6ed7878 Merge branch 'master' of https://github.com/emilk/egui into multiples_viewports Konkitoman 2023-09-06 13:35:02 +03:00
  • ec671e754f Managed texture loading (#3297) Jan Procházka 2023-09-06 10:51:51 +02:00
  • 82704bebbf Update MSRV to Rust 1.70.0 (#3310) Emil Ernerfeldt 2023-09-06 07:59:24 +02:00
  • 6e244d12cd Improved documentation and added documentation Konkitoman 2023-09-05 16:30:33 +03:00
  • e44c2e6928 Merge branch 'master' of https://github.com/emilk/egui into multiples_viewports Konkitoman 2023-09-05 16:19:41 +03:00
  • 707ca04c08 Add opt-in puffin feature to egui-extras (#3307) Emil Ernerfeldt 2023-09-05 14:11:29 +02:00
  • 67168be069 Improve clippy, and add more docs (#3306) Emil Ernerfeldt 2023-09-05 14:11:22 +02:00
  • 436996b79e Update web-time to 0.2 (#3308) Emil Ernerfeldt 2023-09-05 14:11:07 +02:00
  • b9f9cab914 Update webpki 0.22.0 -> 0.22.1 (#3305) Emil Ernerfeldt 2023-09-05 13:03:37 +02:00
  • 155d48abd1 Added __screenshot feature for eframe in viewports example Konkitoman 2023-09-05 13:09:17 +03:00
  • 39a57f1363 I restored Cargo.lock from emilk/egui master Konkitoman 2023-09-05 12:20:15 +03:00
  • f30bf519ee Merge branch 'master' of https://github.com/emilk/egui into multiples_viewports Konkitoman 2023-09-05 12:19:02 +03:00
  • 46ea72abe4 Add control of line height and letter spacing (#3302) Emil Ernerfeldt 2023-09-05 10:45:11 +02:00
  • cf163cc954 Add scroll_area::State::velocity (#3300) Barugon 2023-09-05 01:44:23 -07:00
  • 1b8e8cb38e eframe::Frame::info returns a reference (#3301) Barugon 2023-09-05 01:43:39 -07:00
  • e3362dafac CI: Update to actions/checkout@v4 (#3304) Emil Ernerfeldt 2023-09-05 10:18:38 +02:00
  • 8c84bbfde4 Prune old egui memory data when reaching some limit (#3299) Emil Ernerfeldt 2023-09-04 21:46:57 +02:00
  • 12eeda0a3f Merge branch 'master' of https://github.com/emilk/egui into multiples_viewports Konkitoman 2023-09-04 16:45:12 +03:00
  • 9e86bb8d6a Add opt-in puffin feature to egui (#3298) Emil Ernerfeldt 2023-09-04 15:01:22 +02:00
  • 7c4a85ebda Now in ViewportBuilder, InputState, RawInput: viewport_inner_pos, viewport_outer_pos, viewport_inner_size, viewport_outer_size are stored as inner_pos, outer_pos, inner_size, outer_pos and Now every (i32, i32) is stored as egui::Pos2 Konkitoman 2023-09-04 14:23:21 +03:00
  • 4a9e087e92 Merge branch 'master' of https://github.com/emilk/egui into multiples_viewports Konkitoman 2023-09-04 13:39:08 +03:00
  • 72adf3bde3 Remove unnecessary code (#2860) Barugon 2023-09-04 02:43:24 -07:00
  • 59235ff01c Changing menu_image_button to use ImageButton builder (#3288) v-kat 2023-09-04 02:12:43 -07:00
  • 5f742b9aba Improve documentation of eframe, especially for wasm32 (#3295) Emil Ernerfeldt 2023-09-04 09:55:47 +02:00
  • 209cbeb030 Replace instant with web_time (#3296) Emil Ernerfeldt 2023-09-04 09:37:35 +02:00
  • 4eb32c6ccf Simplify Konkitoman 2023-09-01 12:09:01 +03:00
  • 661120dc1d Simplify Konkitoman 2023-09-01 11:52:00 +03:00
  • 52a63cabf9 Make viewports example simpler Konkitoman 2023-09-01 11:17:54 +03:00
  • 78a0ae879e This PR has a smaller scope, and this are some reverts Will no longer change egui::Window! Konkitoman 2023-08-31 19:37:01 +03:00
  • 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