Emil Ernerfeldt
b081be11d1
[spacing] simplify and tweak spacing
4 years ago
Emil Ernerfeldt
2164e37e39
[refactor] make sure we show all input members in introspection window
4 years ago
Emil Ernerfeldt
b77151fb64
remove seconds_from_midnight from core egui input
It is only used by demo app, and so does not belong to egui proper.
Instead it is now passed as part of a DemoEnvironment
4 years ago
Emil Ernerfeldt
b84642374b
[docs] improve README.md section about writing your own backends
4 years ago
Emil Ernerfeldt
6e7507373a
[egui_glium] clean up the code for the glium OpenGL painter
4 years ago
Emil Ernerfeldt
deb1c33760
[style] visual tweaks
4 years ago
Emil Ernerfeldt
2c611292ff
[style] more spacious, more alignmnet, more readable
4 years ago
Emil Ernerfeldt
05316b7045
[refactor] move DragValue to own file drag_value.rs
4 years ago
Emil Ernerfeldt
dd8c298cb5
refactor space allocation code
4 years ago
Emil Ernerfeldt
283b4ab63d
[layout] remove ui.horizontal_centered and make centering the default
4 years ago
Emil Ernerfeldt
4df8def9e2
[layout] change `clickable_diameter: f32` to `interact_size: Vec2`
4 years ago
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
4 years ago
Emil Ernerfeldt
5856cded95
refactor RunMode: move it from backend to the demo App ( #23 )
This simplifies the egui_glium and egui_web backends substantially,
reduces the scope of RunMode to a single file, and
removes duplicated code.
Basically: this is how I should have written it from the beginning.
4 years ago
Jay Oster
0ea80ae10a
Fix continuous RunMode in glium backend on Windows ( #21 )
4 years ago
Emil Ernerfeldt
c25d4ff70a
[egui_web] publish new web demo
4 years ago
Emil Ernerfeldt
e30a9c1196
[window/resize] add Resize::max_width and fix bug with fixed_size
4 years ago
Emil Ernerfeldt
f8bc4d38e8
[refactor] break up demo code into smaller files
4 years ago
Emil Ernerfeldt
8b4f96ffb2
[refactor] move math.rs to math/mod.rs, and same for all other egui mods
4 years ago
Emil Ernerfeldt
adc6a225e3
[frame] bug fix: move cursor after a Frame
4 years ago
Emil Ernerfeldt
6904938594
Compilation fix
4 years ago
Emil Ernerfeldt
814121903a
remove Label::auto_shrink and replace with ui.shrink_width_to_current()
4 years ago
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.
4 years ago
Emil Ernerfeldt
d49aec4079
Add user texture support to egui_glium and egui_web backends
4 years ago
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
4 years ago
Emil Ernerfeldt
5ba420988f
[docs] improve toggle_switch.rs demo with better comments
4 years ago
Emil Ernerfeldt
c6f7534a8b
README.md: add a "Why Egui?" section
Includes a comparison with imgui-rs
4 years ago
Emil Ernerfeldt
10574c34d6
make it easy to combine Response:s with | and |= overloads
4 years ago
Emil Ernerfeldt
13060d495b
[user texture] change uv to normalized texture coords in 0-1 range
4 years ago
Emil Ernerfeldt
db2afadc76
[lint] TODO.md markdownlint
4 years ago
Emil Ernerfeldt
0ea3a53d97
[font] texture atlas: add one pixel of padding for old GPUs
4 years ago
Emil Ernerfeldt
8984302122
[user textures] switch WHITE_UV to (0,0) and require clamped sampling
4 years ago
Emil Ernerfeldt
7093de0ff2
[docs] clean up README.md
4 years ago
Emil Ernerfeldt
bb367752cf
[text] support non-latin characters by dynamically adding them to atlas
4 years ago
Emil Ernerfeldt
0e870dae3e
[refactor] rename Texture::id to version
4 years ago
Emil Ernerfeldt
d959f71d12
[text] add benchmark for text layout
4 years ago
Emil Ernerfeldt
672ffb6cd6
[test] add e2e egui test
4 years ago
Emil Ernerfeldt
23d99b07c8
[bug fix] assume pixels_per_point=1 if nothing is ever set
4 years ago
Emil Ernerfeldt
bc0d6baefb
[color-picker] edit your own (s)RGBA arrays
Both with and without premultiplied alpha
4 years ago
Emil Ernerfeldt
b9a3240ca3
Bump Egui version to 0.1.4
4 years ago
Emil Ernerfeldt
6907e747c6
[web] publish new web demo build
4 years ago
Emil Ernerfeldt
278268768d
fix web/wasm build
4 years ago
Emil Ernerfeldt
ef5eb4a465
cargo update
4 years ago
Emil Ernerfeldt
97ca69e90e
Update TODO.md
4 years ago
Emil Ernerfeldt
9578773613
[style] tweak style, and refactor struct Style
4 years ago
Emil Ernerfeldt
a76d57480d
fix: menu bar should have a background
4 years ago
Emil Ernerfeldt
d8e0b3bff6
[color] add HSV-based color picker for `struct Srgba`
4 years ago
Emil Ernerfeldt
fc3582fbe1
[color] add HSVA conversion
4 years ago
Emil Ernerfeldt
847f18248f
clippy fix
4 years ago
Emil Ernerfeldt
a9fd7537c2
[DragValue] add optional range
4 years ago
Emil Ernerfeldt
938c847c6e
[math] bug fix: allow inverted range in remap_clamp
4 years ago