Sven Niederberger
4e99d8f409
Plot: Linked axis support ( #1184 )
2022-01-31 20:18:10 +01:00
Emil Ernerfeldt
b5aaa5fa6f
Improve some feature flags
2022-01-31 19:24:56 +01:00
Emil Ernerfeldt
2183e9fdea
Add early egui history to changelog
2022-01-31 19:17:26 +01:00
Emil Ernerfeldt
7eddd20a01
index.html: catch and display errors
2022-01-31 19:16:50 +01:00
Emil Ernerfeldt
871a200ecf
egui_web glow painter: return errors instead of panic
2022-01-31 19:15:48 +01:00
Emil Ernerfeldt
ef81a52951
egui_web: log panics using console.error
2022-01-31 19:14:50 +01:00
Emil Ernerfeldt
532990d3dd
emilk.github.io -> www.egui.rs
2022-01-30 22:01:33 +01:00
Emil Ernerfeldt
b4be94df35
Create CNAME
2022-01-30 21:26:26 +01:00
Emil Ernerfeldt
25c03e49eb
Delete CNAME
2022-01-30 19:50:53 +01:00
Emil Ernerfeldt
7ccc7caffd
Create CNAME
2022-01-30 19:50:23 +01:00
Emil Ernerfeldt
ea04ce9d58
Delete CNAME
2022-01-30 19:46:38 +01:00
Emil Ernerfeldt
f6b1feddcd
Create CNAME
2022-01-30 19:40:34 +01:00
Emil Ernerfeldt
4db6984e74
Delete CNAME
2022-01-30 16:21:38 +01:00
Emil Ernerfeldt
785c6f4c85
Create CNAME
2022-01-30 16:20:19 +01:00
Emil Ernerfeldt
b618636425
Add ui.data(), ctx.data(), ctx.options() and ctx.tessellation_options() ( #1175 )
...
Helpful access deeper into Memory
2022-01-29 17:53:41 +01:00
Emil Ernerfeldt
3333d63b91
Return more info from ScrollArea::show ( #1166 )
2022-01-26 22:19:32 +01:00
Emil Ernerfeldt
1134258441
Documentation improvements
2022-01-26 22:09:19 +01:00
AlexxxRu
0d00185d9f
Bugfix/drag window ( #1108 )
...
Call .drag_window() only after Left mouse btn clicked
Co-authored-by: Emil Ernerfeldt <emil.ernerfeldt@gmail.com>
2022-01-26 22:04:24 +01:00
Emil Ernerfeldt
26be0ace1d
Tidy up README.md
2022-01-26 17:25:59 +01:00
Emil Ernerfeldt
04c3efd01a
Minor optimization: avoid reallocating set of visible ID:s
2022-01-26 14:44:10 +01:00
Emil Ernerfeldt
417bb3123a
Fonts: only pre-render glyphs for fonts in the current egui styles
2022-01-26 14:42:44 +01:00
Emil Ernerfeldt
1e4d8ae943
Remove warm-up of demo app
...
Since https://github.com/emilk/egui/pull/1149 we only update the
region of the font atlas that has changes, so loading new glyphs is much
cheaper. This means warm-up is much less needed.
There is now a small delay when opening the font book,
but not when opening anything else.
2022-01-25 01:08:10 +01:00
Emil Ernerfeldt
7ed0880b8f
Lower default font atlas size ( #1160 )
...
In https://github.com/emilk/egui/pull/1154 the default was set to
16k x 512, which is way excessive, as most of it will be blank.
This PR changes it to 8k x 64, which will make egui
use less RAM and VRAM, and load quicker again.
This also decreases the max size from 16k² to 8k².
That should be enough.
2022-01-25 01:04:28 +01:00
Jan Haller
366f544655
Formatter for plot axis labels ( #1130 )
...
* Fix Orientation not exposed, although there are public fields with its type
* Implement formatters for X/Y axis labels
* Use array instead of separate X/Y formatters
* Swap axis formatters if charts are horizontal
* Review suggestions
2022-01-24 22:34:00 +01:00
Sven Niederberger
3418eb5d35
Make Plot::highlight
take a boolean ( #1159 )
2022-01-24 20:50:22 +01:00
triangle drawer
9d596967b4
Reducing glutin dependency in egui_glow ( #1151 )
...
Use winit wherever possible
2022-01-24 17:08:27 +01:00
Emil Ernerfeldt
fa43d16c41
Choose your own font and size ( #1154 )
...
* Refactor text layout: don't need &Fonts in all functions
* Replace indexing in Fonts with member function
* Wrap Fonts in a Mutex
* Remove mutex for Font::glyph_info_cache
* Remove RwLock around Font::characters
* Put FontsImpl and GalleyCache behind the same Mutex
* Round font sizes to whole pixels before deduplicating them
* Make TextStyle !Copy
* Implement user-named TextStyle:s
* round font size earlier
* Cache fonts based on family and size
* Move TextStyle into egui and Style
* Remove body_text_style
* Query graphics about max texture size and use that as font atlas size
* Recreate texture atlas when it is getting full
2022-01-24 14:32:36 +01:00
Emil Ernerfeldt
bb407e9b00
Plot text can now contain rich text
2022-01-23 12:01:34 +01:00
bthehacker
dba949240f
Fix eframe changelog links to other changelogs ( #1146 )
...
Links to the changelogs of egui_web, egui-winit, and egui_glium were broken and led to a 404, fixed them by adding "../"
2022-01-22 11:33:39 +01:00
Emil Ernerfeldt
462f181db3
Partial font texture update ( #1149 )
2022-01-22 11:23:12 +01:00
Juan Campa
343f7da564
Add ability to override collapsing icons ( #1147 )
2022-01-22 10:32:02 +01:00
Emil Ernerfeldt
e957674467
glow on web: simplify the webgl2 vs webgl1 selection
2022-01-22 09:07:41 +01:00
Emil Ernerfeldt
199bbef77b
Add misc documentation
2022-01-22 09:07:41 +01:00
Emil Ernerfeldt
8138a073e7
glow: reuse the same GL texture when possible ( #1142 )
2022-01-21 19:51:52 +01:00
awaken1ng
30f9700f6c
egui-web: Update web_location_hash
when hash in URL changes ( #1140 )
2022-01-21 19:41:18 +01:00
Emil Ernerfeldt
a689b623a6
Make shift-scroll do horizontal scrolling on all platforms ( #1136 )
...
Closes https://github.com/emilk/egui/issues/1135
2022-01-21 10:48:44 +01:00
Dusty DeWeese
e4aa1e6e1a
Make color_picker_hsva_2d
public. ( #1091 )
...
Co-authored-by: Emil Ernerfeldt <emil.ernerfeldt@gmail.com>
2022-01-19 11:28:26 +01:00
Emil Ernerfeldt
76ac41f9b5
WidgetGallery: hide spinner widget to save CPU in reactive mode
2022-01-17 19:57:32 +01:00
Emil Ernerfeldt
9df0c68a38
Small improvements to check.sh
2022-01-17 19:57:32 +01:00
Emil Ernerfeldt
39dd6d7644
clippy fixes
2022-01-17 19:57:32 +01:00
Erlend Walstad
ab77099781
eframe: allow aborting an exit event ( #1038 )
2022-01-17 18:45:09 +01:00
BctfN0HUK7Yg
87ac7446da
Add new function to animate f32 values ( #1039 )
...
Co-authored-by: Emil Ernerfeldt <emil.ernerfeldt@gmail.com>
2022-01-17 14:57:09 +01:00
BctfN0HUK7Yg
d6b32b7956
Add set margin method to TextEdit ( #1104 )
2022-01-17 14:56:27 +01:00
Jay Oster
ffa1b6bd43
egui-winit: re-enable window transparency ( #1126 )
...
`winit` 0.26.1 fixes the crash on Windows 11
2022-01-17 14:32:16 +01:00
Max Wase
5bedf73566
Add a link to the source code of a fractal_clock example ( #1029 )
2022-01-17 14:30:57 +01:00
Mingun
87ae77aab0
Add some improvements in the documentation ( #1056 )
...
* Better documentation for align.rs
* Document some painting methods
* Fix broken intra-doc links
* Add some internal documentation for Window TitleBar
2022-01-16 22:06:28 +01:00
Juan Campa
624e2fcfc1
Follow style for corner radius for SelectableLabel
2022-01-16 22:04:11 +01:00
Emil Ernerfeldt
c713fd98dd
Fix horizontal scrolling direction on Linux
...
Closes https://github.com/emilk/egui/issues/356
Work-around until https://github.com/rust-windowing/winit/pull/2105 is merged and released
2022-01-16 09:49:22 +01:00
Emil Ernerfeldt
ad5418777d
Fix dead-lock in TextEdit on touch-screens ( #1118 )
...
Introduced in https://github.com/emilk/egui/pull/1035
Fixes https://github.com/emilk/egui/issues/1116
2022-01-15 22:40:53 +01:00
Emil Ernerfeldt
b2c8cd0867
Simplify http demo and add new download_image eframe demo
2022-01-15 20:34:03 +01:00