Emil Ernerfeldt
c0876eff90
[refactor] better names for widget style members
4 years ago
Emil Ernerfeldt
24003b17a3
[animation] add Context::animate_bool helper function
4 years ago
Emil Ernerfeldt
c23dfd155c
[refactor] unify `InteractInfo` and `GuiResponse` to `Response`
4 years ago
Emil Ernerfeldt
843074eb7d
cargo update
4 years ago
Emil Ernerfeldt
a395b385b7
build new web demo
4 years ago
Emil Ernerfeldt
3160c44a4b
Move TODO-list to own TODO.md
4 years ago
Emil Ernerfeldt
8f1def11f1
[slider] remove ": " for sliders without text. still show value
4 years ago
Emil Ernerfeldt
f7122abc5d
[slider] fix vertical alignment of text
4 years ago
Emil Ernerfeldt
1d350ad15b
[painter] add helper functions for drawing lines, circles and rectangles
4 years ago
Emil Ernerfeldt
c27e53a7b2
[color] Rename Color to Srgba + sRGBA correct fading of thin lines
Also remove the extra large `aa_size` hack,
so everything now looks slightly crispier.
I also took the opportunity to tweak some colors.
4 years ago
Emil Ernerfeldt
2465e689fb
[demo] additional window resize demo with embedded scroll
4 years ago
Emil Ernerfeldt
1a9618c524
spelling
4 years ago
Emil Ernerfeldt
3a3eb5ef5d
Fix minor bug in mouse velocity tracking
4 years ago
Emil Ernerfeldt
f1989c39c6
input: keep using the latest known pixels_per_point
4 years ago
Emil Ernerfeldt
3d3b93da8b
Force user to explicitly select a max height for a ScrollArea
4 years ago
Emil Ernerfeldt
5df9bfd514
Add ui.drag_angle helper
4 years ago
Emil Ernerfeldt
d4c0197752
add ui.horizontal_centered helper
4 years ago
Emil Ernerfeldt
7b75bd2d09
Use consistent order of width/color arguments for line style
4 years ago
Emil Ernerfeldt
b3b4fbc016
[slider] only show full precision if significant
4 years ago
Emil Ernerfeldt
cc22e2fbb4
[slider] when editing slider or drag-value, keep text edit box small
4 years ago
Emil Ernerfeldt
7cfa792a89
[interact] bug fix: fix drags sometimes being interpreted as clicks
4 years ago
Emil Ernerfeldt
d07132cc13
[demo] bug fix: add back clock in upper right corner
4 years ago
Emil Ernerfeldt
1f8d3a699f
[egui_glium] sRGBA: blend vertex colors in linear space
4 years ago
Emil Ernerfeldt
3d7b5ea6fe
[egui_web] sRGBA: blend vertex colors in linear space
4 years ago
Emil Ernerfeldt
d5a1385870
[demo] disable name clash demo, since it is not working anyway
4 years ago
Emil Ernerfeldt
a2160a5e12
fix some corner cases for repaint requests
4 years ago
Emil Ernerfeldt
0755a95c76
Update README.md
4 years ago
Emil Ernerfeldt
b8938e01c4
[demo] add menu option to auto-reorganize windows
4 years ago
Emil Ernerfeldt
559b026b87
[demo] add windows that demonstrates auto-size, resize and scrolling
4 years ago
Emil Ernerfeldt
b02530b6fb
[refactor] small cleanup and typo fixes
4 years ago
Emil Ernerfeldt
0bbf7edaee
[window] increase default width of windows and resize areas
4 years ago
Emil Ernerfeldt
03bc4ea2e2
[window] make scroll bars in windows opt-in
4 years ago
Emil Ernerfeldt
5ed949bb32
deny warnings in egui lib (again. oops)
4 years ago
Emil Ernerfeldt
8c03f6a90f
[window] prevent trying to shrink window smaller than title bar width
4 years ago
Emil Ernerfeldt
5f919e22a9
[ui] add ui.heading(text) helper function
4 years ago
Emil Ernerfeldt
056c0ad794
[window] round position to nearest physical pixel, not nearest point
4 years ago
Emil Ernerfeldt
373b1c2911
Allow multithreaded use of egui
...but currently only in release build,
because in debug builds I want to be able to debug dead-locks from
locking the same resource from the same thread.
4 years ago
Emil Ernerfeldt
98bced7e62
[ui] bug fix: default size of horizontal/vertical regions
4 years ago
Emil Ernerfeldt
48e42ff6a5
[drag-value] click on a DragValue to edit it
4 years ago
Emil Ernerfeldt
f3bbb210c0
[slider] click value to edit it with keyboard
4 years ago
Emil Ernerfeldt
1874f238eb
[slider] show value with monospace font
4 years ago
Emil Ernerfeldt
ec1e8b9966
[drag-value] show full precision if needed
4 years ago
Emil Ernerfeldt
ecb703a696
[slider] show full precision of value if value is very precise
4 years ago
Emil Ernerfeldt
fd95f8a146
[slider] automatic slider precision display
4 years ago
Emil Ernerfeldt
f0287fb86d
[slider] refactor to break up complex ui code
4 years ago
Emil Ernerfeldt
f2b23f1a0d
[slider] smart aim for picking nice and round slider values
4 years ago
Emil Ernerfeldt
d0bfb0238d
[refactor] break up math.rs into a mod of several files
4 years ago
Emil Ernerfeldt
98c9e9bb41
spelling fixes
4 years ago
Emil Ernerfeldt
d41b7a6234
[resize] remove Resize::handle_offset
4 years ago
Emil Ernerfeldt
a764b0d23f
[window] visually indicate which windows can be resized
4 years ago