egui: an easy-to-use immediate mode GUI in Rust that runs on both web and native
697 matches across 9 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | lychee.toml | 1 | ################################################################################ |
| LOW | deny.toml | 1 | # Copied from https://github.com/rerun-io/rerun_template |
| LOW | clippy.toml | 21 | |
| LOW | crates/eframe/Cargo.toml | 41 | # Allow crates to choose an android-activity backend via Winit |
| LOW | crates/eframe/Cargo.toml | 81 | ## Enable [`wgpu`](https://docs.rs/wgpu) for painting (via [`egui-wgpu`](https://github.com/emilk/egui/tree/main/crates/ |
| LOW | crates/eframe/src/lib.rs | 1 | //! eframe - the [`egui`] framework crate |
| LOW | crates/eframe/src/lib.rs | 21 | //! If your app is only for native, and you don't need advanced features like state persistence, |
| LOW | crates/eframe/src/lib.rs | 41 | //! // for e.g. egui::PaintCallback. |
| LOW | crates/eframe/src/lib.rs | 61 | //! # #[cfg(target_arch = "wasm32")] |
| LOW | crates/eframe/src/lib.rs | 81 | //! } |
| LOW | crates/eframe/src/lib.rs | 101 | //! } |
| LOW | crates/eframe/src/lib.rs | 121 | //! |
| LOW | crates/eframe/src/lib.rs | 201 | #[cfg(any(feature = "glow", feature = "wgpu_no_default_features"))] |
| LOW | crates/eframe/src/lib.rs | 221 | /// [Desktop Entry Spec](https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html#deskto |
| LOW | crates/eframe/src/lib.rs | 241 | /// Self::default() |
| LOW | crates/eframe/src/lib.rs | 301 | /// |
| LOW | crates/eframe/src/lib.rs | 321 | /// eventloop.run_app(&mut winit_app)?; |
| LOW | crates/eframe/src/lib.rs | 421 | /// // Our application state: |
| LOW | crates/eframe/src/icon_data.rs | 1 | //! Helpers for loading [`egui::IconData`]. |
| LOW | crates/eframe/src/epi.rs | 21 | #[cfg(not(target_arch = "wasm32"))] |
| LOW | crates/eframe/src/epi.rs | 61 | pub integration_info: IntegrationInfo, |
| LOW | crates/eframe/src/epi.rs | 81 | /// |
| LOW | crates/eframe/src/epi.rs | 141 | /// |
| LOW | crates/eframe/src/epi.rs | 161 | fn logic(&mut self, ctx: &egui::Context, frame: &mut Frame) { |
| LOW | crates/eframe/src/epi.rs | 181 | /// |
| LOW | crates/eframe/src/epi.rs | 201 | /// |
| LOW | crates/eframe/src/epi.rs | 221 | #[cfg(not(feature = "glow"))] |
| LOW | crates/eframe/src/epi.rs | 241 | /// You can use [`egui::Color32::to_normalized_gamma_f32`] for this. |
| LOW | crates/eframe/src/epi.rs | 261 | /// It can be used to prevent specific keyboard shortcuts or mouse events from being processed by egui. |
| LOW | crates/eframe/src/epi.rs | 281 | /// |
| LOW | crates/eframe/src/epi.rs | 301 | /// Must be a power-of-two. Higher = more smooth 3D. |
| LOW | crates/eframe/src/epi.rs | 321 | #[cfg(any(feature = "glow", feature = "wgpu_no_default_features"))] |
| LOW | crates/eframe/src/epi.rs | 341 | /// event loop before it is run. |
| LOW | crates/eframe/src/epi.rs | 381 | /// Dithering assumes an sRGB output and thus will apply noise to any input value that lies between |
| LOW | crates/eframe/src/epi.rs | 481 | /// Unused by webgl context as of writing. |
| LOW | crates/eframe/src/epi.rs | 501 | /// two 8bit values after applying the sRGB OETF function, i.e. if it's not a whole 8bit value in "gamma space". |
| LOW | crates/eframe/src/epi.rs | 761 | self.window.as_ref() |
| LOW | crates/eframe/src/epi.rs | 781 | /// Register your own [`glow::Texture`], |
| LOW | crates/eframe/src/epi.rs | 841 | /// The full URL (`location.href`) without the hash, percent-decoded. |
| LOW | crates/eframe/src/epi.rs | 861 | /// `location.port` |
| LOW | crates/eframe/src/epi.rs | 881 | /// "foo=hello&bar%20&foo=world" is parsed as `{"bar ": [""], "foo": ["hello", "world"]}` |
| LOW | crates/eframe/src/native/app_icon.rs | 41 | /// We did not set it or failed to do it. In any case we won't try again. |
| LOW | crates/eframe/src/native/winit_integration.rs | 121 | /// be used in special situations if the window must be repainted while |
| LOW | crates/eframe/src/native/winit_integration.rs | 141 | /// # Warning |
| LOW | crates/eframe/src/native/macos.rs | 1 | use egui::Vec2; |
| LOW | crates/eframe/src/native/wgpu_integration.rs | 841 | // On MacOS the asap repaint is not enough. The drawn frames must be synchronized with |
| LOW | crates/eframe/src/native/glow_integration.rs | 801 | // If this is not done, the compositor will assume that the window does not want to redraw, |
| LOW | crates/eframe/src/web/web_painter.rs | 1 | use egui::{Event, UserData}; |
| LOW | crates/eframe/src/web/web_logger.rs | 81 | |
| LOW | crates/eframe/src/web/web_logger.rs | 101 | |
| LOW | crates/egui_glow/src/painter.rs | 101 | /// Stores outdated OpenGL textures that are yet to be deleted |
| LOW | crates/egui_glow/src/painter.rs | 121 | impl CallbackFn { |
| LOW | crates/egui_glow/src/painter.rs | 281 | self.max_texture_side |
| LOW | crates/egui_glow/src/painter.rs | 381 | /// The following OpenGL features will be set: |
| LOW | crates/egui_glow/src/lib.rs | 21 | |
| LOW | crates/egui_glow/src/lib.rs | 101 | #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash)] |
| LOW | crates/egui-winit/src/lib.rs | 1 | //! [`egui`] bindings for [`winit`](https://github.com/rust-windowing/winit). |
| LOW | crates/egui-winit/src/lib.rs | 61 | pub struct EventResponse { |
| LOW | crates/egui-winit/src/lib.rs | 101 | /// If `true`, mouse inputs will be treated as touches. |
| LOW | crates/egui-winit/src/lib.rs | 581 | // emitted. [^1] |
| 591 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | clippy.toml | 3 | # ----------------------------------------------------------------------------- |
| MEDIUM | clippy.toml | 22 | # ----------------------------------------------------------------------------- |
| MEDIUM | clippy.toml | 60 | # ----------------------------------------------------------------------------- |
| MEDIUM | crates/eframe/Cargo.toml | 138 | # ------------------------------------------- |
| MEDIUM | crates/eframe/Cargo.toml | 194 | # ------------------------------------------- |
| MEDIUM | crates/emath/src/rect_align.rs | 10 | /// ┌───────────┐ ┌────────┐ ┌─────────┐ |
| MEDIUM | crates/emath/src/rect_align.rs | 12 | /// └───────────┘ └────────┘ └─────────┘ |
| MEDIUM | crates/emath/src/rect_align.rs | 13 | /// ┌──────────┐ ┌────────────────────────────────────┐ ┌───────────┐ |
| MEDIUM | crates/emath/src/rect_align.rs | 15 | /// └──────────┘ │ │ └───────────┘ |
| MEDIUM | crates/emath/src/rect_align.rs | 16 | /// ┌──────────┐ │ │ ┌───────────┐ |
| MEDIUM | crates/emath/src/rect_align.rs | 18 | /// └──────────┘ │ │ └───────────┘ |
| MEDIUM | crates/emath/src/rect_align.rs | 19 | /// ┌──────────┐ │ │ ┌───────────┐ |
| MEDIUM | crates/emath/src/rect_align.rs | 21 | /// └──────────┘ └────────────────────────────────────┘ └───────────┘ |
| MEDIUM | crates/emath/src/rect_align.rs | 22 | /// ┌────────────┐ ┌──────┐ ┌──────────┐ |
| MEDIUM | crates/emath/src/rect_align.rs | 24 | /// └────────────┘ └──────┘ └──────────┘ |
| MEDIUM | scripts/check.sh | 81 | # ------------------------------------------------------------ |
| MEDIUM | scripts/clippy_wasm/clippy.toml | 6 | # ----------------------------------------------------------------------------- |
| MEDIUM | scripts/clippy_wasm/clippy.toml | 25 | # ----------------------------------------------------------------------------- |
| MEDIUM | .github/workflows/rust.yml | 67 | # --------------------------------------------------------------------------- |
| MEDIUM | .github/workflows/rust.yml | 124 | # --------------------------------------------------------------------------- |
| MEDIUM | .github/workflows/rust.yml | 156 | # --------------------------------------------------------------------------- |
| MEDIUM | .github/workflows/rust.yml | 178 | # --------------------------------------------------------------------------- |
| MEDIUM | .github/workflows/rust.yml | 199 | # --------------------------------------------------------------------------- |
| MEDIUM | .github/workflows/rust.yml | 218 | # --------------------------------------------------------------------------- |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | crates/eframe/src/native/glow_integration.rs | 1001 | // Create GL display. This may probably create a window too on most platforms. Definitely on `MS windows`. Never |
| MEDIUM | crates/egui_kittest/src/lib.rs | 709 | /// See also: <https://doc.rust-lang.org/cargo/reference/cargo-targets.html#the-harness-field> |
| MEDIUM | crates/egui_kittest/src/lib.rs | 743 | See: https://doc.rust-lang.org/cargo/reference/cargo-targets.html#the-harness-field" |
| MEDIUM | crates/egui_kittest/src/snapshot.rs | 755 | /// # let harness = MockHarness; |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | crates/egui_demo_lib/src/lib.rs | 59 | pub const LOREM_IPSUM: &str = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt |
| LOW | crates/egui_demo_lib/src/lib.rs | 59 | pub const LOREM_IPSUM: &str = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt |
| LOW | crates/egui_demo_lib/src/lib.rs | 61 | pub const LOREM_IPSUM_LONG: &str = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incid |
| LOW | crates/egui_demo_lib/src/lib.rs | 61 | pub const LOREM_IPSUM_LONG: &str = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incid |
| LOW | crates/egui_demo_lib/src/demo/text_layout.rs | 132 | ui.selectable_value(lorem_ipsum, true, "Lorem Ipsum"); |
| LOW | crates/egui_demo_lib/src/demo/modals.rs | 21 | name: "John Doe".to_owned(), |
| LOW | examples/custom_font_style/src/main.rs | 73 | pub const LOREM_IPSUM: &str = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt |
| LOW | examples/custom_font_style/src/main.rs | 73 | pub const LOREM_IPSUM: &str = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | scripts/accept_snapshots.sh | 3 | # Its main use is in the update_kittest_snapshots CI job, but you can also use it locally. |
| MEDIUM | scripts/build_demo_web.sh | 99 | # if this fails with "error: cannot import from modules (`env`) with `--no-modules`", you can use: |
| LOW | .vscode/settings.json | 24 | // Don't forget to put it in a comment again before committing. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | scripts/generate_changelog.py | 136 | |
| LOW | scripts/generate_changelog.py | 244 | |
| LOW | scripts/lint.py | 153 |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | .github/workflows/enforce_branch_name.yml | 20 | # Check if PR is from a fork |
| LOW | .github/workflows/enforce_branch_name.yml | 22 | # Check if PR is from the master/main branch of a fork |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | crates/egui_kittest/src/snapshot.rs | 44 | /// Example usage: |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | scripts/generate_changelog.py | 49 | def fetch_pr_info_from_commit_info(commit_info: CommitInfo) -> Optional[PrInfo]: |