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

Commit Graph

  • dbf3405597 Explain the purpose of the ImageSource::Bytes URI (#3402) Emil Ernerfeldt 2023-09-27 13:53:33 +02:00
  • a9272e0e55 Update dependencies in Cargo.lock (#3401) Emil Ernerfeldt 2023-09-27 12:49:24 +02:00
  • f138131bc8 Improve top-level crate docs, and sort features is Cargo.toml Emil Ernerfeldt 2023-09-27 11:40:28 +02:00
  • 8ef443948f Improve the About windows in the demo library (#3400) Emil Ernerfeldt 2023-09-27 11:38:52 +02:00
  • 35945dea46 Misc code cleanup (#3398) Emil Ernerfeldt 2023-09-27 09:06:17 +02:00
  • 4986b35701 Add NativeOptions::window_builder for more customization (#3390) Simon 2023-09-27 02:52:49 -04:00
  • b3e19f5b7d Move App::persist_window to NativeOptions and App::max_size_points to WebOptions (#3397) Emil Ernerfeldt 2023-09-27 08:48:48 +02:00
  • 1b18f8e266 Add Area::constrain_to and Window::constrain_to (#3396) Emil Ernerfeldt 2023-09-27 08:40:24 +02:00
  • 1911248ade Fix interaction with moved color-picker (#3395) Emil Ernerfeldt 2023-09-27 08:20:04 +02:00
  • 8fad6b761d Now we use egui::ColorImage insted of (u32, u32, Vec<u8>) Konkitoman 2023-09-27 01:06:56 +03:00
  • 449f38adf2 This is a temporary fix to not unsafe impl Sync + Send for backends The problem is that when we call Context::create_viewport_sync can be on any thread because egui::Context is Sync + Send but the backend is not! So we want the callback to the backend to be thread local! Konkitoman 2023-09-27 00:21:06 +03:00
  • f001f06567 Restore from master egui_demo_app.js and egui_demo_app_bg.wasm Konkitoman 2023-09-26 23:42:51 +03:00
  • 38e00e2ea2 refactor eframe viewport sync rendering for glow and wgpu Konkitoman 2023-09-26 22:56:46 +03:00
  • 1b830bbcb4 Less loud warning when loading old memories Emil Ernerfeldt 2023-09-26 21:29:04 +02:00
  • dff52eddfd README.md: new images, better text (#3392) Emil Ernerfeldt 2023-09-26 21:17:43 +02:00
  • 1930d69ae3 Fix the change that change from a Vec to HashMap braked web and pure_glow Konkitoman 2023-09-26 20:34:09 +03:00
  • f3686e2459 now using a HashMap insted of a Vec to store repaint_after Konkitoman 2023-09-26 20:18:50 +03:00
  • 5c8c56c1b8 rename the events that are result of events event_result Konkitoman 2023-09-26 19:50:11 +03:00
  • e5783127f4 Fix max_texture_side for the main viewport was alwats set to 0 Konkitoman 2023-09-26 19:45:12 +03:00
  • 43ad25a4d9 Renamed gl_window to glutin_ctx in init_run_state and initializate max_texture_side, and now on any egui_winit has max_texture_side set Konkitoman 2023-09-26 18:59:42 +03:00
  • 6a5838c119 Now all sizes are in Vec2 insted of Pos2 Konkitoman 2023-09-26 18:33:57 +03:00
  • b719e1c030 eframe fix android build Konkitoman 2023-09-26 18:23:37 +03:00
  • 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