Emil Ernerfeldt
80fedbd3fc
Check wasm32 target in check.sh
4 years ago
Emil Ernerfeldt
8393d1df47
Upgrade ahash from 0.4 to 0.5
4 years ago
Emil Ernerfeldt
e00901e723
Add link to egui_sdl2_gl integration crate to README.md
4 years ago
Emil Ernerfeldt
94db5bb3a1
build fix
4 years ago
Emil Ernerfeldt
7abb9a2814
Improve Id generation, with more aggressive name clash warnings
4 years ago
Emil Ernerfeldt
8d365200ad
Bug fix: accidental reuse of Id:s for columns
Fixes https://github.com/emilk/egui/issues/37
4 years ago
Emil Ernerfeldt
d4d59d94b9
[demos] Add drag-and-drop demo (+ dancing strings demo)
4 years ago
Emil Ernerfeldt
4c25465e57
[window] Fix: no hover effect when already dragging something
4 years ago
Emil Ernerfeldt
9833ca57a6
[drag-and-drop] Add ability to translate layers and PaintCmd:s
4 years ago
Emil Ernerfeldt
ed8a69ab2f
[drag-and-drop] Add Grab and Grabbing CursorIcon:s
4 years ago
Emil Ernerfeldt
c9c12f2d79
[drag-and-drop] Disable interactions with Tooltip layer
4 years ago
Emil Ernerfeldt
63c0379082
[refactor] Add helpful constructors to PaintCmd
4 years ago
Emil Ernerfeldt
ca96172552
You can override the default Egui fonts
Closes https://github.com/emilk/egui/issues/32
4 years ago
Emil Ernerfeldt
82d55cb67e
[demo] Add helper macros for linking to the source code on GitHub
4 years ago
Emil Ernerfeldt
496fdb52b4
[demo] add [DEBUG BUILD] warning text
4 years ago
Emil Ernerfeldt
8b2bcb29a0
Add `Small` `TextStyle`
4 years ago
Sam Samai
dbae893977
Check wasm target is working by running 'cargo check' on the demo_web package ( #36 )
4 years ago
Sam Samai
a79aaa76a4
Downgrade ahash for wasm build ( #35 )
Seems like getrandom doesn't see wasm32-unknown-unknown as a valid target.
Dropping ahash, which has the getrandom dependency, to version 0.4.6 fixes this for now.
4 years ago
Hizoul
fe585e48e9
Make `from_get_set` public ( #34 )
This allows the slider value to be obtained from anywhere that can be accessed from a closure and not just a `&'a mut` reference. An example would be a state that is shared via an Arc<Rw<T>> or Atomic value with a background thread
4 years ago
Emil Ernerfeldt
07a32793d6
Forbid creating a panel from within another panel
4 years ago
Emil Ernerfeldt
16a984b71f
Add badge for Build Status
4 years ago
Emil Ernerfeldt
e9f0fba9f0
Add badge for dependency status
4 years ago
Emil Ernerfeldt
d0bc9096f7
Rename CI workflow
4 years ago
Emil Ernerfeldt
a4ce2afcd8
Update dependencies
4 years ago
Emil Ernerfeldt
cbdfc03378
Improve and expand documentation tests
4 years ago
crumblingstatue
8787eb77cf
Fix crates.io links to backends ( #30 )
4 years ago
Emil Ernerfeldt
060ce6b49f
Improve docs
4 years ago
Emil Ernerfeldt
2e80aba068
New example code
4 years ago
Emil Ernerfeldt
72285e7954
[slider] Add Slider::u32
4 years ago
Emil Ernerfeldt
7638ca9962
[app] Simplify interface to egui::app::App
4 years ago
Emil Ernerfeldt
daa7a2bdb2
[egui_glium] refactor
4 years ago
Emil Ernerfeldt
c364403d44
[app] Give apps the ability to resize integration
4 years ago
Emil Ernerfeldt
ba7f3572a0
Give TextEdit a default width
4 years ago
Emil Ernerfeldt
4b549a773e
Replace ctx.background_ui with CentralPanel
4 years ago
Emil Ernerfeldt
44a7cac046
`Context::begin_frame()` no longer returns anything.
Put your widgets into a `SidePanel`, `TopPanel`,
`Window` or into `ctx.background_ui()`.
4 years ago
Emil Ernerfeldt
f86cb4a923
[demo] Improve introspection UI of areas
4 years ago
Emil Ernerfeldt
3416f3b91f
[style] Wrap tooltip text earlier
4 years ago
Emil Ernerfeldt
c96a929713
Improve GraphicLayers: always paint all layers
4 years ago
Emil Ernerfeldt
211d70b4f3
[window] Remove ability to throw windows
4 years ago
Emil Ernerfeldt
fa831a2b55
Fix throwing areas around
4 years ago
Emil Ernerfeldt
df056d2ce4
[egui_web] Disable face culling in WebGL renderer
Closes https://github.com/emilk/egui/issues/29
4 years ago
Emil Ernerfeldt
90700e950e
Add /.vscode and /.*.json to .gitignore
4 years ago
Emil Ernerfeldt
46e39d3dd9
Add high-prio TODO to refactor layer system
4 years ago
Emil Ernerfeldt
35b949a2d8
Refactor panels into proper containers
4 years ago
Emil Ernerfeldt
8b51ae5dea
Panels: Added Context::panel_left and panel_top
Context will keep track of the avilable space left after panels.
Windows will be constrained to that available space.
So add panels first, THEN add windows.
4 years ago
Emil Ernerfeldt
15c5e0b04d
[menu] Fix minor size issue of menu bars
4 years ago
Emil Ernerfeldt
46ce9a4f3d
[windows] Constrain windows to screen
4 years ago
Emil Ernerfeldt
39431afd03
[refactor] Rename Layer to LayerId for clarity
4 years ago
Emil Ernerfeldt
9b01c75e16
tesselator: produce fewer paint jobs with PaintCmd::Triangles
4 years ago
Emil Ernerfeldt
7fbb11481b
Try to protect against invalid Triangles
4 years ago