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

Commit Graph

  • 4c3b380889 Fix the "ever-growing height" problem of Strip and Table demos (#3122) Valeriy V. Vorotyntsev 2023-08-10 13:35:40 +03:00
  • 871041c4e7 Added an example to save plot to image (#2769) hacknus 2023-08-10 12:35:11 +02:00
  • 01b1b2da76 rotation feature to plot images (#3121) Roshan Mehta 2023-08-10 00:50:25 -07:00
  • f2a58244c8 fix the title not being used when app_id is not set (#3107) jacekpoz 2023-08-10 09:50:15 +02:00
  • af6419343d fix depth texture init with multisampling (#3207) mauliu 2023-08-09 20:59:36 +02:00
  • 48646ef521 Update viewports example, and added documentation for Window::default_embedded Konkitoman 2023-08-09 20:16:35 +03:00
  • 20b3e16f4b Add some documentation Konkitoman 2023-08-09 19:35:17 +03:00
  • a88a5cdf83 Fix some warnings Konkitoman 2023-08-09 19:15:35 +03:00
  • 86ef11c521 Now viewport_id always will be in a ViewportId you cannot create a ViewportId you can only get the main one everywere or get the current viewport id with Context::get_viewport_id Konkitoman 2023-08-09 18:33:59 +03:00
  • f9f9abf749 DragValue: update value on each key press by default (#2880) Barugon 2023-08-09 08:13:58 -07:00
  • abe91b00a4 Improve generate_changelog.py Emil Ernerfeldt 2023-08-09 17:13:22 +02:00
  • 51da2ac490 Improve documentation of Window/Area::resizable Emil Ernerfeldt 2023-08-09 17:13:10 +02:00
  • 92593b70fa Changelogs: document that they are updated upon release (not by users) Emil Ernerfeldt 2023-08-09 17:12:47 +02:00
  • b2b6558c78 Tiny PR: Document available_width() and available_height() (#3130) Steven Weiss 2023-08-09 08:06:33 -07:00
  • f2769f3010 Fix dobule "for" typo (#3189) Agustín Díaz 2023-08-09 11:48:21 -03:00
  • cbdf748a3b egui: Plot Arrows add method to specify tip_size (#3138) Nicolas Riebesel 2023-08-09 16:47:46 +02:00
  • e82ec74c5c epaint: Add ColorImage::from_gray (#3166) thomaseliot 2023-08-09 07:46:45 -07:00
  • 35027d3ebe Fix a document: eframe::start_web (#3026) Ho Kim 2023-08-09 14:24:32 +00:00
  • 20be0847c8 Add into_inner methods. (#3110) Yuan Chang 2023-08-09 22:20:59 +08:00
  • 46daaa8a34 Improve PR template Emil Ernerfeldt 2023-08-09 12:51:22 +02:00
  • 9c15783fab CI: update list of accepted PR labels Emil Ernerfeldt 2023-08-09 12:51:08 +02:00
  • 9731cfd9cf Update GitHub Actions CI (#3150) Dirk Stolle 2023-08-09 12:50:33 +02:00
  • 486cff8ac3 Fix panic with persistence without window (#3167) Stephen M. Coakley 2023-08-09 05:42:43 -05:00
  • 67ba4f2811 Add comment explaining Tab button (#2872) Brian Janssen 2023-08-09 11:48:54 +02:00
  • 387b075681 Bump xml-rs from 0.8.13 to 0.8.15 (#3145) dependabot[bot] 2023-08-09 11:15:37 +02:00
  • d483ac47ba Fix auto_bounds when only one axis has restricted navigation (#3171) Felix Wiegand 2023-08-09 11:08:04 +02:00
  • cd917e49f2 Separate text cursor from selection visuals (#3181) lampsitter 2023-08-09 11:07:40 +02:00
  • 1a7c4700fd Now embedded is stored on window, and fix crash when we set a window size to 0 Konkitoman 2023-08-08 21:18:03 +03:00
  • 0198b6ae45 Context and Memory now clears unused viewport data Konkitoman 2023-08-08 17:36:50 +03:00
  • 3ab6ee1116 Fix window interaction, when a sync embedded=false window was shown other embedded windows will not work! Konkitoman 2023-08-08 17:28:28 +03:00
  • c68908a6a8 Add embedd button on window is only a button with character - or ^ Konkitoman 2023-08-08 17:19:54 +03:00
  • 0e5f93b65d Add Margin::expand_rect and shrink_rect (#3214) Emil Ernerfeldt 2023-08-08 11:50:10 +02:00
  • 924a903610 Rename _typos.toml to .typos.toml Emil Ernerfeldt 2023-08-08 10:34:37 +02:00
  • d45fc14a13 Move viewports stuff to crates/egui/src/viewports.rs Konkitoman 2023-08-07 19:02:18 +03:00
  • ee2f2a7986 Fix web demo Konkitoman 2023-08-06 10:31:48 +03:00
  • 085724b685 wgpu implementation for viewport sync Konkitoman 2023-08-06 10:11:57 +03:00
  • 860160ed05 Some work on wgpu implementation Konkitoman 2023-08-06 09:21:44 +03:00
  • 05bf0e124a viewport_sync now processes platform output for GlowWinitApp Konkitoman 2023-08-05 17:46:54 +03:00
  • 7ee80da98c Fix Test3 allways was fallowing the cursour Konkitoman 2023-08-05 17:36:09 +03:00
  • e64f335dcc More restoring Konkitoman 2023-08-05 17:32:16 +03:00
  • 03bc3f4c52 Now viewport_sync will process viewport_commands and will create new viewports if is needed! Some refactoring now processing viewports_commands is in egui_winit::process_viewport_commands And creating new windows and cleaning is in GlowWinitApp::process_viewport_builders Konkitoman 2023-08-05 16:11:39 +03:00
  • 098d94e705 Fix viewports example Konkitoman 2023-08-05 15:34:23 +03:00
  • 5ca60cad0e Now seting the time of event as the elapsing time from when the app started for sync viewports Konkitoman 2023-08-05 15:27:06 +03:00
  • fbcb26827c More cleanup Konkitoman 2023-08-04 10:45:52 +03:00
  • 172be33b40 More cleaning Konkitoman 2023-08-04 10:27:22 +03:00
  • 6a7d162d40 Reverted the demos back Konkitoman 2023-08-04 10:18:24 +03:00
  • e8027b3c3a Removed viewport_id and parent_viewport_id from eframe::Frame Konkitoman 2023-08-04 09:10:01 +03:00
  • d1b00b6fdc Add Window::show_async! A refactoring of crates/egui/src/containers/window.rs is needed Konkitoman 2023-08-03 20:13:04 +03:00
  • 1448c5047f Remove viewport_id and parent_viewport_id from Window::show arguments because can be accessed from Context::get_viewport_id and Context::get_parent_viewport_id Konkitoman 2023-08-03 19:53:17 +03:00
  • 7f791f4bf9 Add Window::embedded Konkitoman 2023-08-03 19:39:51 +03:00
  • 9e1e0a55a5 Fix interactions for sync viewport Konkitoman 2023-08-03 19:00:26 +03:00
  • 70b9d8f1c5 Making the Window::show to be sync Konkitoman 2023-08-02 21:29:24 +03:00
  • 2057993f54 Some more work now stuff is rendered corectly Konkitoman 2023-08-02 20:49:41 +03:00
  • 141421547b Fix: a sync viewport cannot render itself he needs his parent to be rendered now when sync viewport needs a redraw that redraw will be redirected to his parent Konkitoman 2023-08-02 19:58:12 +03:00
  • 34fea8a0e5 Some more work on making possible to render viewport_sync in glutin Context::current_rendering_viewport was replaced by Context::get_viewport_id Added Context::get_parent_viewport_id Changed Context::run to need parent_viewport_id Changed Context::beagin to need parent_viewport_id Added ImplContext::frame_stack Some work on making posibile to render multiples frames at the same time A lot of more things in glutin backend is not Arc<RwLock<T>> Konkitoman 2023-08-02 17:14:31 +03:00
  • c7c9713bf8 create_viewport_sync prep Glutin WGPU Unimplemented again, use Arc<RwLock<T>> for a lot of things Konkitoman 2023-08-01 17:30:36 +03:00
  • b75fe9bbc4 Now Context will say what viewport_id and parent_viewport_id when calling render_sync to the backend Konkitoman 2023-08-01 15:26:33 +03:00
  • 1e6c1b55d3 Some work on frontend for making create_viewport_sync possible Konkitoman 2023-08-01 15:19:18 +03:00
  • e6e1463062 Now the redraw hack introduced in "Some hacky fixes" is no more needed! This fixes other problems that was caused by that hack! Konkitoman 2023-07-30 22:11:49 +03:00
  • 63f4b486e3 This compained with b8e8d09 fixes every thing about interaction per viewport Konkitoman 2023-07-30 22:05:48 +03:00
  • 43ba09531b Fix window draging Konkitoman 2023-07-30 21:49:08 +03:00
  • b8e8d095c8 Sets Areas per viewport I don't really know why but fixes when other window is rendering to take focus from the main one, but apparently if the main window is rendering can take focus from other windows Konkitoman 2023-07-30 21:34:15 +03:00
  • 4b4414955a Now Memory::interaction is stored per viewport in Memory::interactions This will allow in the future drag and drop betwen windows Fixes if a an other window is rendered will forgot what was draging, this was very annoying Konkitoman 2023-07-30 21:07:07 +03:00
  • cf05c3fa75 Now InputState is stored per viewport! This fixes input collisions between viewports Konkitoman 2023-07-30 20:35:21 +03:00
  • fd1c01cf1f Removed Context::set_current_rendering_viewport Now we always need to say what viewport we rendering in Context::beagin or Context::run Konkitoman 2023-07-30 20:03:56 +03:00
  • 1f5d17cfcc Some hacky fixes Konkitoman 2023-07-29 21:32:57 +03:00
  • bdc8795b04 Set the correct unicode character for "ctrl" shortcuts (#3186) Antoine Beyeler 2023-07-28 17:53:06 +02:00
  • bb0b80fb08 Fix some warnings Konkitoman 2023-07-28 18:28:16 +03:00
  • c56d09a2e5 Fix WGPU implementation memory leak Now unused surfaces will be cleared Konkitoman 2023-07-27 18:22:43 +03:00
  • 769c71a714 WGPU implementation Konkitoman 2023-07-27 18:18:14 +03:00
  • 46e85856b9 Update example for debuging purposes There is a bug that some how makes the windows to be liked! Winit events look fine but some thing i think is happening with area id or some thing Konkitoman 2023-07-27 15:32:26 +03:00
  • 0e74cf4ca0 Some work making the native window to look like the egui one, and to work the same Konkitoman 2023-07-27 15:08:21 +03:00
  • 339b758c60 fixed char limit (#3173) Serv 2023-07-26 22:21:28 +04:00
  • 65eecde244 Use cfg attribute (#3113) Matt Fellenz 2023-07-26 10:07:05 -07:00
  • 936c9583b5 Spelling fix (#3133) Forest Anderson 2023-07-26 13:00:51 -04:00
  • 67d5bd4392 fix(docs): remove duplicate typo (#3111) bernsteining 2023-07-26 19:00:13 +02:00
  • beb2ecf7e4 fix typo in NativeOptions docs (#3108) jacekpoz 2023-07-26 16:59:49 +00:00
  • 19ab70088f cargo deny exception for foreign-types Andreas Reich 2023-07-26 18:57:21 +02:00
  • cb09e630a2 Add a new example and change how embedding is stored Konkitoman 2023-07-25 16:40:03 +03:00
  • 2131f251fc Update example and now the viewport will always render if can create a native window will be embedded Konkitoman 2023-07-25 12:43:34 +03:00
  • 55a0f1f0c3 Added is_desktop checkbox in egui_demo_app Fix window not rendering if is_desktop is false Konkitoman 2023-07-25 12:15:37 +03:00
  • 08b3afdc5e Now the window will have the correct size Now window will not be resizable if is set to false Konkitoman 2023-07-25 12:10:56 +03:00
  • 19d1fecb99 Now we can drag any viewport but only the viewport that is focused will be draged because if not on x11 the input will be taken until the application is killed Konkitoman 2023-07-25 11:53:10 +03:00
  • 93a7c018d7 Now App::update will be responsabile for what viewport will be drawned and its content A big refactoring was needed Konkitoman 2023-07-25 10:54:31 +03:00
  • 19f807b4e9 Fix 100% cpu usage because a non existen window is tryng to draw Fix a small memory leak Konkitoman 2023-07-25 09:57:54 +03:00
  • 86068c6590 Fix small memory leak Now windows that do not exist will not be able to stay in redraw requests Konkitoman 2023-07-25 09:48:12 +03:00
  • 199d4e53cd Fixed example Konkitoman 2023-07-24 16:49:09 +03:00
  • 4143f58cc8 Now if winit supports if the window cant be closed will not show the close button Konkitoman 2023-07-24 16:37:47 +03:00
  • f4a196cddc Now a WindowEvent::CloseRequested is received will be sent to egui_winit::State in RawInput Now when we press the close button from a native window if the window has a open variabile connected the window will be closed Konkitoman 2023-07-24 16:15:34 +03:00
  • 4d883b8217 Fix mouse input Now on Context.create_viewport in the render function will we have viewport_id and parent_viewport_id New problem if a windows is fucused and we interact with other window the first event will be send to the last window that was focused Konkitoman 2023-07-24 14:24:30 +03:00
  • 3a1d9f2e21 A lot of changes: Now the Viewport render function is passed to the backend I was needed to update the demo because now Window::show() needs a Fn before was a FnOnce I changed from FnOnce to Fn because we want the window to be rendered separately from the main window That means now the variabiles that we are moving to window need to be Rc or Arc! This is making harder to use Window! I'am waiting for more ideas! In eframe now any Window has a property render that stores the current window render function, if has not function App::update will be called insted! New problems in any other window excluding the main window we have no mouse input, i don't know why! Now every window has embedded to false by default, for testing purposes! Konkitoman 2023-07-23 19:38:02 +03:00
  • fdca2b9220 Now painter is not affected by the current_viewport Konkitoman 2023-07-23 14:32:54 +03:00
  • ea2dcd8cb5 Rename every thing that i was implemented for multiples windows to Viewport Konkitoman 2023-07-23 12:47:36 +03:00
  • cf01eff8d1 Now a embedded window will only render in his parent window Konkitoman 2023-07-23 11:57:36 +03:00
  • 41c4714199 Now the new window will have the same size as the embeded window Konkitoman 2023-07-22 13:39:11 +03:00
  • 0ec27820c9 Bump wgpu to 0.17.0 Aaron Hill 2023-07-21 22:04:32 -04:00
  • 63b8814bd5 Better rendering for a window Konkitoman 2023-07-22 00:04:54 +03:00
  • 0daafa0c0f Fixed the problem that cause a break in time space Konkitoman 2023-07-21 22:58:17 +03:00
  • 2b13572220 Now every window has egui-winit, but a big problem is that a window don't render if the window frame number is bigger the the current frame, this is a spaculation because i don't know if a window stores the current frame i don't know what happens because new window render from the first time but the egui-ctx don't want to render the new window is like i have tow egui-ctx Konkitoman 2023-07-21 22:00:22 +03:00
  • 23bb315468 Now a window will not render other window content Konkitoman 2023-07-19 14:01:12 +03:00