1
0
mirror of https://github.com/emilk/egui.git synced 2026-08-29 21:00:03 -04:00

Commit Graph

  • a72ebbeafc Add a cargo machete CI step (#5171) Emil Ernerfeldt 2024-09-26 10:24:37 +02:00
  • 92adfa57dc Improve comment in text layout code Emil Ernerfeldt 2024-09-26 09:43:27 +02:00
  • a59e178131 Document the fact that the hex_color macro is not const (#5169) YgorSouza 2024-09-26 09:15:28 +02:00
  • 3805584238 Fix bug causing tooltips with dynamic content to shrink (#5168) Emil Ernerfeldt 2024-09-25 18:50:14 +02:00
  • 5d46f67f79 Add DebugOptions::show_unaligned (#5165) Emil Ernerfeldt 2024-09-25 16:05:30 +02:00
  • 8a33e66341 Add egui cpu renderer lucas/egui_cpu Lucas Meurer 2024-09-25 11:50:10 +02:00
  • f97f85089d Prevent text shrinking in tooltips; round wrap-width to integer (#5161) Emil Ernerfeldt 2024-09-25 11:31:41 +02:00
  • 9ef4d02ab8 More compact Debug formatting of Color32 (#5162) Emil Ernerfeldt 2024-09-25 11:14:44 +02:00
  • 1603f05818 Wgpu render pass on paint callback has now static lifetime (#5149) Andreas Reich 2024-09-23 11:48:09 +02:00
  • 6f7b9b9b87 Add support for mipmap textures. (#5146) Christofer Nolander 2024-09-22 19:16:16 +02:00
  • 07ccf41bf9 Improve documentation grammar and wording (#5052) Swarkin 2024-09-22 19:15:11 +02:00
  • 7c7190f98d Clamp font size to between 0.1 and 2048 (#5139) rustbasic 2024-09-23 02:14:03 +09:00
  • c9df2f0783 Fix pan_zoom demo constraining windows (#5137) lucasmerlin 2024-09-22 19:13:01 +02:00
  • 02e795277f Fix error in Response::dragged docs (#5143) GiGaGon 2024-09-21 03:48:29 -07:00
  • 06f709481a Keep track of why request_discard was called (#5134) Emil Ernerfeldt 2024-09-20 09:17:52 +02:00
  • 0f290b4904 Add PR preview deployments (#5131) lucasmerlin 2024-09-20 09:08:58 +02:00
  • 9ba97a9a2f Fix empty grids repeatedly requesting a discard (#5133) lucasmerlin 2024-09-20 09:08:44 +02:00
  • 5cc35d2212 Improve docstring of Ui::new_child Emil Ernerfeldt 2024-09-19 14:41:18 +02:00
  • 00cb50ebad Add gtk-egui-area integration to README (#5129) Ilya Zlobintsev 2024-09-19 14:30:43 +03:00
  • e0f0b7f47f Remember to call ui.register_rect for better debug (#5130) Emil Ernerfeldt 2024-09-19 12:23:53 +02:00
  • b1784249d2 Fix merge race Emil Ernerfeldt 2024-09-19 12:01:10 +02:00
  • 902c54e534 Add 💻 emoji to the system, theme selector Emil Ernerfeldt 2024-09-19 11:56:54 +02:00
  • b8d008177a Lower log level of "Loading new fonts" to trace Emil Ernerfeldt 2024-09-19 11:56:38 +02:00
  • 1b8737cf02 Interactive Ui:s: add UiBuilder::sense and Ui::response (#5054) lucasmerlin 2024-09-19 11:55:21 +02:00
  • bfafddfdec Add Response::intrinsic_size to enable better layout in 3rd party crates (#5082) lucasmerlin 2024-09-19 11:55:09 +02:00
  • 2a40d16e5a Center-align all text vertically (#5117) Emil Ernerfeldt 2024-09-19 11:44:29 +02:00
  • b26468fdda Fix bad doc-links emilk/tweak-fonts Emil Ernerfeldt 2024-09-19 11:06:28 +02:00
  • 9665c9f463 Fix typo Emil Ernerfeldt 2024-09-19 10:59:28 +02:00
  • cada7d2be2 Minor tweaks Emil Ernerfeldt 2024-09-19 10:57:23 +02:00
  • fee27cf796 Be more explicit with what is stored in a Glyph Emil Ernerfeldt 2024-09-19 10:47:56 +02:00
  • 190d432b09 Make Center the default valign Emil Ernerfeldt 2024-09-19 10:10:36 +02:00
  • 7d51ab12d7 Fix valign/centering Emil Ernerfeldt 2024-09-19 10:10:27 +02:00
  • 3c705c010e Allow setting default/override text align Emil Ernerfeldt 2024-09-19 10:04:44 +02:00
  • 59e1b833e4 Better text layout demo/test Emil Ernerfeldt 2024-09-19 09:50:37 +02:00
  • 44714285b0 Change default text centering to BOTTOM Emil Ernerfeldt 2024-09-19 09:46:05 +02:00
  • bb9e874c83 Update sampler along with texture on wgpu backend (#5122) valadaptive 2024-09-19 03:16:42 -04:00
  • 098032eb05 Fix comment Emil Ernerfeldt 2024-09-19 09:06:53 +02:00
  • 1ca885bead Remove y-offset from emoji fonts Emil Ernerfeldt 2024-09-19 08:53:46 +02:00
  • 964d730558 Experiment with using different height when centering Emil Ernerfeldt 2024-09-19 08:47:40 +02:00
  • 1398ff5678 Use ascent of the first font instead Emil Ernerfeldt 2024-09-19 08:36:18 +02:00
  • f051f96b73 Use Font::ascent for the logical rect, but FontImpl::ascent for centering Emil Ernerfeldt 2024-09-18 15:59:57 +02:00
  • 46e44b3af5 Use the largest ascent as the ascent for a font Emil Ernerfeldt 2024-09-18 13:55:26 +02:00
  • a32f53a105 Fix doclink Emil Ernerfeldt 2024-09-17 11:04:37 +02:00
  • 6346f3f836 Change the default FontTweak Emil Ernerfeldt 2024-09-17 10:45:10 +02:00
  • 51333c265b Properly respect the text valign, by individually aligning glyphs Emil Ernerfeldt 2024-09-17 10:44:15 +02:00
  • 74b8d669c0 Change default text alignment to Center Emil Ernerfeldt 2024-09-17 10:43:27 +02:00
  • f4ed394a85 Add UI to modify FontTweak live (#5125) Emil Ernerfeldt 2024-09-18 13:43:33 +02:00
  • e31b44f1a5 Fix: Event::Copy and Event::Cut behave as if they select the entire text when there is no selection. (#5115) rustbasic 2024-09-18 18:17:02 +09:00
  • 24205f572a Fix text selection of only whitespace (#5123) Emil Ernerfeldt 2024-09-18 11:14:21 +02:00
  • ce3911bc0d In the options ui, show only the currently selected theme Emil Ernerfeldt 2024-09-18 11:13:55 +02:00
  • 4dd89e2052 Fix some minor clippy lints from the future Emil Ernerfeldt 2024-09-18 09:44:23 +02:00
  • 1474c17b0d Fix: panic when dragging window between monitors of different pixels_per_point (#4868) rustbasic 2024-09-18 02:49:53 +09:00
  • f38515afe9 Add Slider::clamping for precise clamp control (#5119) Emil Ernerfeldt 2024-09-17 15:44:22 +02:00
  • 1191d9fa86 Remove debug-assert that false-positived on large f32 values due to precision problems Emil Ernerfeldt 2024-09-17 15:32:17 +02:00
  • 7d6c83b37f Fix DragValue range clamping (#5118) Emil Ernerfeldt 2024-09-17 14:44:20 +02:00
  • 728ad87872 Fix DragValue range clamping emilk/fix-clamp-value Emil Ernerfeldt 2024-09-17 12:48:42 +02:00
  • 89da356b79 Fix: call save when hiding tab, and update when focusing it (#5114) Emil Ernerfeldt 2024-09-16 16:28:54 +02:00
  • 1488ffa35a Use log crate instead of eprintln & remove some unwraps (#5010) Nicolas 2024-09-13 14:23:13 +02:00
  • 66076101e1 Add Context::request_discard (#5059) Emil Ernerfeldt 2024-09-13 14:20:51 +02:00
  • 08f5eb30a4 Add opt-out fragile-send-sync-non-atomic-wasm feature for wgpu (#5098) 9SMTM6 2024-09-13 13:00:18 +02:00
  • f658f8b02b Make Slider and DragValue compatible with NonZeroUsize etc (#5105) Emil Ernerfeldt 2024-09-13 11:27:13 +02:00
  • 2c8df65bf6 Fix: Make sure RawInput::take clears all events, like it says it does (#5104) Emil Ernerfeldt 2024-09-13 11:26:50 +02:00
  • b5627c7d40 Make Light & Dark Visuals Customizable When Following The System Theme (#4744) Tau Gärtli 2024-09-11 17:52:53 +02:00
  • f4697bc007 Use Style's font size in egui_extras::syntax_highlighting (#5090) lampsitter 2024-09-10 11:38:26 +02:00
  • 89b6055f9c Add Ui::with_visual_transform (#5055) lucasmerlin 2024-09-10 11:04:13 +02:00
  • f897405a82 Use precomputed lookup table in Color32::from_rgba_unmultiplied (#5088) YgorSouza 2024-09-10 09:50:56 +02:00
  • 1ccd056d19 Remove reference to egui::Color32. (#5011) Tiaan Louw 2024-09-09 14:34:13 +02:00
  • 1c293d4cc8 Update glow to 0.14 (#4952) Nicolas 2024-09-09 14:02:06 +02:00
  • 9000d16d83 Export module egui::frame (#5087) Simon 2024-09-09 11:11:52 +02:00
  • 49fb163ae9 Add return value to with_accessibility_parent (#5083) Tau Gärtli 2024-09-09 10:36:56 +02:00
  • c6375efa22 Add WidgetType::RadioGroup (#5081) Tau Gärtli 2024-09-09 10:36:13 +02:00
  • 6b7f431237 Fix text sometime line-breaking or truncating too early (#5077) Emil Ernerfeldt 2024-09-06 13:24:11 +02:00
  • b2dcb7d8db Fix bug in size calculation of truncated text (#5076) Emil Ernerfeldt 2024-09-06 11:30:32 +02:00
  • 7cb61f8031 Deprecate ui.set_sizing_pass (#5074) Emil Ernerfeldt 2024-09-05 12:44:12 +02:00
  • f74152988f Add Options::input_options for click-delay etc (#4942) Girts 2024-09-05 09:49:17 +03:00
  • df9cd21248 Conditionally propagate web events using a filter in WebOptions (#5056) Liam Rosenfeld 2024-09-05 02:48:13 -04:00
  • 2be93aca5d Fix visual glitch in scroll_bar_rect added in #5070 Emil Ernerfeldt 2024-09-05 08:09:35 +02:00
  • 9fe4028f43 Add ScrollArea::scroll_bar_rect (#5070) Emil Ernerfeldt 2024-09-04 21:20:26 +02:00
  • 0b92b93233 Add ui.shrink_clip_rect (#5068) Emil Ernerfeldt 2024-09-04 17:01:41 +02:00
  • 454abf705b Add generic return values to egui::Sides::show() (#5065) Antoine Beyeler 2024-09-03 16:25:22 +02:00
  • b9435541df Allow non-static eframe::App lifetime (#5060) Tim Straubinger 2024-09-03 00:29:19 -07:00
  • 7bac528d4d Add egui::Sides for adding UI on left and right sides (#5036) Emil Ernerfeldt 2024-09-02 10:47:20 +02:00
  • be944f0915 Rename id_source to id_salt (#5025) Nicolas 2024-09-02 09:29:01 +02:00
  • edea5a40b9 Remove the directories dependency (#4904) YgorSouza 2024-09-01 10:47:28 +02:00
  • 2a6a1302b8 Fix viewport not working when minimized (#5042) rustbasic 2024-09-01 17:34:48 +09:00
  • 90eeb76635 Make some Memory methods public (#5046) Nicolas 2024-09-01 10:24:58 +02:00
  • be484f5c3b CI: Update cache-apt-pkgs-action (#5049) Nicolas 2024-09-01 10:23:51 +02:00
  • 7db8797850 Fix typo Emil Ernerfeldt 2024-09-01 10:23:40 +02:00
  • da04339f5e Enable rustdoc generate-link-to-definition feature on docs.rs (#5030) Guillaume Gomez 2024-08-30 11:22:29 +02:00
  • f2815b423e Fix blurry lines (#4943) Juan Campa 2024-08-30 03:57:32 -04:00
  • 3777b8d274 Truncate text in clipped Table columns (#5023) Emil Ernerfeldt 2024-08-29 10:38:19 +02:00
  • 343c3d16c3 Remove wildcard imports (#5018) Nicolas 2024-08-28 12:18:42 +02:00
  • 82036cf59a Add TableBuilder::id_source (#5022) Emil Ernerfeldt 2024-08-28 10:27:21 +02:00
  • 8e5492b6e8 Fix: Ensures correct IME behavior when the text input area gains or loses focus. (#4896) rustbasic 2024-08-28 16:40:04 +09:00
  • a59f9ed279 Nicer looking text selection, especially in light mode (#5017) Emil Ernerfeldt 2024-08-27 19:09:44 +02:00
  • 58bc67e02f Fix compilation of egui_extras without serde feature (#5014) Emil Ernerfeldt 2024-08-27 11:38:33 +02:00
  • bd7d71e7fd Remove dead code Emil Ernerfeldt 2024-08-27 11:33:18 +02:00
  • 73bb4cedb4 Prevent ScrollArea contents from exceeding the container size (#5006) Douglas Dwyer 2024-08-27 04:22:32 -04:00
  • 0f8614d69e Avoid some Id clashes by seeding auto-ids with child id (#4840) Hrafn Orri Hrafnkelsson 2024-08-27 07:43:57 +00:00
  • 82814c4fff Fix virtual keyboard on (mobile) web (#4855) Michaël Monayron 2024-08-27 09:42:35 +02:00