Commit graph

34 commits

Author SHA1 Message Date
Emil Ernerfeldt
35e8a3b4ca Update CHANGELOG.md and TODO.md 2020-12-12 20:04:32 +01:00
Emil Ernerfeldt
633b19ee99 [egui_web] Repaint on finished fetch in example app 2020-11-20 20:35:16 +01:00
Emil Ernerfeldt
ebf204a9ae Tidy up TODO.md 2020-11-20 19:51:45 +01:00
Emil Ernerfeldt
c6ce0b9e8c [example_web] show loading of an image
Required some redesign of `TextureAllocator` as well as
some improvements to the fetch API.
2020-11-18 22:16:01 +01:00
Emil Ernerfeldt
7651e2f15b egui_web: Implement copy, cut and paste 2020-11-15 21:20:38 +01:00
Emil Ernerfeldt
e7fd11f1aa Move focus between text fields with tab and shift-tab 2020-11-15 18:10:38 +01:00
Emil Ernerfeldt
fe0d159324 Support Cmd+A ^W ^U ^K and shift-click 2020-11-15 14:21:21 +01:00
Emil Ernerfeldt
46e39d3dd9 Add high-prio TODO to refactor layer system 2020-10-21 22:20:30 +02:00
Emil Ernerfeldt
bc5dbd718e Fix: Context::wants_mouse_input() now returns false if a mouse drag started outside of Egui 2020-10-20 14:52:18 +02:00
Emil Ernerfeldt
1bd45c35eb Collapsing header returns header and body responses 2020-10-14 15:26:31 +02:00
Emil Ernerfeldt
343648b94c [refactor] remove Ui::canvas (use Ui::allocate_space instead) 2020-10-10 12:25:01 +02:00
Emil Ernerfeldt
8ff0bed259 [slider] Logarithmic sliders with support for zero and infinity
Logarithmic sliders will intelligently help you pick a good range
even if you inlcude zero or infinity. They also support crossing
the zero value, so you can have a slider span -INF to +INF.

The sliders now also supports reversed sliders (large -> small).
2020-10-07 09:59:49 +02:00
Emil Ernerfeldt
7a71ac1a95 Rename tooltip_text to on_hover_text 2020-10-01 22:53:11 +02:00
Emil Ernerfeldt
5cba44eaa8 Clean up various small TODOs 2020-10-01 22:40:49 +02:00
Emil Ernerfeldt
85a67ab15e [refactor] introduce NumExt with at_least and at_most
`x.min(maxumim)` can be confusing but `x.at_most(maximum)` is very clear
2020-09-18 17:49:39 +02:00
Emil Ernerfeldt
1069ad8496 add color test window to troubleshoot your Egui painter backend
egui_glium passes the test, but the egui_web WebGL painter fails it.
2020-09-13 09:28:54 +02:00
Emil Ernerfeldt
02ef0cd9d5 [user textures] Add custom texture/image support
* Each Traingles mesh comes with a TextureId
* ui.image(...) to show an image/texture
* Up to backend what to do with user textures
2020-09-11 18:54:57 +02:00
Emil Ernerfeldt
db2afadc76 [lint] TODO.md markdownlint 2020-09-09 17:13:02 +02:00
Emil Ernerfeldt
bb367752cf [text] support non-latin characters by dynamically adding them to atlas 2020-09-09 14:33:30 +02:00
Emil Ernerfeldt
bc0d6baefb [color-picker] edit your own (s)RGBA arrays
Both with and without premultiplied alpha
2020-09-09 11:24:37 +02:00
Emil Ernerfeldt
97ca69e90e Update TODO.md 2020-09-08 09:19:40 +02:00
Emil Ernerfeldt
d8e0b3bff6 [color] add HSV-based color picker for struct Srgba 2020-09-06 21:30:52 +02:00
Markus Webel
6b30e21f4e
Kinetic scrolling (#20)
* Fixed typo in function description

* Added vertical kinetic scrolling

* Checked off kinetic scrolling from TODO

Co-authored-by: Markus Webel <m@rkus.online>
2020-09-06 06:57:29 +02:00
Emil Ernerfeldt
e7b098ac56 [style] make the default style a lot more compact and sleek 2020-09-01 20:40:54 +02:00
Emil Ernerfeldt
3160c44a4b Move TODO-list to own TODO.md 2020-08-29 18:16:43 +02:00
Emil Ernerfeldt
7846aa4e98 remove deprecated TODO.md 2020-04-22 20:01:59 +02:00
Emil Ernerfeldt
d999962602 Refactor example code 2020-04-12 12:07:51 +02:00
Emil Ernerfeldt
be8eb02b3f Some minor fixes and additions 2019-11-02 09:50:49 +01:00
Emil Ernerfeldt
f0c879b2f4 Code cleanup: allow None mouse_pos + clippy fixes 2019-02-10 15:30:48 +01:00
Emil Ernerfeldt
c2c94ddda5 Pixel-perfect fonts 2019-01-19 10:10:28 -06:00
Emil Ernerfeldt
cd8ca47e76 Small tweaks 2019-01-19 10:09:00 -06:00
Emil Ernerfeldt
616245c323 Refactor: create Texture struct 2019-01-16 17:09:12 -06:00
Emil Ernerfeldt
6e8cc8439b Add separator widget 2019-01-13 19:15:11 +01:00
Emil Ernerfeldt
d1a985d7cd Add TODO.md 2019-01-13 16:53:43 +01:00